From 45ff0aa56cdbae9389ac8a2920f3dc8af01e7064 Mon Sep 17 00:00:00 2001 From: xiaofanzhou Date: Wed, 14 Dec 2022 15:00:10 +0800 Subject: [PATCH 01/19] support local connection --- .../serviceconnector/_client_factory.py | 11 +- .../serviceconnector/_credential_free.py | 105 +- .../serviceconnector/_params.py | 124 +- .../serviceconnector/_resource_config.py | 64 +- .../serviceconnector/_transformers.py | 22 +- .../serviceconnector/_validators.py | 142 +- .../serviceconnector/action.py | 28 + .../serviceconnector/commands.py | 56 +- .../serviceconnector/custom.py | 432 +++- .../recordings/test_local_appconfig_e2e.yaml | 891 ++++++++ .../test_local_confluentkafka_e2e.yaml | 1130 ++++++++++ .../test_local_cosmoscassandra_e2e.yaml | 320 +++ .../test_local_cosmosgremlin_e2e.yaml | 1475 +++++++++++++ .../test_local_cosmosmongo_e2e.yaml | 1841 +++++++++++++++++ .../test_local_cosmostable_e2e.yaml | 314 +++ .../recordings/test_local_eventhub_e2e.yaml | 891 ++++++++ .../recordings/test_local_keyvault_e2e.yaml | 911 ++++++++ .../recordings/test_local_mysql_e2e.yaml | 1009 +++++++++ .../test_local_mysqlflexible_e2e.yaml | 1061 ++++++++++ .../recordings/test_local_postgres_e2e.yaml | 949 +++++++++ .../test_local_postgresflexible_e2e.yaml | 1055 ++++++++++ .../recordings/test_local_redis_e2e.yaml | 901 ++++++++ .../test_local_redisenterprise_e2e.yaml | 891 ++++++++ .../recordings/test_local_servicebus_e2e.yaml | 891 ++++++++ .../recordings/test_local_signalr_e2e.yaml | 891 ++++++++ .../latest/recordings/test_local_sql_e2e.yaml | 955 +++++++++ .../test_local_storageblob_e2e.yaml | 891 ++++++++ .../test_local_storagefile_e2e.yaml | 891 ++++++++ .../test_local_storagequeue_e2e.yaml | 891 ++++++++ .../test_local_storagetable_e2e.yaml | 891 ++++++++ .../recordings/test_local_webpubsub_e2e.yaml | 901 ++++++++ .../latest/test_local_connection_scenario.py | 1204 +++++++++++ src/azure-cli/requirements.py3.Darwin.txt | 3 +- src/azure-cli/requirements.py3.Linux.txt | 3 +- src/azure-cli/requirements.py3.windows.txt | 3 +- src/azure-cli/setup.py | 3 +- 36 files changed, 22964 insertions(+), 77 deletions(-) create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_appconfig_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_confluentkafka_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmoscassandra_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmosgremlin_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmosmongo_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmostable_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_eventhub_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_keyvault_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_mysql_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_mysqlflexible_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_postgres_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_postgresflexible_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_redis_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_redisenterprise_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_servicebus_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_signalr_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_sql_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_storageblob_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_storagefile_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_storagequeue_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_storagetable_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_webpubsub_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_local_connection_scenario.py diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/_client_factory.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/_client_factory.py index 5fff8b65c27..aae1795f914 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_client_factory.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_client_factory.py @@ -8,8 +8,17 @@ def cf_connection_cl(cli_ctx, *_): from azure.cli.core.commands.client_factory import get_mgmt_service_client from azure.mgmt.servicelinker import ServiceLinkerManagementClient - return get_mgmt_service_client(cli_ctx, ServiceLinkerManagementClient, subscription_bound=False) + return get_mgmt_service_client(cli_ctx, ServiceLinkerManagementClient, + subscription_bound=False, api_version="2022-11-01-preview") def cf_linker(cli_ctx, *_): return cf_connection_cl(cli_ctx).linker + + +def cf_connector(cli_ctx, *_): + return cf_connection_cl(cli_ctx).connector + + +def cf_configuration_names(cli_ctx, *_): + return cf_connection_cl(cli_ctx).configuration_names diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py index 8acee5cec11..31fe65bb943 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py @@ -22,6 +22,7 @@ from ._utils import run_cli_cmd, generate_random_string, is_packaged_installed from ._resource_config import ( RESOURCE, + AUTH_TYPE ) from ._validators import ( get_source_resource_name, @@ -30,13 +31,18 @@ logger = get_logger(__name__) +PasswordlessIdentity = { + AUTH_TYPE.SystemIdentity: 'systemAssignedIdentity', + AUTH_TYPE.UserAccount: 'userAccount' +} + # pylint: disable=line-too-long # For db(mysqlFlex/psql/psqlFlex/sql) linker with auth type=systemAssignedIdentity, enable AAD auth and create db user on data plane # For other linker, ignore the steps def enable_mi_for_db_linker(cmd, source_id, target_id, auth_info, client_type, connection_name): # return if connection is not for db mi - if auth_info['auth_type'] not in {'systemAssignedIdentity'}: + if auth_info['auth_type'] not in {PasswordlessIdentity[AUTH_TYPE.SystemIdentity], PasswordlessIdentity[AUTH_TYPE.UserAccount]}: return source_type = get_source_resource_name(cmd) @@ -57,13 +63,18 @@ def enable_mi_for_db_linker(cmd, source_id, target_id, auth_info, client_type, c raise Exception( "No object id found for user {}".format(target_handler.login_username)) - # enable source mi - source_object_id = source_handler.get_identity_pid() + client_id = None + if source_type == RESOURCE.Local: + client_id = user_object_id + identity_name = target_handler.login_username + else: + # enable source mi + source_object_id = source_handler.get_identity_pid() - identity_info = run_cli_cmd( - 'az ad sp show --id {}'.format(source_object_id), 15, 10) - client_id = identity_info.get('appId') - identity_name = identity_info.get('displayName') + identity_info = run_cli_cmd( + 'az ad sp show --id {}'.format(source_object_id), 15, 10) + client_id = identity_info.get('appId') + identity_name = identity_info.get('displayName') # enable target aad authentication and set login user as db aad admin target_handler.enable_target_aad_auth() @@ -72,7 +83,7 @@ def enable_mi_for_db_linker(cmd, source_id, target_id, auth_info, client_type, c # create an aad user in db target_handler.create_aad_user(identity_name, client_id) - return target_handler.get_auth_config() + return target_handler.get_auth_config(user_object_id) # pylint: disable=no-self-use, unused-argument, too-many-instance-attributes @@ -107,7 +118,6 @@ def __init__(self, cmd, target_id, target_type, auth_type, connection_name): self.cmd = cmd self.target_id = target_id self.target_type = target_type - self.aad_username = "aad_" + connection_name self.tenant_id = Profile( cli_ctx=cmd.cli_ctx).get_subscription().get("tenantId") target_segments = parse_resource_id(target_id) @@ -116,6 +126,10 @@ def __init__(self, cmd, target_id, target_type, auth_type, connection_name): self.auth_type = auth_type self.login_username = run_cli_cmd( 'az account show').get("user").get("name") + if auth_type == PasswordlessIdentity[AUTH_TYPE.UserAccount]: + self.aad_username = self.login_username + else: + self.aad_username = "aad_" + connection_name def enable_target_aad_auth(self): return @@ -129,8 +143,18 @@ def set_target_firewall(self, add_new_rule, ip_name): def create_aad_user(self, identity_name, client_id): return - def get_auth_config(self): - return + def get_auth_config(self, user_object_id): + if self.auth_type == PasswordlessIdentity[AUTH_TYPE.UserAccount]: + return { + 'auth_type': self.auth_type, + 'username': self.aad_username, + 'PrincipalId': user_object_id + } + if self.auth_type == PasswordlessIdentity[AUTH_TYPE.SystemIdentity]: + return { + 'auth_type': self.auth_type, + 'username': self.aad_username, + } class MysqlFlexibleHandler(TargetHandler): @@ -159,10 +183,11 @@ def set_user_admin(self, user_object_id, **kwargs): # set user as AAD admin if mysql_identity_id is None: raise ValidationError( - "Provide '--system-identity mysql-identity-id=xx' to set {} as AAD administrator.".format(self.user)) + "Provide '{} mysql-identity-id=xx' to set {} as AAD administrator.".format( + '--system-identity' if self.auth_type == PasswordlessIdentity[AUTH_TYPE.SystemIdentity] else '--user-account', self.user)) mysql_umi = run_cli_cmd( 'az mysql flexible-server identity list -g {} -s {} --subscription {}'.format(self.resource_group, self.server, self.subscription)) - if (not mysql_umi) or mysql_identity_id not in mysql_umi.get("userAssignedIdentities"): + if (not mysql_umi) or (not mysql_umi.get("userAssignedIdentities")) or mysql_identity_id not in mysql_umi.get("userAssignedIdentities"): run_cli_cmd('az mysql flexible-server identity assign -g {} -s {} --subscription {} --identity {}'.format( self.resource_group, self.server, self.subscription, mysql_identity_id)) run_cli_cmd('az mysql flexible-server ad-admin create -g {} -s {} --subscription {} -u {} -i {} --identity {}'.format( @@ -216,7 +241,8 @@ def create_aad_user_in_mysql(self, connection_kwargs, query_list): import pymysql from pymysql.constants import CLIENT except ModuleNotFoundError: - raise CLIInternalError("Dependency pymysql can't be installed, please install it manually with `" + sys.executable + " -m pip install pymysql`.") + raise CLIInternalError( + "Dependency pymysql can't be installed, please install it manually with `" + sys.executable + " -m pip install pymysql`.") connection_kwargs['client_flag'] = CLIENT.MULTI_STATEMENTS try: @@ -253,7 +279,7 @@ def get_connection_string(self): def get_create_query(self, client_id): return [ "SET aad_auth_validate_oids_in_tenant = OFF;", - "DROP USER IF EXISTS '{}'@'%';".format(self.aad_username), + # "DROP USER IF EXISTS '{}'@'%';".format(self.aad_username), "CREATE AADUSER '{}' IDENTIFIED BY '{}';".format( self.aad_username, client_id), "GRANT ALL PRIVILEGES ON `{}`.* TO '{}'@'%';".format( @@ -261,16 +287,6 @@ def get_create_query(self, client_id): "FLUSH privileges;" ] - def get_auth_config(self): - if self.auth_type in {'systemAssignedIdentity'}: - return { - 'auth_type': 'secret', - 'name': self.aad_username, - 'secret_info': { - 'secret_type': 'rawValue' - } - } - class SqlHandler(TargetHandler): @@ -346,12 +362,13 @@ def create_aad_user_in_sql(self, connection_args, query_list): except ModuleNotFoundError: raise CLIInternalError( "Dependency pyodbc can't be installed, please install it manually with `" + sys.executable + " -m pip install pyodbc`.") - drivers = [x for x in pyodbc.drivers() if x == 'ODBC Driver 18 for SQL Server'] + drivers = [x for x in pyodbc.drivers() if x in [ + 'ODBC Driver 17 for SQL Server', 'ODBC Driver 18 for SQL Server']] if not drivers: raise CLIInternalError( - "Please manually install odbc 18 for SQL server, reference: https://docs.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver16") + "Please manually install odbc 17/18 for SQL server, reference: https://docs.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver16") try: - with pyodbc.connect(connection_args.get("connection_string"), attrs_before=connection_args.get("attrs_before")) as conn: + with pyodbc.connect(connection_args.get("connection_string").format(driver=drivers[0]), attrs_before=connection_args.get("attrs_before")) as conn: with conn.cursor() as cursor: for execution_query in query_list: try: @@ -366,10 +383,11 @@ def get_connection_string(self): token_bytes = run_cli_cmd( 'az account get-access-token --output json --resource https://database.windows.net/').get('accessToken').encode('utf-16-le') - token_struct = struct.pack(f' 1: + raise ValidationError('Only one auth info is needed') + # when user provides auth info + if len(all_auth_info) == 1: + auth_info = all_auth_info[0] + # when user doesn't provide auth info and linker is not secret-with-username type + elif not all_auth_info and (linker.get('authInfo').get('authType') != 'secret' or + not linker.get('authInfo').get('name')): + auth_info = linker.get('authInfo') + else: + raise ValidationError('Auth info argument should be provided when ' + 'updating the connection: {}'.format(linker.get('name'))) + # validate the properties to be updated + if client_type is None and not all_auth_info: + raise ValidationError( + 'Either client type or auth info should be specified to update') + + client_type = client_type or linker.get('clientType') + + parameters = { + 'target_service': linker.get('targetService'), + 'auth_info': auth_info, + 'client_type': client_type, + 'public_network_solution': linker.get('publicNetworkSolution') or { + 'firewall_rules': { + 'caller_client_iP': 'true' + } + } + } + + return auto_register(sdk_no_wait, no_wait, + client.begin_create_or_update, + subscription_id=get_subscription_id(cmd.cli_ctx), + resource_group_name=resource_group_name, + location=location, + connector_name=connection_name, + parameters=parameters) + + +def local_connection_create_kafka(cmd, client, # pylint: disable=too-many-locals + resource_group_name, + bootstrap_server, + kafka_key, + kafka_secret, + schema_registry, + schema_key, + schema_secret, + connection_name=None, + location=None, + client_type=None): + + from ._transformers import transform_linker_properties + # validation + if 'azure.confluent.cloud' not in bootstrap_server.lower(): + raise InvalidArgumentValueError( + 'Kafka bootstrap server url is invalid: {}'.format(bootstrap_server)) + if 'azure.confluent.cloud' not in schema_registry.lower(): + raise InvalidArgumentValueError( + 'Schema registry url is invalid: {}'.format(schema_registry)) + + # create bootstrap-server + parameters = { + 'target_service': { + "type": "ConfluentBootstrapServer", + "endpoint": bootstrap_server + }, + 'auth_info': { + 'name': kafka_key, + 'secret_info': { + 'secret_type': 'rawValue', + 'value': kafka_secret + }, + 'auth_type': 'secret' + }, + 'client_type': client_type, + 'public_network_solution': { + 'firewall_rules': { + 'caller_client_iP': 'true' + } + }, + } + logger.warning('Start creating a connection for bootstrap server ...') + server_linker = client.begin_create_or_update( + subscription_id=get_subscription_id(cmd.cli_ctx), + resource_group_name=resource_group_name, + location=location, + connector_name=connection_name, + parameters=parameters) + + # block to poll the connection + server_linker = server_linker.result() + logger.warning('Created') + + # create schema registry + parameters = { + 'target_service': { + "type": "ConfluentSchemaRegistry", + "endpoint": schema_registry + }, + 'auth_info': { + 'name': schema_key, + 'secret_info': { + 'secret_type': 'rawValue', + 'value': schema_secret + }, + 'auth_type': 'secret' + }, + 'client_type': client_type, + 'public_network_solution': { + 'firewall_rules': { + 'caller_client_iP': 'true' + } + }, + } + logger.warning('Start creating a connection for schema registry ...') + registry_linker = client.begin_create_or_update( + subscription_id=get_subscription_id(cmd.cli_ctx), + resource_group_name=resource_group_name, + location=location, + connector_name='{}_schema'.format(connection_name), + parameters=parameters) + # block to poll the connection + registry_linker = registry_linker.result() + logger.warning('Created') + + return [ + transform_linker_properties(server_linker), + transform_linker_properties(registry_linker) + ] + + +def local_connection_update_kafka(cmd, client, # pylint: disable=too-many-locals + connection_name, + location=None, + resource_group_name=None, + id=None, # pylint: disable=redefined-builtin + bootstrap_server=None, + kafka_key=None, + kafka_secret=None, + schema_registry=None, + schema_key=None, + schema_secret=None, + client_type=None): + + # use the suffix to decide the connection type + if connection_name.endswith('_schema'): # the schema registry connection + if schema_secret is None: + raise ValidationError( + "'--schema-secret' is required to update a schema registry connection") + if bootstrap_server or kafka_key or kafka_secret: + raise ValidationError("The available parameters to update a schema registry connection are:" + " ['--schema-registry', '--schema-key', '--schema-secret', '--client-type']") + server_linker = todict(client.get(subscription_id=get_subscription_id(cmd.cli_ctx), + resource_group_name=resource_group_name, + location=location, + connector_name=connection_name)) + parameters = { + 'targetService': server_linker.get('targetService'), + 'auth_info': { + 'name': schema_key or server_linker.get('authInfo').get('name'), + 'secret': schema_secret, + 'auth_type': 'secret' + }, + + 'client_type': client_type or server_linker.get('clientType'), + 'public_network_solution': server_linker.get('publicNetworkSolution') or { + 'firewall_rules': { + 'caller_client_iP': 'true' + } + } + } + if schema_registry: + parameters['targetService'] = { + "type": "ConfluentSchemaRegistry", + "endpoint": schema_registry + } + else: # the bootstrap server connection + if kafka_secret is None: + raise ValidationError( + "'--kafka-secret' is required to update a bootstrap server connection") + if schema_registry or schema_key or schema_secret: + raise ValidationError("The available parameters to update a bootstrap server connection are:" + " ['--bootstrap-server', '--kafka-key', '--skafka-secret', '--client-type']") + schema_linker = todict(client.get(subscription_id=get_subscription_id(cmd.cli_ctx), + resource_group_name=resource_group_name, + location=location, + connector_name=connection_name)) + parameters = { + 'targetService': schema_linker.get('targetService'), + 'auth_info': { + 'name': kafka_key or schema_linker.get('authInfo').get('name'), + 'secret': kafka_secret, + 'auth_type': 'secret' + }, + 'client_type': client_type or schema_linker.get('clientType'), + 'public_network_solution': schema_linker.get('publicNetworkSolution') or { + 'firewall_rules': { + 'caller_client_iP': 'true' + } + }, + } + if bootstrap_server: + parameters['targetService'] = { + "type": "ConfluentBootstrapServer", + "endpoint": bootstrap_server + } + + return client.begin_create_or_update(subscription_id=get_subscription_id(cmd.cli_ctx), + resource_group_name=resource_group_name, + location=location, + connector_name=connection_name, + parameters=parameters) + + def connection_create_kafka(cmd, client, # pylint: disable=too-many-locals bootstrap_server, kafka_key, diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_appconfig_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_appconfig_e2e.yaml new file mode 100644 index 00000000000..8e0981c3b3c --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_appconfig_e2e.yaml @@ -0,0 +1,891 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create appconfig + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:22:43 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration"}, + "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create appconfig + Connection: + - keep-alive + Content-Length: + - '388' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", + "name": "testconn1", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:22:49.0499967Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:22:49.0499967Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/304b6209-8984-4200-977d-4bd6370f2eba*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1152' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:22:49 GMT + etag: + - '"58001154-0000-0100-0000-6399337a0000"' + expires: + - '-1' + mise-correlation-id: + - 5659dde9-1d00-4eee-8214-01f0e9512ee5 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create appconfig + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/304b6209-8984-4200-977d-4bd6370f2eba*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/304b6209-8984-4200-977d-4bd6370f2eba*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", + "name": "304b6209-8984-4200-977d-4bd6370f2eba*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", + "status": "Succeeded", "startTime": "2022-12-14T02:22:49.9804993Z", "endTime": + "2022-12-14T02:22:53.8998162Z", "properties": {"Message": ""}}' + headers: + cache-control: + - no-cache + content-length: + - '672' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:23:20 GMT + etag: + - '"0f001747-0000-0100-0000-6399337d0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create appconfig + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", + "name": "testconn1", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:22:49.0499967Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:22:49.0499967Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '988' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:23:20 GMT + etag: + - '"58005454-0000-0100-0000-6399337d0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:23:25 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: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", + "name": "testconn1", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:22:49.0499967Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:22:49.0499967Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1001' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:23: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-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update appconfig + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", + "name": "testconn1", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:22:49.0499967Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:22:49.0499967Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '988' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:23:28 GMT + etag: + - '"58005454-0000-0100-0000-6399337d0000"' + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration"}, + "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update appconfig + Connection: + - keep-alive + Content-Length: + - '445' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", + "name": "testconn1", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:22:49.0499967Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:23:30.1121629Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b210f3cd-b8fe-4c17-8cf0-1b321589cbca*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1152' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:23:30 GMT + etag: + - '"58002757-0000-0100-0000-639933a20000"' + expires: + - '-1' + mise-correlation-id: + - d7fb49e5-e039-4dc3-8ba4-d8ee23a84654 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update appconfig + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b210f3cd-b8fe-4c17-8cf0-1b321589cbca*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b210f3cd-b8fe-4c17-8cf0-1b321589cbca*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", + "name": "b210f3cd-b8fe-4c17-8cf0-1b321589cbca*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", + "status": "Succeeded", "startTime": "2022-12-14T02:23:30.3597362Z", "endTime": + "2022-12-14T02:23:34.3308298Z", "properties": {"Message": ""}}' + headers: + cache-control: + - no-cache + content-length: + - '672' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:24:01 GMT + etag: + - '"0f00b147-0000-0100-0000-639933a60000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update appconfig + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", + "name": "testconn1", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:22:49.0499967Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:23:30.1121629Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '988' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:24:01 GMT + etag: + - '"58008f57-0000-0100-0000-639933a60000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_APPCONFIGURATION_CONNECTIONSTRING", + "value": "Endpoint=https://servicelinker-app-configuration.azconfig.io;Id=Fy1v-l0-s0:lFOloVXM+HX9KjK3KtL9;Secret=fwihGZDouUPSLMZrFHo27aFOT5MYNZoRPG5Tolr1jds="}]}' + headers: + cache-control: + - no-cache + content-length: + - '233' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:24:07 GMT + expires: + - '-1' + mise-correlation-id: + - 554a8708-fde1-47b7-a3af-6adef6c595ed + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f1362af0-3b93-4f53-b653-ad5d7b5f9641*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:24:09 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f1362af0-3b93-4f53-b653-ad5d7b5f9641*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview + mise-correlation-id: + - 81aa0633-69e3-41ac-803a-d4580e7b6b66 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f1362af0-3b93-4f53-b653-ad5d7b5f9641*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f1362af0-3b93-4f53-b653-ad5d7b5f9641*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", + "name": "f1362af0-3b93-4f53-b653-ad5d7b5f9641*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", + "status": "Succeeded", "startTime": "2022-12-14T02:24:09.814858Z", "endTime": + "2022-12-14T02:24:12.9248545Z", "properties": {"Message": "{\"ConnectionName\":\"testconn1\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target''s network access is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T02:24:11.4663082Z\",\"ReportEndTimeUtc\":\"2022-12-14T02:24:11.8034719Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn1", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network access is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T02:24:11.4663082Z", + "reportEndTimeUtc": "2022-12-14T02:24:11.8034719Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:24:41 GMT + etag: + - '"0f003848-0000-0100-0000-639933cc0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f1362af0-3b93-4f53-b653-ad5d7b5f9641*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f1362af0-3b93-4f53-b653-ad5d7b5f9641*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", + "name": "f1362af0-3b93-4f53-b653-ad5d7b5f9641*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", + "status": "Succeeded", "startTime": "2022-12-14T02:24:09.814858Z", "endTime": + "2022-12-14T02:24:12.9248545Z", "properties": {"Message": "{\"ConnectionName\":\"testconn1\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target''s network access is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T02:24:11.4663082Z\",\"ReportEndTimeUtc\":\"2022-12-14T02:24:11.8034719Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn1", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network access is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T02:24:11.4663082Z", + "reportEndTimeUtc": "2022-12-14T02:24:11.8034719Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:24:41 GMT + etag: + - '"0f003848-0000-0100-0000-639933cc0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", + "name": "testconn1", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:22:49.0499967Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:23:30.1121629Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '988' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:24:43 GMT + etag: + - '"58008f57-0000-0100-0000-639933a60000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Dec 2022 02:24:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_confluentkafka_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_confluentkafka_e2e.yaml new file mode 100644 index 00000000000..87f9b344b4d --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_confluentkafka_e2e.yaml @@ -0,0 +1,1130 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create confluent-cloud + Connection: + - keep-alive + ParameterSetName: + - -g --connection --bootstrap-server --kafka-key --kafka-secret --schema-registry + --schema-key --schema-secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:12:55 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: '{"properties": {"targetService": {"type": "ConfluentBootstrapServer", "endpoint": + "xxx.eastus.azure.confluent.cloud:9092"}, "authInfo": {"authType": "secret", + "name": "Name", "secretInfo": {"secretType": "rawValue", "value": "Secret"}}, + "clientType": "python", "publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create confluent-cloud + Connection: + - keep-alive + Content-Length: + - '333' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --bootstrap-server --kafka-key --kafka-secret --schema-registry + --schema-key --schema-secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27", + "name": "testconn27", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:12:57.1654709Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:12:57.1654709Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, + "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": + "secret"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/35f42d36-262e-483d-a4fd-8a088916b4df*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1018' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:12:58 GMT + etag: + - '"58009df5-0000-0100-0000-63993f3a0000"' + expires: + - '-1' + mise-correlation-id: + - ab1f963a-c30c-41ef-88bd-b09c1cd5708e + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create confluent-cloud + Connection: + - keep-alive + ParameterSetName: + - -g --connection --bootstrap-server --kafka-key --kafka-secret --schema-registry + --schema-key --schema-secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/35f42d36-262e-483d-a4fd-8a088916b4df*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/35f42d36-262e-483d-a4fd-8a088916b4df*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA", + "name": "35f42d36-262e-483d-a4fd-8a088916b4df*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27", + "status": "Succeeded", "startTime": "2022-12-14T03:12:58.1346426Z", "endTime": + "2022-12-14T03:13:00.9249018Z", "properties": {"Message": ""}}' + headers: + cache-control: + - no-cache + content-length: + - '673' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:13:28 GMT + etag: + - '"0f00bc62-0000-0100-0000-63993f3c0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create confluent-cloud + Connection: + - keep-alive + ParameterSetName: + - -g --connection --bootstrap-server --kafka-key --kafka-secret --schema-registry + --schema-key --schema-secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27", + "name": "testconn27", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:12:57.1654709Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:12:57.1654709Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", + "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:13:29 GMT + etag: + - '"5800d9f5-0000-0100-0000-63993f3c0000"' + 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: '{"properties": {"targetService": {"type": "ConfluentSchemaRegistry", "endpoint": + "https://xxx.eastus.azure.confluent.cloud"}, "authInfo": {"authType": "secret", + "name": "Name", "secretInfo": {"secretType": "rawValue", "value": "Secret"}}, + "clientType": "python", "publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create confluent-cloud + Connection: + - keep-alive + Content-Length: + - '335' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --bootstrap-server --kafka-key --kafka-secret --schema-registry + --schema-key --schema-secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27_schema?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27_schema", + "name": "testconn27_schema", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:13:30.1943375Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:13:30.1943375Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"endpoint": "https://xxx.eastus.azure.confluent.cloud", "type": "ConfluentSchemaRegistry"}, + "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": + "secret"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d63cf58e-cedd-4087-a8e9-1c9de8de09e0*86E582AF7D6C701042909B1BBA7618BCF0AB3D2DF0DDCDEBF5C5B89B4541EB02?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1034' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:13:29 GMT + etag: + - '"5800fbf7-0000-0100-0000-63993f5a0000"' + expires: + - '-1' + mise-correlation-id: + - 564f9d59-d7ae-455f-b7df-92c1f12da96c + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create confluent-cloud + Connection: + - keep-alive + ParameterSetName: + - -g --connection --bootstrap-server --kafka-key --kafka-secret --schema-registry + --schema-key --schema-secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d63cf58e-cedd-4087-a8e9-1c9de8de09e0*86E582AF7D6C701042909B1BBA7618BCF0AB3D2DF0DDCDEBF5C5B89B4541EB02?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d63cf58e-cedd-4087-a8e9-1c9de8de09e0*86E582AF7D6C701042909B1BBA7618BCF0AB3D2DF0DDCDEBF5C5B89B4541EB02", + "name": "d63cf58e-cedd-4087-a8e9-1c9de8de09e0*86E582AF7D6C701042909B1BBA7618BCF0AB3D2DF0DDCDEBF5C5B89B4541EB02", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27_schema", + "status": "Succeeded", "startTime": "2022-12-14T03:13:30.3513361Z", "endTime": + "2022-12-14T03:13:33.2371936Z", "properties": {"Message": ""}}' + headers: + cache-control: + - no-cache + content-length: + - '680' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:14:01 GMT + etag: + - '"0f00ef62-0000-0100-0000-63993f5d0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create confluent-cloud + Connection: + - keep-alive + ParameterSetName: + - -g --connection --bootstrap-server --kafka-key --kafka-secret --schema-registry + --schema-key --schema-secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27_schema?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27_schema", + "name": "testconn27_schema", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:13:30.1943375Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:13:30.1943375Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"endpoint": "https://xxx.eastus.azure.confluent.cloud", + "type": "ConfluentSchemaRegistry"}, "authInfo": {"name": "Name", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '932' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:14:01 GMT + etag: + - '"58002af8-0000-0100-0000-63993f5d0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:14:04 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: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27", + "name": "testconn27", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:12:57.1654709Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:12:57.1654709Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", + "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python"}}, + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27_schema", + "name": "testconn27_schema", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:13:30.1943375Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:13:30.1943375Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"endpoint": "https://xxx.eastus.azure.confluent.cloud", + "type": "ConfluentSchemaRegistry"}, "authInfo": {"name": "Name", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1863' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:14:06 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update confluent-cloud + Connection: + - keep-alive + ParameterSetName: + - --connection --client-type --kafka-secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:14:06 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: + - connection update confluent-cloud + Connection: + - keep-alive + ParameterSetName: + - --connection --client-type --kafka-secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27", + "name": "testconn27", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:12:57.1654709Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:12:57.1654709Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", + "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:14:08 GMT + etag: + - '"5800d9f5-0000-0100-0000-63993f3c0000"' + 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: '{"properties": {"targetService": {"type": "ConfluentBootstrapServer", "endpoint": + "xxx.eastus.azure.confluent.cloud:9092"}, "authInfo": {"authType": "secret", + "name": "Name"}, "clientType": "dotnet", "publicNetworkSolution": {"deleteOrUpdateBehavior": + "Default", "action": "enable", "firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update confluent-cloud + Connection: + - keep-alive + Content-Length: + - '329' + Content-Type: + - application/json + ParameterSetName: + - --connection --client-type --kafka-secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27", + "name": "testconn27", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:12:57.1654709Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:14:09.220297Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, + "authInfo": {"name": "Name", "secretInfo": null, "authType": "secret"}, "clientType": + "dotnet", "scope": null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/646e2d14-d306-4f01-ae0d-ccb528a2fc15*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '995' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:14:09 GMT + etag: + - '"5800e6fa-0000-0100-0000-63993f810000"' + expires: + - '-1' + mise-correlation-id: + - 0f4f3585-4c43-49d1-8b1c-7ecbb5e45d13 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update confluent-cloud + Connection: + - keep-alive + ParameterSetName: + - --connection --client-type --kafka-secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/646e2d14-d306-4f01-ae0d-ccb528a2fc15*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/646e2d14-d306-4f01-ae0d-ccb528a2fc15*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA", + "name": "646e2d14-d306-4f01-ae0d-ccb528a2fc15*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27", + "status": "Succeeded", "startTime": "2022-12-14T03:14:09.5320186Z", "endTime": + "2022-12-14T03:14:12.3519302Z", "properties": {"Message": ""}}' + headers: + cache-control: + - no-cache + content-length: + - '673' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:14:40 GMT + etag: + - '"0f002463-0000-0100-0000-63993f840000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update confluent-cloud + Connection: + - keep-alive + ParameterSetName: + - --connection --client-type --kafka-secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27", + "name": "testconn27", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:12:57.1654709Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:14:09.220297Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", + "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "authType": + "secret"}, "clientType": "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:14:40 GMT + etag: + - '"580037fb-0000-0100-0000-63993f840000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "CONFLUENTCLOUD_KAFKA_BOOTSTRAPSERVER", + "value": "xxx.eastus.azure.confluent.cloud:9092"}, {"name": "CONFLUENTCLOUD_KAFKA_SASLUSERNAME", + "value": "Name"}]}' + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:14:43 GMT + expires: + - '-1' + mise-correlation-id: + - 005b54f9-bc13-4246-ad0f-a116b2f3bc79 + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ee50afc7-8d74-4995-a602-9620c41ac0dd*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:14:44 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ee50afc7-8d74-4995-a602-9620c41ac0dd*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA?api-version=2021-01-01-privatepreview + mise-correlation-id: + - 07f23c60-84c8-4317-a64a-f9b4c983a83e + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ee50afc7-8d74-4995-a602-9620c41ac0dd*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ee50afc7-8d74-4995-a602-9620c41ac0dd*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA", + "name": "ee50afc7-8d74-4995-a602-9620c41ac0dd*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27", + "status": "Succeeded", "startTime": "2022-12-14T03:14:44.6185389Z", "endTime": + "2022-12-14T03:14:47.3912444Z", "properties": {"Message": "{\"ConnectionName\":\"testconn27\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T03:14:46.238942Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:14:46.2418476Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn27", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}], "reportStartTimeUtc": "2022-12-14T03:14:46.238942Z", "reportEndTimeUtc": + "2022-12-14T03:14:46.2418476Z", "sourceId": null, "targetId": null, "authType": + "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1338' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:15:16 GMT + etag: + - '"0f006963-0000-0100-0000-63993fa70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ee50afc7-8d74-4995-a602-9620c41ac0dd*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ee50afc7-8d74-4995-a602-9620c41ac0dd*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA", + "name": "ee50afc7-8d74-4995-a602-9620c41ac0dd*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27", + "status": "Succeeded", "startTime": "2022-12-14T03:14:44.6185389Z", "endTime": + "2022-12-14T03:14:47.3912444Z", "properties": {"Message": "{\"ConnectionName\":\"testconn27\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T03:14:46.238942Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:14:46.2418476Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn27", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}], "reportStartTimeUtc": "2022-12-14T03:14:46.238942Z", "reportEndTimeUtc": + "2022-12-14T03:14:46.2418476Z", "sourceId": null, "targetId": null, "authType": + "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1338' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:15:16 GMT + etag: + - '"0f006963-0000-0100-0000-63993fa70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27", + "name": "testconn27", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:12:57.1654709Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:14:09.220297Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", + "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "authType": + "secret"}, "clientType": "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '873' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:15:17 GMT + etag: + - '"580037fb-0000-0100-0000-63993f840000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn27?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Dec 2022 03:15:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmoscassandra_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmoscassandra_e2e.yaml new file mode 100644 index 00000000000..fd2934c96f7 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmoscassandra_e2e.yaml @@ -0,0 +1,320 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:24:54 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb"}, + "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create cosmos-cassandra + Connection: + - keep-alive + Content-Length: + - '403' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "name": "testconn2", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:24:56.5720121Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:24:56.5720121Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1167' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:24:56 GMT + etag: + - '"5800e458-0000-0100-0000-639933f90000"' + expires: + - '-1' + mise-correlation-id: + - 32dc66e0-a7e5-44f9-a249-4829c3bd87a5 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Accepted", "startTime": "2022-12-14T02:24:56.8310373Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:25:27 GMT + etag: + - '"0f00c648-0000-0100-0000-639933f80000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Accepted", "startTime": "2022-12-14T02:24:56.8310373Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:25:58 GMT + etag: + - '"0f00c648-0000-0100-0000-639933f80000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Accepted", "startTime": "2022-12-14T02:24:56.8310373Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:26:29 GMT + etag: + - '"0f00c648-0000-0100-0000-639933f80000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Failed", "startTime": "2022-12-14T02:24:56.8310373Z", "endTime": + "2022-12-14T02:26:31.250332Z", "error": {"code": "GeneralUserError", "message": + "Execution failed.. There is already an operation in progress which requires + exclusive lock on this service servicelinker-cassandra-cosmos1. Please retry + the operation after sometime.\r\nActivityId: b917a83c-94ca-44b5-ae01-545d4bce4099, + Microsoft.Azure.Documents.Common/2.14.0"}}' + headers: + cache-control: + - no-cache + content-length: + - '966' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:27:00 GMT + etag: + - '"0f001e4a-0000-0100-0000-639934570000"' + expires: + - '-1' + pragma: + - no-cache + 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/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmosgremlin_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmosgremlin_e2e.yaml new file mode 100644 index 00000000000..8dc794c85b2 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmosgremlin_e2e.yaml @@ -0,0 +1,1475 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:51:00 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem"}, + "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create cosmos-gremlin + Connection: + - keep-alive + Content-Length: + - '412' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "name": "testconn3", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-13T14:51:05.7193991Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-13T14:51:05.7193991Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1176' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:51:06 GMT + etag: + - '"45007371-0000-0100-0000-6398915a0000"' + expires: + - '-1' + mise-correlation-id: + - 727f7515-5fc5-440b-a568-fd30c391d002 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:51:57 GMT + etag: + - '"0d005254-0000-0100-0000-6398915a0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:52:27 GMT + etag: + - '"0d005254-0000-0100-0000-6398915a0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:52:58 GMT + etag: + - '"0d005254-0000-0100-0000-6398915a0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:53:28 GMT + etag: + - '"0d005254-0000-0100-0000-6398915a0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:53:58 GMT + etag: + - '"0d005254-0000-0100-0000-6398915a0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:54:29 GMT + etag: + - '"0d005254-0000-0100-0000-6398915a0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:54:59 GMT + etag: + - '"0d005254-0000-0100-0000-6398915a0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:55:30 GMT + etag: + - '"0d005254-0000-0100-0000-6398915a0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:56:00 GMT + etag: + - '"0d005254-0000-0100-0000-6398915a0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:56:30 GMT + etag: + - '"0d005254-0000-0100-0000-6398915a0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:57:01 GMT + etag: + - '"0d005254-0000-0100-0000-6398915a0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Succeeded", "startTime": "2022-12-13T14:51:06.5615265Z", "endTime": + "2022-12-13T14:57:14.5250481Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '674' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:57:30 GMT + etag: + - '"0d00d357-0000-0100-0000-639892ca0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "name": "testconn3", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-13T14:51:05.7193991Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-13T14:51:05.7193991Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '1012' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:57:31 GMT + etag: + - '"450005cc-0000-0100-0000-639892ca0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:57:39 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: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "name": "testconn3", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-13T14:51:05.7193991Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-13T14:51:05.7193991Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1025' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:57:40 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "name": "testconn3", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-13T14:51:05.7193991Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-13T14:51:05.7193991Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '1012' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:57:43 GMT + etag: + - '"450005cc-0000-0100-0000-639892ca0000"' + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem"}, + "authInfo": {"authType": "userAccount", "principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff"}, + "clientType": "dotnet"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update cosmos-gremlin + Connection: + - keep-alive + Content-Length: + - '400' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "name": "testconn3", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-13T14:51:05.7193991Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-13T14:57:44.2264627Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"principalId": + "b0a9d3c6-3387-4067-9f03-39808e7291ff", "roles": null, "userName": null, "authType": + "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "dotnet", + "scope": null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1156' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:57:44 GMT + etag: + - '"450073e2-0000-0100-0000-639892e80000"' + expires: + - '-1' + mise-correlation-id: + - 00b755b7-2dc5-4266-9e85-83310bb72232 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1196' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-13T14:57:44.455999Z"}' + headers: + cache-control: + - no-cache + content-length: + - '596' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:58:15 GMT + etag: + - '"0d001a58-0000-0100-0000-639892e80000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-13T14:57:44.455999Z"}' + headers: + cache-control: + - no-cache + content-length: + - '596' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:58:45 GMT + etag: + - '"0d001a58-0000-0100-0000-639892e80000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-13T14:57:44.455999Z"}' + headers: + cache-control: + - no-cache + content-length: + - '596' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:59:16 GMT + etag: + - '"0d001a58-0000-0100-0000-639892e80000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-13T14:57:44.455999Z"}' + headers: + cache-control: + - no-cache + content-length: + - '596' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 14:59:46 GMT + etag: + - '"0d001a58-0000-0100-0000-639892e80000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-13T14:57:44.455999Z"}' + headers: + cache-control: + - no-cache + content-length: + - '596' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 15:00:16 GMT + etag: + - '"0d001a58-0000-0100-0000-639892e80000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-13T14:57:44.455999Z"}' + headers: + cache-control: + - no-cache + content-length: + - '596' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 15:00:46 GMT + etag: + - '"0d001a58-0000-0100-0000-639892e80000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-13T14:57:44.455999Z"}' + headers: + cache-control: + - no-cache + content-length: + - '596' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 15:06:26 GMT + etag: + - '"0d001a58-0000-0100-0000-639892e80000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-13T14:57:44.455999Z"}' + headers: + cache-control: + - no-cache + content-length: + - '596' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 15:06:57 GMT + etag: + - '"0d001a58-0000-0100-0000-639892e80000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-13T14:57:44.455999Z"}' + headers: + cache-control: + - no-cache + content-length: + - '596' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 15:07:27 GMT + etag: + - '"0d001a58-0000-0100-0000-639892e80000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Failed", "startTime": "2022-12-13T14:57:44.455999Z", "endTime": + "2022-12-13T15:07:47.3209191Z", "error": {"code": "TaskSystemGeneralError", + "message": "Async task 86bf5695-bca3-43e8-b841-5725510e591c hit max retry + count in Execution progress with system error (retried 3 times). Last error: + ."}}' + headers: + cache-control: + - no-cache + content-length: + - '837' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 13 Dec 2022 15:07:57 GMT + etag: + - '"0d00f85c-0000-0100-0000-639895430000"' + expires: + - '-1' + pragma: + - no-cache + 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/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmosmongo_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmosmongo_e2e.yaml new file mode 100644 index 00000000000..3ac1dc97000 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmosmongo_e2e.yaml @@ -0,0 +1,1841 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:29:09 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB"}, + "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create cosmos-mongo + Connection: + - keep-alive + Content-Length: + - '396' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "name": "testconn4", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:29:10.9869474Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:29:10.9869474Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1160' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:29:11 GMT + etag: + - '"58000567-0000-0100-0000-639934f80000"' + expires: + - '-1' + mise-correlation-id: + - 44d96e65-9e63-4f79-bf54-e55386cbf3f5 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:29:42 GMT + etag: + - '"0f002b4c-0000-0100-0000-639934f70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:30:13 GMT + etag: + - '"0f002b4c-0000-0100-0000-639934f70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:30:44 GMT + etag: + - '"0f002b4c-0000-0100-0000-639934f70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:31:14 GMT + etag: + - '"0f002b4c-0000-0100-0000-639934f70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:31:47 GMT + etag: + - '"0f002b4c-0000-0100-0000-639934f70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:32:17 GMT + etag: + - '"0f002b4c-0000-0100-0000-639934f70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:32:49 GMT + etag: + - '"0f002b4c-0000-0100-0000-639934f70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:33:20 GMT + etag: + - '"0f002b4c-0000-0100-0000-639934f70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:33:50 GMT + etag: + - '"0f002b4c-0000-0100-0000-639934f70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:34:21 GMT + etag: + - '"0f002b4c-0000-0100-0000-639934f70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:34:52 GMT + etag: + - '"0f002b4c-0000-0100-0000-639934f70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:35:22 GMT + etag: + - '"0f002b4c-0000-0100-0000-639934f70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:35:52 GMT + etag: + - '"0f002b4c-0000-0100-0000-639934f70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:36:24 GMT + etag: + - '"0f002b4c-0000-0100-0000-639934f70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:36:54 GMT + etag: + - '"0f002b4c-0000-0100-0000-639934f70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:37:25 GMT + etag: + - '"0f002b4c-0000-0100-0000-639934f70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:37:57 GMT + etag: + - '"0f002b4c-0000-0100-0000-639934f70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:38:26 GMT + etag: + - '"0f002b4c-0000-0100-0000-639934f70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Succeeded", "startTime": "2022-12-14T02:29:11.9111836Z", "endTime": + "2022-12-14T02:38:31.0814983Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '674' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:38:57 GMT + etag: + - '"0f004f50-0000-0100-0000-639937270000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "name": "testconn4", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:29:10.9869474Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:29:10.9869474Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '996' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:38:58 GMT + etag: + - '"58002285-0000-0100-0000-639937270000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:39:06 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: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "name": "testconn4", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:29:10.9869474Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:29:10.9869474Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1009' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:39:07 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "name": "testconn4", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:29:10.9869474Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:29:10.9869474Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '996' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:39:09 GMT + etag: + - '"58002285-0000-0100-0000-639937270000"' + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB"}, + "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update cosmos-mongo + Connection: + - keep-alive + Content-Length: + - '453' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "name": "testconn4", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:29:10.9869474Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:39:10.2063731Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d732186a-71c5-4b3c-8054-8cba07e57b61*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1160' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:39:10 GMT + etag: + - '"5800cd87-0000-0100-0000-6399374e0000"' + expires: + - '-1' + mise-correlation-id: + - 81bc3373-aca4-4e88-bf9b-4ba97e275bf3 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d732186a-71c5-4b3c-8054-8cba07e57b61*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d732186a-71c5-4b3c-8054-8cba07e57b61*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "d732186a-71c5-4b3c-8054-8cba07e57b61*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-14T02:39:10.3919952Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:39:41 GMT + etag: + - '"0f00b150-0000-0100-0000-6399374e0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d732186a-71c5-4b3c-8054-8cba07e57b61*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d732186a-71c5-4b3c-8054-8cba07e57b61*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "d732186a-71c5-4b3c-8054-8cba07e57b61*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Succeeded", "startTime": "2022-12-14T02:39:10.3919952Z", "endTime": + "2022-12-14T02:39:56.8365112Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '674' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:40:12 GMT + etag: + - '"0f002b51-0000-0100-0000-6399377c0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "name": "testconn4", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:29:10.9869474Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:39:10.2063731Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '996' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:40:13 GMT + etag: + - '"5800388b-0000-0100-0000-6399377c0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_COSMOS_CONNECTIONSTRING", "value": + "mongodb://servicelinker-mongo-cosmos:yfGJReUhruM0ySqXeFLoInOlwBO9MoBnjoE9HdNHq54PkPSIA0iNPSWw8SlDG0S1yRrJtG0b7izKZAybXv9Hdw==@servicelinker-mongo-cosmos.mongo.cosmos.azure.com:10255/coreDB?ssl=true&replicaSet=globaldb&retrywrites=false&maxIdleTimeMS=120000&appName=@servicelinker-mongo-cosmos@"}]}' + headers: + cache-control: + - no-cache + content-length: + - '369' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:40:20 GMT + expires: + - '-1' + mise-correlation-id: + - 3eeaa160-4b1c-4928-9ff1-fe3869ceac1c + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/89f6dff9-03f7-4058-b702-73c4438d6db2*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:40:22 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/89f6dff9-03f7-4058-b702-73c4438d6db2*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + mise-correlation-id: + - 287c1489-5292-4d08-a3d9-c8d34c8cd3db + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/89f6dff9-03f7-4058-b702-73c4438d6db2*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/89f6dff9-03f7-4058-b702-73c4438d6db2*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "89f6dff9-03f7-4058-b702-73c4438d6db2*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Succeeded", "startTime": "2022-12-14T02:40:23.2138702Z", "endTime": + "2022-12-14T02:40:26.8565951Z", "properties": {"Message": "{\"ConnectionName\":\"testconn4\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T02:40:24.5321558Z\",\"ReportEndTimeUtc\":\"2022-12-14T02:40:25.3547566Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn4", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T02:40:24.5321558Z", + "reportEndTimeUtc": "2022-12-14T02:40:25.3547566Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1523' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:40:53 GMT + etag: + - '"0f008d51-0000-0100-0000-6399379a0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/89f6dff9-03f7-4058-b702-73c4438d6db2*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/89f6dff9-03f7-4058-b702-73c4438d6db2*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "89f6dff9-03f7-4058-b702-73c4438d6db2*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Succeeded", "startTime": "2022-12-14T02:40:23.2138702Z", "endTime": + "2022-12-14T02:40:26.8565951Z", "properties": {"Message": "{\"ConnectionName\":\"testconn4\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T02:40:24.5321558Z\",\"ReportEndTimeUtc\":\"2022-12-14T02:40:25.3547566Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn4", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T02:40:24.5321558Z", + "reportEndTimeUtc": "2022-12-14T02:40:25.3547566Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1523' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:40:53 GMT + etag: + - '"0f008d51-0000-0100-0000-6399379a0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "name": "testconn4", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:29:10.9869474Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:39:10.2063731Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '996' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:40:55 GMT + etag: + - '"5800388b-0000-0100-0000-6399377c0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Dec 2022 02:41:06 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmostable_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmostable_e2e.yaml new file mode 100644 index 00000000000..888a4daf543 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmostable_e2e.yaml @@ -0,0 +1,314 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 01:39:11 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem"}, + "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create cosmos-table + Connection: + - keep-alive + Content-Length: + - '386' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "name": "testconn6", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T01:39:13.0549089Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T01:39:13.0549089Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1150' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 01:39:13 GMT + etag: + - '"570010c7-0000-0100-0000-639929410000"' + expires: + - '-1' + mise-correlation-id: + - b80f3b86-f20e-4a21-b229-9f7c9e0de8b8 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Accepted", "startTime": "2022-12-14T01:39:13.2802094Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 01:39:43 GMT + etag: + - '"0f00f328-0000-0100-0000-639929410000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Accepted", "startTime": "2022-12-14T01:39:13.2802094Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 01:40:14 GMT + etag: + - '"0f00f328-0000-0100-0000-639929410000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Accepted", "startTime": "2022-12-14T01:39:13.2802094Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 01:40:45 GMT + etag: + - '"0f00f328-0000-0100-0000-639929410000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Failed", "startTime": "2022-12-14T01:39:13.2802094Z", "endTime": + "2022-12-14T01:40:47.0848973Z", "error": {"code": "GeneralUserError", "message": + "Execution failed.. There is already an operation in progress which requires + exclusive lock on this service servicelinker-table-cosmos. Please retry the + operation after sometime.\r\nActivityId: 71d9b17e-0a90-449c-bf1b-71e4bc490f6b, + Microsoft.Azure.Documents.Common/2.14.0"}}' + headers: + cache-control: + - no-cache + content-length: + - '962' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 01:41:14 GMT + etag: + - '"0f00f929-0000-0100-0000-6399299f0000"' + expires: + - '-1' + pragma: + - no-cache + 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/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_eventhub_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_eventhub_e2e.yaml new file mode 100644 index 00000000000..7a3a978345d --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_eventhub_e2e.yaml @@ -0,0 +1,891 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create eventhub + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:43:35 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub"}, + "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create eventhub + Connection: + - keep-alive + Content-Length: + - '365' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn7?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn7", + "name": "testconn7", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:43:37.434152Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:43:37.434152Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9809461c-d57f-43f4-99cc-16d49b884e98*F8582C77C87E653DEC32CCD02606E67DF3BE10993C23ED1968D93A66E0445030?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1127' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:43:38 GMT + etag: + - '"58006b95-0000-0100-0000-6399385a0000"' + expires: + - '-1' + mise-correlation-id: + - c1feb3ef-6145-48ee-a915-0e0bde1382e9 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create eventhub + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9809461c-d57f-43f4-99cc-16d49b884e98*F8582C77C87E653DEC32CCD02606E67DF3BE10993C23ED1968D93A66E0445030?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9809461c-d57f-43f4-99cc-16d49b884e98*F8582C77C87E653DEC32CCD02606E67DF3BE10993C23ED1968D93A66E0445030", + "name": "9809461c-d57f-43f4-99cc-16d49b884e98*F8582C77C87E653DEC32CCD02606E67DF3BE10993C23ED1968D93A66E0445030", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn7", + "status": "Succeeded", "startTime": "2022-12-14T02:43:38.3328708Z", "endTime": + "2022-12-14T02:43:51.3051713Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '674' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:44:09 GMT + etag: + - '"0f003153-0000-0100-0000-639938670000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create eventhub + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn7?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn7", + "name": "testconn7", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:43:37.434152Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:43:37.434152Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '963' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:44:10 GMT + etag: + - '"58005896-0000-0100-0000-639938670000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:44:15 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: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn7", + "name": "testconn7", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:43:37.434152Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:43:37.434152Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '976' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:44:17 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update eventhub + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn7?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn7", + "name": "testconn7", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:43:37.434152Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:43:37.434152Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '963' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:44:18 GMT + etag: + - '"58005896-0000-0100-0000-639938670000"' + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub"}, + "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update eventhub + Connection: + - keep-alive + Content-Length: + - '422' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn7?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn7", + "name": "testconn7", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:43:37.434152Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:44:19.8741786Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/590db87c-fb60-47b0-a767-e2a34438756c*F8582C77C87E653DEC32CCD02606E67DF3BE10993C23ED1968D93A66E0445030?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1128' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:44:19 GMT + etag: + - '"58008f98-0000-0100-0000-639938840000"' + expires: + - '-1' + mise-correlation-id: + - 8baf30ed-fa5e-40a7-9dcc-93e30f1b0ac3 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update eventhub + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/590db87c-fb60-47b0-a767-e2a34438756c*F8582C77C87E653DEC32CCD02606E67DF3BE10993C23ED1968D93A66E0445030?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/590db87c-fb60-47b0-a767-e2a34438756c*F8582C77C87E653DEC32CCD02606E67DF3BE10993C23ED1968D93A66E0445030", + "name": "590db87c-fb60-47b0-a767-e2a34438756c*F8582C77C87E653DEC32CCD02606E67DF3BE10993C23ED1968D93A66E0445030", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn7", + "status": "Succeeded", "startTime": "2022-12-14T02:44:20.0468504Z", "endTime": + "2022-12-14T02:44:32.5521498Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '674' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:44:51 GMT + etag: + - '"0f004e53-0000-0100-0000-639938900000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update eventhub + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn7?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn7", + "name": "testconn7", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:43:37.434152Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:44:19.8741786Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '964' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:44:51 GMT + etag: + - '"58006c99-0000-0100-0000-639938900000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn7/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_EVENTHUB_CONNECTIONSTRING", "value": + "hidden"}]}' + headers: + cache-control: + - no-cache + content-length: + - '84' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:44:58 GMT + expires: + - '-1' + mise-correlation-id: + - 525cda12-2356-4e98-b04f-b8fc5c6297ff + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn7/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/408d4085-f7fa-4e2c-ac06-87e031b82556*F8582C77C87E653DEC32CCD02606E67DF3BE10993C23ED1968D93A66E0445030?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:45:00 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/408d4085-f7fa-4e2c-ac06-87e031b82556*F8582C77C87E653DEC32CCD02606E67DF3BE10993C23ED1968D93A66E0445030?api-version=2021-01-01-privatepreview + mise-correlation-id: + - ec28c288-3025-4cbb-9af4-025acb1900cd + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/408d4085-f7fa-4e2c-ac06-87e031b82556*F8582C77C87E653DEC32CCD02606E67DF3BE10993C23ED1968D93A66E0445030?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/408d4085-f7fa-4e2c-ac06-87e031b82556*F8582C77C87E653DEC32CCD02606E67DF3BE10993C23ED1968D93A66E0445030", + "name": "408d4085-f7fa-4e2c-ac06-87e031b82556*F8582C77C87E653DEC32CCD02606E67DF3BE10993C23ED1968D93A66E0445030", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn7", + "status": "Succeeded", "startTime": "2022-12-14T02:45:00.7053697Z", "endTime": + "2022-12-14T02:45:07.8962216Z", "properties": {"Message": "{\"ConnectionName\":\"testconn7\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T02:45:02.0103651Z\",\"ReportEndTimeUtc\":\"2022-12-14T02:45:05.9668836Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn7", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T02:45:02.0103651Z", + "reportEndTimeUtc": "2022-12-14T02:45:05.9668836Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1523' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:45:31 GMT + etag: + - '"0f007253-0000-0100-0000-639938b30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/408d4085-f7fa-4e2c-ac06-87e031b82556*F8582C77C87E653DEC32CCD02606E67DF3BE10993C23ED1968D93A66E0445030?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/408d4085-f7fa-4e2c-ac06-87e031b82556*F8582C77C87E653DEC32CCD02606E67DF3BE10993C23ED1968D93A66E0445030", + "name": "408d4085-f7fa-4e2c-ac06-87e031b82556*F8582C77C87E653DEC32CCD02606E67DF3BE10993C23ED1968D93A66E0445030", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn7", + "status": "Succeeded", "startTime": "2022-12-14T02:45:00.7053697Z", "endTime": + "2022-12-14T02:45:07.8962216Z", "properties": {"Message": "{\"ConnectionName\":\"testconn7\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T02:45:02.0103651Z\",\"ReportEndTimeUtc\":\"2022-12-14T02:45:05.9668836Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn7", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T02:45:02.0103651Z", + "reportEndTimeUtc": "2022-12-14T02:45:05.9668836Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1523' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:45:32 GMT + etag: + - '"0f007253-0000-0100-0000-639938b30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn7?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn7", + "name": "testconn7", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T02:43:37.434152Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:44:19.8741786Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '964' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 02:45:33 GMT + etag: + - '"58006c99-0000-0100-0000-639938900000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn7?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Dec 2022 02:45:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_keyvault_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_keyvault_e2e.yaml new file mode 100644 index 00000000000..6134fa0ef37 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_keyvault_e2e.yaml @@ -0,0 +1,911 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create keyvault + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:17:01 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv"}, + "authInfo": {"authType": "userAccount", "principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff"}, + "clientType": "python", "publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create keyvault + Connection: + - keep-alive + Content-Length: + - '417' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + x-ms-serviceconnector-user-token: + - hidden + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn11?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn11", + "name": "testconn11", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:17:06.2343567Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:17:06.2343567Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"principalId": + "b0a9d3c6-3387-4067-9f03-39808e7291ff", "roles": null, "userName": null, "authType": + "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "python", + "scope": null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9a3a1c62-c515-4ff2-b184-1541023d58e5*84DD4724A5BE3ECE960E127FF19D16072BB4203E11401913F02EBAC85D21E930?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1219' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:17:07 GMT + etag: + - '"58009bff-0000-0100-0000-639940330000"' + expires: + - '-1' + mise-correlation-id: + - 59104004-4c08-4907-b84e-40a4a97d47a9 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create keyvault + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + x-ms-serviceconnector-user-token: + - hidden + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9a3a1c62-c515-4ff2-b184-1541023d58e5*84DD4724A5BE3ECE960E127FF19D16072BB4203E11401913F02EBAC85D21E930?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9a3a1c62-c515-4ff2-b184-1541023d58e5*84DD4724A5BE3ECE960E127FF19D16072BB4203E11401913F02EBAC85D21E930", + "name": "9a3a1c62-c515-4ff2-b184-1541023d58e5*84DD4724A5BE3ECE960E127FF19D16072BB4203E11401913F02EBAC85D21E930", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn11", + "status": "Succeeded", "startTime": "2022-12-14T03:17:07.154351Z", "endTime": + "2022-12-14T03:17:15.8978684Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '674' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:17:37 GMT + etag: + - '"0f000a64-0000-0100-0000-6399403b0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create keyvault + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + x-ms-serviceconnector-user-token: + - hidden + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn11?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn11", + "name": "testconn11", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:17:06.2343567Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:17:06.2343567Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '1056' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:17:38 GMT + etag: + - '"58009dff-0000-0100-0000-6399403b0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:17:42 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: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn11", + "name": "testconn11", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:17:06.2343567Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:17:06.2343567Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": + "python"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1069' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:17:44 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update keyvault + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn11?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn11", + "name": "testconn11", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:17:06.2343567Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:17:06.2343567Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '1056' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:17:45 GMT + etag: + - '"58009dff-0000-0100-0000-6399403b0000"' + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv"}, + "authInfo": {"authType": "userAccount", "principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "deleteOrUpdateBehavior": "Default"}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update keyvault + Connection: + - keep-alive + Content-Length: + - '511' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn11?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn11", + "name": "testconn11", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:17:06.2343567Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:17:47.0589976Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"principalId": + "b0a9d3c6-3387-4067-9f03-39808e7291ff", "roles": null, "userName": null, "authType": + "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "dotnet", + "scope": null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/36329cd4-f66d-4b5c-b929-12f156466dfb*84DD4724A5BE3ECE960E127FF19D16072BB4203E11401913F02EBAC85D21E930?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1219' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:17:46 GMT + etag: + - '"5800daff-0000-0100-0000-6399405b0000"' + expires: + - '-1' + mise-correlation-id: + - 62dafdc5-6df6-4102-80bc-bf579b3b2b37 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update keyvault + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/36329cd4-f66d-4b5c-b929-12f156466dfb*84DD4724A5BE3ECE960E127FF19D16072BB4203E11401913F02EBAC85D21E930?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/36329cd4-f66d-4b5c-b929-12f156466dfb*84DD4724A5BE3ECE960E127FF19D16072BB4203E11401913F02EBAC85D21E930", + "name": "36329cd4-f66d-4b5c-b929-12f156466dfb*84DD4724A5BE3ECE960E127FF19D16072BB4203E11401913F02EBAC85D21E930", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn11", + "status": "Succeeded", "startTime": "2022-12-14T03:17:47.3029267Z", "endTime": + "2022-12-14T03:17:54.0033834Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '675' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:18:18 GMT + etag: + - '"0f003464-0000-0100-0000-639940620000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update keyvault + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn11?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn11", + "name": "testconn11", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:17:06.2343567Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:17:47.0589976Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '1056' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:18:18 GMT + etag: + - '"59005b00-0000-0100-0000-639940620000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn11/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_KEYVAULT_RESOURCEENDPOINT", "value": + "https://servicelinker-test-kv.vault.azure.net/"}, {"name": "AZURE_KEYVAULT_SCOPE", + "value": "https://management.azure.com/.default"}]}' + headers: + cache-control: + - no-cache + content-length: + - '208' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:18:25 GMT + expires: + - '-1' + mise-correlation-id: + - 804e72d4-5538-4554-b2fc-3b2161215652 + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn11/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b965f33f-525e-47be-9c4f-b629f72b360d*84DD4724A5BE3ECE960E127FF19D16072BB4203E11401913F02EBAC85D21E930?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:18:26 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b965f33f-525e-47be-9c4f-b629f72b360d*84DD4724A5BE3ECE960E127FF19D16072BB4203E11401913F02EBAC85D21E930?api-version=2021-01-01-privatepreview + mise-correlation-id: + - 60138dc8-83f9-44f8-9e38-a817d3ca9675 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b965f33f-525e-47be-9c4f-b629f72b360d*84DD4724A5BE3ECE960E127FF19D16072BB4203E11401913F02EBAC85D21E930?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b965f33f-525e-47be-9c4f-b629f72b360d*84DD4724A5BE3ECE960E127FF19D16072BB4203E11401913F02EBAC85D21E930", + "name": "b965f33f-525e-47be-9c4f-b629f72b360d*84DD4724A5BE3ECE960E127FF19D16072BB4203E11401913F02EBAC85D21E930", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn11", + "status": "Succeeded", "startTime": "2022-12-14T03:18:27.3172313Z", "endTime": + "2022-12-14T03:18:32.0643175Z", "properties": {"Message": "{\"ConnectionName\":\"testconn11\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T03:18:28.6995136Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:18:30.9160417Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":6}", + "linkerName": "testconn11", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The identity permission is validated", + "description": null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T03:18:28.6995136Z", + "reportEndTimeUtc": "2022-12-14T03:18:30.9160417Z", "sourceId": null, "targetId": + null, "authType": "userAccount"}}' + headers: + cache-control: + - no-cache + content-length: + - '1709' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:18:58 GMT + etag: + - '"0f007a64-0000-0100-0000-639940880000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b965f33f-525e-47be-9c4f-b629f72b360d*84DD4724A5BE3ECE960E127FF19D16072BB4203E11401913F02EBAC85D21E930?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b965f33f-525e-47be-9c4f-b629f72b360d*84DD4724A5BE3ECE960E127FF19D16072BB4203E11401913F02EBAC85D21E930", + "name": "b965f33f-525e-47be-9c4f-b629f72b360d*84DD4724A5BE3ECE960E127FF19D16072BB4203E11401913F02EBAC85D21E930", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn11", + "status": "Succeeded", "startTime": "2022-12-14T03:18:27.3172313Z", "endTime": + "2022-12-14T03:18:32.0643175Z", "properties": {"Message": "{\"ConnectionName\":\"testconn11\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T03:18:28.6995136Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:18:30.9160417Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":6}", + "linkerName": "testconn11", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The identity permission is validated", + "description": null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T03:18:28.6995136Z", + "reportEndTimeUtc": "2022-12-14T03:18:30.9160417Z", "sourceId": null, "targetId": + null, "authType": "userAccount"}}' + headers: + cache-control: + - no-cache + content-length: + - '1709' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:18:58 GMT + etag: + - '"0f007a64-0000-0100-0000-639940880000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn11?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn11", + "name": "testconn11", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:17:06.2343567Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:17:47.0589976Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '1056' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:19:00 GMT + etag: + - '"59005b00-0000-0100-0000-639940620000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn11?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Dec 2022 03:19:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_mysql_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_mysql_e2e.yaml new file mode 100644 index 00000000000..de48417a3bc --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_mysql_e2e.yaml @@ -0,0 +1,1009 @@ +interactions: +- request: + body: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - 0 + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.8.8 (Windows-10-10.0.22621-SP0) msrest/0.7.1 msrest_azure/0.6.4 azure-keyvault/7.0 + Azure-SDK-For-Python + accept-language: + - en-US + method: GET + uri: https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword/?api-version=7.0 + response: + body: + string: '{"error": {"code": "Unauthorized", "message": "AKV10000: Request is + missing a Bearer or PoP token."}}' + headers: + cache-control: + - no-cache + content-length: + - '101' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:19:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + www-authenticate: + - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", + resource="https://vault.azure.net" + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=167.220.255.60;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus + x-ms-keyvault-service-version: + - 1.9.640.1 + status: + code: 401 + message: Unauthorized +- request: + body: '' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - 0 + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.8.8 (Windows-10-10.0.22621-SP0) msrest/0.7.1 msrest_azure/0.6.4 azure-keyvault/7.0 + Azure-SDK-For-Python + accept-language: + - en-US + method: GET + uri: https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword/?api-version=7.0 + response: + body: + string: '{"value": "microsoft123!", "id": "https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword/e6c944984acc4f7dab51acf30b3d19cc", + "attributes": {"enabled": true, "created": 1607518360, "updated": 1607518360, + "recoveryLevel": "Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '254' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:19:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=167.220.255.60;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus + x-ms-keyvault-service-version: + - 1.9.640.1 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create mysql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:19:12 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB"}, + "authInfo": {"authType": "secret", "name": "servicelinker", "secretInfo": {"secretType": + "rawValue", "value": "microsoft123!"}}, "clientType": "python", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create mysql + Connection: + - keep-alive + Content-Length: + - '469' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn15?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn15", + "name": "testconn15", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:19:13.1626847Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:19:13.1626847Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, + "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a197932a-870a-4bd1-9659-14ec8a68c500*C796FEE7309C471D8D577108F7905A88E2BF4472168734678430EDEF5225E18D?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1175' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:19:13 GMT + etag: + - '"59004206-0000-0100-0000-639940b20000"' + expires: + - '-1' + mise-correlation-id: + - 47b8900c-7d1e-402a-bcab-e15da4270cd0 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create mysql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a197932a-870a-4bd1-9659-14ec8a68c500*C796FEE7309C471D8D577108F7905A88E2BF4472168734678430EDEF5225E18D?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a197932a-870a-4bd1-9659-14ec8a68c500*C796FEE7309C471D8D577108F7905A88E2BF4472168734678430EDEF5225E18D", + "name": "a197932a-870a-4bd1-9659-14ec8a68c500*C796FEE7309C471D8D577108F7905A88E2BF4472168734678430EDEF5225E18D", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn15", + "status": "Succeeded", "startTime": "2022-12-14T03:19:14.2548192Z", "endTime": + "2022-12-14T03:19:17.7557266Z", "properties": {"Message": "Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource."}}' + headers: + cache-control: + - no-cache + content-length: + - '798' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:19:45 GMT + etag: + - '"0f00c464-0000-0100-0000-639940b50000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create mysql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn15?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn15", + "name": "testconn15", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:19:13.1626847Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:19:13.1626847Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '1045' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:19:45 GMT + etag: + - '"59008206-0000-0100-0000-639940b50000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:19: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn15", + "name": "testconn15", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:19:13.1626847Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:19:13.1626847Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1058' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:19:50 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update mysql + Connection: + - keep-alive + ParameterSetName: + - --id --client-type --secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn15?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn15", + "name": "testconn15", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:19:13.1626847Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:19:13.1626847Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '1045' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:19:52 GMT + etag: + - '"59008206-0000-0100-0000-639940b50000"' + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB"}, + "authInfo": {"authType": "secret", "name": "servicelinker", "secretInfo": {"secretType": + "rawValue", "value": "microsoft123!"}}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update mysql + Connection: + - keep-alive + Content-Length: + - '526' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type --secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn15?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn15", + "name": "testconn15", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:19:13.1626847Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:19:53.7879742Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, + "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3553faa7-3702-4c0a-965a-792fc8a2018b*C796FEE7309C471D8D577108F7905A88E2BF4472168734678430EDEF5225E18D?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1175' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:19:53 GMT + etag: + - '"59003509-0000-0100-0000-639940da0000"' + expires: + - '-1' + mise-correlation-id: + - a4b63c22-9643-40d6-ad0d-0510e5508361 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update mysql + Connection: + - keep-alive + ParameterSetName: + - --id --client-type --secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3553faa7-3702-4c0a-965a-792fc8a2018b*C796FEE7309C471D8D577108F7905A88E2BF4472168734678430EDEF5225E18D?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3553faa7-3702-4c0a-965a-792fc8a2018b*C796FEE7309C471D8D577108F7905A88E2BF4472168734678430EDEF5225E18D", + "name": "3553faa7-3702-4c0a-965a-792fc8a2018b*C796FEE7309C471D8D577108F7905A88E2BF4472168734678430EDEF5225E18D", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn15", + "status": "Succeeded", "startTime": "2022-12-14T03:19:53.9797172Z", "endTime": + "2022-12-14T03:19:57.0077625Z", "properties": {"Message": "Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource."}}' + headers: + cache-control: + - no-cache + content-length: + - '798' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:20:23 GMT + etag: + - '"0f00ee64-0000-0100-0000-639940dd0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update mysql + Connection: + - keep-alive + ParameterSetName: + - --id --client-type --secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn15?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn15", + "name": "testconn15", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:19:13.1626847Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:19:53.7879742Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '1045' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:20:24 GMT + etag: + - '"59008209-0000-0100-0000-639940dd0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn15/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_MYSQL_CONNECTIONSTRING", "value": + "hidden"}]}' + headers: + cache-control: + - no-cache + content-length: + - '81' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:20:30 GMT + expires: + - '-1' + mise-correlation-id: + - 2f453d6f-7560-4b12-af26-139a8869445b + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn15/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c794f112-f6ff-4a7e-b7bc-90ea07f7718e*C796FEE7309C471D8D577108F7905A88E2BF4472168734678430EDEF5225E18D?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:20:31 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c794f112-f6ff-4a7e-b7bc-90ea07f7718e*C796FEE7309C471D8D577108F7905A88E2BF4472168734678430EDEF5225E18D?api-version=2021-01-01-privatepreview + mise-correlation-id: + - 5fd83d45-3d16-4b65-a540-d3c047c5c695 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c794f112-f6ff-4a7e-b7bc-90ea07f7718e*C796FEE7309C471D8D577108F7905A88E2BF4472168734678430EDEF5225E18D?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c794f112-f6ff-4a7e-b7bc-90ea07f7718e*C796FEE7309C471D8D577108F7905A88E2BF4472168734678430EDEF5225E18D", + "name": "c794f112-f6ff-4a7e-b7bc-90ea07f7718e*C796FEE7309C471D8D577108F7905A88E2BF4472168734678430EDEF5225E18D", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn15", + "status": "Succeeded", "startTime": "2022-12-14T03:20:32.0243634Z", "endTime": + "2022-12-14T03:20:34.8174044Z", "properties": {"Message": "{\"ConnectionName\":\"testconn15\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target''s network access is validated\",\"Description\":\"Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource.\",\"Result\":2}],\"ReportStartTimeUtc\":\"2022-12-14T03:20:33.3067597Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:20:33.7038933Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn15", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network access is validated", "description": + "Deny public network access is set to yes. Please confirm you are using private + endpoint connection to access target resource.", "result": "warning"}], "reportStartTimeUtc": + "2022-12-14T03:20:33.3067597Z", "reportEndTimeUtc": "2022-12-14T03:20:33.7038933Z", + "sourceId": null, "targetId": null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1774' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:21:03 GMT + etag: + - '"0f002d65-0000-0100-0000-639941020000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c794f112-f6ff-4a7e-b7bc-90ea07f7718e*C796FEE7309C471D8D577108F7905A88E2BF4472168734678430EDEF5225E18D?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c794f112-f6ff-4a7e-b7bc-90ea07f7718e*C796FEE7309C471D8D577108F7905A88E2BF4472168734678430EDEF5225E18D", + "name": "c794f112-f6ff-4a7e-b7bc-90ea07f7718e*C796FEE7309C471D8D577108F7905A88E2BF4472168734678430EDEF5225E18D", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn15", + "status": "Succeeded", "startTime": "2022-12-14T03:20:32.0243634Z", "endTime": + "2022-12-14T03:20:34.8174044Z", "properties": {"Message": "{\"ConnectionName\":\"testconn15\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target''s network access is validated\",\"Description\":\"Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource.\",\"Result\":2}],\"ReportStartTimeUtc\":\"2022-12-14T03:20:33.3067597Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:20:33.7038933Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn15", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network access is validated", "description": + "Deny public network access is set to yes. Please confirm you are using private + endpoint connection to access target resource.", "result": "warning"}], "reportStartTimeUtc": + "2022-12-14T03:20:33.3067597Z", "reportEndTimeUtc": "2022-12-14T03:20:33.7038933Z", + "sourceId": null, "targetId": null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1774' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:21:03 GMT + etag: + - '"0f002d65-0000-0100-0000-639941020000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn15?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn15", + "name": "testconn15", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:19:13.1626847Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:19:53.7879742Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '1045' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:21:04 GMT + etag: + - '"59008209-0000-0100-0000-639940dd0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn15?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Dec 2022 03:21:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_mysqlflexible_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_mysqlflexible_e2e.yaml new file mode 100644 index 00000000000..3dddd3c9d96 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_mysqlflexible_e2e.yaml @@ -0,0 +1,1061 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.8.8 (Windows-10-10.0.22621-SP0) msrest/0.7.1 msrest_azure/0.6.4 azure-keyvault/7.0 + Azure-SDK-For-Python + accept-language: + - en-US + method: GET + uri: https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword/?api-version=7.0 + response: + body: + string: '{"value": "microsoft123!", "id": "https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword/e6c944984acc4f7dab51acf30b3d19cc", + "attributes": {"enabled": true, "created": 1607518360, "updated": 1607518360, + "recoveryLevel": "Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '254' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:21:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=167.220.255.60;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus + x-ms-keyvault-service-version: + - 1.9.640.1 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create mysql-flexible + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + connection: + - close + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:21:14 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB"}, + "authInfo": {"authType": "secret", "name": "servicelinker", "secretInfo": {"secretType": + "rawValue", "value": "microsoft123!"}}, "clientType": "python", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create mysql-flexible + Connection: + - keep-alive + Content-Length: + - '486' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + x-ms-serviceconnector-user-token: + - hidden + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16", + "name": "testconn16", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:21:16.3741162Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:21:16.3741162Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, + "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f23bc658-af21-4fd6-8d5a-f8deb927b55a*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1192' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:21:16 GMT + etag: + - '"59008a0f-0000-0100-0000-6399412d0000"' + expires: + - '-1' + mise-correlation-id: + - 2c564b3f-40ec-4e01-bdf7-49d6473cfa20 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create mysql-flexible + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + x-ms-serviceconnector-user-token: + - hidden + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f23bc658-af21-4fd6-8d5a-f8deb927b55a*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f23bc658-af21-4fd6-8d5a-f8deb927b55a*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5", + "name": "f23bc658-af21-4fd6-8d5a-f8deb927b55a*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16", + "status": "Accepted", "startTime": "2022-12-14T03:21:17.3681125Z"}' + headers: + cache-control: + - no-cache + content-length: + - '598' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:21:47 GMT + etag: + - '"0f006265-0000-0100-0000-6399412d0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create mysql-flexible + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + x-ms-serviceconnector-user-token: + - hidden + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f23bc658-af21-4fd6-8d5a-f8deb927b55a*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f23bc658-af21-4fd6-8d5a-f8deb927b55a*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5", + "name": "f23bc658-af21-4fd6-8d5a-f8deb927b55a*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16", + "status": "Accepted", "startTime": "2022-12-14T03:21:17.3681125Z"}' + headers: + cache-control: + - no-cache + content-length: + - '598' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:22:19 GMT + etag: + - '"0f006265-0000-0100-0000-6399412d0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create mysql-flexible + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + x-ms-serviceconnector-user-token: + - hidden + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f23bc658-af21-4fd6-8d5a-f8deb927b55a*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f23bc658-af21-4fd6-8d5a-f8deb927b55a*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5", + "name": "f23bc658-af21-4fd6-8d5a-f8deb927b55a*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16", + "status": "Succeeded", "startTime": "2022-12-14T03:21:17.3681125Z", "endTime": + "2022-12-14T03:22:22.9727333Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '675' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:22:50 GMT + etag: + - '"0f00e265-0000-0100-0000-6399416e0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create mysql-flexible + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + x-ms-serviceconnector-user-token: + - hidden + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16", + "name": "testconn16", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:21:16.3741162Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:21:16.3741162Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '1062' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:22:51 GMT + etag: + - '"59002d14-0000-0100-0000-6399416e0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:23:02 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: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16", + "name": "testconn16", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:21:16.3741162Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:21:16.3741162Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1075' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:23:04 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update mysql-flexible + Connection: + - keep-alive + ParameterSetName: + - --id --client-type --secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16", + "name": "testconn16", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:21:16.3741162Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:21:16.3741162Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '1062' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:23:06 GMT + etag: + - '"59002d14-0000-0100-0000-6399416e0000"' + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB"}, + "authInfo": {"authType": "secret", "name": "servicelinker", "secretInfo": {"secretType": + "keyVaultSecretUri", "value": "https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword"}}, + "clientType": "dotnet", "publicNetworkSolution": {"deleteOrUpdateBehavior": + "Default", "action": "enable", "firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update mysql-flexible + Connection: + - keep-alive + Content-Length: + - '603' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type --secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16", + "name": "testconn16", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:21:16.3741162Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:23:08.937314Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + "servicelinker", "secretInfo": {"value": "https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword", + "secretType": "keyVaultSecretUri"}, "authType": "secret"}, "clientType": "dotnet", + "scope": null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f460e0bb-9fe4-4bd0-a5db-883e8ac43de6*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1277' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:23:08 GMT + etag: + - '"5900a917-0000-0100-0000-6399419d0000"' + expires: + - '-1' + mise-correlation-id: + - 1e2f5aa7-a49b-46a9-877c-29e7fb9b95d1 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update mysql-flexible + Connection: + - keep-alive + ParameterSetName: + - --id --client-type --secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f460e0bb-9fe4-4bd0-a5db-883e8ac43de6*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f460e0bb-9fe4-4bd0-a5db-883e8ac43de6*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5", + "name": "f460e0bb-9fe4-4bd0-a5db-883e8ac43de6*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16", + "status": "Succeeded", "startTime": "2022-12-14T03:23:09.287552Z", "endTime": + "2022-12-14T03:23:13.6538285Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '674' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:23:40 GMT + etag: + - '"0f003866-0000-0100-0000-639941a10000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update mysql-flexible + Connection: + - keep-alive + ParameterSetName: + - --id --client-type --secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16", + "name": "testconn16", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:21:16.3741162Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:23:08.937314Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"value": "https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword", + "secretType": "keyVaultSecretUri"}, "authType": "secret"}, "clientType": "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '1147' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:23:40 GMT + etag: + - '"5900f517-0000-0100-0000-639941a10000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_MYSQL_HOST", "value": "servicelinker-flexible-mysql.mysql.database.azure.com"}, + {"name": "AZURE_MYSQL_PORT", "value": "3306"}, {"name": "AZURE_MYSQL_DATABASE", + "value": "mysqlDB"}, {"name": "AZURE_MYSQL_SSL", "value": "true"}, {"name": + "AZURE_MYSQL_USERNAME", "value": "servicelinker"}, {"name": "AZURE_MYSQL_PASSWORD", + "value": "@Microsoft.KeyVault(SecretUri=https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword)"}]}' + headers: + cache-control: + - no-cache + content-length: + - '465' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:23:52 GMT + expires: + - '-1' + mise-correlation-id: + - b7865211-f395-4e08-b149-e337468ddd92 + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d0aac3f9-ffed-437e-866b-7c241b4203cf*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:23:54 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d0aac3f9-ffed-437e-866b-7c241b4203cf*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5?api-version=2021-01-01-privatepreview + mise-correlation-id: + - 581655a7-04fc-4fb0-8c2b-a8a8d316fd47 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d0aac3f9-ffed-437e-866b-7c241b4203cf*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d0aac3f9-ffed-437e-866b-7c241b4203cf*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5", + "name": "d0aac3f9-ffed-437e-866b-7c241b4203cf*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16", + "status": "Succeeded", "startTime": "2022-12-14T03:23:55.2324024Z", "endTime": + "2022-12-14T03:23:58.4064098Z", "properties": {"Message": "{\"ConnectionName\":\"testconn16\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T03:23:56.6255405Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:23:57.3103943Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn16", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T03:23:56.6255405Z", + "reportEndTimeUtc": "2022-12-14T03:23:57.3103943Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1526' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:24:26 GMT + etag: + - '"0f009666-0000-0100-0000-639941ce0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d0aac3f9-ffed-437e-866b-7c241b4203cf*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d0aac3f9-ffed-437e-866b-7c241b4203cf*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5", + "name": "d0aac3f9-ffed-437e-866b-7c241b4203cf*55C5B2A1FEE871FD1D15F20C84416810C660EEC5675338411FBC8948FD181BF5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16", + "status": "Succeeded", "startTime": "2022-12-14T03:23:55.2324024Z", "endTime": + "2022-12-14T03:23:58.4064098Z", "properties": {"Message": "{\"ConnectionName\":\"testconn16\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T03:23:56.6255405Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:23:57.3103943Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn16", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T03:23:56.6255405Z", + "reportEndTimeUtc": "2022-12-14T03:23:57.3103943Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1526' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:24:27 GMT + etag: + - '"0f009666-0000-0100-0000-639941ce0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16", + "name": "testconn16", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:21:16.3741162Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:23:08.937314Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"value": "https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword", + "secretType": "keyVaultSecretUri"}, "authType": "secret"}, "clientType": "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '1147' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:24:29 GMT + etag: + - '"5900f517-0000-0100-0000-639941a10000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn16?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Dec 2022 03:24:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_postgres_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_postgres_e2e.yaml new file mode 100644 index 00000000000..48cb14173a0 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_postgres_e2e.yaml @@ -0,0 +1,949 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.8.8 (Windows-10-10.0.22621-SP0) msrest/0.7.1 msrest_azure/0.6.4 azure-keyvault/7.0 + Azure-SDK-For-Python + accept-language: + - en-US + method: GET + uri: https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword/?api-version=7.0 + response: + body: + string: '{"value": "microsoft123!", "id": "https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword/e6c944984acc4f7dab51acf30b3d19cc", + "attributes": {"enabled": true, "created": 1607518360, "updated": 1607518360, + "recoveryLevel": "Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '254' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:24:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=167.220.255.60;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus + x-ms-keyvault-service-version: + - 1.9.640.1 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create postgres + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:24:47 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test"}, + "authInfo": {"authType": "secret", "name": "servicelinker", "secretInfo": {"secretType": + "rawValue", "value": "microsoft123!"}}, "clientType": "python", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create postgres + Connection: + - keep-alive + Content-Length: + - '476' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn17?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn17", + "name": "testconn17", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:24:49.2724337Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:24:49.2724337Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, + "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/12f377e3-1ff7-4f1e-a2fd-8a6aa93b2591*2EABE9BBCAE7B190EC78491C81D4565252855480067E56333B64DCE25E455C61?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1182' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:24:49 GMT + etag: + - '"59003f1f-0000-0100-0000-639942020000"' + expires: + - '-1' + mise-correlation-id: + - 958beba6-5b9d-4d51-a725-351b8f706309 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create postgres + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/12f377e3-1ff7-4f1e-a2fd-8a6aa93b2591*2EABE9BBCAE7B190EC78491C81D4565252855480067E56333B64DCE25E455C61?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/12f377e3-1ff7-4f1e-a2fd-8a6aa93b2591*2EABE9BBCAE7B190EC78491C81D4565252855480067E56333B64DCE25E455C61", + "name": "12f377e3-1ff7-4f1e-a2fd-8a6aa93b2591*2EABE9BBCAE7B190EC78491C81D4565252855480067E56333B64DCE25E455C61", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn17", + "status": "Succeeded", "startTime": "2022-12-14T03:24:50.1480888Z", "endTime": + "2022-12-14T03:24:53.3133796Z", "properties": {"Message": "Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource."}}' + headers: + cache-control: + - no-cache + content-length: + - '798' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:25:21 GMT + etag: + - '"0f00ec66-0000-0100-0000-639942050000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create postgres + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn17?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn17", + "name": "testconn17", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:24:49.2724337Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:24:49.2724337Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '1052' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:25:21 GMT + etag: + - '"5900911f-0000-0100-0000-639942050000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:25:30 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: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn17", + "name": "testconn17", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:24:49.2724337Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:24:49.2724337Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1065' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:25:32 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update postgres + Connection: + - keep-alive + ParameterSetName: + - --id --client-type --secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn17?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn17", + "name": "testconn17", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:24:49.2724337Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:24:49.2724337Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '1052' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:25:34 GMT + etag: + - '"5900911f-0000-0100-0000-639942050000"' + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test"}, + "authInfo": {"authType": "secret", "name": "servicelinker", "secretInfo": {"secretType": + "rawValue", "value": "microsoft123!"}}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update postgres + Connection: + - keep-alive + Content-Length: + - '533' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type --secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn17?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn17", + "name": "testconn17", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:24:49.2724337Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:25:36.0428702Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, + "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a318f116-d32c-491e-bbf9-a9839a8af6b7*2EABE9BBCAE7B190EC78491C81D4565252855480067E56333B64DCE25E455C61?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1182' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:25:35 GMT + etag: + - '"59008022-0000-0100-0000-639942300000"' + expires: + - '-1' + mise-correlation-id: + - 1a5a9cf6-0e3e-4b9d-9fa1-1bcc844fb6c9 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update postgres + Connection: + - keep-alive + ParameterSetName: + - --id --client-type --secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a318f116-d32c-491e-bbf9-a9839a8af6b7*2EABE9BBCAE7B190EC78491C81D4565252855480067E56333B64DCE25E455C61?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a318f116-d32c-491e-bbf9-a9839a8af6b7*2EABE9BBCAE7B190EC78491C81D4565252855480067E56333B64DCE25E455C61", + "name": "a318f116-d32c-491e-bbf9-a9839a8af6b7*2EABE9BBCAE7B190EC78491C81D4565252855480067E56333B64DCE25E455C61", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn17", + "status": "Succeeded", "startTime": "2022-12-14T03:25:36.2887349Z", "endTime": + "2022-12-14T03:25:39.5774388Z", "properties": {"Message": "Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource."}}' + headers: + cache-control: + - no-cache + content-length: + - '798' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:26:07 GMT + etag: + - '"0f003f67-0000-0100-0000-639942330000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update postgres + Connection: + - keep-alive + ParameterSetName: + - --id --client-type --secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn17?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn17", + "name": "testconn17", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:24:49.2724337Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:25:36.0428702Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '1052' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:26:07 GMT + etag: + - '"5900c222-0000-0100-0000-639942330000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn17/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_POSTGRESQL_CONNECTIONSTRING", "value": + "Server=servicelinker-postgresql.postgres.database.azure.com;Database=test;Port=5432;Ssl + Mode=Require;User Id=servicelinker@servicelinker-postgresql;"}]}' + headers: + cache-control: + - no-cache + content-length: + - '228' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:26:15 GMT + expires: + - '-1' + mise-correlation-id: + - 4d5dd4fe-373b-4709-8d7e-0770e4cf1d91 + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn17/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/50564005-84aa-444f-9991-8f1b71436814*2EABE9BBCAE7B190EC78491C81D4565252855480067E56333B64DCE25E455C61?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:26:16 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/50564005-84aa-444f-9991-8f1b71436814*2EABE9BBCAE7B190EC78491C81D4565252855480067E56333B64DCE25E455C61?api-version=2021-01-01-privatepreview + mise-correlation-id: + - 345786d5-f73a-4009-8f42-14ca6fa6fdc8 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/50564005-84aa-444f-9991-8f1b71436814*2EABE9BBCAE7B190EC78491C81D4565252855480067E56333B64DCE25E455C61?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/50564005-84aa-444f-9991-8f1b71436814*2EABE9BBCAE7B190EC78491C81D4565252855480067E56333B64DCE25E455C61", + "name": "50564005-84aa-444f-9991-8f1b71436814*2EABE9BBCAE7B190EC78491C81D4565252855480067E56333B64DCE25E455C61", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn17", + "status": "Succeeded", "startTime": "2022-12-14T03:26:16.8736388Z", "endTime": + "2022-12-14T03:26:19.9115512Z", "properties": {"Message": "{\"ConnectionName\":\"testconn17\",\"IsConnectionAvailable\":false,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":\"Target resource does not + exist: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test.\",\"Result\":1}],\"ReportStartTimeUtc\":\"2022-12-14T03:26:18.4667517Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:26:18.7421293Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn17", "isConnectionAvailable": false, "validationDetail": + [{"name": "The target existence is validated", "description": "Target resource + does not exist: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test.", + "result": "failure"}], "reportStartTimeUtc": "2022-12-14T03:26:18.4667517Z", + "reportEndTimeUtc": "2022-12-14T03:26:18.7421293Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1768' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:26:47 GMT + etag: + - '"0f006267-0000-0100-0000-6399425b0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/50564005-84aa-444f-9991-8f1b71436814*2EABE9BBCAE7B190EC78491C81D4565252855480067E56333B64DCE25E455C61?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/50564005-84aa-444f-9991-8f1b71436814*2EABE9BBCAE7B190EC78491C81D4565252855480067E56333B64DCE25E455C61", + "name": "50564005-84aa-444f-9991-8f1b71436814*2EABE9BBCAE7B190EC78491C81D4565252855480067E56333B64DCE25E455C61", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn17", + "status": "Succeeded", "startTime": "2022-12-14T03:26:16.8736388Z", "endTime": + "2022-12-14T03:26:19.9115512Z", "properties": {"Message": "{\"ConnectionName\":\"testconn17\",\"IsConnectionAvailable\":false,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":\"Target resource does not + exist: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test.\",\"Result\":1}],\"ReportStartTimeUtc\":\"2022-12-14T03:26:18.4667517Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:26:18.7421293Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn17", "isConnectionAvailable": false, "validationDetail": + [{"name": "The target existence is validated", "description": "Target resource + does not exist: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test.", + "result": "failure"}], "reportStartTimeUtc": "2022-12-14T03:26:18.4667517Z", + "reportEndTimeUtc": "2022-12-14T03:26:18.7421293Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1768' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:26:47 GMT + etag: + - '"0f006267-0000-0100-0000-6399425b0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn17?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn17", + "name": "testconn17", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:24:49.2724337Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:25:36.0428702Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '1052' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:26:50 GMT + etag: + - '"5900c222-0000-0100-0000-639942330000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn17?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Dec 2022 03:26:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_postgresflexible_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_postgresflexible_e2e.yaml new file mode 100644 index 00000000000..61e3f21cfa9 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_postgresflexible_e2e.yaml @@ -0,0 +1,1055 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.8.8 (Windows-10-10.0.22621-SP0) msrest/0.7.1 msrest_azure/0.6.4 azure-keyvault/7.0 + Azure-SDK-For-Python + accept-language: + - en-US + method: GET + uri: https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword/?api-version=7.0 + response: + body: + string: '{"value": "microsoft123!", "id": "https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword/e6c944984acc4f7dab51acf30b3d19cc", + "attributes": {"enabled": true, "created": 1607518360, "updated": 1607518360, + "recoveryLevel": "Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '254' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:26:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=167.220.255.60;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus + x-ms-keyvault-service-version: + - 1.9.640.1 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create postgres-flexible + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:26:59 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test"}, + "authInfo": {"authType": "secret", "name": "servicelinker", "secretInfo": {"secretType": + "rawValue", "value": "microsoft123!"}}, "clientType": "python", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create postgres-flexible + Connection: + - keep-alive + Content-Length: + - '492' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + x-ms-serviceconnector-user-token: + - hidden + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12", + "name": "testconn12", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:27:00.5485989Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:27:00.5485989Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, + "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a7553ad3-8be6-4738-bc33-5efef3609f4e*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1198' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:27:01 GMT + etag: + - '"5900ee28-0000-0100-0000-639942850000"' + expires: + - '-1' + mise-correlation-id: + - d5a89e73-eca0-43c8-a201-cc81abe3fe69 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create postgres-flexible + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + x-ms-serviceconnector-user-token: + - hidden + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a7553ad3-8be6-4738-bc33-5efef3609f4e*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a7553ad3-8be6-4738-bc33-5efef3609f4e*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12", + "name": "a7553ad3-8be6-4738-bc33-5efef3609f4e*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12", + "status": "Accepted", "startTime": "2022-12-14T03:27:01.597944Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:27:32 GMT + etag: + - '"0f009c67-0000-0100-0000-639942850000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create postgres-flexible + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + x-ms-serviceconnector-user-token: + - hidden + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a7553ad3-8be6-4738-bc33-5efef3609f4e*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a7553ad3-8be6-4738-bc33-5efef3609f4e*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12", + "name": "a7553ad3-8be6-4738-bc33-5efef3609f4e*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12", + "status": "Accepted", "startTime": "2022-12-14T03:27:01.597944Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:28:03 GMT + etag: + - '"0f009c67-0000-0100-0000-639942850000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create postgres-flexible + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + x-ms-serviceconnector-user-token: + - hidden + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a7553ad3-8be6-4738-bc33-5efef3609f4e*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a7553ad3-8be6-4738-bc33-5efef3609f4e*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12", + "name": "a7553ad3-8be6-4738-bc33-5efef3609f4e*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12", + "status": "Succeeded", "startTime": "2022-12-14T03:27:01.597944Z", "endTime": + "2022-12-14T03:28:07.8211044Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '674' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:32:56 GMT + etag: + - '"0f000568-0000-0100-0000-639942c70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create postgres-flexible + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + x-ms-serviceconnector-user-token: + - hidden + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12", + "name": "testconn12", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:27:00.5485989Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:27:00.5485989Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '1068' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:32:57 GMT + etag: + - '"59003c2d-0000-0100-0000-639942c70000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:33:01 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: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12", + "name": "testconn12", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:27:00.5485989Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:27:00.5485989Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1081' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:33:03 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update postgres-flexible + Connection: + - keep-alive + ParameterSetName: + - --id --client-type --secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12", + "name": "testconn12", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:27:00.5485989Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:27:00.5485989Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '1068' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:33:04 GMT + etag: + - '"59003c2d-0000-0100-0000-639942c70000"' + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test"}, + "authInfo": {"authType": "secret", "name": "servicelinker", "secretInfo": {"secretType": + "rawValue", "value": "microsoft123!"}}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update postgres-flexible + Connection: + - keep-alive + Content-Length: + - '549' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type --secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12", + "name": "testconn12", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:27:00.5485989Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:33:05.5319636Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, + "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/cfbd4c85-cf84-489f-8c12-6a71e8360687*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1198' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:33:05 GMT + etag: + - '"59004439-0000-0100-0000-639943f10000"' + expires: + - '-1' + mise-correlation-id: + - 93e14447-f34b-452c-8524-7faedb8b9938 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update postgres-flexible + Connection: + - keep-alive + ParameterSetName: + - --id --client-type --secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/cfbd4c85-cf84-489f-8c12-6a71e8360687*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/cfbd4c85-cf84-489f-8c12-6a71e8360687*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12", + "name": "cfbd4c85-cf84-489f-8c12-6a71e8360687*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12", + "status": "Succeeded", "startTime": "2022-12-14T03:33:05.7890369Z", "endTime": + "2022-12-14T03:33:11.4171338Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '675' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:33:36 GMT + etag: + - '"0f008f6a-0000-0100-0000-639943f70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update postgres-flexible + Connection: + - keep-alive + ParameterSetName: + - --id --client-type --secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12", + "name": "testconn12", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:27:00.5485989Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:33:05.5319636Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '1068' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:33:36 GMT + etag: + - '"5900b739-0000-0100-0000-639943f70000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_POSTGRESQL_CONNECTIONSTRING", "value": + "Server=servicelinker-flexiblepostgresql.postgres.database.azure.com;Database=test;Port=5432;Ssl + Mode=Require;User Id=servicelinker;"}]}' + headers: + cache-control: + - no-cache + content-length: + - '211' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:33:42 GMT + expires: + - '-1' + mise-correlation-id: + - dcf41c1d-81eb-43cb-b2f7-28d5825c0498 + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8116515a-42d6-4c00-8078-15caf686095d*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:33:44 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8116515a-42d6-4c00-8078-15caf686095d*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12?api-version=2021-01-01-privatepreview + mise-correlation-id: + - eb6ed2b8-fc5d-4214-9d80-388ebea14ec7 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8116515a-42d6-4c00-8078-15caf686095d*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8116515a-42d6-4c00-8078-15caf686095d*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12", + "name": "8116515a-42d6-4c00-8078-15caf686095d*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12", + "status": "Succeeded", "startTime": "2022-12-14T03:33:44.5664673Z", "endTime": + "2022-12-14T03:33:48.536819Z", "properties": {"Message": "{\"ConnectionName\":\"testconn12\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T03:33:46.1576841Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:33:47.2938492Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn12", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T03:33:46.1576841Z", + "reportEndTimeUtc": "2022-12-14T03:33:47.2938492Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1525' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:34:15 GMT + etag: + - '"0f00d86a-0000-0100-0000-6399441c0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8116515a-42d6-4c00-8078-15caf686095d*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8116515a-42d6-4c00-8078-15caf686095d*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12", + "name": "8116515a-42d6-4c00-8078-15caf686095d*198731C915EF2A12810B2961D21FE4FAB1CE1202D7EB88643A1E31F0A10F4D12", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12", + "status": "Succeeded", "startTime": "2022-12-14T03:33:44.5664673Z", "endTime": + "2022-12-14T03:33:48.536819Z", "properties": {"Message": "{\"ConnectionName\":\"testconn12\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T03:33:46.1576841Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:33:47.2938492Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn12", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T03:33:46.1576841Z", + "reportEndTimeUtc": "2022-12-14T03:33:47.2938492Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1525' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:34:15 GMT + etag: + - '"0f00d86a-0000-0100-0000-6399441c0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12", + "name": "testconn12", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:27:00.5485989Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:33:05.5319636Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '1068' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:34:17 GMT + etag: + - '"5900b739-0000-0100-0000-639943f70000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn12?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Dec 2022 03:34:23 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_redis_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_redis_e2e.yaml new file mode 100644 index 00000000000..e837e502ee4 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_redis_e2e.yaml @@ -0,0 +1,901 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create redis + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:34:25 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0"}, + "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create redis + Connection: + - keep-alive + Content-Length: + - '363' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn13?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn13", + "name": "testconn13", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:34:27.5391808Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:34:27.5391808Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/660126ff-92ce-45d0-afe5-eb865700cb54*D20E6758C85B7810AAA586345FA4016BD84C59608FE90C060529CF443734F53F?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1129' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:34:27 GMT + etag: + - '"59002a3f-0000-0100-0000-639944440000"' + expires: + - '-1' + mise-correlation-id: + - b691cccd-fa78-4f91-917f-9608ee4a18d8 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create redis + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/660126ff-92ce-45d0-afe5-eb865700cb54*D20E6758C85B7810AAA586345FA4016BD84C59608FE90C060529CF443734F53F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/660126ff-92ce-45d0-afe5-eb865700cb54*D20E6758C85B7810AAA586345FA4016BD84C59608FE90C060529CF443734F53F", + "name": "660126ff-92ce-45d0-afe5-eb865700cb54*D20E6758C85B7810AAA586345FA4016BD84C59608FE90C060529CF443734F53F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn13", + "status": "Succeeded", "startTime": "2022-12-14T03:34:28.49945Z", "endTime": + "2022-12-14T03:34:33.5555314Z", "properties": {"Message": "Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource."}}' + headers: + cache-control: + - no-cache + content-length: + - '796' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:34:59 GMT + etag: + - '"0f002a6b-0000-0100-0000-639944490000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create redis + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn13?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn13", + "name": "testconn13", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:34:27.5391808Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:34:27.5391808Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '965' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:34:59 GMT + etag: + - '"5900923f-0000-0100-0000-639944490000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:35:03 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: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn13", + "name": "testconn13", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:34:27.5391808Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:34:27.5391808Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '978' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:35:05 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update redis + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn13?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn13", + "name": "testconn13", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:34:27.5391808Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:34:27.5391808Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '965' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:35:05 GMT + etag: + - '"5900923f-0000-0100-0000-639944490000"' + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0"}, + "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update redis + Connection: + - keep-alive + Content-Length: + - '420' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn13?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn13", + "name": "testconn13", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:34:27.5391808Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:35:06.2398698Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/938a36f8-bddc-43a0-bc2c-232fb9d7357a*D20E6758C85B7810AAA586345FA4016BD84C59608FE90C060529CF443734F53F?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1129' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:35:06 GMT + etag: + - '"59000942-0000-0100-0000-6399446a0000"' + expires: + - '-1' + mise-correlation-id: + - fc75f40f-525f-441c-b985-01e5b37f1390 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update redis + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/938a36f8-bddc-43a0-bc2c-232fb9d7357a*D20E6758C85B7810AAA586345FA4016BD84C59608FE90C060529CF443734F53F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/938a36f8-bddc-43a0-bc2c-232fb9d7357a*D20E6758C85B7810AAA586345FA4016BD84C59608FE90C060529CF443734F53F", + "name": "938a36f8-bddc-43a0-bc2c-232fb9d7357a*D20E6758C85B7810AAA586345FA4016BD84C59608FE90C060529CF443734F53F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn13", + "status": "Succeeded", "startTime": "2022-12-14T03:35:06.4731921Z", "endTime": + "2022-12-14T03:35:10.611153Z", "properties": {"Message": "Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource."}}' + headers: + cache-control: + - no-cache + content-length: + - '797' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:35:37 GMT + etag: + - '"0f007b6b-0000-0100-0000-6399446e0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update redis + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn13?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn13", + "name": "testconn13", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:34:27.5391808Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:35:06.2398698Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '965' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:35:37 GMT + etag: + - '"59005742-0000-0100-0000-6399446e0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn13/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_REDIS_CONNECTIONSTRING", "value": + "hidden"}]}' + headers: + cache-control: + - no-cache + content-length: + - '81' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:35:42 GMT + expires: + - '-1' + mise-correlation-id: + - 08048166-58fc-48b6-bb7e-06eb121ad625 + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn13/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/535bf76c-6d2d-4776-aa98-a7da76a90c37*D20E6758C85B7810AAA586345FA4016BD84C59608FE90C060529CF443734F53F?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:35:44 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/535bf76c-6d2d-4776-aa98-a7da76a90c37*D20E6758C85B7810AAA586345FA4016BD84C59608FE90C060529CF443734F53F?api-version=2021-01-01-privatepreview + mise-correlation-id: + - 4448b720-af10-4659-989c-d7e37f8a6734 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/535bf76c-6d2d-4776-aa98-a7da76a90c37*D20E6758C85B7810AAA586345FA4016BD84C59608FE90C060529CF443734F53F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/535bf76c-6d2d-4776-aa98-a7da76a90c37*D20E6758C85B7810AAA586345FA4016BD84C59608FE90C060529CF443734F53F", + "name": "535bf76c-6d2d-4776-aa98-a7da76a90c37*D20E6758C85B7810AAA586345FA4016BD84C59608FE90C060529CF443734F53F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn13", + "status": "Succeeded", "startTime": "2022-12-14T03:35:44.564483Z", "endTime": + "2022-12-14T03:35:47.3342837Z", "properties": {"Message": "{\"ConnectionName\":\"testconn13\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target''s network access is validated\",\"Description\":\"Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource.\",\"Result\":2}],\"ReportStartTimeUtc\":\"2022-12-14T03:35:45.7624181Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:35:46.1852392Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn13", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network access is validated", "description": + "Deny public network access is set to yes. Please confirm you are using private + endpoint connection to access target resource.", "result": "warning"}], "reportStartTimeUtc": + "2022-12-14T03:35:45.7624181Z", "reportEndTimeUtc": "2022-12-14T03:35:46.1852392Z", + "sourceId": null, "targetId": null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1773' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:36:14 GMT + etag: + - '"0f00d06b-0000-0100-0000-639944930000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/535bf76c-6d2d-4776-aa98-a7da76a90c37*D20E6758C85B7810AAA586345FA4016BD84C59608FE90C060529CF443734F53F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/535bf76c-6d2d-4776-aa98-a7da76a90c37*D20E6758C85B7810AAA586345FA4016BD84C59608FE90C060529CF443734F53F", + "name": "535bf76c-6d2d-4776-aa98-a7da76a90c37*D20E6758C85B7810AAA586345FA4016BD84C59608FE90C060529CF443734F53F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn13", + "status": "Succeeded", "startTime": "2022-12-14T03:35:44.564483Z", "endTime": + "2022-12-14T03:35:47.3342837Z", "properties": {"Message": "{\"ConnectionName\":\"testconn13\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target''s network access is validated\",\"Description\":\"Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource.\",\"Result\":2}],\"ReportStartTimeUtc\":\"2022-12-14T03:35:45.7624181Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:35:46.1852392Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn13", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network access is validated", "description": + "Deny public network access is set to yes. Please confirm you are using private + endpoint connection to access target resource.", "result": "warning"}], "reportStartTimeUtc": + "2022-12-14T03:35:45.7624181Z", "reportEndTimeUtc": "2022-12-14T03:35:46.1852392Z", + "sourceId": null, "targetId": null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1773' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:36:15 GMT + etag: + - '"0f00d06b-0000-0100-0000-639944930000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn13?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn13", + "name": "testconn13", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:34:27.5391808Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:35:06.2398698Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '965' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:36:16 GMT + etag: + - '"59005742-0000-0100-0000-6399446e0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn13?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Dec 2022 03:36:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_redisenterprise_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_redisenterprise_e2e.yaml new file mode 100644 index 00000000000..c98b7dcdfbd --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_redisenterprise_e2e.yaml @@ -0,0 +1,891 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create redis-enterprise + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:36:24 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default"}, + "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create redis-enterprise + Connection: + - keep-alive + Content-Length: + - '390' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn14?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn14", + "name": "testconn14", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:36:25.2354231Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:36:25.2354231Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fbe2433c-e580-484b-96d2-d0958a00631f*EE727E0D2DBFB143579F7BAB5014B1E9F8E52291B20322B1BD565922BDC9582A?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1156' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:36:25 GMT + etag: + - '"5900e047-0000-0100-0000-639944b90000"' + expires: + - '-1' + mise-correlation-id: + - 4b71d300-4474-4f1c-997e-9ecf89797345 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create redis-enterprise + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fbe2433c-e580-484b-96d2-d0958a00631f*EE727E0D2DBFB143579F7BAB5014B1E9F8E52291B20322B1BD565922BDC9582A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fbe2433c-e580-484b-96d2-d0958a00631f*EE727E0D2DBFB143579F7BAB5014B1E9F8E52291B20322B1BD565922BDC9582A", + "name": "fbe2433c-e580-484b-96d2-d0958a00631f*EE727E0D2DBFB143579F7BAB5014B1E9F8E52291B20322B1BD565922BDC9582A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn14", + "status": "Succeeded", "startTime": "2022-12-14T03:36:25.4972503Z", "endTime": + "2022-12-14T03:36:29.4250228Z", "properties": {"Message": "Unable to config + network connectivity for RedisEnterprise. Please confirm your app can connect + to RedisEnterprise successfully."}}' + headers: + cache-control: + - no-cache + content-length: + - '800' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:36:55 GMT + etag: + - '"0f00226c-0000-0100-0000-639944bd0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create redis-enterprise + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn14?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn14", + "name": "testconn14", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:36:25.2354231Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:36:25.2354231Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '992' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:36:56 GMT + etag: + - '"59002248-0000-0100-0000-639944bd0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:37:00 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: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn14", + "name": "testconn14", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:36:25.2354231Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:36:25.2354231Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1005' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:37:02 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update redis-enterprise + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn14?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn14", + "name": "testconn14", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:36:25.2354231Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:36:25.2354231Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '992' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:37:03 GMT + etag: + - '"59002248-0000-0100-0000-639944bd0000"' + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default"}, + "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update redis-enterprise + Connection: + - keep-alive + Content-Length: + - '447' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn14?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn14", + "name": "testconn14", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:36:25.2354231Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:37:03.6699233Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a43f3e4b-be45-4f7a-867d-cce90ee45823*EE727E0D2DBFB143579F7BAB5014B1E9F8E52291B20322B1BD565922BDC9582A?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1156' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:37:04 GMT + etag: + - '"59009f4a-0000-0100-0000-639944e00000"' + expires: + - '-1' + mise-correlation-id: + - b52599b3-195a-4e7a-8366-585e9dc848c7 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update redis-enterprise + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a43f3e4b-be45-4f7a-867d-cce90ee45823*EE727E0D2DBFB143579F7BAB5014B1E9F8E52291B20322B1BD565922BDC9582A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a43f3e4b-be45-4f7a-867d-cce90ee45823*EE727E0D2DBFB143579F7BAB5014B1E9F8E52291B20322B1BD565922BDC9582A", + "name": "a43f3e4b-be45-4f7a-867d-cce90ee45823*EE727E0D2DBFB143579F7BAB5014B1E9F8E52291B20322B1BD565922BDC9582A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn14", + "status": "Succeeded", "startTime": "2022-12-14T03:37:03.8307925Z", "endTime": + "2022-12-14T03:37:07.6028892Z", "properties": {"Message": "Unable to config + network connectivity for RedisEnterprise. Please confirm your app can connect + to RedisEnterprise successfully."}}' + headers: + cache-control: + - no-cache + content-length: + - '800' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:37:35 GMT + etag: + - '"0f00716c-0000-0100-0000-639944e30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update redis-enterprise + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn14?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn14", + "name": "testconn14", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:36:25.2354231Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:37:03.6699233Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '992' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:37:35 GMT + etag: + - '"5900e54a-0000-0100-0000-639944e30000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn14/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_REDIS_CONNECTIONSTRING", "value": + "hidden"}]}' + headers: + cache-control: + - no-cache + content-length: + - '81' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:37:41 GMT + expires: + - '-1' + mise-correlation-id: + - db5e39fd-de89-4e23-9280-629bd0065a8a + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn14/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/67a0dab4-ca3c-4d28-b750-a0dcf45ae316*EE727E0D2DBFB143579F7BAB5014B1E9F8E52291B20322B1BD565922BDC9582A?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:37:42 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/67a0dab4-ca3c-4d28-b750-a0dcf45ae316*EE727E0D2DBFB143579F7BAB5014B1E9F8E52291B20322B1BD565922BDC9582A?api-version=2021-01-01-privatepreview + mise-correlation-id: + - d117c37f-fb20-489e-9c0b-aaaa492b8d37 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/67a0dab4-ca3c-4d28-b750-a0dcf45ae316*EE727E0D2DBFB143579F7BAB5014B1E9F8E52291B20322B1BD565922BDC9582A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/67a0dab4-ca3c-4d28-b750-a0dcf45ae316*EE727E0D2DBFB143579F7BAB5014B1E9F8E52291B20322B1BD565922BDC9582A", + "name": "67a0dab4-ca3c-4d28-b750-a0dcf45ae316*EE727E0D2DBFB143579F7BAB5014B1E9F8E52291B20322B1BD565922BDC9582A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn14", + "status": "Succeeded", "startTime": "2022-12-14T03:37:42.8410741Z", "endTime": + "2022-12-14T03:37:45.9244819Z", "properties": {"Message": "{\"ConnectionName\":\"testconn14\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T03:37:44.3702713Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:37:44.7297177Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn14", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}], "reportStartTimeUtc": "2022-12-14T03:37:44.3702713Z", "reportEndTimeUtc": + "2022-12-14T03:37:44.7297177Z", "sourceId": null, "targetId": null, "authType": + "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1340' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:38:13 GMT + etag: + - '"0f00c56c-0000-0100-0000-639945090000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/67a0dab4-ca3c-4d28-b750-a0dcf45ae316*EE727E0D2DBFB143579F7BAB5014B1E9F8E52291B20322B1BD565922BDC9582A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/67a0dab4-ca3c-4d28-b750-a0dcf45ae316*EE727E0D2DBFB143579F7BAB5014B1E9F8E52291B20322B1BD565922BDC9582A", + "name": "67a0dab4-ca3c-4d28-b750-a0dcf45ae316*EE727E0D2DBFB143579F7BAB5014B1E9F8E52291B20322B1BD565922BDC9582A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn14", + "status": "Succeeded", "startTime": "2022-12-14T03:37:42.8410741Z", "endTime": + "2022-12-14T03:37:45.9244819Z", "properties": {"Message": "{\"ConnectionName\":\"testconn14\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T03:37:44.3702713Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:37:44.7297177Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn14", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}], "reportStartTimeUtc": "2022-12-14T03:37:44.3702713Z", "reportEndTimeUtc": + "2022-12-14T03:37:44.7297177Z", "sourceId": null, "targetId": null, "authType": + "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1340' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:38:13 GMT + etag: + - '"0f00c56c-0000-0100-0000-639945090000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn14?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn14", + "name": "testconn14", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:36:25.2354231Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:37:03.6699233Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '992' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:38:15 GMT + etag: + - '"5900e54a-0000-0100-0000-639944e30000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn14?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Dec 2022 03:38:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_servicebus_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_servicebus_e2e.yaml new file mode 100644 index 00000000000..4c8aa7b3816 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_servicebus_e2e.yaml @@ -0,0 +1,891 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create servicebus + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:38:23 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus"}, + "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create servicebus + Connection: + - keep-alive + Content-Length: + - '369' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", + "name": "testconn8", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:38:24.4375876Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:38:24.4375876Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9f4a5bc8-a209-45de-a400-cfd472f600ad*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1133' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:38:24 GMT + etag: + - '"59009c50-0000-0100-0000-639945300000"' + expires: + - '-1' + mise-correlation-id: + - 5170d454-79dc-4850-a906-a335dbc44ab2 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create servicebus + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9f4a5bc8-a209-45de-a400-cfd472f600ad*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9f4a5bc8-a209-45de-a400-cfd472f600ad*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", + "name": "9f4a5bc8-a209-45de-a400-cfd472f600ad*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", + "status": "Succeeded", "startTime": "2022-12-14T03:38:24.7349868Z", "endTime": + "2022-12-14T03:38:39.0700631Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '674' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:38:54 GMT + etag: + - '"0f00546d-0000-0100-0000-6399453f0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create servicebus + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", + "name": "testconn8", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:38:24.4375876Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:38:24.4375876Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '969' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:38:55 GMT + etag: + - '"5900ad51-0000-0100-0000-6399453f0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:38:59 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: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", + "name": "testconn8", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:38:24.4375876Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:38:24.4375876Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '982' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:39:00 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update servicebus + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", + "name": "testconn8", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:38:24.4375876Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:38:24.4375876Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '969' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:39:01 GMT + etag: + - '"5900ad51-0000-0100-0000-6399453f0000"' + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus"}, + "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update servicebus + Connection: + - keep-alive + Content-Length: + - '426' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", + "name": "testconn8", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:38:24.4375876Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:39:02.1502281Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dbc263a2-351f-4139-b416-3ad015c3c09c*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1133' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:39:01 GMT + etag: + - '"59006953-0000-0100-0000-639945560000"' + expires: + - '-1' + mise-correlation-id: + - 365e309c-49f7-4ea3-adf7-1c57423ecfea + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update servicebus + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dbc263a2-351f-4139-b416-3ad015c3c09c*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dbc263a2-351f-4139-b416-3ad015c3c09c*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", + "name": "dbc263a2-351f-4139-b416-3ad015c3c09c*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", + "status": "Succeeded", "startTime": "2022-12-14T03:39:02.4215008Z", "endTime": + "2022-12-14T03:39:15.5671934Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '674' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:39:33 GMT + etag: + - '"0f00866d-0000-0100-0000-639945630000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update servicebus + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", + "name": "testconn8", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:38:24.4375876Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:39:02.1502281Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '969' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:39:33 GMT + etag: + - '"59007b54-0000-0100-0000-639945630000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_SERVICEBUS_CONNECTIONSTRING", "value": + "hidden"}]}' + headers: + cache-control: + - no-cache + content-length: + - '86' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:39:39 GMT + expires: + - '-1' + mise-correlation-id: + - 3731b051-d81f-49df-a376-09c292ac5c13 + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1196' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1153857d-aef1-4621-b88b-e28cb7e2e1e4*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:39:41 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1153857d-aef1-4621-b88b-e28cb7e2e1e4*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview + mise-correlation-id: + - c2d3a173-4748-4220-b09b-de69bda3576d + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1196' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1153857d-aef1-4621-b88b-e28cb7e2e1e4*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1153857d-aef1-4621-b88b-e28cb7e2e1e4*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", + "name": "1153857d-aef1-4621-b88b-e28cb7e2e1e4*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", + "status": "Succeeded", "startTime": "2022-12-14T03:39:41.5813001Z", "endTime": + "2022-12-14T03:39:45.8696816Z", "properties": {"Message": "{\"ConnectionName\":\"testconn8\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T03:39:43.1460583Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:39:44.7583696Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn8", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T03:39:43.1460583Z", + "reportEndTimeUtc": "2022-12-14T03:39:44.7583696Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1523' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:40:12 GMT + etag: + - '"0f00b26d-0000-0100-0000-639945810000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1153857d-aef1-4621-b88b-e28cb7e2e1e4*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1153857d-aef1-4621-b88b-e28cb7e2e1e4*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", + "name": "1153857d-aef1-4621-b88b-e28cb7e2e1e4*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", + "status": "Succeeded", "startTime": "2022-12-14T03:39:41.5813001Z", "endTime": + "2022-12-14T03:39:45.8696816Z", "properties": {"Message": "{\"ConnectionName\":\"testconn8\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T03:39:43.1460583Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:39:44.7583696Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn8", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T03:39:43.1460583Z", + "reportEndTimeUtc": "2022-12-14T03:39:44.7583696Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1523' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:40:12 GMT + etag: + - '"0f00b26d-0000-0100-0000-639945810000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", + "name": "testconn8", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:38:24.4375876Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:39:02.1502281Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '969' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:40:13 GMT + etag: + - '"59007b54-0000-0100-0000-639945630000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Dec 2022 03:40:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14998' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_signalr_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_signalr_e2e.yaml new file mode 100644 index 00000000000..282b572f7b4 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_signalr_e2e.yaml @@ -0,0 +1,891 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create signalr + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:40:22 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr"}, + "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create signalr + Connection: + - keep-alive + Content-Length: + - '364' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn9?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn9", + "name": "testconn9", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:40:23.8105682Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:40:23.8105682Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d7b36e07-5e18-483a-b38e-5ec577df85dd*8FDECF4164E718938FF806C7AE94060F63F6F32B1F5ECB2635957FBE607BDC45?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1128' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:40:23 GMT + etag: + - '"5900a359-0000-0100-0000-639945a80000"' + expires: + - '-1' + mise-correlation-id: + - 66bb7c8c-2467-401e-9b2d-e11f7fce4fa8 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create signalr + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d7b36e07-5e18-483a-b38e-5ec577df85dd*8FDECF4164E718938FF806C7AE94060F63F6F32B1F5ECB2635957FBE607BDC45?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d7b36e07-5e18-483a-b38e-5ec577df85dd*8FDECF4164E718938FF806C7AE94060F63F6F32B1F5ECB2635957FBE607BDC45", + "name": "d7b36e07-5e18-483a-b38e-5ec577df85dd*8FDECF4164E718938FF806C7AE94060F63F6F32B1F5ECB2635957FBE607BDC45", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn9", + "status": "Succeeded", "startTime": "2022-12-14T03:40:23.9549098Z", "endTime": + "2022-12-14T03:40:27.4085081Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '674' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:40:55 GMT + etag: + - '"0f00f06d-0000-0100-0000-639945ab0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create signalr + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn9?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn9", + "name": "testconn9", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:40:23.8105682Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:40:23.8105682Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '964' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:40:55 GMT + etag: + - '"5900e759-0000-0100-0000-639945ab0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:41:01 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: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn9", + "name": "testconn9", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:40:23.8105682Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:40:23.8105682Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '977' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:41:02 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update signalr + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn9?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn9", + "name": "testconn9", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:40:23.8105682Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:40:23.8105682Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '964' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:41:02 GMT + etag: + - '"5900e759-0000-0100-0000-639945ab0000"' + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr"}, + "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update signalr + Connection: + - keep-alive + Content-Length: + - '421' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn9?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn9", + "name": "testconn9", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:40:23.8105682Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:41:04.4075489Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/17968d7a-6b96-47c9-af70-c040e7fcf0fd*8FDECF4164E718938FF806C7AE94060F63F6F32B1F5ECB2635957FBE607BDC45?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1128' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:41:04 GMT + etag: + - '"5900365b-0000-0100-0000-639945d00000"' + expires: + - '-1' + mise-correlation-id: + - 7b63f2a6-a0e7-4457-a20d-e78751ea54d1 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update signalr + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/17968d7a-6b96-47c9-af70-c040e7fcf0fd*8FDECF4164E718938FF806C7AE94060F63F6F32B1F5ECB2635957FBE607BDC45?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/17968d7a-6b96-47c9-af70-c040e7fcf0fd*8FDECF4164E718938FF806C7AE94060F63F6F32B1F5ECB2635957FBE607BDC45", + "name": "17968d7a-6b96-47c9-af70-c040e7fcf0fd*8FDECF4164E718938FF806C7AE94060F63F6F32B1F5ECB2635957FBE607BDC45", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn9", + "status": "Succeeded", "startTime": "2022-12-14T03:41:04.5356851Z", "endTime": + "2022-12-14T03:41:08.4263871Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '674' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:41:35 GMT + etag: + - '"0f002b6e-0000-0100-0000-639945d40000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update signalr + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn9?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn9", + "name": "testconn9", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:40:23.8105682Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:41:04.4075489Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '964' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:41:35 GMT + etag: + - '"5900385b-0000-0100-0000-639945d40000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn9/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_SIGNALR_CONNECTIONSTRING", "value": + "hidden"}]}' + headers: + cache-control: + - no-cache + content-length: + - '83' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:41:41 GMT + expires: + - '-1' + mise-correlation-id: + - 72d57c01-b770-422d-bd58-e35f7938ac2d + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn9/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/61747118-e184-4998-bd05-c316d24c2a61*8FDECF4164E718938FF806C7AE94060F63F6F32B1F5ECB2635957FBE607BDC45?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:41:42 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/61747118-e184-4998-bd05-c316d24c2a61*8FDECF4164E718938FF806C7AE94060F63F6F32B1F5ECB2635957FBE607BDC45?api-version=2021-01-01-privatepreview + mise-correlation-id: + - 36887000-8072-47a6-b80e-d160758c0dbb + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1196' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/61747118-e184-4998-bd05-c316d24c2a61*8FDECF4164E718938FF806C7AE94060F63F6F32B1F5ECB2635957FBE607BDC45?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/61747118-e184-4998-bd05-c316d24c2a61*8FDECF4164E718938FF806C7AE94060F63F6F32B1F5ECB2635957FBE607BDC45", + "name": "61747118-e184-4998-bd05-c316d24c2a61*8FDECF4164E718938FF806C7AE94060F63F6F32B1F5ECB2635957FBE607BDC45", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn9", + "status": "Succeeded", "startTime": "2022-12-14T03:41:42.767225Z", "endTime": + "2022-12-14T03:41:46.137506Z", "properties": {"Message": "{\"ConnectionName\":\"testconn9\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target''s network ACL is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T03:41:44.3514513Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:41:44.7898634Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn9", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network ACL is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T03:41:44.3514513Z", + "reportEndTimeUtc": "2022-12-14T03:41:44.7898634Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1515' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:42:13 GMT + etag: + - '"0f00656e-0000-0100-0000-639945fa0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/61747118-e184-4998-bd05-c316d24c2a61*8FDECF4164E718938FF806C7AE94060F63F6F32B1F5ECB2635957FBE607BDC45?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/61747118-e184-4998-bd05-c316d24c2a61*8FDECF4164E718938FF806C7AE94060F63F6F32B1F5ECB2635957FBE607BDC45", + "name": "61747118-e184-4998-bd05-c316d24c2a61*8FDECF4164E718938FF806C7AE94060F63F6F32B1F5ECB2635957FBE607BDC45", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn9", + "status": "Succeeded", "startTime": "2022-12-14T03:41:42.767225Z", "endTime": + "2022-12-14T03:41:46.137506Z", "properties": {"Message": "{\"ConnectionName\":\"testconn9\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target''s network ACL is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T03:41:44.3514513Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:41:44.7898634Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn9", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network ACL is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T03:41:44.3514513Z", + "reportEndTimeUtc": "2022-12-14T03:41:44.7898634Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1515' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:42:13 GMT + etag: + - '"0f00656e-0000-0100-0000-639945fa0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn9?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn9", + "name": "testconn9", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T03:40:23.8105682Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:41:04.4075489Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '964' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 03:42:14 GMT + etag: + - '"5900385b-0000-0100-0000-639945d40000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn9?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Dec 2022 03:42:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_sql_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_sql_e2e.yaml new file mode 100644 index 00000000000..e3dea253563 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_sql_e2e.yaml @@ -0,0 +1,955 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json; charset=utf-8 + User-Agent: + - python/3.8.8 (Windows-10-10.0.22621-SP0) msrest/0.7.1 msrest_azure/0.6.4 azure-keyvault/7.0 + Azure-SDK-For-Python + accept-language: + - en-US + method: GET + uri: https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword/?api-version=7.0 + response: + body: + string: '{"value": "microsoft123!", "id": "https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword/e6c944984acc4f7dab51acf30b3d19cc", + "attributes": {"enabled": true, "created": 1607518360, "updated": 1607518360, + "recoveryLevel": "Recoverable+Purgeable"}}' + headers: + cache-control: + - no-cache + content-length: + - '254' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 05:59:27 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000;includeSubDomains + x-content-type-options: + - nosniff + x-ms-keyvault-network-info: + - conn_type=Ipv4;addr=167.220.255.60;act_addr_fam=InterNetwork; + x-ms-keyvault-region: + - eastus + x-ms-keyvault-service-version: + - 1.9.640.1 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 05:59:28 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test"}, + "authInfo": {"authType": "secret", "name": "servicelinker", "secretInfo": {"secretType": + "rawValue", "value": "microsoft123!"}}, "clientType": "python", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create sql + Connection: + - keep-alive + Content-Length: + - '465' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn18?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn18", + "name": "testconn18", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T05:59:30.1012565Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T05:59:30.1012565Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, + "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ca7f109b-6f87-49a3-8413-fc80ff030413*011E2D78C1C455E6D414F25F3B010D6DD1BAAEC0E101D5A043D69C023D109B61?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1171' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 05:59:31 GMT + etag: + - '"5b00d519-0000-0100-0000-639966430000"' + expires: + - '-1' + mise-correlation-id: + - 0189dfc9-9ba5-45ca-b748-cc163a4dbeb0 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ca7f109b-6f87-49a3-8413-fc80ff030413*011E2D78C1C455E6D414F25F3B010D6DD1BAAEC0E101D5A043D69C023D109B61?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ca7f109b-6f87-49a3-8413-fc80ff030413*011E2D78C1C455E6D414F25F3B010D6DD1BAAEC0E101D5A043D69C023D109B61", + "name": "ca7f109b-6f87-49a3-8413-fc80ff030413*011E2D78C1C455E6D414F25F3B010D6DD1BAAEC0E101D5A043D69C023D109B61", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn18", + "status": "Succeeded", "startTime": "2022-12-14T05:59:30.9862617Z", "endTime": + "2022-12-14T05:59:34.0082624Z", "properties": {"Message": "Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource."}}' + headers: + cache-control: + - no-cache + content-length: + - '798' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:00:01 GMT + etag: + - '"0f0080b4-0000-0100-0000-639966460000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn18?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn18", + "name": "testconn18", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T05:59:30.1012565Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T05:59:30.1012565Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '1041' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:00:01 GMT + etag: + - '"5b00191a-0000-0100-0000-639966460000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:00:08 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: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn18", + "name": "testconn18", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T05:59:30.1012565Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T05:59:30.1012565Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1054' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:00:09 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update sql + Connection: + - keep-alive + ParameterSetName: + - --id --client-type --secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn18?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn18", + "name": "testconn18", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T05:59:30.1012565Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T05:59:30.1012565Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '1041' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:00:11 GMT + etag: + - '"5b00191a-0000-0100-0000-639966460000"' + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test"}, + "authInfo": {"authType": "secret", "name": "servicelinker", "secretInfo": {"secretType": + "rawValue", "value": "microsoft123!"}}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update sql + Connection: + - keep-alive + Content-Length: + - '522' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type --secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn18?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn18", + "name": "testconn18", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T05:59:30.1012565Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:00:12.0318588Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, + "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5e1f6415-e3e4-40f5-88d5-d814f2b19578*011E2D78C1C455E6D414F25F3B010D6DD1BAAEC0E101D5A043D69C023D109B61?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1171' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:00:12 GMT + etag: + - '"5b00e31c-0000-0100-0000-6399666c0000"' + expires: + - '-1' + mise-correlation-id: + - 1e85cf75-eb73-4f0d-b658-37b0a8d8bbb0 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update sql + Connection: + - keep-alive + ParameterSetName: + - --id --client-type --secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5e1f6415-e3e4-40f5-88d5-d814f2b19578*011E2D78C1C455E6D414F25F3B010D6DD1BAAEC0E101D5A043D69C023D109B61?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5e1f6415-e3e4-40f5-88d5-d814f2b19578*011E2D78C1C455E6D414F25F3B010D6DD1BAAEC0E101D5A043D69C023D109B61", + "name": "5e1f6415-e3e4-40f5-88d5-d814f2b19578*011E2D78C1C455E6D414F25F3B010D6DD1BAAEC0E101D5A043D69C023D109B61", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn18", + "status": "Succeeded", "startTime": "2022-12-14T06:00:12.2693765Z", "endTime": + "2022-12-14T06:00:15.6434563Z", "properties": {"Message": "Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource."}}' + headers: + cache-control: + - no-cache + content-length: + - '798' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:00:43 GMT + etag: + - '"0f0017b5-0000-0100-0000-6399666f0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update sql + Connection: + - keep-alive + ParameterSetName: + - --id --client-type --secret + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn18?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn18", + "name": "testconn18", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T05:59:30.1012565Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:00:12.0318588Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '1041' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:00:43 GMT + etag: + - '"5b00291d-0000-0100-0000-6399666f0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn18/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_SQL_CONNECTIONSTRING", "value": + "Data Source=servicelinker-sql.database.windows.net,1433;Initial Catalog=handler-test;User + ID=servicelinker"}]}' + headers: + cache-control: + - no-cache + content-length: + - '179' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:00:49 GMT + expires: + - '-1' + mise-correlation-id: + - c304dd6b-f6b2-439f-be5b-801b0b67b84e + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn18/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b43e1679-ced3-4ffe-8eb0-02076a1a56ec*011E2D78C1C455E6D414F25F3B010D6DD1BAAEC0E101D5A043D69C023D109B61?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:00:52 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b43e1679-ced3-4ffe-8eb0-02076a1a56ec*011E2D78C1C455E6D414F25F3B010D6DD1BAAEC0E101D5A043D69C023D109B61?api-version=2021-01-01-privatepreview + mise-correlation-id: + - 187573d6-037c-487b-b99b-d4a0edb0a891 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b43e1679-ced3-4ffe-8eb0-02076a1a56ec*011E2D78C1C455E6D414F25F3B010D6DD1BAAEC0E101D5A043D69C023D109B61?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b43e1679-ced3-4ffe-8eb0-02076a1a56ec*011E2D78C1C455E6D414F25F3B010D6DD1BAAEC0E101D5A043D69C023D109B61", + "name": "b43e1679-ced3-4ffe-8eb0-02076a1a56ec*011E2D78C1C455E6D414F25F3B010D6DD1BAAEC0E101D5A043D69C023D109B61", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn18", + "status": "Succeeded", "startTime": "2022-12-14T06:00:51.9138371Z", "endTime": + "2022-12-14T06:00:54.6072895Z", "properties": {"Message": "{\"ConnectionName\":\"testconn18\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target''s network access is validated\",\"Description\":\"Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource.\",\"Result\":2}],\"ReportStartTimeUtc\":\"2022-12-14T06:00:53.2216039Z\",\"ReportEndTimeUtc\":\"2022-12-14T06:00:53.5449149Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn18", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network access is validated", "description": + "Deny public network access is set to yes. Please confirm you are using private + endpoint connection to access target resource.", "result": "warning"}], "reportStartTimeUtc": + "2022-12-14T06:00:53.2216039Z", "reportEndTimeUtc": "2022-12-14T06:00:53.5449149Z", + "sourceId": null, "targetId": null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1774' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:01:23 GMT + etag: + - '"0f009ab5-0000-0100-0000-639966960000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b43e1679-ced3-4ffe-8eb0-02076a1a56ec*011E2D78C1C455E6D414F25F3B010D6DD1BAAEC0E101D5A043D69C023D109B61?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b43e1679-ced3-4ffe-8eb0-02076a1a56ec*011E2D78C1C455E6D414F25F3B010D6DD1BAAEC0E101D5A043D69C023D109B61", + "name": "b43e1679-ced3-4ffe-8eb0-02076a1a56ec*011E2D78C1C455E6D414F25F3B010D6DD1BAAEC0E101D5A043D69C023D109B61", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn18", + "status": "Succeeded", "startTime": "2022-12-14T06:00:51.9138371Z", "endTime": + "2022-12-14T06:00:54.6072895Z", "properties": {"Message": "{\"ConnectionName\":\"testconn18\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target''s network access is validated\",\"Description\":\"Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource.\",\"Result\":2}],\"ReportStartTimeUtc\":\"2022-12-14T06:00:53.2216039Z\",\"ReportEndTimeUtc\":\"2022-12-14T06:00:53.5449149Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn18", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network access is validated", "description": + "Deny public network access is set to yes. Please confirm you are using private + endpoint connection to access target resource.", "result": "warning"}], "reportStartTimeUtc": + "2022-12-14T06:00:53.2216039Z", "reportEndTimeUtc": "2022-12-14T06:00:53.5449149Z", + "sourceId": null, "targetId": null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1774' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:01:23 GMT + etag: + - '"0f009ab5-0000-0100-0000-639966960000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn18?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn18", + "name": "testconn18", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T05:59:30.1012565Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:00:12.0318588Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", + "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '1041' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:01:24 GMT + etag: + - '"5b00291d-0000-0100-0000-6399666f0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn18?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Dec 2022 06:01:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_storageblob_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_storageblob_e2e.yaml new file mode 100644 index 00000000000..9ea43549539 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_storageblob_e2e.yaml @@ -0,0 +1,891 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create storage-blob + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:01:32 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default"}, + "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create storage-blob + Connection: + - keep-alive + Content-Length: + - '385' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn20?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn20", + "name": "testconn20", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:01:34.7948312Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:01:34.7948312Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7f3fb20c-1027-4a3c-901b-c7c7a0a51bc8*CEF27527E108ACA38050981EC47B5A47A5E898B66B04CE064B15FDB85531DF61?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1151' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:01:35 GMT + etag: + - '"5b004123-0000-0100-0000-639966bf0000"' + expires: + - '-1' + mise-correlation-id: + - b62cff90-ab88-4af8-95c2-99445d4ab679 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create storage-blob + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7f3fb20c-1027-4a3c-901b-c7c7a0a51bc8*CEF27527E108ACA38050981EC47B5A47A5E898B66B04CE064B15FDB85531DF61?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7f3fb20c-1027-4a3c-901b-c7c7a0a51bc8*CEF27527E108ACA38050981EC47B5A47A5E898B66B04CE064B15FDB85531DF61", + "name": "7f3fb20c-1027-4a3c-901b-c7c7a0a51bc8*CEF27527E108ACA38050981EC47B5A47A5E898B66B04CE064B15FDB85531DF61", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn20", + "status": "Succeeded", "startTime": "2022-12-14T06:01:35.716958Z", "endTime": + "2022-12-14T06:01:39.2863571Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '674' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:02:05 GMT + etag: + - '"0f0026b6-0000-0100-0000-639966c30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create storage-blob + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn20?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn20", + "name": "testconn20", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:01:34.7948312Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:01:34.7948312Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '987' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:02:06 GMT + etag: + - '"5b008b23-0000-0100-0000-639966c30000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:02:11 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: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn20", + "name": "testconn20", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:01:34.7948312Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:01:34.7948312Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1000' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:02:20 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update storage-blob + Connection: + - keep-alive + ParameterSetName: + - -g --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn20?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn20", + "name": "testconn20", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:01:34.7948312Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:01:34.7948312Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '987' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:02:21 GMT + etag: + - '"5b008b23-0000-0100-0000-639966c30000"' + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default"}, + "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update storage-blob + Connection: + - keep-alive + Content-Length: + - '442' + Content-Type: + - application/json + ParameterSetName: + - -g --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn20?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn20", + "name": "testconn20", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:01:34.7948312Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:02:24.06471Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ccd8fb1d-2c6a-4a4d-b7b0-7ab15b935eba*CEF27527E108ACA38050981EC47B5A47A5E898B66B04CE064B15FDB85531DF61?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1149' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:02:23 GMT + etag: + - '"5b002d25-0000-0100-0000-639966f00000"' + expires: + - '-1' + mise-correlation-id: + - 10a23f33-55a2-4e50-93ce-834927a1b694 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update storage-blob + Connection: + - keep-alive + ParameterSetName: + - -g --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ccd8fb1d-2c6a-4a4d-b7b0-7ab15b935eba*CEF27527E108ACA38050981EC47B5A47A5E898B66B04CE064B15FDB85531DF61?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ccd8fb1d-2c6a-4a4d-b7b0-7ab15b935eba*CEF27527E108ACA38050981EC47B5A47A5E898B66B04CE064B15FDB85531DF61", + "name": "ccd8fb1d-2c6a-4a4d-b7b0-7ab15b935eba*CEF27527E108ACA38050981EC47B5A47A5E898B66B04CE064B15FDB85531DF61", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn20", + "status": "Succeeded", "startTime": "2022-12-14T06:02:24.3301074Z", "endTime": + "2022-12-14T06:02:27.8953035Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '675' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:02:55 GMT + etag: + - '"0f00c1b6-0000-0100-0000-639966f30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update storage-blob + Connection: + - keep-alive + ParameterSetName: + - -g --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn20?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn20", + "name": "testconn20", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:01:34.7948312Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:02:24.06471Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '985' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:02:56 GMT + etag: + - '"5b002f25-0000-0100-0000-639966f30000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn20/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_STORAGEBLOB_CONNECTIONSTRING", + "value": "hidden"}]}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:03:02 GMT + expires: + - '-1' + mise-correlation-id: + - e75bfcb3-b9ae-48b6-829d-9f4978090b8d + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn20/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c2aaf631-e788-4eca-a71b-57a54069aca7*CEF27527E108ACA38050981EC47B5A47A5E898B66B04CE064B15FDB85531DF61?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:03:04 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c2aaf631-e788-4eca-a71b-57a54069aca7*CEF27527E108ACA38050981EC47B5A47A5E898B66B04CE064B15FDB85531DF61?api-version=2021-01-01-privatepreview + mise-correlation-id: + - b141df69-64ef-42cc-8217-2692788707bc + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c2aaf631-e788-4eca-a71b-57a54069aca7*CEF27527E108ACA38050981EC47B5A47A5E898B66B04CE064B15FDB85531DF61?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c2aaf631-e788-4eca-a71b-57a54069aca7*CEF27527E108ACA38050981EC47B5A47A5E898B66B04CE064B15FDB85531DF61", + "name": "c2aaf631-e788-4eca-a71b-57a54069aca7*CEF27527E108ACA38050981EC47B5A47A5E898B66B04CE064B15FDB85531DF61", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn20", + "status": "Succeeded", "startTime": "2022-12-14T06:03:04.5705093Z", "endTime": + "2022-12-14T06:03:07.3899037Z", "properties": {"Message": "{\"ConnectionName\":\"testconn20\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T06:03:05.932011Z\",\"ReportEndTimeUtc\":\"2022-12-14T06:03:06.2448033Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn20", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T06:03:05.932011Z", + "reportEndTimeUtc": "2022-12-14T06:03:06.2448033Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1524' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:03:35 GMT + etag: + - '"0f0034b7-0000-0100-0000-6399671b0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c2aaf631-e788-4eca-a71b-57a54069aca7*CEF27527E108ACA38050981EC47B5A47A5E898B66B04CE064B15FDB85531DF61?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c2aaf631-e788-4eca-a71b-57a54069aca7*CEF27527E108ACA38050981EC47B5A47A5E898B66B04CE064B15FDB85531DF61", + "name": "c2aaf631-e788-4eca-a71b-57a54069aca7*CEF27527E108ACA38050981EC47B5A47A5E898B66B04CE064B15FDB85531DF61", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn20", + "status": "Succeeded", "startTime": "2022-12-14T06:03:04.5705093Z", "endTime": + "2022-12-14T06:03:07.3899037Z", "properties": {"Message": "{\"ConnectionName\":\"testconn20\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T06:03:05.932011Z\",\"ReportEndTimeUtc\":\"2022-12-14T06:03:06.2448033Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn20", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T06:03:05.932011Z", + "reportEndTimeUtc": "2022-12-14T06:03:06.2448033Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1524' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:03:35 GMT + etag: + - '"0f0034b7-0000-0100-0000-6399671b0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn20?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn20", + "name": "testconn20", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:01:34.7948312Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:02:24.06471Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '985' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:03:37 GMT + etag: + - '"5b002f25-0000-0100-0000-639966f30000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn20?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Dec 2022 06:03:42 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_storagefile_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_storagefile_e2e.yaml new file mode 100644 index 00000000000..b4d6891422d --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_storagefile_e2e.yaml @@ -0,0 +1,891 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create storage-file + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:30:04 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default"}, + "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create storage-file + Connection: + - keep-alive + Content-Length: + - '385' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn25?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn25", + "name": "testconn25", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:30:05.7017223Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:30:05.7017223Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/910ce784-1101-4023-9dff-0ef2b8bffd49*D468C59E92DE830B8BCC08D1E36A6B456F4935E1DCF219725A9CD56B334CD857?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1151' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:30:06 GMT + etag: + - '"5b00fda8-0000-0100-0000-63996d6e0000"' + expires: + - '-1' + mise-correlation-id: + - ad8e639f-703b-4fa6-8fcd-994578da97f7 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create storage-file + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/910ce784-1101-4023-9dff-0ef2b8bffd49*D468C59E92DE830B8BCC08D1E36A6B456F4935E1DCF219725A9CD56B334CD857?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/910ce784-1101-4023-9dff-0ef2b8bffd49*D468C59E92DE830B8BCC08D1E36A6B456F4935E1DCF219725A9CD56B334CD857", + "name": "910ce784-1101-4023-9dff-0ef2b8bffd49*D468C59E92DE830B8BCC08D1E36A6B456F4935E1DCF219725A9CD56B334CD857", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn25", + "status": "Succeeded", "startTime": "2022-12-14T06:30:06.6457979Z", "endTime": + "2022-12-14T06:30:10.0969456Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '675' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:30:36 GMT + etag: + - '"0f00fcc9-0000-0100-0000-63996d720000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create storage-file + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn25?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn25", + "name": "testconn25", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:30:05.7017223Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:30:05.7017223Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '987' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:30:37 GMT + etag: + - '"5b00ebab-0000-0100-0000-63996d720000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:30:41 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: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn25", + "name": "testconn25", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:30:05.7017223Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:30:05.7017223Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1000' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:30:42 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update storage-file + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn25?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn25", + "name": "testconn25", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:30:05.7017223Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:30:05.7017223Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '987' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:30:44 GMT + etag: + - '"5b00ebab-0000-0100-0000-63996d720000"' + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default"}, + "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update storage-file + Connection: + - keep-alive + Content-Length: + - '442' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn25?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn25", + "name": "testconn25", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:30:05.7017223Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:30:45.6802506Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a5c31efe-a0e9-4228-9c1f-9caf5994360c*D468C59E92DE830B8BCC08D1E36A6B456F4935E1DCF219725A9CD56B334CD857?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1151' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:30:45 GMT + etag: + - '"5b0081c9-0000-0100-0000-63996d960000"' + expires: + - '-1' + mise-correlation-id: + - 274a8870-b032-4b2d-99d1-d9a28b815caa + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update storage-file + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a5c31efe-a0e9-4228-9c1f-9caf5994360c*D468C59E92DE830B8BCC08D1E36A6B456F4935E1DCF219725A9CD56B334CD857?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a5c31efe-a0e9-4228-9c1f-9caf5994360c*D468C59E92DE830B8BCC08D1E36A6B456F4935E1DCF219725A9CD56B334CD857", + "name": "a5c31efe-a0e9-4228-9c1f-9caf5994360c*D468C59E92DE830B8BCC08D1E36A6B456F4935E1DCF219725A9CD56B334CD857", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn25", + "status": "Succeeded", "startTime": "2022-12-14T06:30:45.9302809Z", "endTime": + "2022-12-14T06:30:49.2343715Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '675' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:31:16 GMT + etag: + - '"0f0083ca-0000-0100-0000-63996d990000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update storage-file + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn25?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn25", + "name": "testconn25", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:30:05.7017223Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:30:45.6802506Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '987' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:31:16 GMT + etag: + - '"5b0027cc-0000-0100-0000-63996d990000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn25/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_STORAGEFILE_CONNECTIONSTRING", + "value": "hidden"}]}' + headers: + cache-control: + - no-cache + content-length: + - '87' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:31:22 GMT + expires: + - '-1' + mise-correlation-id: + - 90d95ed1-b745-4d03-b8f6-f54688ae2a36 + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1195' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn25/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f8ab293b-4923-4e71-99a2-488c544e477b*D468C59E92DE830B8BCC08D1E36A6B456F4935E1DCF219725A9CD56B334CD857?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:31:24 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f8ab293b-4923-4e71-99a2-488c544e477b*D468C59E92DE830B8BCC08D1E36A6B456F4935E1DCF219725A9CD56B334CD857?api-version=2021-01-01-privatepreview + mise-correlation-id: + - 48691ff6-500b-42d1-a245-ea3f9378874f + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f8ab293b-4923-4e71-99a2-488c544e477b*D468C59E92DE830B8BCC08D1E36A6B456F4935E1DCF219725A9CD56B334CD857?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f8ab293b-4923-4e71-99a2-488c544e477b*D468C59E92DE830B8BCC08D1E36A6B456F4935E1DCF219725A9CD56B334CD857", + "name": "f8ab293b-4923-4e71-99a2-488c544e477b*D468C59E92DE830B8BCC08D1E36A6B456F4935E1DCF219725A9CD56B334CD857", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn25", + "status": "Succeeded", "startTime": "2022-12-14T06:31:24.6835926Z", "endTime": + "2022-12-14T06:31:27.5129351Z", "properties": {"Message": "{\"ConnectionName\":\"testconn25\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T06:31:25.9448665Z\",\"ReportEndTimeUtc\":\"2022-12-14T06:31:26.3898058Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn25", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T06:31:25.9448665Z", + "reportEndTimeUtc": "2022-12-14T06:31:26.3898058Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1526' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:31:56 GMT + etag: + - '"0f000ccb-0000-0100-0000-63996dbf0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f8ab293b-4923-4e71-99a2-488c544e477b*D468C59E92DE830B8BCC08D1E36A6B456F4935E1DCF219725A9CD56B334CD857?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f8ab293b-4923-4e71-99a2-488c544e477b*D468C59E92DE830B8BCC08D1E36A6B456F4935E1DCF219725A9CD56B334CD857", + "name": "f8ab293b-4923-4e71-99a2-488c544e477b*D468C59E92DE830B8BCC08D1E36A6B456F4935E1DCF219725A9CD56B334CD857", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn25", + "status": "Succeeded", "startTime": "2022-12-14T06:31:24.6835926Z", "endTime": + "2022-12-14T06:31:27.5129351Z", "properties": {"Message": "{\"ConnectionName\":\"testconn25\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T06:31:25.9448665Z\",\"ReportEndTimeUtc\":\"2022-12-14T06:31:26.3898058Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn25", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T06:31:25.9448665Z", + "reportEndTimeUtc": "2022-12-14T06:31:26.3898058Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1526' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:31:56 GMT + etag: + - '"0f000ccb-0000-0100-0000-63996dbf0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn25?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn25", + "name": "testconn25", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:30:05.7017223Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:30:45.6802506Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '987' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:31:57 GMT + etag: + - '"5b0027cc-0000-0100-0000-63996d990000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn25?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Dec 2022 06:32:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_storagequeue_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_storagequeue_e2e.yaml new file mode 100644 index 00000000000..67ea9a0da67 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_storagequeue_e2e.yaml @@ -0,0 +1,891 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create storage-queue + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:32:06 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default"}, + "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create storage-queue + Connection: + - keep-alive + Content-Length: + - '386' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn24?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn24", + "name": "testconn24", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:32:07.1646363Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:32:07.1646363Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1e286e75-ac1e-4c0c-b858-612f4e0247e0*553E86A5476D25B8016BA7247AB6793D0A6EC6189DB38AADC5C4DF47DF2AE023?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1152' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:32:07 GMT + etag: + - '"5c00cd0b-0000-0100-0000-63996de80000"' + expires: + - '-1' + mise-correlation-id: + - d63d4df5-5299-4525-9047-338f2e5fd398 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create storage-queue + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1e286e75-ac1e-4c0c-b858-612f4e0247e0*553E86A5476D25B8016BA7247AB6793D0A6EC6189DB38AADC5C4DF47DF2AE023?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1e286e75-ac1e-4c0c-b858-612f4e0247e0*553E86A5476D25B8016BA7247AB6793D0A6EC6189DB38AADC5C4DF47DF2AE023", + "name": "1e286e75-ac1e-4c0c-b858-612f4e0247e0*553E86A5476D25B8016BA7247AB6793D0A6EC6189DB38AADC5C4DF47DF2AE023", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn24", + "status": "Succeeded", "startTime": "2022-12-14T06:32:08.1834844Z", "endTime": + "2022-12-14T06:32:13.9154741Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '675' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:32:39 GMT + etag: + - '"0f00aecb-0000-0100-0000-63996ded0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create storage-queue + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn24?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn24", + "name": "testconn24", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:32:07.1646363Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:32:07.1646363Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '988' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:32:39 GMT + etag: + - '"5c008410-0000-0100-0000-63996ded0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:32:47 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: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn24", + "name": "testconn24", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:32:07.1646363Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:32:07.1646363Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1001' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:32:49 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update storage-queue + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn24?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn24", + "name": "testconn24", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:32:07.1646363Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:32:07.1646363Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '988' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:32:50 GMT + etag: + - '"5c008410-0000-0100-0000-63996ded0000"' + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default"}, + "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update storage-queue + Connection: + - keep-alive + Content-Length: + - '443' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn24?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn24", + "name": "testconn24", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:32:07.1646363Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:32:51.7441857Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a44421b4-b1bc-423e-8c7b-5de5b8b590cf*553E86A5476D25B8016BA7247AB6793D0A6EC6189DB38AADC5C4DF47DF2AE023?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1152' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:32:51 GMT + etag: + - '"5c00c72b-0000-0100-0000-63996e140000"' + expires: + - '-1' + mise-correlation-id: + - 411e0369-9cd0-4c20-9b02-89047dcb9e12 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update storage-queue + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a44421b4-b1bc-423e-8c7b-5de5b8b590cf*553E86A5476D25B8016BA7247AB6793D0A6EC6189DB38AADC5C4DF47DF2AE023?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a44421b4-b1bc-423e-8c7b-5de5b8b590cf*553E86A5476D25B8016BA7247AB6793D0A6EC6189DB38AADC5C4DF47DF2AE023", + "name": "a44421b4-b1bc-423e-8c7b-5de5b8b590cf*553E86A5476D25B8016BA7247AB6793D0A6EC6189DB38AADC5C4DF47DF2AE023", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn24", + "status": "Succeeded", "startTime": "2022-12-14T06:32:51.9535739Z", "endTime": + "2022-12-14T06:32:55.6589732Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '675' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:33:22 GMT + etag: + - '"0f0038cc-0000-0100-0000-63996e170000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update storage-queue + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn24?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn24", + "name": "testconn24", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:32:07.1646363Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:32:51.7441857Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '988' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:33:23 GMT + etag: + - '"5c00fe2b-0000-0100-0000-63996e170000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn24/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_STORAGEQUEUE_CONNECTIONSTRING", + "value": "hidden"}]}' + headers: + cache-control: + - no-cache + content-length: + - '88' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:33:30 GMT + expires: + - '-1' + mise-correlation-id: + - a61e0867-3680-4d4c-9f1a-d0a440cd768d + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn24/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ccf1dddc-e9c1-48ec-b791-1ee0d38d3b3c*553E86A5476D25B8016BA7247AB6793D0A6EC6189DB38AADC5C4DF47DF2AE023?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:33:32 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ccf1dddc-e9c1-48ec-b791-1ee0d38d3b3c*553E86A5476D25B8016BA7247AB6793D0A6EC6189DB38AADC5C4DF47DF2AE023?api-version=2021-01-01-privatepreview + mise-correlation-id: + - b6f57070-d15a-4bc7-8e21-d9ac4c9a519c + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ccf1dddc-e9c1-48ec-b791-1ee0d38d3b3c*553E86A5476D25B8016BA7247AB6793D0A6EC6189DB38AADC5C4DF47DF2AE023?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ccf1dddc-e9c1-48ec-b791-1ee0d38d3b3c*553E86A5476D25B8016BA7247AB6793D0A6EC6189DB38AADC5C4DF47DF2AE023", + "name": "ccf1dddc-e9c1-48ec-b791-1ee0d38d3b3c*553E86A5476D25B8016BA7247AB6793D0A6EC6189DB38AADC5C4DF47DF2AE023", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn24", + "status": "Succeeded", "startTime": "2022-12-14T06:33:32.6460154Z", "endTime": + "2022-12-14T06:33:35.8004953Z", "properties": {"Message": "{\"ConnectionName\":\"testconn24\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T06:33:34.1935072Z\",\"ReportEndTimeUtc\":\"2022-12-14T06:33:34.5325666Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn24", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T06:33:34.1935072Z", + "reportEndTimeUtc": "2022-12-14T06:33:34.5325666Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1526' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:34:03 GMT + etag: + - '"0f00c5cc-0000-0100-0000-63996e3f0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ccf1dddc-e9c1-48ec-b791-1ee0d38d3b3c*553E86A5476D25B8016BA7247AB6793D0A6EC6189DB38AADC5C4DF47DF2AE023?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ccf1dddc-e9c1-48ec-b791-1ee0d38d3b3c*553E86A5476D25B8016BA7247AB6793D0A6EC6189DB38AADC5C4DF47DF2AE023", + "name": "ccf1dddc-e9c1-48ec-b791-1ee0d38d3b3c*553E86A5476D25B8016BA7247AB6793D0A6EC6189DB38AADC5C4DF47DF2AE023", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn24", + "status": "Succeeded", "startTime": "2022-12-14T06:33:32.6460154Z", "endTime": + "2022-12-14T06:33:35.8004953Z", "properties": {"Message": "{\"ConnectionName\":\"testconn24\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T06:33:34.1935072Z\",\"ReportEndTimeUtc\":\"2022-12-14T06:33:34.5325666Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn24", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T06:33:34.1935072Z", + "reportEndTimeUtc": "2022-12-14T06:33:34.5325666Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1526' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:34:04 GMT + etag: + - '"0f00c5cc-0000-0100-0000-63996e3f0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn24?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn24", + "name": "testconn24", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:32:07.1646363Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:32:51.7441857Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '988' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:34:05 GMT + etag: + - '"5c00fe2b-0000-0100-0000-63996e170000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn24?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Dec 2022 06:34:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_storagetable_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_storagetable_e2e.yaml new file mode 100644 index 00000000000..053e39ea44f --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_storagetable_e2e.yaml @@ -0,0 +1,891 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create storage-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:34:13 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default"}, + "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create storage-table + Connection: + - keep-alive + Content-Length: + - '386' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn26?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn26", + "name": "testconn26", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:34:15.2911794Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:34:15.2911794Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/34f944a6-f2e5-41f9-b920-cf5e6fa4a4d2*CA2873931AFABA266BFF5F895F9F6CD7B82F1AB36AE9A2CD2FE1B4388C8B1775?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1152' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:34:16 GMT + etag: + - '"5c00cd31-0000-0100-0000-63996e680000"' + expires: + - '-1' + mise-correlation-id: + - 0c8b4c41-b6a0-4c3e-8be6-10198ac284b1 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create storage-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/34f944a6-f2e5-41f9-b920-cf5e6fa4a4d2*CA2873931AFABA266BFF5F895F9F6CD7B82F1AB36AE9A2CD2FE1B4388C8B1775?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/34f944a6-f2e5-41f9-b920-cf5e6fa4a4d2*CA2873931AFABA266BFF5F895F9F6CD7B82F1AB36AE9A2CD2FE1B4388C8B1775", + "name": "34f944a6-f2e5-41f9-b920-cf5e6fa4a4d2*CA2873931AFABA266BFF5F895F9F6CD7B82F1AB36AE9A2CD2FE1B4388C8B1775", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn26", + "status": "Succeeded", "startTime": "2022-12-14T06:34:16.2487847Z", "endTime": + "2022-12-14T06:34:20.1909136Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '675' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:34:46 GMT + etag: + - '"0f0061cd-0000-0100-0000-63996e6c0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create storage-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn26?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn26", + "name": "testconn26", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:34:15.2911794Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:34:15.2911794Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '988' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:34:48 GMT + etag: + - '"5c004632-0000-0100-0000-63996e6c0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:34:51 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: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn26", + "name": "testconn26", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:34:15.2911794Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:34:15.2911794Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1001' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:34:53 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update storage-table + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn26?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn26", + "name": "testconn26", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:34:15.2911794Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:34:15.2911794Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '988' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:34:54 GMT + etag: + - '"5c004632-0000-0100-0000-63996e6c0000"' + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default"}, + "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update storage-table + Connection: + - keep-alive + Content-Length: + - '443' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn26?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn26", + "name": "testconn26", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:34:15.2911794Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:34:55.8345383Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6bab9dd1-a268-4fbf-8144-e1b60e557618*CA2873931AFABA266BFF5F895F9F6CD7B82F1AB36AE9A2CD2FE1B4388C8B1775?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1152' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:34:55 GMT + etag: + - '"5c00dd33-0000-0100-0000-63996e900000"' + expires: + - '-1' + mise-correlation-id: + - 819cbb31-b740-4f34-8435-1c7095295a2c + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update storage-table + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6bab9dd1-a268-4fbf-8144-e1b60e557618*CA2873931AFABA266BFF5F895F9F6CD7B82F1AB36AE9A2CD2FE1B4388C8B1775?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6bab9dd1-a268-4fbf-8144-e1b60e557618*CA2873931AFABA266BFF5F895F9F6CD7B82F1AB36AE9A2CD2FE1B4388C8B1775", + "name": "6bab9dd1-a268-4fbf-8144-e1b60e557618*CA2873931AFABA266BFF5F895F9F6CD7B82F1AB36AE9A2CD2FE1B4388C8B1775", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn26", + "status": "Succeeded", "startTime": "2022-12-14T06:34:56.0930091Z", "endTime": + "2022-12-14T06:34:59.479863Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '674' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:35:27 GMT + etag: + - '"0f00f0cd-0000-0100-0000-63996e930000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update storage-table + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn26?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn26", + "name": "testconn26", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:34:15.2911794Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:34:55.8345383Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '988' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:35:27 GMT + etag: + - '"5c00df33-0000-0100-0000-63996e930000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn26/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_STORAGETABLE_CONNECTIONSTRING", + "value": "hidden"}]}' + headers: + cache-control: + - no-cache + content-length: + - '88' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:35:33 GMT + expires: + - '-1' + mise-correlation-id: + - deb76873-88d9-438e-ba8e-a343b8c9a686 + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn26/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a61d11c9-167e-4287-9b36-21b75703aa4b*CA2873931AFABA266BFF5F895F9F6CD7B82F1AB36AE9A2CD2FE1B4388C8B1775?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:35:35 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a61d11c9-167e-4287-9b36-21b75703aa4b*CA2873931AFABA266BFF5F895F9F6CD7B82F1AB36AE9A2CD2FE1B4388C8B1775?api-version=2021-01-01-privatepreview + mise-correlation-id: + - 481d0330-7932-47c8-9ab0-c141d1dbc42b + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1193' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a61d11c9-167e-4287-9b36-21b75703aa4b*CA2873931AFABA266BFF5F895F9F6CD7B82F1AB36AE9A2CD2FE1B4388C8B1775?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a61d11c9-167e-4287-9b36-21b75703aa4b*CA2873931AFABA266BFF5F895F9F6CD7B82F1AB36AE9A2CD2FE1B4388C8B1775", + "name": "a61d11c9-167e-4287-9b36-21b75703aa4b*CA2873931AFABA266BFF5F895F9F6CD7B82F1AB36AE9A2CD2FE1B4388C8B1775", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn26", + "status": "Succeeded", "startTime": "2022-12-14T06:35:35.6531468Z", "endTime": + "2022-12-14T06:35:38.5334935Z", "properties": {"Message": "{\"ConnectionName\":\"testconn26\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T06:35:36.955117Z\",\"ReportEndTimeUtc\":\"2022-12-14T06:35:37.4112135Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn26", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T06:35:36.955117Z", + "reportEndTimeUtc": "2022-12-14T06:35:37.4112135Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1524' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:36:06 GMT + etag: + - '"0f0089ce-0000-0100-0000-63996eba0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a61d11c9-167e-4287-9b36-21b75703aa4b*CA2873931AFABA266BFF5F895F9F6CD7B82F1AB36AE9A2CD2FE1B4388C8B1775?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a61d11c9-167e-4287-9b36-21b75703aa4b*CA2873931AFABA266BFF5F895F9F6CD7B82F1AB36AE9A2CD2FE1B4388C8B1775", + "name": "a61d11c9-167e-4287-9b36-21b75703aa4b*CA2873931AFABA266BFF5F895F9F6CD7B82F1AB36AE9A2CD2FE1B4388C8B1775", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn26", + "status": "Succeeded", "startTime": "2022-12-14T06:35:35.6531468Z", "endTime": + "2022-12-14T06:35:38.5334935Z", "properties": {"Message": "{\"ConnectionName\":\"testconn26\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T06:35:36.955117Z\",\"ReportEndTimeUtc\":\"2022-12-14T06:35:37.4112135Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn26", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T06:35:36.955117Z", + "reportEndTimeUtc": "2022-12-14T06:35:37.4112135Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1524' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:36:06 GMT + etag: + - '"0f0089ce-0000-0100-0000-63996eba0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn26?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn26", + "name": "testconn26", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:34:15.2911794Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:34:55.8345383Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '988' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:36:08 GMT + etag: + - '"5c00df33-0000-0100-0000-63996e930000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn26?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Dec 2022 06:36:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_webpubsub_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_webpubsub_e2e.yaml new file mode 100644 index 00000000000..b966e2bc19c --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_webpubsub_e2e.yaml @@ -0,0 +1,901 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create webpubsub + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:36:15 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub"}, + "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create webpubsub + Connection: + - keep-alive + Content-Length: + - '368' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn10?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn10", + "name": "testconn10", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:36:17.6903039Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:36:17.6903039Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/92474690-567a-4156-aa06-3aa5afb025d7*74A4E3D8B556180CA81DD5E16D5EE7907ACA0131C5FF0A234DB604D830166D26?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1134' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:36:17 GMT + etag: + - '"5c002c36-0000-0100-0000-63996ee20000"' + expires: + - '-1' + mise-correlation-id: + - 00fd89d0-8e95-4184-8777-3c4596c35e83 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create webpubsub + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/92474690-567a-4156-aa06-3aa5afb025d7*74A4E3D8B556180CA81DD5E16D5EE7907ACA0131C5FF0A234DB604D830166D26?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/92474690-567a-4156-aa06-3aa5afb025d7*74A4E3D8B556180CA81DD5E16D5EE7907ACA0131C5FF0A234DB604D830166D26", + "name": "92474690-567a-4156-aa06-3aa5afb025d7*74A4E3D8B556180CA81DD5E16D5EE7907ACA0131C5FF0A234DB604D830166D26", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn10", + "status": "Succeeded", "startTime": "2022-12-14T06:36:18.5493113Z", "endTime": + "2022-12-14T06:36:22.4905532Z", "properties": {"Message": "Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource."}}' + headers: + cache-control: + - no-cache + content-length: + - '798' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:36:49 GMT + etag: + - '"0f0021cf-0000-0100-0000-63996ee60000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create webpubsub + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn10?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn10", + "name": "testconn10", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:36:17.6903039Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:36:17.6903039Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '970' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:36:49 GMT + etag: + - '"5c006736-0000-0100-0000-63996ee60000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", + "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", + "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '275' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:36:53 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: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn10", + "name": "testconn10", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:36:17.6903039Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:36:17.6903039Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '983' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:36: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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update webpubsub + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn10?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn10", + "name": "testconn10", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:36:17.6903039Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:36:17.6903039Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '970' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:36:56 GMT + etag: + - '"5c006736-0000-0100-0000-63996ee60000"' + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub"}, + "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update webpubsub + Connection: + - keep-alive + Content-Length: + - '425' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn10?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn10", + "name": "testconn10", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:36:17.6903039Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:36:57.8609506Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7ff876c8-2df0-4669-892a-8a8695e9b48e*74A4E3D8B556180CA81DD5E16D5EE7907ACA0131C5FF0A234DB604D830166D26?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1134' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:36:57 GMT + etag: + - '"5c002e39-0000-0100-0000-63996f0a0000"' + expires: + - '-1' + mise-correlation-id: + - 09564590-680b-4711-aa4f-3cc11c799c92 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update webpubsub + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7ff876c8-2df0-4669-892a-8a8695e9b48e*74A4E3D8B556180CA81DD5E16D5EE7907ACA0131C5FF0A234DB604D830166D26?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7ff876c8-2df0-4669-892a-8a8695e9b48e*74A4E3D8B556180CA81DD5E16D5EE7907ACA0131C5FF0A234DB604D830166D26", + "name": "7ff876c8-2df0-4669-892a-8a8695e9b48e*74A4E3D8B556180CA81DD5E16D5EE7907ACA0131C5FF0A234DB604D830166D26", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn10", + "status": "Succeeded", "startTime": "2022-12-14T06:36:58.0312487Z", "endTime": + "2022-12-14T06:37:01.0761421Z", "properties": {"Message": "Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource."}}' + headers: + cache-control: + - no-cache + content-length: + - '798' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:37:28 GMT + etag: + - '"0f00cfcf-0000-0100-0000-63996f0d0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update webpubsub + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn10?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn10", + "name": "testconn10", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:36:17.6903039Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:36:57.8609506Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '970' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:37:28 GMT + etag: + - '"5c005239-0000-0100-0000-63996f0d0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn10/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_WEBPUBSUB_CONNECTIONSTRING", "value": + "hidden"}]}' + headers: + cache-control: + - no-cache + content-length: + - '85' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:37:35 GMT + expires: + - '-1' + mise-correlation-id: + - 1a47bfda-4f9e-40f2-b996-dc4d8d3b4056 + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn10/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/95f81f02-7397-4d30-b6e2-395ac889f76b*74A4E3D8B556180CA81DD5E16D5EE7907ACA0131C5FF0A234DB604D830166D26?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:37:36 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/95f81f02-7397-4d30-b6e2-395ac889f76b*74A4E3D8B556180CA81DD5E16D5EE7907ACA0131C5FF0A234DB604D830166D26?api-version=2021-01-01-privatepreview + mise-correlation-id: + - 062fe2cc-b70e-4328-be53-600aa1ca3b8e + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/95f81f02-7397-4d30-b6e2-395ac889f76b*74A4E3D8B556180CA81DD5E16D5EE7907ACA0131C5FF0A234DB604D830166D26?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/95f81f02-7397-4d30-b6e2-395ac889f76b*74A4E3D8B556180CA81DD5E16D5EE7907ACA0131C5FF0A234DB604D830166D26", + "name": "95f81f02-7397-4d30-b6e2-395ac889f76b*74A4E3D8B556180CA81DD5E16D5EE7907ACA0131C5FF0A234DB604D830166D26", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn10", + "status": "Succeeded", "startTime": "2022-12-14T06:37:36.5601371Z", "endTime": + "2022-12-14T06:37:39.7045775Z", "properties": {"Message": "{\"ConnectionName\":\"testconn10\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target''s network access is validated\",\"Description\":\"Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource.\",\"Result\":2}],\"ReportStartTimeUtc\":\"2022-12-14T06:37:37.9509549Z\",\"ReportEndTimeUtc\":\"2022-12-14T06:37:38.3264772Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn10", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network access is validated", "description": + "Deny public network access is set to yes. Please confirm you are using private + endpoint connection to access target resource.", "result": "warning"}], "reportStartTimeUtc": + "2022-12-14T06:37:37.9509549Z", "reportEndTimeUtc": "2022-12-14T06:37:38.3264772Z", + "sourceId": null, "targetId": null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1774' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:38:07 GMT + etag: + - '"0f0058d0-0000-0100-0000-63996f330000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/95f81f02-7397-4d30-b6e2-395ac889f76b*74A4E3D8B556180CA81DD5E16D5EE7907ACA0131C5FF0A234DB604D830166D26?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/95f81f02-7397-4d30-b6e2-395ac889f76b*74A4E3D8B556180CA81DD5E16D5EE7907ACA0131C5FF0A234DB604D830166D26", + "name": "95f81f02-7397-4d30-b6e2-395ac889f76b*74A4E3D8B556180CA81DD5E16D5EE7907ACA0131C5FF0A234DB604D830166D26", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn10", + "status": "Succeeded", "startTime": "2022-12-14T06:37:36.5601371Z", "endTime": + "2022-12-14T06:37:39.7045775Z", "properties": {"Message": "{\"ConnectionName\":\"testconn10\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target''s network access is validated\",\"Description\":\"Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource.\",\"Result\":2}],\"ReportStartTimeUtc\":\"2022-12-14T06:37:37.9509549Z\",\"ReportEndTimeUtc\":\"2022-12-14T06:37:38.3264772Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn10", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network access is validated", "description": + "Deny public network access is set to yes. Please confirm you are using private + endpoint connection to access target resource.", "result": "warning"}], "reportStartTimeUtc": + "2022-12-14T06:37:37.9509549Z", "reportEndTimeUtc": "2022-12-14T06:37:38.3264772Z", + "sourceId": null, "targetId": null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1774' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:38:07 GMT + etag: + - '"0f0058d0-0000-0100-0000-63996f330000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn10?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn10", + "name": "testconn10", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-14T06:36:17.6903039Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T06:36:57.8609506Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '970' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 06:38:09 GMT + etag: + - '"5c005239-0000-0100-0000-63996f0d0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn10?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 14 Dec 2022 06:38:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_local_connection_scenario.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_local_connection_scenario.py new file mode 100644 index 00000000000..465a6214801 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_local_connection_scenario.py @@ -0,0 +1,1204 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- + +import unittest +from azure.cli.core.commands.client_factory import get_subscription_id +from azure.cli.testsdk import ( + ScenarioTest, + record_only, + live_only +) +from azure.cli.command_modules.serviceconnector._resource_config import ( + RESOURCE, + SOURCE_RESOURCES, + TARGET_RESOURCES +) +from azure.cli.testsdk.preparers import ResourceGroupPreparer +from ._test_utils import CredentialReplacer +resource_group = 'servicelinker-cli-test-group' + + +class LocalConnectionScenarioTest(ScenarioTest): + + def __init__(self, method_name): + super(LocalConnectionScenarioTest, self).__init__( + method_name, + recording_processors=[CredentialReplacer()] + ) + for conn in self.cmd('connection list -g {}'.format(resource_group)).get_output_in_json(): + self.cmd('connection delete --id {} --yes'.format(conn.get('id'))) + + @record_only() + def test_local_appconfig_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-linux-group', + 'config_store': 'servicelinker-app-configuration' + }) + + # prepare params + name = 'testconn1' + target_id = TARGET_RESOURCES.get( + RESOURCE.AppConfig).format(**self.kwargs) + + # create connection + self.cmd('connection create appconfig -g {} --connection {} --target-id {} ' + '--secret --client-type python'.format(resource_group, name, target_id)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'secret'), + self.check('[0].clientType', 'python') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update appconfig --id {} --client-type dotnet'.format(connection_id), + checks=[self.check('clientType', 'dotnet')]) + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @record_only() + @unittest.skip('') + def test_local_cosmoscassandra_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-win-group', + 'account': 'servicelinker-cassandra-cosmos1', + 'key_space': 'coredb' + }) + + # prepare params + name = 'testconn2' + target_id = TARGET_RESOURCES.get( + RESOURCE.CosmosCassandra).format(**self.kwargs) + + # create connection + self.cmd('connection create cosmos-cassandra -g {} --connection {} --target-id {} ' + '--secret --client-type python'.format(resource_group, name, target_id)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'secret'), + self.check('[0].clientType', 'python') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update cosmos-cassandra --id {} --client-type dotnet'.format(connection_id), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @record_only() + @unittest.skip('') + def test_local_cosmosgremlin_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-win-group', + 'account': 'servicelinker-gremlin-cosmos', + 'database': 'coreDB', + 'graph': 'MyItem' + }) + + # prepare params + name = 'testconn3' + target_id = TARGET_RESOURCES.get( + RESOURCE.CosmosGremlin).format(**self.kwargs) + + # create connection + self.cmd('connection create cosmos-gremlin -g {} --connection {} --target-id {} ' + '--secret --client-type python'.format(resource_group, name, target_id)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'secret'), + self.check('[0].clientType', 'python') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update cosmos-gremlin --id {} --client-type dotnet'.format(connection_id), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @record_only() + def test_local_cosmosmongo_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-win-group', + 'account': 'servicelinker-mongo-cosmos', + 'database': 'coreDB' + }) + + # prepare params + name = 'testconn4' + target_id = TARGET_RESOURCES.get( + RESOURCE.CosmosMongo).format(**self.kwargs) + + # create connection + self.cmd('connection create cosmos-mongo -g {} --connection {} --target-id {} ' + '--secret --client-type dotnet'.format(resource_group, name, target_id)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'secret'), + self.check('[0].clientType', 'dotnet') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update cosmos-mongo --id {} --client-type dotnet'.format(connection_id), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @record_only() + @unittest.skip('') + def test_local_cosmossql_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-win-group', + 'account': 'servicelinker-sql-cosmos', + 'database': 'coreDB' + }) + + # prepare params + name = 'testconn5' + target_id = TARGET_RESOURCES.get( + RESOURCE.CosmosSql).format(**self.kwargs) + + # create connection + self.cmd('connection create cosmos-sql -g {} --connection {} --target-id {} ' + '--secret --client-type python'.format(resource_group, name, target_id)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'secret'), + self.check('[0].clientType', 'python') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update cosmos-sql --id {} --client-type dotnet'.format(connection_id), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @record_only() # @unittest.skip('') + def test_local_cosmostable_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-win-group', + 'account': 'servicelinker-table-cosmos', + 'table': 'MyItem' + }) + + # prepare params + name = 'testconn6' + target_id = TARGET_RESOURCES.get( + RESOURCE.CosmosTable).format(**self.kwargs) + + # create connection + self.cmd('connection create cosmos-table -g {} --connection {} --target-id {} ' + '--secret --client-type python'.format(resource_group, name, target_id)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'secret'), + self.check('[0].clientType', 'python') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update cosmos-table --id {} --client-type dotnet'.format(connection_id), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @record_only() + + def test_local_eventhub_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-linux-group', + 'namespace': 'servicelinkertesteventhub' + }) + + # prepare params + name = 'testconn7' + target_id = TARGET_RESOURCES.get( + RESOURCE.EventHub).format(**self.kwargs) + + # create connection + self.cmd('connection create eventhub -g {} --connection {} --target-id {} ' + '--secret --client-type python'.format(resource_group, name, target_id)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'secret'), + self.check('[0].clientType', 'python') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update eventhub --id {} --client-type dotnet'.format(connection_id), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @record_only() + def test_local_servicebus_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-linux-group', + 'namespace': 'servicelinkertestservicebus' + }) + + # prepare params + name = 'testconn8' + target_id = TARGET_RESOURCES.get( + RESOURCE.ServiceBus).format(**self.kwargs) + + # create connection + self.cmd('connection create servicebus -g {} --connection {} --target-id {} ' + '--secret --client-type python'.format(resource_group, name, target_id)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'secret'), + self.check('[0].clientType', 'python') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update servicebus --id {} --client-type dotnet'.format(connection_id), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @record_only() + def test_local_signalr_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-linux-group', + 'signalr': 'servicelinker-signalr' + }) + + # prepare params + name = 'testconn9' + target_id = TARGET_RESOURCES.get( + RESOURCE.SignalR).format(**self.kwargs) + + # create connection + self.cmd('connection create signalr -g {} --connection {} --target-id {} ' + '--secret --client-type dotnet'.format(resource_group, name, target_id)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'secret'), + self.check('[0].clientType', 'dotnet') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update signalr --id {} --client-type dotnet'.format(connection_id), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @record_only() + def test_local_webpubsub_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-linux-group', + 'webpubsub': 'servicelinker-webpubsub' + }) + + # prepare params + name = 'testconn10' + target_id = TARGET_RESOURCES.get( + RESOURCE.WebPubSub).format(**self.kwargs) + + # create connection + self.cmd('connection create webpubsub -g {} --connection {} --target-id {} ' + '--secret --client-type dotnet'.format(resource_group, name, target_id)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'secret'), + self.check('[0].clientType', 'dotnet') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update webpubsub --id {} --client-type dotnet'.format(connection_id), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @record_only() + def test_local_keyvault_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-linux-group', + 'vault': 'servicelinker-test-kv' + }) + + # prepare params + name = 'testconn11' + target_id = TARGET_RESOURCES.get( + RESOURCE.KeyVault).format(**self.kwargs) + + # create connection + self.cmd('connection create keyvault -g {} --connection {} --target-id {} ' + '--client-type python'.format(resource_group, name, target_id)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'userAccount'), + self.check('[0].clientType', 'python') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update keyvault --id {} --client-type dotnet'.format(connection_id), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @record_only() + def test_local_postgresflexible_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-linux-group', + 'server': 'servicelinker-flexiblepostgresql', + 'database': 'test' + }) + + # prepare password + user = 'servicelinker' + password = self.cmd('keyvault secret show --vault-name cupertino-kv-test -n TestDbPassword')\ + .get_output_in_json().get('value') + + # prepare params + name = 'testconn12' + target_id = TARGET_RESOURCES.get( + RESOURCE.PostgresFlexible).format(**self.kwargs) + + # create connection + self.cmd('connection create postgres-flexible -g {} --connection {} --target-id {} ' + '--secret name={} secret={} --client-type python'.format(resource_group, name, target_id, user, password)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'secret'), + self.check('[0].clientType', 'python') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update postgres-flexible --id {} --client-type dotnet ' + '--secret name={} secret={}'.format( + connection_id, user, password), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @record_only() + def test_local_redis_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-linux-group', + 'server': 'servicelinker-redis', + 'database': '0' + }) + + # prepare params + name = 'testconn13' + target_id = TARGET_RESOURCES.get(RESOURCE.Redis).format(**self.kwargs) + + # create connection + self.cmd('connection create redis -g {} --connection {} --target-id {} ' + '--secret --client-type python'.format(resource_group, name, target_id)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'secret'), + self.check('[0].clientType', 'python') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update redis --id {} --client-type dotnet'.format(connection_id), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @record_only() + def test_local_redisenterprise_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-linux-group', + 'server': 'servicelinker-redis-enterprise', + 'database': 'default' + }) + + # prepare params + name = 'testconn14' + target_id = TARGET_RESOURCES.get( + RESOURCE.RedisEnterprise).format(**self.kwargs) + + # create connection + self.cmd('connection create redis-enterprise -g {} --connection {} --target-id {} ' + '--secret --client-type python'.format(resource_group, name, target_id)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'secret'), + self.check('[0].clientType', 'python') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update redis-enterprise --id {} --client-type dotnet'.format(connection_id), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @record_only() + def test_local_mysql_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-linux-group', + 'server': 'servicelinker-mysql', + 'database': 'mysqlDB' + }) + + # prepare password + user = 'servicelinker' + password = self.cmd('keyvault secret show --vault-name cupertino-kv-test -n TestDbPassword')\ + .get_output_in_json().get('value') + + # prepare params + name = 'testconn15' + target_id = TARGET_RESOURCES.get(RESOURCE.Mysql).format(**self.kwargs) + + # create connection + self.cmd('connection create mysql -g {} --connection {} --target-id {} ' + '--secret name={} secret={} --client-type python'.format(resource_group, name, target_id, user, password)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'secret'), + self.check('[0].clientType', 'python') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update mysql --id {} --client-type dotnet ' + '--secret name={} secret={}'.format( + connection_id, user, password), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @record_only() + def test_local_mysqlflexible_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-linux-group', + 'server': 'servicelinker-flexible-mysql', + 'database': 'mysqlDB' + }) + + # prepare password + user = 'servicelinker' + password = self.cmd('keyvault secret show --vault-name cupertino-kv-test -n TestDbPassword')\ + .get_output_in_json().get('value') + keyvaultUri = "https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword" + + # prepare params + name = 'testconn16' + target_id = TARGET_RESOURCES.get( + RESOURCE.MysqlFlexible).format(**self.kwargs) + + # create connection + self.cmd('connection create mysql-flexible -g {} --connection {} --target-id {} ' + '--secret name={} secret={} --client-type python'.format(resource_group, name, target_id, user, password)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'secret'), + self.check('[0].clientType', 'python') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update mysql-flexible --id {} --client-type dotnet ' + '--secret name={} secret-uri={}'.format( + connection_id, user, keyvaultUri), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @record_only() + def test_local_postgres_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-linux-group', + 'server': 'servicelinker-postgresql', + 'database': 'test' + }) + + # prepare password + user = 'servicelinker' + password = self.cmd('keyvault secret show --vault-name cupertino-kv-test -n TestDbPassword')\ + .get_output_in_json().get('value') + + # prepare params + name = 'testconn17' + target_id = TARGET_RESOURCES.get( + RESOURCE.Postgres).format(**self.kwargs) + + # create connection + self.cmd('connection create postgres -g {} --connection {} --target-id {} ' + '--secret name={} secret={} --client-type python'.format(resource_group, name, target_id, user, password)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'secret'), + self.check('[0].clientType', 'python') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update postgres --id {} --client-type dotnet ' + '--secret name={} secret={}'.format( + connection_id, user, password), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @record_only() + def test_local_sql_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-linux-group', + 'server': 'servicelinker-sql', + 'database': 'handler-test' + }) + + # prepare password + user = 'servicelinker' + password = self.cmd('keyvault secret show --vault-name cupertino-kv-test -n TestDbPassword')\ + .get_output_in_json().get('value') + + # prepare params + name = 'testconn18' + target_id = TARGET_RESOURCES.get(RESOURCE.Sql).format(**self.kwargs) + + # create connection + self.cmd('connection create sql -g {} --connection {} --target-id {} ' + '--secret name={} secret={} --client-type python'.format(resource_group, name, target_id, user, password)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'secret'), + self.check('[0].clientType', 'python') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update sql --id {} --client-type dotnet ' + '--secret name={} secret={}'.format( + connection_id, user, password), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @record_only() + def test_local_storageblob_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-linux-group', + 'account': 'servicelinkerstorage' + }) + + # prepare params + name = 'testconn20' + + target_id = TARGET_RESOURCES.get( + RESOURCE.StorageBlob).format(**self.kwargs) + + # create connection + self.cmd('connection create storage-blob -g {} --connection {} --target-id {} ' + '--secret --client-type python'.format(resource_group, name, target_id)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'secret'), + self.check('[0].clientType', 'python') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update storage-blob -g {} --id {} --client-type dotnet'.format(resource_group, connection_id), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @live_only() + @unittest.skip('keyvault ref not supported') + def test_local_storageblob_keyvault_ref(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-linux-group', + 'account': 'servicelinkerstorage', + 'vault': 'servicelinker-kv-ref', + }) + + # prepare params + name = 'testconn21' + + target_id = TARGET_RESOURCES.get( + RESOURCE.StorageBlob).format(**self.kwargs) + keyvault_id = TARGET_RESOURCES.get( + RESOURCE.KeyVault).format(**self.kwargs) + + # create connection + id = self.cmd('connection create storage-blob -g {} --connection {} --target-id {} ' + '--secret --client-type python --vault-id {}'.format(resource_group, name, target_id, keyvault_id)).get_output_in_json().get('id') + + self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 2), + ] + ) + + self.cmd( + 'connection show --id {}'.format(id), + checks=[ + self.check('secretStore.keyVaultId', keyvault_id), + self.check('vNetSolution', None), + ] + ) + + # update connection + self.cmd('connection update storage-blob --id {} ' + '--secret'.format(id)) + + self.cmd( + 'connection show --id {}'.format(id), + checks=[ + self.check('secretStore.keyVaultId', keyvault_id), + ] + ) + + for conn in self.cmd('connection list -g {}'.format(resource_group)).get_output_in_json(): + self.cmd('connection delete --id {} --yes'.format(conn.get('id'))) + + @record_only() + def test_local_storagequeue_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-linux-group', + 'account': 'servicelinkerstorage' + }) + + # prepare params + name = 'testconn24' + + target_id = TARGET_RESOURCES.get( + RESOURCE.StorageQueue).format(**self.kwargs) + + # create connection + self.cmd('connection create storage-queue -g {} --connection {} --target-id {} ' + '--secret --client-type python'.format(resource_group, name, target_id)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'secret'), + self.check('[0].clientType', 'python') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update storage-queue --id {} --client-type dotnet'.format(connection_id), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @record_only() + def test_local_storagefile_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-linux-group', + 'account': 'servicelinkerstorage' + }) + + # prepare params + name = 'testconn25' + + target_id = TARGET_RESOURCES.get( + RESOURCE.StorageFile).format(**self.kwargs) + + # create connection + self.cmd('connection create storage-file -g {} --connection {} --target-id {} ' + '--secret --client-type python'.format(resource_group, name, target_id)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'secret'), + self.check('[0].clientType', 'python') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update storage-file --id {} --client-type dotnet'.format(connection_id), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @record_only() + def test_local_storagetable_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-linux-group', + 'account': 'servicelinkerstorage' + }) + + # prepare params + name = 'testconn26' + + target_id = TARGET_RESOURCES.get( + RESOURCE.StorageTable).format(**self.kwargs) + + # create connection + self.cmd('connection create storage-table -g {} --connection {} --target-id {} ' + '--secret --client-type python'.format(resource_group, name, target_id)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 1), + self.check('[0].authInfo.authType', 'secret'), + self.check('[0].clientType', 'python') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update storage-table --id {} --client-type dotnet'.format(connection_id), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @record_only() + def test_local_confluentkafka_e2e(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-linux-group', + }) + + # prepare params + name = 'testconn27' + + # create connection + self.cmd('connection create confluent-cloud -g {} --connection {} ' + '--bootstrap-server xxx.eastus.azure.confluent.cloud:9092 --kafka-key Name --kafka-secret Secret ' + '--schema-registry https://xxx.eastus.azure.confluent.cloud --schema-key Name --schema-secret Secret ' + '--client-type python'.format(resource_group, name)) + + # list connection + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 2), + # self.check('[0].clientType', 'python') + ] + ).get_output_in_json() + connection_id = connections[0].get('id') + + # update connection + self.cmd('connection update confluent-cloud --connection {} ' + '--client-type dotnet --kafka-secret Secret'.format(name), + checks=[self.check('clientType', 'dotnet')]) + + # generate configuration + self.cmd('connection generate-configuration --id {}'.format(connection_id)) + + # validate connection + self.cmd('connection validate --id {}'.format(connection_id)) + + # show connection + self.cmd('connection show --id {}'.format(connection_id)) + + # delete connection + self.cmd('connection delete --id {} --yes'.format(connection_id)) + + @unittest.skip('Keyvault reference not supported') + def test_local_confluentkafka_keyvault_ref(self): + self.kwargs.update({ + 'subscription': get_subscription_id(self.cli_ctx), + 'target_resource_group': 'servicelinker-test-linux-group', + 'vault': 'servicelinker-kv-ref', + }) + + # prepare params + name = 'testconn28' + + keyvault_id = TARGET_RESOURCES.get( + RESOURCE.KeyVault).format(**self.kwargs) + + # create connection + self.cmd('connection create confluent-cloud -g {} --connection {} ' + '--bootstrap-server xxx.eastus.azure.confluent.cloud:9092 --kafka-key Name --kafka-secret Secret ' + '--schema-registry https://xxx.eastus.azure.confluent.cloud --schema-key Name --schema-secret Secret ' + '--client-type python --vault-id {}'.format(resource_group, name, keyvault_id)) + + connections = self.cmd( + 'connection list -g {}'.format(resource_group), + checks=[ + self.check('length(@)', 3), + ] + ).get_output_in_json() + + id = connections[0].get('id') + + self.cmd( + 'connection show --id {}'.format(id), + checks=[ + self.check('secretStore.keyVaultId', keyvault_id), + ] + ) + + self.cmd( + 'connection show --id {}_schema'.format(id), + checks=[ + self.check('secretStore.keyVaultId', keyvault_id), + ] + ) + + # update connection + self.cmd('connection update confluent-cloud -g {} --connection {} ' + '--kafka-secret Secret'.format(resource_group, name)) + + self.cmd( + 'connection show --id {}'.format(id), + checks=[ + self.check('secretStore.keyVaultId', keyvault_id), + ] + ) + + for conn in self.cmd('connection list -g {}'.format(resource_group)).get_output_in_json(): + self.cmd('connection delete --id {} --yes'.format(conn.get('id'))) diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index 5fc6a0fbb48..d775335c711 100644 --- a/src/azure-cli/requirements.py3.Darwin.txt +++ b/src/azure-cli/requirements.py3.Darwin.txt @@ -76,7 +76,7 @@ azure-mgmt-security==2.0.0b1 azure-mgmt-servicebus==8.1.0 azure-mgmt-servicefabric==1.0.0 azure-mgmt-servicefabricmanagedclusters==1.0.0 -azure-mgmt-servicelinker==1.0.0 +azure-mgmt-servicelinker==1.2.0b1 azure-mgmt-sql==4.0.0b5 azure-mgmt-signalr==1.1.0 azure-mgmt-sqlvirtualmachine==1.0.0b4 @@ -124,6 +124,7 @@ PyGithub==1.55 PyJWT==2.4.0 PyMySQL==1.0.2 PyNaCl==1.5.0 +pyodbc==4.0.35 pyOpenSSL==19.0.0 python-dateutil==2.8.0 requests-oauthlib==1.2.0 diff --git a/src/azure-cli/requirements.py3.Linux.txt b/src/azure-cli/requirements.py3.Linux.txt index 0518d0d8f4b..d8c31ba09f1 100644 --- a/src/azure-cli/requirements.py3.Linux.txt +++ b/src/azure-cli/requirements.py3.Linux.txt @@ -76,7 +76,7 @@ azure-mgmt-security==2.0.0b1 azure-mgmt-servicebus==8.1.0 azure-mgmt-servicefabric==1.0.0 azure-mgmt-servicefabricmanagedclusters==1.0.0 -azure-mgmt-servicelinker==1.0.0 +azure-mgmt-servicelinker==1.2.0b1 azure-mgmt-sql==4.0.0b5 azure-mgmt-signalr==1.1.0 azure-mgmt-sqlvirtualmachine==1.0.0b4 @@ -125,6 +125,7 @@ PyGithub==1.55 PyJWT==2.4.0 PyMySQL==1.0.2 PyNaCl==1.5.0 +pyodbc==4.0.35 pyOpenSSL==19.0.0 python-dateutil==2.8.0 requests-oauthlib==1.2.0 diff --git a/src/azure-cli/requirements.py3.windows.txt b/src/azure-cli/requirements.py3.windows.txt index e73e4e11243..d814b68f9ae 100644 --- a/src/azure-cli/requirements.py3.windows.txt +++ b/src/azure-cli/requirements.py3.windows.txt @@ -76,7 +76,7 @@ azure-mgmt-security==2.0.0b1 azure-mgmt-servicebus==8.1.0 azure-mgmt-servicefabric==1.0.0 azure-mgmt-servicefabricmanagedclusters==1.0.0 -azure-mgmt-servicelinker==1.0.0 +azure-mgmt-servicelinker==1.2.0b1 azure-mgmt-sql==4.0.0b5 azure-mgmt-signalr==1.1.0 azure-mgmt-sqlvirtualmachine==1.0.0b4 @@ -125,6 +125,7 @@ PyGithub==1.55 PyJWT==2.4.0 PyMySQL==1.0.2 PyNaCl==1.5.0 +pyodbc==4.0.35 pyOpenSSL==19.0.0 python-dateutil==2.8.0 pywin32==302 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index 88d18fc9f28..010f089b983 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -119,7 +119,7 @@ 'azure-mgmt-security==2.0.0b1', 'azure-mgmt-servicebus~=8.1.0', 'azure-mgmt-servicefabricmanagedclusters~=1.0.0', - 'azure-mgmt-servicelinker==1.0.0', + 'azure-mgmt-servicelinker==1.2.0b1', 'azure-mgmt-servicefabric~=1.0.0', 'azure-mgmt-signalr==1.1.0', 'azure-mgmt-sqlvirtualmachine==1.0.0b4', @@ -145,6 +145,7 @@ 'PyGithub~=1.38', 'PyMySQL~=1.0.2', 'PyNaCl~=1.5.0', + 'pyodbc~=4.0.35', 'scp~=0.13.2', 'semver==2.13.0', 'six>=1.10.0', # six is still used by countless extensions From f05079e681d1c1ae10db9319ebf289c88dbd419c Mon Sep 17 00:00:00 2001 From: xiaofanzhou Date: Wed, 14 Dec 2022 20:32:05 +0800 Subject: [PATCH 02/19] recording test --- .../serviceconnector/_credential_free.py | 15 +- .../serviceconnector/_validators.py | 13 +- .../serviceconnector/action.py | 2 +- .../recordings/test_local_appconfig_e2e.yaml | 231 ++- .../test_local_cosmosmongo_e2e.yaml | 1841 ----------------- .../recordings/test_local_servicebus_e2e.yaml | 239 ++- .../recordings/test_webapp_appconfig_e2e.yaml | 435 ++-- .../test_webapp_confluentkafka_e2e.yaml | 494 +++-- ...st_webapp_confluentkafka_keyvault_ref.yaml | 706 ++++--- .../test_webapp_cosmoscassandra_e2e.yaml | 826 -------- .../test_webapp_cosmosgremlin_e2e.yaml | 826 -------- .../test_webapp_cosmosmongo_e2e.yaml | 824 -------- .../recordings/test_webapp_cosmossql_e2e.yaml | 824 -------- .../test_webapp_cosmostable_e2e.yaml | 824 -------- .../recordings/test_webapp_eventhub_e2e.yaml | 491 +++-- .../recordings/test_webapp_keyvault_e2e.yaml | 495 +++-- .../recordings/test_webapp_mysql_e2e.yaml | 561 +++-- .../test_webapp_mysqlflexible_e2e.yaml | 491 +++-- .../recordings/test_webapp_postgres_e2e.yaml | 459 ++-- .../test_webapp_postgresflexible_e2e.yaml | 464 +++-- .../recordings/test_webapp_redis_e2e.yaml | 411 ++-- .../test_webapp_redisenterprise_e2e.yaml | 406 ++-- .../test_webapp_servicebus_e2e.yaml | 539 +++-- .../recordings/test_webapp_signalr_e2e.yaml | 537 +++-- .../test_webapp_sql_connection_string.yaml | 293 ++- .../recordings/test_webapp_sql_e2e.yaml | 409 ++-- .../test_webapp_storageblob_e2e.yaml | 443 ++-- .../test_webapp_storageblob_keyvault_ref.yaml | 545 +++-- .../test_webapp_storageblob_vnet.yaml | 467 +++-- .../test_webapp_storageblob_vnet_pe.yaml | 449 ++-- .../test_webapp_storagefile_e2e.yaml | 411 ++-- .../test_webapp_storagequeue_e2e.yaml | 482 +++-- .../test_webapp_storagetable_e2e.yaml | 409 ++-- .../recordings/test_webapp_webpubsub_e2e.yaml | 499 +++-- .../latest/test_local_connection_scenario.py | 17 +- .../latest/test_webpp_connection_scenario.py | 9 +- 36 files changed, 7094 insertions(+), 10293 deletions(-) delete mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmosmongo_e2e.yaml delete mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmoscassandra_e2e.yaml delete mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmosgremlin_e2e.yaml delete mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmosmongo_e2e.yaml delete mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmossql_e2e.yaml delete mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmostable_e2e.yaml diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py index 31fe65bb943..dccf00e9d16 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py @@ -55,13 +55,14 @@ def enable_mi_for_db_linker(cmd, source_id, target_id, auth_info, client_type, c if target_handler is None: return - user_info = run_cli_cmd( - 'az ad user show --id {}'.format(target_handler.login_username)) - user_object_id = user_info.get('objectId') if user_info.get('objectId') is not None \ - else user_info.get('id') + user_object_id = auth_info.get('principal_id') + if user_object_id is None: + user_info = run_cli_cmd('az ad signed-in-user show') + user_object_id = user_info.get('objectId') if user_info.get( + 'objectId') else user_info.get('id') if user_object_id is None: raise Exception( - "No object id found for user {}".format(target_handler.login_username)) + "No object id for user {}".format(target_handler.login_username)) client_id = None if source_type == RESOURCE.Local: @@ -148,7 +149,7 @@ def get_auth_config(self, user_object_id): return { 'auth_type': self.auth_type, 'username': self.aad_username, - 'PrincipalId': user_object_id + 'principal_id': user_object_id } if self.auth_type == PasswordlessIdentity[AUTH_TYPE.SystemIdentity]: return { @@ -279,7 +280,7 @@ def get_connection_string(self): def get_create_query(self, client_id): return [ "SET aad_auth_validate_oids_in_tenant = OFF;", - # "DROP USER IF EXISTS '{}'@'%';".format(self.aad_username), + "DROP USER IF EXISTS '{}'@'%';".format(self.aad_username), "CREATE AADUSER '{}' IDENTIFIED BY '{}';".format( self.aad_username, client_id), "GRANT ALL PRIVILEGES ON `{}`.* TO '{}'@'%';".format( diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/_validators.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/_validators.py index 0abc6eed769..ceea553a345 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_validators.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_validators.py @@ -87,7 +87,7 @@ def get_resource_regex(resource): ''' regex = resource for item in re.findall(r'(\{[^\{\}]*\})', resource): - regex = regex.replace(item, '([^/]*)') + regex = regex.replace(item, '[^/]*') return regex @@ -238,7 +238,7 @@ def interactive_input(arg, hint): 'User Account object-id (--user-account object-id=): ') value = { 'auth_type': 'userAccount', - 'object_id': object_id + 'principal_id': object_id } cmd_value = 'object-id={}'.format(object_id) else: @@ -499,8 +499,11 @@ def validate_local_default_params(cmd, namespace): # pylint: disable=unused-arg if not is_valid_resource_id(namespace.id): raise InvalidArgumentValueError( 'Resource id is invalid: {}'.format(namespace.id)) - matched = re.match(get_resource_regex( - LOCAL_CONNECTION_RESOURCE.lower()), namespace.id) + resource = LOCAL_CONNECTION_RESOURCE.lower() + for item in re.findall(r'(\{[^\{\}]*\})', resource): + resource = resource.replace(item, '([^/]*)') + + matched = re.match(resource, namespace.id) if matched: namespace.resource_group_name = matched.group(2) namespace.location = matched.group(3) @@ -830,7 +833,7 @@ def validate_service_state(linker_parameters): def get_default_object_id_of_current_user(cmd, namespace): # pylint: disable=unused-argument user_account_auth_info = getattr(namespace, 'user_account_auth_info', None) - if user_account_auth_info and not getattr(user_account_auth_info, 'object_id', None): + if user_account_auth_info and not user_account_auth_info.get('principal_id', None): user_info = run_cli_cmd('az ad signed-in-user show') user_object_id = user_info.get('objectId') if user_info.get( 'objectId') else user_info.get('id') diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/action.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/action.py index f66b07e7a95..7d2c147dc10 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/action.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/action.py @@ -145,7 +145,7 @@ def get_action(self, values, option_string): # pylint: disable=no-self-use kl = k.lower() v = properties[k] if kl == 'object-id': - d['principal-id'] = v[0] + d['principal_id'] = v[0] elif kl == 'mysql-identity-id': d['mysql-identity-id'] = v[0] else: diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_appconfig_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_appconfig_e2e.yaml index 8e0981c3b3c..3c844f4ac0f 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_appconfig_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_appconfig_e2e.yaml @@ -11,7 +11,7 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --secret --client-type + - -g --connection --target-id --user-account --client-type User-Agent: - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 02:22:43 GMT + - Wed, 14 Dec 2022 07:26:16 GMT expires: - '-1' pragma: @@ -46,8 +46,9 @@ interactions: message: OK - request: body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration"}, - "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": - {"firewallRules": {"callerClientIP": "true"}}}}' + "authInfo": {"authType": "userAccount", "principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff"}, + "clientType": "python", "publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}}}}' headers: Accept: - application/json @@ -58,11 +59,11 @@ interactions: Connection: - keep-alive Content-Length: - - '388' + - '448' Content-Type: - application/json ParameterSetName: - - -g --connection --target-id --secret --client-type + - -g --connection --target-id --user-account --client-type User-Agent: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) @@ -73,32 +74,33 @@ interactions: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", "name": "testconn1", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T02:22:49.0499967Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:22:49.0499967Z"}, + "User", "createdAt": "2022-12-14T07:26:22.1205324Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T07:26:22.1205324Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": null}}' + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"principalId": + "b0a9d3c6-3387-4067-9f03-39808e7291ff", "roles": null, "userName": null, "authType": + "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "python", + "scope": null, "vNetSolution": null, "secretStore": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/304b6209-8984-4200-977d-4bd6370f2eba*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/023ab451-7ce8-4603-99b5-8717511bfe36*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1152' + - '1248' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 02:22:49 GMT + - Wed, 14 Dec 2022 07:26:22 GMT etag: - - '"58001154-0000-0100-0000-6399337a0000"' + - '"5c00e4db-0000-0100-0000-63997a9e0000"' expires: - '-1' mise-correlation-id: - - 5659dde9-1d00-4eee-8214-01f0e9512ee5 + - a0cde267-8a36-426c-b9ea-62fbce3073f4 pragma: - no-cache strict-transport-security: @@ -124,19 +126,19 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --secret --client-type + - -g --connection --target-id --user-account --client-type User-Agent: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/304b6209-8984-4200-977d-4bd6370f2eba*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/023ab451-7ce8-4603-99b5-8717511bfe36*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/304b6209-8984-4200-977d-4bd6370f2eba*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", - "name": "304b6209-8984-4200-977d-4bd6370f2eba*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/023ab451-7ce8-4603-99b5-8717511bfe36*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", + "name": "023ab451-7ce8-4603-99b5-8717511bfe36*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", - "status": "Succeeded", "startTime": "2022-12-14T02:22:49.9804993Z", "endTime": - "2022-12-14T02:22:53.8998162Z", "properties": {"Message": ""}}' + "status": "Succeeded", "startTime": "2022-12-14T07:26:22.4350171Z", "endTime": + "2022-12-14T07:26:26.5461737Z", "properties": {"Message": ""}}' headers: cache-control: - no-cache @@ -145,9 +147,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 02:23:20 GMT + - Wed, 14 Dec 2022 07:26:53 GMT etag: - - '"0f001747-0000-0100-0000-6399337d0000"' + - '"1000c003-0000-0100-0000-63997aa20000"' expires: - '-1' pragma: @@ -175,7 +177,7 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --secret --client-type + - -g --connection --target-id --user-account --client-type User-Agent: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) @@ -186,24 +188,25 @@ interactions: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", "name": "testconn1", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T02:22:49.0499967Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:22:49.0499967Z"}, + "User", "createdAt": "2022-12-14T07:26:22.1205324Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T07:26:22.1205324Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "python"}}' headers: cache-control: - no-cache content-length: - - '988' + - '1085' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 02:23:20 GMT + - Wed, 14 Dec 2022 07:26:53 GMT etag: - - '"58005454-0000-0100-0000-6399337d0000"' + - '"5c0012dc-0000-0100-0000-63997aa20000"' expires: - '-1' pragma: @@ -252,7 +255,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 02:23:25 GMT + - Wed, 14 Dec 2022 07:26:59 GMT expires: - '-1' pragma: @@ -289,22 +292,23 @@ interactions: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", "name": "testconn1", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T02:22:49.0499967Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:22:49.0499967Z"}, + "User", "createdAt": "2022-12-14T07:26:22.1205324Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T07:26:22.1205324Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "python"}}]}' headers: cache-control: - no-cache content-length: - - '1001' + - '1098' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 02:23:26 GMT + - Wed, 14 Dec 2022 07:27:00 GMT expires: - '-1' pragma: @@ -345,24 +349,25 @@ interactions: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", "name": "testconn1", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T02:22:49.0499967Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:22:49.0499967Z"}, + "User", "createdAt": "2022-12-14T07:26:22.1205324Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T07:26:22.1205324Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "python"}}' headers: cache-control: - no-cache content-length: - - '988' + - '1085' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 02:23:28 GMT + - Wed, 14 Dec 2022 07:27:02 GMT etag: - - '"58005454-0000-0100-0000-6399337d0000"' + - '"5c0012dc-0000-0100-0000-63997aa20000"' expires: - '-1' pragma: @@ -382,7 +387,8 @@ interactions: message: OK - request: body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration"}, - "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + "authInfo": {"authType": "userAccount", "principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "deleteOrUpdateBehavior": "Default"}, "clientType": "dotnet", "publicNetworkSolution": {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": "true"}}}}' headers: @@ -395,7 +401,7 @@ interactions: Connection: - keep-alive Content-Length: - - '445' + - '542' Content-Type: - application/json ParameterSetName: @@ -410,32 +416,33 @@ interactions: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", "name": "testconn1", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T02:22:49.0499967Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:23:30.1121629Z"}, + "User", "createdAt": "2022-12-14T07:26:22.1205324Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T07:27:04.1089534Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": - null, "vNetSolution": null, "secretStore": null}}' + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"principalId": + "b0a9d3c6-3387-4067-9f03-39808e7291ff", "roles": null, "userName": null, "authType": + "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "dotnet", + "scope": null, "vNetSolution": null, "secretStore": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b210f3cd-b8fe-4c17-8cf0-1b321589cbca*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c4e69547-cff3-4b96-87f3-2039fd6a99e0*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1152' + - '1248' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 02:23:30 GMT + - Wed, 14 Dec 2022 07:27:04 GMT etag: - - '"58002757-0000-0100-0000-639933a20000"' + - '"5c0022df-0000-0100-0000-63997ac90000"' expires: - '-1' mise-correlation-id: - - d7fb49e5-e039-4dc3-8ba4-d8ee23a84654 + - aff5bdbc-d2ac-4e63-8319-45d63c02f03b pragma: - no-cache strict-transport-security: @@ -466,14 +473,14 @@ interactions: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b210f3cd-b8fe-4c17-8cf0-1b321589cbca*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c4e69547-cff3-4b96-87f3-2039fd6a99e0*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b210f3cd-b8fe-4c17-8cf0-1b321589cbca*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", - "name": "b210f3cd-b8fe-4c17-8cf0-1b321589cbca*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c4e69547-cff3-4b96-87f3-2039fd6a99e0*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", + "name": "c4e69547-cff3-4b96-87f3-2039fd6a99e0*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", - "status": "Succeeded", "startTime": "2022-12-14T02:23:30.3597362Z", "endTime": - "2022-12-14T02:23:34.3308298Z", "properties": {"Message": ""}}' + "status": "Succeeded", "startTime": "2022-12-14T07:27:05.0208745Z", "endTime": + "2022-12-14T07:27:08.5592425Z", "properties": {"Message": ""}}' headers: cache-control: - no-cache @@ -482,9 +489,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 02:24:01 GMT + - Wed, 14 Dec 2022 07:27:36 GMT etag: - - '"0f00b147-0000-0100-0000-639933a60000"' + - '"10009804-0000-0100-0000-63997acc0000"' expires: - '-1' pragma: @@ -523,24 +530,25 @@ interactions: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", "name": "testconn1", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T02:22:49.0499967Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:23:30.1121629Z"}, + "User", "createdAt": "2022-12-14T07:26:22.1205324Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T07:27:04.1089534Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "dotnet"}}' headers: cache-control: - no-cache content-length: - - '988' + - '1085' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 02:24:01 GMT + - Wed, 14 Dec 2022 07:27:37 GMT etag: - - '"58008f57-0000-0100-0000-639933a60000"' + - '"5c006fdf-0000-0100-0000-63997acc0000"' expires: - '-1' pragma: @@ -582,21 +590,21 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1/generateConfigurations?api-version=2022-11-01-preview response: body: - string: '{"configurations": [{"name": "AZURE_APPCONFIGURATION_CONNECTIONSTRING", - "value": "Endpoint=https://servicelinker-app-configuration.azconfig.io;Id=Fy1v-l0-s0:lFOloVXM+HX9KjK3KtL9;Secret=fwihGZDouUPSLMZrFHo27aFOT5MYNZoRPG5Tolr1jds="}]}' + string: '{"configurations": [{"name": "AZURE_APPCONFIGURATION_ENDPOINT", "value": + "https://servicelinker-app-configuration.azconfig.io"}]}' headers: cache-control: - no-cache content-length: - - '233' + - '129' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 02:24:07 GMT + - Wed, 14 Dec 2022 07:27:42 GMT expires: - '-1' mise-correlation-id: - - 554a8708-fde1-47b7-a3af-6adef6c595ed + - 0ba173ec-4494-464c-895e-de20e40bf762 pragma: - no-cache strict-transport-security: @@ -639,7 +647,7 @@ interactions: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f1362af0-3b93-4f53-b653-ad5d7b5f9641*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3cde95de-c552-4504-bf45-217d0f9f8a96*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -647,13 +655,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 02:24:09 GMT + - Wed, 14 Dec 2022 07:27:44 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f1362af0-3b93-4f53-b653-ad5d7b5f9641*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3cde95de-c552-4504-bf45-217d0f9f8a96*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview mise-correlation-id: - - 81aa0633-69e3-41ac-803a-d4580e7b6b66 + - a6b09f6e-6941-4ff2-9ab6-05417c36613c pragma: - no-cache strict-transport-security: @@ -663,7 +671,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -684,33 +692,35 @@ interactions: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f1362af0-3b93-4f53-b653-ad5d7b5f9641*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3cde95de-c552-4504-bf45-217d0f9f8a96*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f1362af0-3b93-4f53-b653-ad5d7b5f9641*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", - "name": "f1362af0-3b93-4f53-b653-ad5d7b5f9641*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3cde95de-c552-4504-bf45-217d0f9f8a96*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", + "name": "3cde95de-c552-4504-bf45-217d0f9f8a96*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", - "status": "Succeeded", "startTime": "2022-12-14T02:24:09.814858Z", "endTime": - "2022-12-14T02:24:12.9248545Z", "properties": {"Message": "{\"ConnectionName\":\"testconn1\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T07:27:44.3505236Z", "endTime": + "2022-12-14T07:27:47.3158734Z", "properties": {"Message": "{\"ConnectionName\":\"testconn1\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - target''s network access is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T02:24:11.4663082Z\",\"ReportEndTimeUtc\":\"2022-12-14T02:24:11.8034719Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + target''s network access is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T07:27:45.7614099Z\",\"ReportEndTimeUtc\":\"2022-12-14T07:27:46.1505261Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":6}", "linkerName": "testconn1", "isConnectionAvailable": true, "validationDetail": [{"name": "The target existence is validated", "description": null, "result": "success"}, {"name": "The target''s network access is validated", "description": - null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T02:24:11.4663082Z", - "reportEndTimeUtc": "2022-12-14T02:24:11.8034719Z", "sourceId": null, "targetId": - null, "authType": "secret"}}' + null, "result": "success"}, {"name": "The identity permission is validated", + "description": null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T07:27:45.7614099Z", + "reportEndTimeUtc": "2022-12-14T07:27:46.1505261Z", "sourceId": null, "targetId": + null, "authType": "userAccount"}}' headers: cache-control: - no-cache content-length: - - '1522' + - '1706' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 02:24:41 GMT + - Wed, 14 Dec 2022 07:28:15 GMT etag: - - '"0f003848-0000-0100-0000-639933cc0000"' + - '"10007c05-0000-0100-0000-63997af30000"' expires: - '-1' pragma: @@ -743,33 +753,35 @@ interactions: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f1362af0-3b93-4f53-b653-ad5d7b5f9641*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3cde95de-c552-4504-bf45-217d0f9f8a96*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f1362af0-3b93-4f53-b653-ad5d7b5f9641*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", - "name": "f1362af0-3b93-4f53-b653-ad5d7b5f9641*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3cde95de-c552-4504-bf45-217d0f9f8a96*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", + "name": "3cde95de-c552-4504-bf45-217d0f9f8a96*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", - "status": "Succeeded", "startTime": "2022-12-14T02:24:09.814858Z", "endTime": - "2022-12-14T02:24:12.9248545Z", "properties": {"Message": "{\"ConnectionName\":\"testconn1\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T07:27:44.3505236Z", "endTime": + "2022-12-14T07:27:47.3158734Z", "properties": {"Message": "{\"ConnectionName\":\"testconn1\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - target''s network access is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T02:24:11.4663082Z\",\"ReportEndTimeUtc\":\"2022-12-14T02:24:11.8034719Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + target''s network access is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T07:27:45.7614099Z\",\"ReportEndTimeUtc\":\"2022-12-14T07:27:46.1505261Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":6}", "linkerName": "testconn1", "isConnectionAvailable": true, "validationDetail": [{"name": "The target existence is validated", "description": null, "result": "success"}, {"name": "The target''s network access is validated", "description": - null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T02:24:11.4663082Z", - "reportEndTimeUtc": "2022-12-14T02:24:11.8034719Z", "sourceId": null, "targetId": - null, "authType": "secret"}}' + null, "result": "success"}, {"name": "The identity permission is validated", + "description": null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T07:27:45.7614099Z", + "reportEndTimeUtc": "2022-12-14T07:27:46.1505261Z", "sourceId": null, "targetId": + null, "authType": "userAccount"}}' headers: cache-control: - no-cache content-length: - - '1522' + - '1706' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 02:24:41 GMT + - Wed, 14 Dec 2022 07:28:15 GMT etag: - - '"0f003848-0000-0100-0000-639933cc0000"' + - '"10007c05-0000-0100-0000-63997af30000"' expires: - '-1' pragma: @@ -808,24 +820,25 @@ interactions: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn1", "name": "testconn1", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T02:22:49.0499967Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:23:30.1121629Z"}, + "User", "createdAt": "2022-12-14T07:26:22.1205324Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T07:27:04.1089534Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "dotnet"}}' headers: cache-control: - no-cache content-length: - - '988' + - '1085' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 02:24:43 GMT + - Wed, 14 Dec 2022 07:28:17 GMT etag: - - '"58008f57-0000-0100-0000-639933a60000"' + - '"5c006fdf-0000-0100-0000-63997acc0000"' expires: - '-1' pragma: @@ -872,7 +885,7 @@ interactions: content-length: - '0' date: - - Wed, 14 Dec 2022 02:24:48 GMT + - Wed, 14 Dec 2022 07:28:23 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmosmongo_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmosmongo_e2e.yaml deleted file mode 100644 index 3ac1dc97000..00000000000 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmosmongo_e2e.yaml +++ /dev/null @@ -1,1841 +0,0 @@ -interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", - "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", - "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '275' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:29:09 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB"}, - "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": - {"firewallRules": {"callerClientIP": "true"}}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - connection create cosmos-mongo - Connection: - - keep-alive - Content-Length: - - '396' - Content-Type: - - application/json - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4?api-version=2022-11-01-preview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "name": "testconn4", "type": "microsoft.servicelinker/locations/connectors", - "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T02:29:10.9869474Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:29:10.9869474Z"}, - "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, - "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": - "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": - null, "vNetSolution": null, "secretStore": null}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - cache-control: - - no-cache - content-length: - - '1160' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:29:11 GMT - etag: - - '"58000567-0000-0100-0000-639934f80000"' - expires: - - '-1' - mise-correlation-id: - - 44d96e65-9e63-4f79-bf54-e55386cbf3f5 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:29:42 GMT - etag: - - '"0f002b4c-0000-0100-0000-639934f70000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:30:13 GMT - etag: - - '"0f002b4c-0000-0100-0000-639934f70000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:30:44 GMT - etag: - - '"0f002b4c-0000-0100-0000-639934f70000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:31:14 GMT - etag: - - '"0f002b4c-0000-0100-0000-639934f70000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:31:47 GMT - etag: - - '"0f002b4c-0000-0100-0000-639934f70000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:32:17 GMT - etag: - - '"0f002b4c-0000-0100-0000-639934f70000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:32:49 GMT - etag: - - '"0f002b4c-0000-0100-0000-639934f70000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:33:20 GMT - etag: - - '"0f002b4c-0000-0100-0000-639934f70000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:33:50 GMT - etag: - - '"0f002b4c-0000-0100-0000-639934f70000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:34:21 GMT - etag: - - '"0f002b4c-0000-0100-0000-639934f70000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:34:52 GMT - etag: - - '"0f002b4c-0000-0100-0000-639934f70000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:35:22 GMT - etag: - - '"0f002b4c-0000-0100-0000-639934f70000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:35:52 GMT - etag: - - '"0f002b4c-0000-0100-0000-639934f70000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:36:24 GMT - etag: - - '"0f002b4c-0000-0100-0000-639934f70000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:36:54 GMT - etag: - - '"0f002b4c-0000-0100-0000-639934f70000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:37:25 GMT - etag: - - '"0f002b4c-0000-0100-0000-639934f70000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:37:57 GMT - etag: - - '"0f002b4c-0000-0100-0000-639934f70000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Accepted", "startTime": "2022-12-14T02:29:11.9111836Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:38:26 GMT - etag: - - '"0f002b4c-0000-0100-0000-639934f70000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "d191d56a-7582-4f63-adc4-108b9d7add94*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Succeeded", "startTime": "2022-12-14T02:29:11.9111836Z", "endTime": - "2022-12-14T02:38:31.0814983Z", "properties": {"Message": null}}' - headers: - cache-control: - - no-cache - content-length: - - '674' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:38:57 GMT - etag: - - '"0f004f50-0000-0100-0000-639937270000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4?api-version=2022-11-01-preview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "name": "testconn4", "type": "microsoft.servicelinker/locations/connectors", - "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T02:29:10.9869474Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:29:10.9869474Z"}, - "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": - "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": - "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": - "dotnet"}}' - headers: - cache-control: - - no-cache - content-length: - - '996' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:38:58 GMT - etag: - - '"58002285-0000-0100-0000-639937270000"' - 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: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - connection list - Connection: - - keep-alive - ParameterSetName: - - -g - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", - "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", - "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '275' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:39:06 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: - - connection list - Connection: - - keep-alive - ParameterSetName: - - -g - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview - response: - body: - string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "name": "testconn4", "type": "microsoft.servicelinker/locations/connectors", - "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T02:29:10.9869474Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:29:10.9869474Z"}, - "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": - "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": - "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": - "dotnet"}}]}' - headers: - cache-control: - - no-cache - content-length: - - '1009' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:39:07 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: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - connection update cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4?api-version=2022-11-01-preview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "name": "testconn4", "type": "microsoft.servicelinker/locations/connectors", - "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T02:29:10.9869474Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:29:10.9869474Z"}, - "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": - "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": - "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": - "dotnet"}}' - headers: - cache-control: - - no-cache - content-length: - - '996' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:39:09 GMT - etag: - - '"58002285-0000-0100-0000-639937270000"' - 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB"}, - "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": - {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": - "true"}}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - connection update cosmos-mongo - Connection: - - keep-alive - Content-Length: - - '453' - Content-Type: - - application/json - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4?api-version=2022-11-01-preview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "name": "testconn4", "type": "microsoft.servicelinker/locations/connectors", - "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T02:29:10.9869474Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:39:10.2063731Z"}, - "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, - "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": - "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": - null, "vNetSolution": null, "secretStore": null}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d732186a-71c5-4b3c-8054-8cba07e57b61*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - cache-control: - - no-cache - content-length: - - '1160' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:39:10 GMT - etag: - - '"5800cd87-0000-0100-0000-6399374e0000"' - expires: - - '-1' - mise-correlation-id: - - 81bc3373-aca4-4e88-bf9b-4ba97e275bf3 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - connection update cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d732186a-71c5-4b3c-8054-8cba07e57b61*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d732186a-71c5-4b3c-8054-8cba07e57b61*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "d732186a-71c5-4b3c-8054-8cba07e57b61*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Accepted", "startTime": "2022-12-14T02:39:10.3919952Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:39:41 GMT - etag: - - '"0f00b150-0000-0100-0000-6399374e0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection update cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d732186a-71c5-4b3c-8054-8cba07e57b61*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d732186a-71c5-4b3c-8054-8cba07e57b61*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "d732186a-71c5-4b3c-8054-8cba07e57b61*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Succeeded", "startTime": "2022-12-14T02:39:10.3919952Z", "endTime": - "2022-12-14T02:39:56.8365112Z", "properties": {"Message": null}}' - headers: - cache-control: - - no-cache - content-length: - - '674' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:40:12 GMT - etag: - - '"0f002b51-0000-0100-0000-6399377c0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection update cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4?api-version=2022-11-01-preview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "name": "testconn4", "type": "microsoft.servicelinker/locations/connectors", - "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T02:29:10.9869474Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:39:10.2063731Z"}, - "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": - "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": - "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": - "dotnet"}}' - headers: - cache-control: - - no-cache - content-length: - - '996' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:40:13 GMT - etag: - - '"5800388b-0000-0100-0000-6399377c0000"' - 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: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - connection generate-configuration - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4/generateConfigurations?api-version=2022-11-01-preview - response: - body: - string: '{"configurations": [{"name": "AZURE_COSMOS_CONNECTIONSTRING", "value": - "mongodb://servicelinker-mongo-cosmos:yfGJReUhruM0ySqXeFLoInOlwBO9MoBnjoE9HdNHq54PkPSIA0iNPSWw8SlDG0S1yRrJtG0b7izKZAybXv9Hdw==@servicelinker-mongo-cosmos.mongo.cosmos.azure.com:10255/coreDB?ssl=true&replicaSet=globaldb&retrywrites=false&maxIdleTimeMS=120000&appName=@servicelinker-mongo-cosmos@"}]}' - headers: - cache-control: - - no-cache - content-length: - - '369' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:40:20 GMT - expires: - - '-1' - mise-correlation-id: - - 3eeaa160-4b1c-4928-9ff1-fe3869ceac1c - 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' - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - connection validate - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4/validate?api-version=2022-11-01-preview - response: - body: - string: 'null' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/89f6dff9-03f7-4058-b702-73c4438d6db2*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - cache-control: - - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:40:22 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/89f6dff9-03f7-4058-b702-73c4438d6db2*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - mise-correlation-id: - - 287c1489-5292-4d08-a3d9-c8d34c8cd3db - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - connection validate - Connection: - - keep-alive - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/89f6dff9-03f7-4058-b702-73c4438d6db2*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/89f6dff9-03f7-4058-b702-73c4438d6db2*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "89f6dff9-03f7-4058-b702-73c4438d6db2*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Succeeded", "startTime": "2022-12-14T02:40:23.2138702Z", "endTime": - "2022-12-14T02:40:26.8565951Z", "properties": {"Message": "{\"ConnectionName\":\"testconn4\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The - target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T02:40:24.5321558Z\",\"ReportEndTimeUtc\":\"2022-12-14T02:40:25.3547566Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", - "linkerName": "testconn4", "isConnectionAvailable": true, "validationDetail": - [{"name": "The target existence is validated", "description": null, "result": - "success"}, {"name": "The target service firewall is validated", "description": - null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T02:40:24.5321558Z", - "reportEndTimeUtc": "2022-12-14T02:40:25.3547566Z", "sourceId": null, "targetId": - null, "authType": "secret"}}' - headers: - cache-control: - - no-cache - content-length: - - '1523' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:40:53 GMT - etag: - - '"0f008d51-0000-0100-0000-6399379a0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection validate - Connection: - - keep-alive - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/89f6dff9-03f7-4058-b702-73c4438d6db2*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/89f6dff9-03f7-4058-b702-73c4438d6db2*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "name": "89f6dff9-03f7-4058-b702-73c4438d6db2*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "status": "Succeeded", "startTime": "2022-12-14T02:40:23.2138702Z", "endTime": - "2022-12-14T02:40:26.8565951Z", "properties": {"Message": "{\"ConnectionName\":\"testconn4\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The - target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T02:40:24.5321558Z\",\"ReportEndTimeUtc\":\"2022-12-14T02:40:25.3547566Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", - "linkerName": "testconn4", "isConnectionAvailable": true, "validationDetail": - [{"name": "The target existence is validated", "description": null, "result": - "success"}, {"name": "The target service firewall is validated", "description": - null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T02:40:24.5321558Z", - "reportEndTimeUtc": "2022-12-14T02:40:25.3547566Z", "sourceId": null, "targetId": - null, "authType": "secret"}}' - headers: - cache-control: - - no-cache - content-length: - - '1523' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:40:53 GMT - etag: - - '"0f008d51-0000-0100-0000-6399379a0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection show - Connection: - - keep-alive - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4?api-version=2022-11-01-preview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", - "name": "testconn4", "type": "microsoft.servicelinker/locations/connectors", - "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T02:29:10.9869474Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:39:10.2063731Z"}, - "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": - "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": - "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": - "dotnet"}}' - headers: - cache-control: - - no-cache - content-length: - - '996' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 14 Dec 2022 02:40:55 GMT - etag: - - '"5800388b-0000-0100-0000-6399377c0000"' - 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: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - connection delete - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --id --yes - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4?api-version=2022-11-01-preview - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - date: - - Wed, 14 Dec 2022 02:41:06 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - status: - code: 200 - message: OK -version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_servicebus_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_servicebus_e2e.yaml index 4c8aa7b3816..9a7e46c471b 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_servicebus_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_servicebus_e2e.yaml @@ -11,7 +11,7 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --secret --client-type + - -g --connection --target-id --user-account --client-type User-Agent: - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:38:23 GMT + - Wed, 14 Dec 2022 07:34:50 GMT expires: - '-1' pragma: @@ -46,8 +46,9 @@ interactions: message: OK - request: body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus"}, - "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": - {"firewallRules": {"callerClientIP": "true"}}}}' + "authInfo": {"authType": "userAccount", "principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff"}, + "clientType": "python", "publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}}}}' headers: Accept: - application/json @@ -58,11 +59,11 @@ interactions: Connection: - keep-alive Content-Length: - - '369' + - '429' Content-Type: - application/json ParameterSetName: - - -g --connection --target-id --secret --client-type + - -g --connection --target-id --user-account --client-type User-Agent: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) @@ -73,32 +74,33 @@ interactions: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", "name": "testconn8", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T03:38:24.4375876Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:38:24.4375876Z"}, + "User", "createdAt": "2022-12-14T07:34:53.5614502Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T07:34:53.5614502Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": null}}' + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"principalId": + "b0a9d3c6-3387-4067-9f03-39808e7291ff", "roles": null, "userName": null, "authType": + "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "python", + "scope": null, "vNetSolution": null, "secretStore": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9f4a5bc8-a209-45de-a400-cfd472f600ad*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/879698ad-4a8f-4094-a941-d768ee9c918c*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1133' + - '1229' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:38:24 GMT + - Wed, 14 Dec 2022 07:34:54 GMT etag: - - '"59009c50-0000-0100-0000-639945300000"' + - '"5c00b5fb-0000-0100-0000-63997c9f0000"' expires: - '-1' mise-correlation-id: - - 5170d454-79dc-4850-a906-a335dbc44ab2 + - 8260ea7a-1749-4e3f-a718-17a9dba37a6d pragma: - no-cache strict-transport-security: @@ -108,7 +110,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 201 message: Created @@ -124,30 +126,30 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --secret --client-type + - -g --connection --target-id --user-account --client-type User-Agent: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9f4a5bc8-a209-45de-a400-cfd472f600ad*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/879698ad-4a8f-4094-a941-d768ee9c918c*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9f4a5bc8-a209-45de-a400-cfd472f600ad*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", - "name": "9f4a5bc8-a209-45de-a400-cfd472f600ad*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/879698ad-4a8f-4094-a941-d768ee9c918c*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", + "name": "879698ad-4a8f-4094-a941-d768ee9c918c*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", - "status": "Succeeded", "startTime": "2022-12-14T03:38:24.7349868Z", "endTime": - "2022-12-14T03:38:39.0700631Z", "properties": {"Message": null}}' + "status": "Succeeded", "startTime": "2022-12-14T07:34:54.5791025Z", "endTime": + "2022-12-14T07:35:11.570551Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '674' + - '673' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:38:54 GMT + - Wed, 14 Dec 2022 07:35:25 GMT etag: - - '"0f00546d-0000-0100-0000-6399453f0000"' + - '"10004c0f-0000-0100-0000-63997caf0000"' expires: - '-1' pragma: @@ -175,7 +177,7 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --secret --client-type + - -g --connection --target-id --user-account --client-type User-Agent: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) @@ -186,24 +188,25 @@ interactions: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", "name": "testconn8", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T03:38:24.4375876Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:38:24.4375876Z"}, + "User", "createdAt": "2022-12-14T07:34:53.5614502Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T07:34:53.5614502Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "python"}}' headers: cache-control: - no-cache content-length: - - '969' + - '1066' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:38:55 GMT + - Wed, 14 Dec 2022 07:35:25 GMT etag: - - '"5900ad51-0000-0100-0000-6399453f0000"' + - '"5c00dffc-0000-0100-0000-63997caf0000"' expires: - '-1' pragma: @@ -252,7 +255,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:38:59 GMT + - Wed, 14 Dec 2022 07:35:30 GMT expires: - '-1' pragma: @@ -289,22 +292,23 @@ interactions: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", "name": "testconn8", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T03:38:24.4375876Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:38:24.4375876Z"}, + "User", "createdAt": "2022-12-14T07:34:53.5614502Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T07:34:53.5614502Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "python"}}]}' headers: cache-control: - no-cache content-length: - - '982' + - '1079' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:39:00 GMT + - Wed, 14 Dec 2022 07:35:31 GMT expires: - '-1' pragma: @@ -345,24 +349,25 @@ interactions: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", "name": "testconn8", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T03:38:24.4375876Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:38:24.4375876Z"}, + "User", "createdAt": "2022-12-14T07:34:53.5614502Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T07:34:53.5614502Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "python"}}' headers: cache-control: - no-cache content-length: - - '969' + - '1066' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:39:01 GMT + - Wed, 14 Dec 2022 07:35:33 GMT etag: - - '"5900ad51-0000-0100-0000-6399453f0000"' + - '"5c00dffc-0000-0100-0000-63997caf0000"' expires: - '-1' pragma: @@ -382,7 +387,8 @@ interactions: message: OK - request: body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus"}, - "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + "authInfo": {"authType": "userAccount", "principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "deleteOrUpdateBehavior": "Default"}, "clientType": "dotnet", "publicNetworkSolution": {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": "true"}}}}' headers: @@ -395,7 +401,7 @@ interactions: Connection: - keep-alive Content-Length: - - '426' + - '523' Content-Type: - application/json ParameterSetName: @@ -410,32 +416,33 @@ interactions: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", "name": "testconn8", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T03:38:24.4375876Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:39:02.1502281Z"}, + "User", "createdAt": "2022-12-14T07:34:53.5614502Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T07:35:34.6393345Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": - null, "vNetSolution": null, "secretStore": null}}' + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"principalId": + "b0a9d3c6-3387-4067-9f03-39808e7291ff", "roles": null, "userName": null, "authType": + "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "dotnet", + "scope": null, "vNetSolution": null, "secretStore": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dbc263a2-351f-4139-b416-3ad015c3c09c*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/044815b8-84d7-42e5-8e8b-478f8d23f082*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1133' + - '1229' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:39:01 GMT + - Wed, 14 Dec 2022 07:35:34 GMT etag: - - '"59006953-0000-0100-0000-639945560000"' + - '"5c0099fe-0000-0100-0000-63997cc60000"' expires: - '-1' mise-correlation-id: - - 365e309c-49f7-4ea3-adf7-1c57423ecfea + - 2238042d-5c91-4b6c-ac06-4a5a076381ab pragma: - no-cache strict-transport-security: @@ -466,14 +473,14 @@ interactions: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dbc263a2-351f-4139-b416-3ad015c3c09c*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/044815b8-84d7-42e5-8e8b-478f8d23f082*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dbc263a2-351f-4139-b416-3ad015c3c09c*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", - "name": "dbc263a2-351f-4139-b416-3ad015c3c09c*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/044815b8-84d7-42e5-8e8b-478f8d23f082*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", + "name": "044815b8-84d7-42e5-8e8b-478f8d23f082*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", - "status": "Succeeded", "startTime": "2022-12-14T03:39:02.4215008Z", "endTime": - "2022-12-14T03:39:15.5671934Z", "properties": {"Message": null}}' + "status": "Succeeded", "startTime": "2022-12-14T07:35:34.8060822Z", "endTime": + "2022-12-14T07:35:47.3124739Z", "properties": {"Message": null}}' headers: cache-control: - no-cache @@ -482,9 +489,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:39:33 GMT + - Wed, 14 Dec 2022 07:36:06 GMT etag: - - '"0f00866d-0000-0100-0000-639945630000"' + - '"1000e80f-0000-0100-0000-63997cd30000"' expires: - '-1' pragma: @@ -523,24 +530,25 @@ interactions: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", "name": "testconn8", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T03:38:24.4375876Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:39:02.1502281Z"}, + "User", "createdAt": "2022-12-14T07:34:53.5614502Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T07:35:34.6393345Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "dotnet"}}' headers: cache-control: - no-cache content-length: - - '969' + - '1066' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:39:33 GMT + - Wed, 14 Dec 2022 07:36:06 GMT etag: - - '"59007b54-0000-0100-0000-639945630000"' + - '"5c008eff-0000-0100-0000-63997cd30000"' expires: - '-1' pragma: @@ -582,21 +590,21 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8/generateConfigurations?api-version=2022-11-01-preview response: body: - string: '{"configurations": [{"name": "AZURE_SERVICEBUS_CONNECTIONSTRING", "value": - "hidden"}]}' + string: '{"configurations": [{"name": "AZURE_SERVICEBUS_FULLYQUALIFIEDNAMESPACE", + "value": "servicelinkertestservicebus.servicebus.windows.net"}]}' headers: cache-control: - no-cache content-length: - - '86' + - '137' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:39:39 GMT + - Wed, 14 Dec 2022 07:36:11 GMT expires: - '-1' mise-correlation-id: - - 3731b051-d81f-49df-a376-09c292ac5c13 + - bf619550-33e0-421e-a803-3ffd645f991d pragma: - no-cache strict-transport-security: @@ -610,7 +618,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 200 message: OK @@ -639,7 +647,7 @@ interactions: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1153857d-aef1-4621-b88b-e28cb7e2e1e4*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2e10bac0-52a7-4b4f-99da-a6007445d069*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -647,13 +655,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:39:41 GMT + - Wed, 14 Dec 2022 07:36:12 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1153857d-aef1-4621-b88b-e28cb7e2e1e4*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2e10bac0-52a7-4b4f-99da-a6007445d069*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview mise-correlation-id: - - c2d3a173-4748-4220-b09b-de69bda3576d + - 0cab4fcb-e73f-47fa-8cee-524eebc487d3 pragma: - no-cache strict-transport-security: @@ -663,7 +671,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 202 message: Accepted @@ -684,33 +692,35 @@ interactions: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1153857d-aef1-4621-b88b-e28cb7e2e1e4*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2e10bac0-52a7-4b4f-99da-a6007445d069*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1153857d-aef1-4621-b88b-e28cb7e2e1e4*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", - "name": "1153857d-aef1-4621-b88b-e28cb7e2e1e4*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2e10bac0-52a7-4b4f-99da-a6007445d069*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", + "name": "2e10bac0-52a7-4b4f-99da-a6007445d069*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", - "status": "Succeeded", "startTime": "2022-12-14T03:39:41.5813001Z", "endTime": - "2022-12-14T03:39:45.8696816Z", "properties": {"Message": "{\"ConnectionName\":\"testconn8\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T07:36:13.045285Z", "endTime": + "2022-12-14T07:36:16.9876133Z", "properties": {"Message": "{\"ConnectionName\":\"testconn8\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T03:39:43.1460583Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:39:44.7583696Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T07:36:14.3819264Z\",\"ReportEndTimeUtc\":\"2022-12-14T07:36:15.8637769Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":6}", "linkerName": "testconn8", "isConnectionAvailable": true, "validationDetail": [{"name": "The target existence is validated", "description": null, "result": "success"}, {"name": "The target service firewall is validated", "description": - null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T03:39:43.1460583Z", - "reportEndTimeUtc": "2022-12-14T03:39:44.7583696Z", "sourceId": null, "targetId": - null, "authType": "secret"}}' + null, "result": "success"}, {"name": "The identity permission is validated", + "description": null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T07:36:14.3819264Z", + "reportEndTimeUtc": "2022-12-14T07:36:15.8637769Z", "sourceId": null, "targetId": + null, "authType": "userAccount"}}' headers: cache-control: - no-cache content-length: - - '1523' + - '1705' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:40:12 GMT + - Wed, 14 Dec 2022 07:36:44 GMT etag: - - '"0f00b26d-0000-0100-0000-639945810000"' + - '"10009f10-0000-0100-0000-63997cf00000"' expires: - '-1' pragma: @@ -743,33 +753,35 @@ interactions: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1153857d-aef1-4621-b88b-e28cb7e2e1e4*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2e10bac0-52a7-4b4f-99da-a6007445d069*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1153857d-aef1-4621-b88b-e28cb7e2e1e4*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", - "name": "1153857d-aef1-4621-b88b-e28cb7e2e1e4*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2e10bac0-52a7-4b4f-99da-a6007445d069*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", + "name": "2e10bac0-52a7-4b4f-99da-a6007445d069*F4F0FB4243A96E85084305E603E9696D1DCB8C251B0ABCC3D86458496C65105E", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", - "status": "Succeeded", "startTime": "2022-12-14T03:39:41.5813001Z", "endTime": - "2022-12-14T03:39:45.8696816Z", "properties": {"Message": "{\"ConnectionName\":\"testconn8\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T07:36:13.045285Z", "endTime": + "2022-12-14T07:36:16.9876133Z", "properties": {"Message": "{\"ConnectionName\":\"testconn8\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T03:39:43.1460583Z\",\"ReportEndTimeUtc\":\"2022-12-14T03:39:44.7583696Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T07:36:14.3819264Z\",\"ReportEndTimeUtc\":\"2022-12-14T07:36:15.8637769Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":6}", "linkerName": "testconn8", "isConnectionAvailable": true, "validationDetail": [{"name": "The target existence is validated", "description": null, "result": "success"}, {"name": "The target service firewall is validated", "description": - null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T03:39:43.1460583Z", - "reportEndTimeUtc": "2022-12-14T03:39:44.7583696Z", "sourceId": null, "targetId": - null, "authType": "secret"}}' + null, "result": "success"}, {"name": "The identity permission is validated", + "description": null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T07:36:14.3819264Z", + "reportEndTimeUtc": "2022-12-14T07:36:15.8637769Z", "sourceId": null, "targetId": + null, "authType": "userAccount"}}' headers: cache-control: - no-cache content-length: - - '1523' + - '1705' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:40:12 GMT + - Wed, 14 Dec 2022 07:36:44 GMT etag: - - '"0f00b26d-0000-0100-0000-639945810000"' + - '"10009f10-0000-0100-0000-63997cf00000"' expires: - '-1' pragma: @@ -808,24 +820,25 @@ interactions: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn8", "name": "testconn8", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T03:38:24.4375876Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T03:39:02.1502281Z"}, + "User", "createdAt": "2022-12-14T07:34:53.5614502Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T07:35:34.6393345Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "dotnet"}}' headers: cache-control: - no-cache content-length: - - '969' + - '1066' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:40:13 GMT + - Wed, 14 Dec 2022 07:36:46 GMT etag: - - '"59007b54-0000-0100-0000-639945630000"' + - '"5c008eff-0000-0100-0000-63997cd30000"' expires: - '-1' pragma: @@ -872,7 +885,7 @@ interactions: content-length: - '0' date: - - Wed, 14 Dec 2022 03:40:18 GMT + - Wed, 14 Dec 2022 07:36:51 GMT expires: - '-1' pragma: @@ -884,7 +897,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_appconfig_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_appconfig_e2e.yaml index ac83e06e8ce..3d63c87ba2c 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_appconfig_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_appconfig_e2e.yaml @@ -19,37 +19,40 @@ interactions: ParameterSetName: - --connection --source-id --target-id --system-identity --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:18:25.0115085Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:18:25.0115085Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "python", "secretStore": - {"keyVaultId": null}, "scope": null}}' + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:12:44.6244623Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:36:12.6287163Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "python", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/967d1cc4-47fc-451c-a9f2-6a2cc6228213*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3227d5a7-d829-4fdb-aa7a-212c7d235bb4*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '984' + - '1154' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:18:25 GMT + - Wed, 14 Dec 2022 08:36:14 GMT etag: - - '"6a00a24d-0000-0100-0000-6268d2220000"' + - '"34006fea-0000-0100-0000-63998afe0000"' expires: - '-1' mise-correlation-id: - - bf47dc3a-db2b-495d-84c8-132d8058b681 + - 99846bec-e064-48ed-9fb7-bc0835eeb62f pragma: - no-cache strict-transport-security: @@ -59,7 +62,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 201 message: Created @@ -77,16 +80,17 @@ interactions: ParameterSetName: - --connection --source-id --target-id --system-identity --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/967d1cc4-47fc-451c-a9f2-6a2cc6228213*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3227d5a7-d829-4fdb-aa7a-212c7d235bb4*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/967d1cc4-47fc-451c-a9f2-6a2cc6228213*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", - "name": "967d1cc4-47fc-451c-a9f2-6a2cc6228213*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3227d5a7-d829-4fdb-aa7a-212c7d235bb4*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", + "name": "3227d5a7-d829-4fdb-aa7a-212c7d235bb4*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:18:25.9064334Z", "endTime": - "2022-04-27T05:18:30.4564734Z", "properties": {"message": ""}}' + "status": "Succeeded", "startTime": "2022-12-14T08:36:13.8830812Z", "endTime": + "2022-12-14T08:36:20.6273437Z", "properties": {"Message": ""}}' headers: cache-control: - no-cache @@ -95,9 +99,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:18:55 GMT + - Wed, 14 Dec 2022 08:36:45 GMT etag: - - '"13002efd-0000-0100-0000-6268d2260000"' + - '"1000244d-0000-0100-0000-63998b040000"' expires: - '-1' pragma: @@ -127,32 +131,38 @@ interactions: ParameterSetName: - --connection --source-id --target-id --system-identity --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:12:44.6244623Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:36:12.6287163Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '744' + - '1155' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:18:55 GMT + - Wed, 14 Dec 2022 08:36:45 GMT etag: - - '"6a00af4d-0000-0100-0000-6268d2260000"' + - '"3400d7ea-0000-0100-0000-63998b040000"' expires: - '-1' mise-correlation-id: - - b3bc9f8b-cb5c-43ff-8cf7-8bcb7909b8eb + - 132763f4-7e16-44dc-ab7b-d79bff78b191 pragma: - no-cache strict-transport-security: @@ -160,7 +170,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -182,30 +192,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}]}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:12:44.6244623Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:36:12.6287163Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '757' + - '1168' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:19:01 GMT + - Wed, 14 Dec 2022 08:36:55 GMT expires: - '-1' mise-correlation-id: - - b97a89aa-bd2b-4943-9200-3587145e397f + - e917f893-88f9-441f-950d-50ce6b7bd105 pragma: - no-cache strict-transport-security: @@ -213,7 +229,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -235,32 +251,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:12:44.6244623Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:36:12.6287163Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '744' + - '1155' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:19:01 GMT + - Wed, 14 Dec 2022 08:36:57 GMT etag: - - '"6a00af4d-0000-0100-0000-6268d2260000"' + - '"3400d7ea-0000-0100-0000-63998b040000"' expires: - '-1' mise-correlation-id: - - ba4fc60b-29c0-4996-a0f2-c547fb988288 + - 6f8fb843-fef4-4761-8ec5-578e91bfbe2b pragma: - no-cache strict-transport-security: @@ -268,7 +290,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -296,37 +318,40 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:18:25.0115085Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:19:03.5713627Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": - {"keyVaultId": null}, "scope": null}}' + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:12:44.6244623Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:36:58.9790262Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/77be8722-53f2-42a2-a1b4-927a0d5c0f3d*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/285f4b9e-d2b7-4a58-8bc8-e28e8e109995*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '984' + - '1154' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:19:03 GMT + - Wed, 14 Dec 2022 08:36:59 GMT etag: - - '"3805a8ce-0000-0200-0000-6268d2470000"' + - '"340088ed-0000-0100-0000-63998b2b0000"' expires: - '-1' mise-correlation-id: - - ec9c7a69-695c-4198-ac18-28c13f27fd8d + - 80652c46-f2fc-41d5-9852-757174de2dfd pragma: - no-cache strict-transport-security: @@ -336,7 +361,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 201 message: Created @@ -354,16 +379,17 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/77be8722-53f2-42a2-a1b4-927a0d5c0f3d*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/285f4b9e-d2b7-4a58-8bc8-e28e8e109995*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/77be8722-53f2-42a2-a1b4-927a0d5c0f3d*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", - "name": "77be8722-53f2-42a2-a1b4-927a0d5c0f3d*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/285f4b9e-d2b7-4a58-8bc8-e28e8e109995*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", + "name": "285f4b9e-d2b7-4a58-8bc8-e28e8e109995*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:19:03.7531075Z", "endTime": - "2022-04-27T05:19:07.7822229Z", "properties": {"message": ""}}' + "status": "Succeeded", "startTime": "2022-12-14T08:36:59.4095372Z", "endTime": + "2022-12-14T08:37:05.4060327Z", "properties": {"Message": ""}}' headers: cache-control: - no-cache @@ -372,9 +398,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:19:33 GMT + - Wed, 14 Dec 2022 08:37:30 GMT etag: - - '"130057fd-0000-0100-0000-6268d24b0000"' + - '"1000104e-0000-0100-0000-63998b310000"' expires: - '-1' pragma: @@ -404,32 +430,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:12:44.6244623Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:36:58.9790262Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '744' + - '1155' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:19:34 GMT + - Wed, 14 Dec 2022 08:37:30 GMT etag: - - '"6a00f74d-0000-0100-0000-6268d24b0000"' + - '"3400fded-0000-0100-0000-63998b310000"' expires: - '-1' mise-correlation-id: - - eaf39d43-6612-4885-b823-b880dda45548 + - 908edc1d-72f4-4863-b3b6-6644049706c2 pragma: - no-cache strict-transport-security: @@ -437,7 +469,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -461,9 +493,10 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview response: body: string: '{"configurations": [{"name": "AZURE_APPCONFIGURATION_ENDPOINT", "value": @@ -476,11 +509,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:19:38 GMT + - Wed, 14 Dec 2022 08:37:36 GMT expires: - '-1' mise-correlation-id: - - 8c3ac7f7-2101-4947-87cb-0255b079a2f8 + - df60fe1f-9612-4b0b-9967-1e87da321608 pragma: - no-cache strict-transport-security: @@ -488,13 +521,13 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -512,32 +545,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:12:44.6244623Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:36:58.9790262Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '744' + - '1155' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:19:40 GMT + - Wed, 14 Dec 2022 08:37:38 GMT etag: - - '"6a00f74d-0000-0100-0000-6268d24b0000"' + - '"3400fded-0000-0100-0000-63998b310000"' expires: - '-1' mise-correlation-id: - - e035a41c-646f-40be-934d-3b1e1332ebdc + - 83ee436c-6142-4b90-8065-6e41546c3ea3 pragma: - no-cache strict-transport-security: @@ -545,7 +584,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -569,15 +608,16 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/09cd590f-cc25-48ac-bbac-f3c6e8fafc79*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c3f85a61-5e2a-4fd0-bcc7-f78fff2a0b20*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -585,13 +625,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:19:41 GMT + - Wed, 14 Dec 2022 08:37:38 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/09cd590f-cc25-48ac-bbac-f3c6e8fafc79*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c3f85a61-5e2a-4fd0-bcc7-f78fff2a0b20*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2021-01-01-privatepreview mise-correlation-id: - - 49064cdc-49f3-47d1-a821-62829bd58a05 + - 164b0c93-84da-48d1-a664-f8641c47e20e pragma: - no-cache strict-transport-security: @@ -601,7 +641,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -619,32 +659,107 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/09cd590f-cc25-48ac-bbac-f3c6e8fafc79*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c3f85a61-5e2a-4fd0-bcc7-f78fff2a0b20*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/09cd590f-cc25-48ac-bbac-f3c6e8fafc79*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", - "name": "09cd590f-cc25-48ac-bbac-f3c6e8fafc79*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c3f85a61-5e2a-4fd0-bcc7-f78fff2a0b20*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", + "name": "c3f85a61-5e2a-4fd0-bcc7-f78fff2a0b20*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:19:41.2969833Z", "endTime": - "2022-04-27T05:19:43.7610185Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T08:37:39.4593321Z", "endTime": + "2022-12-14T08:37:43.6525342Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The target''s network access is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-04-27T05:19:42.4689476Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:19:43.6904758Z\",\"SourceId\":null,\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration\",\"AuthType\":0}"}}' + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T08:37:40.7224801Z\",\"ReportEndTimeUtc\":\"2022-12-14T08:37:42.4942714Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network access is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-14T08:37:40.7224801Z", "reportEndTimeUtc": "2022-12-14T08:37:42.4942714Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' headers: cache-control: - no-cache content-length: - - '1570' + - '2101' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:20:12 GMT + - Wed, 14 Dec 2022 08:38:10 GMT etag: - - '"130097fd-0000-0100-0000-6268d26f0000"' + - '"1000f94e-0000-0100-0000-63998b570000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c3f85a61-5e2a-4fd0-bcc7-f78fff2a0b20*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c3f85a61-5e2a-4fd0-bcc7-f78fff2a0b20*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", + "name": "c3f85a61-5e2a-4fd0-bcc7-f78fff2a0b20*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T08:37:39.4593321Z", "endTime": + "2022-12-14T08:37:43.6525342Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target''s network access is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T08:37:40.7224801Z\",\"ReportEndTimeUtc\":\"2022-12-14T08:37:42.4942714Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network access is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-14T08:37:40.7224801Z", "reportEndTimeUtc": "2022-12-14T08:37:42.4942714Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' + headers: + cache-control: + - no-cache + content-length: + - '2101' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 08:38:10 GMT + etag: + - '"1000f94e-0000-0100-0000-63998b570000"' expires: - '-1' pragma: @@ -674,36 +789,44 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:12:44.6244623Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:36:58.9790262Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.AppConfiguration/configurationStores/servicelinker-app-configuration", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '744' + - '1155' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:20:12 GMT + - Wed, 14 Dec 2022 08:38:12 GMT etag: - - '"6a00f74d-0000-0100-0000-6268d24b0000"' + - '"3400fded-0000-0100-0000-63998b310000"' expires: - '-1' mise-correlation-id: - - d0ed2f3d-0460-401f-a454-77ced9167d18 + - 489df767-7e1b-4c1d-9026-ec5d2c8fe1ac pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked vary: - Accept-Encoding x-content-type-options: @@ -729,15 +852,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/53520040-9cfa-4a29-9ad2-ae032309ba59*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/93b18af1-b1ed-4ded-ad7b-aed59c15aec0*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -745,15 +869,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:20:18 GMT + - Wed, 14 Dec 2022 08:38:22 GMT etag: - - '"380555d6-0000-0200-0000-6268d2930000"' + - '"34009cf3-0000-0100-0000-63998b7e0000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/53520040-9cfa-4a29-9ad2-ae032309ba59*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/93b18af1-b1ed-4ded-ad7b-aed59c15aec0*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2021-01-01-privatepreview mise-correlation-id: - - 6d00c8e9-eaf4-4c54-bb3b-8bd8bd642387 + - 8db9bfa4-f0f8-4533-906a-7bf79546fc0e pragma: - no-cache strict-transport-security: @@ -781,27 +905,28 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/53520040-9cfa-4a29-9ad2-ae032309ba59*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/93b18af1-b1ed-4ded-ad7b-aed59c15aec0*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/53520040-9cfa-4a29-9ad2-ae032309ba59*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", - "name": "53520040-9cfa-4a29-9ad2-ae032309ba59*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/93b18af1-b1ed-4ded-ad7b-aed59c15aec0*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", + "name": "93b18af1-b1ed-4ded-ad7b-aed59c15aec0*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-config-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:20:19.14282Z", "endTime": - "2022-04-27T05:20:28.1229911Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T08:38:22.4238131Z", "endTime": + "2022-12-14T08:38:27.413431Z", "properties": null}' headers: cache-control: - no-cache content-length: - - '695' + - '696' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:20:49 GMT + - Wed, 14 Dec 2022 08:38:52 GMT etag: - - '"130002fe-0000-0100-0000-6268d29c0000"' + - '"10002e50-0000-0100-0000-63998b830000"' expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_confluentkafka_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_confluentkafka_e2e.yaml index 9c0da157033..5ce47f2bf60 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_confluentkafka_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_confluentkafka_e2e.yaml @@ -21,37 +21,40 @@ interactions: - --connection --source-id --bootstrap-server --kafka-key --kafka-secret --schema-registry --schema-key --schema-secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:18:24.8770083Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:18:24.8770083Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", - "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": - {"secretType": "rawValue"}, "authType": "secret"}, "vNetSolution": null, "clientType": - "python", "secretStore": {"keyVaultId": null}, "scope": null}}' + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:38:55.4173943Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:38:55.4173943Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"endpoint": + "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, + "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": + "secret"}, "vNetSolution": null, "clientType": "python", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/97b2a2f2-a1f8-44d6-bc7a-e2e5e1713dfb*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9a0368ba-a195-407e-9e62-cb9ace16320c*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '865' + - '965' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:18:25 GMT + - Wed, 14 Dec 2022 08:38:56 GMT etag: - - '"6a00a04d-0000-0100-0000-6268d2210000"' + - '"3400f4f5-0000-0100-0000-63998ba00000"' expires: - '-1' mise-correlation-id: - - 896440e6-26d9-48ad-a16c-eee794932d07 + - d3b5e41c-790c-4067-a803-f93f00fd518b pragma: - no-cache strict-transport-security: @@ -80,16 +83,17 @@ interactions: - --connection --source-id --bootstrap-server --kafka-key --kafka-secret --schema-registry --schema-key --schema-secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/97b2a2f2-a1f8-44d6-bc7a-e2e5e1713dfb*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9a0368ba-a195-407e-9e62-cb9ace16320c*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/97b2a2f2-a1f8-44d6-bc7a-e2e5e1713dfb*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", - "name": "97b2a2f2-a1f8-44d6-bc7a-e2e5e1713dfb*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9a0368ba-a195-407e-9e62-cb9ace16320c*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", + "name": "9a0368ba-a195-407e-9e62-cb9ace16320c*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:18:25.8421402Z", "endTime": - "2022-04-27T05:18:29.5437341Z", "properties": {"message": ""}}' + "status": "Succeeded", "startTime": "2022-12-14T08:38:56.5899711Z", "endTime": + "2022-12-14T08:39:01.9402285Z", "properties": {"Message": ""}}' headers: cache-control: - no-cache @@ -98,9 +102,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:18:56 GMT + - Wed, 14 Dec 2022 08:39:27 GMT etag: - - '"1500fed7-0000-0400-0000-6268d2250000"' + - '"10002d51-0000-0100-0000-63998ba50000"' expires: - '-1' pragma: @@ -131,32 +135,38 @@ interactions: - --connection --source-id --bootstrap-server --kafka-key --kafka-secret --schema-registry --schema-key --schema-secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:38:55.4173943Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:38:55.4173943Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", - "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null, "keyVaultSecretName": + null}}}' headers: cache-control: - no-cache content-length: - - '625' + - '966' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:18:56 GMT + - Wed, 14 Dec 2022 08:39:28 GMT etag: - - '"0200a99a-0000-0400-0000-6268d2250000"' + - '"340051f6-0000-0100-0000-63998ba50000"' expires: - '-1' mise-correlation-id: - - ba4e069c-245c-41be-914a-707ccbbc8142 + - 83bff460-6919-4105-bbde-55e61ef4b68c pragma: - no-cache strict-transport-security: @@ -164,7 +174,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -194,37 +204,40 @@ interactions: - --connection --source-id --bootstrap-server --kafka-key --kafka-secret --schema-registry --schema-key --schema-secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema", "name": "testconn_schema", "type": "microsoft.servicelinker/linkers", "systemData": {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T02:58:55.8321652Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:18:57.6897497Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"endpoint": "https://xxx.eastus.azure.confluent.cloud", - "type": "ConfluentSchemaRegistry"}, "authInfo": {"name": "Name", "secretInfo": - {"secretType": "rawValue"}, "authType": "secret"}, "vNetSolution": null, "clientType": - "python", "secretStore": {"keyVaultId": null}, "scope": null}}' + "2022-04-27T02:58:55.8321652Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:39:29.4798331Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"endpoint": + "https://xxx.eastus.azure.confluent.cloud", "type": "ConfluentSchemaRegistry"}, + "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": + "secret"}, "vNetSolution": null, "clientType": "python", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f69fedbd-e93e-4025-afe4-81f7aacc5382*B57182BA5988C3A1561A6FA2B596D239ED4EEEE3830B5FF74B5303074A8F9735?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/277caa67-80e3-4690-a238-45ee496f8e79*B57182BA5988C3A1561A6FA2B596D239ED4EEEE3830B5FF74B5303074A8F9735?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '881' + - '974' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:18:57 GMT + - Wed, 14 Dec 2022 08:39:29 GMT etag: - - '"6a00e24d-0000-0100-0000-6268d2420000"' + - '"340045f8-0000-0100-0000-63998bc20000"' expires: - '-1' mise-correlation-id: - - 9d3053cd-b650-45b8-ba19-3db016341fb1 + - e3fd1f55-9148-4d01-a031-cff5e8939e26 pragma: - no-cache strict-transport-security: @@ -253,16 +266,17 @@ interactions: - --connection --source-id --bootstrap-server --kafka-key --kafka-secret --schema-registry --schema-key --schema-secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f69fedbd-e93e-4025-afe4-81f7aacc5382*B57182BA5988C3A1561A6FA2B596D239ED4EEEE3830B5FF74B5303074A8F9735?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/277caa67-80e3-4690-a238-45ee496f8e79*B57182BA5988C3A1561A6FA2B596D239ED4EEEE3830B5FF74B5303074A8F9735?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f69fedbd-e93e-4025-afe4-81f7aacc5382*B57182BA5988C3A1561A6FA2B596D239ED4EEEE3830B5FF74B5303074A8F9735", - "name": "f69fedbd-e93e-4025-afe4-81f7aacc5382*B57182BA5988C3A1561A6FA2B596D239ED4EEEE3830B5FF74B5303074A8F9735", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/277caa67-80e3-4690-a238-45ee496f8e79*B57182BA5988C3A1561A6FA2B596D239ED4EEEE3830B5FF74B5303074A8F9735", + "name": "277caa67-80e3-4690-a238-45ee496f8e79*B57182BA5988C3A1561A6FA2B596D239ED4EEEE3830B5FF74B5303074A8F9735", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema", - "status": "Succeeded", "startTime": "2022-04-27T05:18:57.8729119Z", "endTime": - "2022-04-27T05:19:01.5078048Z", "properties": {"message": ""}}' + "status": "Succeeded", "startTime": "2022-12-14T08:39:29.8970972Z", "endTime": + "2022-12-14T08:39:35.0973627Z", "properties": {"Message": ""}}' headers: cache-control: - no-cache @@ -271,9 +285,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:19:28 GMT + - Wed, 14 Dec 2022 08:40:01 GMT etag: - - '"130050fd-0000-0100-0000-6268d2450000"' + - '"1000ff51-0000-0100-0000-63998bc70000"' expires: - '-1' pragma: @@ -304,32 +318,38 @@ interactions: - --connection --source-id --bootstrap-server --kafka-key --kafka-secret --schema-registry --schema-key --schema-secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema", - "name": "testconn_schema", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"endpoint": "https://xxx.eastus.azure.confluent.cloud", + "name": "testconn_schema", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": + "2022-04-27T02:58:55.8321652Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:39:29.4798331Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"endpoint": "https://xxx.eastus.azure.confluent.cloud", "type": "ConfluentSchemaRegistry"}, "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", - "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null, "keyVaultSecretName": + null}}}' headers: cache-control: - no-cache content-length: - - '641' + - '975' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:19:28 GMT + - Wed, 14 Dec 2022 08:40:02 GMT etag: - - '"6a00ea4d-0000-0100-0000-6268d2450000"' + - '"340099f8-0000-0100-0000-63998bc70000"' expires: - '-1' mise-correlation-id: - - 362722a8-7d4a-45af-b10e-8efc306e61aa + - f7e421c3-4c0c-44b1-99b1-19d0e851139f pragma: - no-cache strict-transport-security: @@ -337,7 +357,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -359,36 +379,46 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:38:55.4173943Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:38:55.4173943Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", - "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}, - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema", - "name": "testconn_schema", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"endpoint": "https://xxx.eastus.azure.confluent.cloud", + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null, "keyVaultSecretName": + null}}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema", + "name": "testconn_schema", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": + "2022-04-27T02:58:55.8321652Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:39:29.4798331Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"endpoint": "https://xxx.eastus.azure.confluent.cloud", "type": "ConfluentSchemaRegistry"}, "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", - "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}]}' + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null, "keyVaultSecretName": + null}}}]}' headers: cache-control: - no-cache content-length: - - '1281' + - '1956' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:19:35 GMT + - Wed, 14 Dec 2022 08:40:21 GMT expires: - '-1' mise-correlation-id: - - 7bcd7e66-6cb5-4b31-a9c6-cee9eacab7ac + - 55d2d833-cc7e-466e-8d4c-565a824ff572 pragma: - no-cache strict-transport-security: @@ -396,7 +426,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -418,32 +448,38 @@ interactions: ParameterSetName: - --connection --source-id --client-type --kafka-secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:38:55.4173943Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:38:55.4173943Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", - "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null, "keyVaultSecretName": + null}}}' headers: cache-control: - no-cache content-length: - - '625' + - '966' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:19:35 GMT + - Wed, 14 Dec 2022 08:40:22 GMT etag: - - '"0200a99a-0000-0400-0000-6268d2250000"' + - '"340051f6-0000-0100-0000-63998ba50000"' expires: - '-1' mise-correlation-id: - - af204ae8-4d21-42f5-b9f7-b8335f00f8ff + - c6024e0b-e5ad-42aa-ba21-efaaf9a01d8f pragma: - no-cache strict-transport-security: @@ -451,7 +487,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -479,37 +515,40 @@ interactions: ParameterSetName: - --connection --source-id --client-type --kafka-secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:18:24.8770083Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:19:36.9059878Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", - "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": - null, "authType": "secret"}, "vNetSolution": null, "clientType": "dotnet", - "secretStore": {"keyVaultId": null}, "scope": null}}' + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:38:55.4173943Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:40:23.6668837Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"endpoint": + "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, + "authInfo": {"name": "Name", "secretInfo": null, "authType": "secret"}, "vNetSolution": + null, "clientType": "dotnet", "secretStore": {"keyVaultId": null, "keyVaultSecretName": + null}, "scope": null, "publicNetworkSolution": null, "configurationInfo": + null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/44150c32-49a9-44d1-9cbf-0efff7338bc5*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6aee32b0-3fb0-4a6d-ab8b-8966919e7f1c*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '843' + - '943' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:19:36 GMT + - Wed, 14 Dec 2022 08:40:23 GMT etag: - - '"6a004f4e-0000-0100-0000-6268d2690000"' + - '"3400cbfb-0000-0100-0000-63998bf80000"' expires: - '-1' mise-correlation-id: - - e0ec44bb-c303-4500-aa2b-bfd13d8eb19e + - dd3e56e0-c016-4040-a16e-54b4d300b074 pragma: - no-cache strict-transport-security: @@ -537,16 +576,17 @@ interactions: ParameterSetName: - --connection --source-id --client-type --kafka-secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/44150c32-49a9-44d1-9cbf-0efff7338bc5*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6aee32b0-3fb0-4a6d-ab8b-8966919e7f1c*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/44150c32-49a9-44d1-9cbf-0efff7338bc5*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", - "name": "44150c32-49a9-44d1-9cbf-0efff7338bc5*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6aee32b0-3fb0-4a6d-ab8b-8966919e7f1c*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", + "name": "6aee32b0-3fb0-4a6d-ab8b-8966919e7f1c*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:19:37.0904111Z", "endTime": - "2022-04-27T05:19:40.287826Z", "properties": {"message": ""}}' + "status": "Succeeded", "startTime": "2022-12-14T08:40:24.0619918Z", "endTime": + "2022-12-14T08:40:31.141149Z", "properties": {"Message": ""}}' headers: cache-control: - no-cache @@ -555,9 +595,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:20:08 GMT + - Wed, 14 Dec 2022 08:40:54 GMT etag: - - '"1500c5db-0000-0400-0000-6268d26c0000"' + - '"10001c53-0000-0100-0000-63998bff0000"' expires: - '-1' pragma: @@ -587,32 +627,38 @@ interactions: ParameterSetName: - --connection --source-id --client-type --kafka-secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:38:55.4173943Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:40:23.6668837Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": - null, "authType": "secret"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet", + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null, "keyVaultSecretName": + null}}}' headers: cache-control: - no-cache content-length: - - '603' + - '966' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:20:08 GMT + - Wed, 14 Dec 2022 08:40:55 GMT etag: - - '"0200e29a-0000-0400-0000-6268d26c0000"' + - '"340041fc-0000-0100-0000-63998bff0000"' expires: - '-1' mise-correlation-id: - - 12a522c0-2922-480b-b5e3-aa148faa740b + - a5af99dd-a4cd-4a22-8143-fddba506902b pragma: - no-cache strict-transport-security: @@ -620,7 +666,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -644,9 +690,10 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview response: body: string: '{"configurations": [{"name": "CONFLUENTCLOUD_KAFKA_BOOTSTRAPSERVER", @@ -660,11 +707,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:20:11 GMT + - Wed, 14 Dec 2022 08:40:58 GMT expires: - '-1' mise-correlation-id: - - b72e0eef-7eac-412a-9ac3-7fa3a9c1ccf0 + - 153fd9a8-6b77-44fc-a8f6-73cf39014836 pragma: - no-cache strict-transport-security: @@ -672,13 +719,13 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 200 message: OK @@ -696,32 +743,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:38:55.4173943Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:40:23.6668837Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": - null, "authType": "secret"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet", + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null, "keyVaultSecretName": + null}}}' headers: cache-control: - no-cache content-length: - - '603' + - '966' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:20:11 GMT + - Wed, 14 Dec 2022 08:41:01 GMT etag: - - '"0200e29a-0000-0400-0000-6268d26c0000"' + - '"340041fc-0000-0100-0000-63998bff0000"' expires: - '-1' mise-correlation-id: - - 9648b011-4a6a-49f7-9f34-aab31024f410 + - bebb68f5-f98c-44a7-8233-a68e20c5c03d pragma: - no-cache strict-transport-security: @@ -729,7 +782,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -753,15 +806,16 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d77e2973-15f2-492c-bc8b-42c41d25a1c4*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f91174f7-ce69-407b-bf74-0b1eb039d22e*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -769,13 +823,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:20:11 GMT + - Wed, 14 Dec 2022 08:41:02 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d77e2973-15f2-492c-bc8b-42c41d25a1c4*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f91174f7-ce69-407b-bf74-0b1eb039d22e*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2021-01-01-privatepreview mise-correlation-id: - - 4d6bac45-46f3-40ad-804d-4eb4af89d605 + - f8e63caa-8fd9-451a-9784-96a9c6183e45 pragma: - no-cache strict-transport-security: @@ -785,7 +839,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 202 message: Accepted @@ -803,29 +857,99 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d77e2973-15f2-492c-bc8b-42c41d25a1c4*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f91174f7-ce69-407b-bf74-0b1eb039d22e*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d77e2973-15f2-492c-bc8b-42c41d25a1c4*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", - "name": "d77e2973-15f2-492c-bc8b-42c41d25a1c4*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f91174f7-ce69-407b-bf74-0b1eb039d22e*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", + "name": "f91174f7-ce69-407b-bf74-0b1eb039d22e*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:20:12.3696076Z", "endTime": - "2022-04-27T05:20:19.6827869Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T08:41:02.1275422Z", "endTime": + "2022-12-14T08:41:05.1527649Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":false,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - configured values is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-04-27T05:20:13.6641773Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:20:19.6199445Z\",\"SourceId\":null,\"TargetId\":\"xxx.eastus.azure.confluent.cloud:9092\",\"AuthType\":4}"}}' + configured values is validated\",\"Description\":\"kafka bootstrap server + api-keys secret is changed\",\"Result\":1}],\"ReportStartTimeUtc\":\"2022-12-14T08:41:03.4050062Z\",\"ReportEndTimeUtc\":\"2022-12-14T08:41:04.0593944Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn", "isConnectionAvailable": false, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The configured values is validated", "description": + "kafka bootstrap server api-keys secret is changed", "result": "failure"}], + "reportStartTimeUtc": "2022-12-14T08:41:03.4050062Z", "reportEndTimeUtc": + "2022-12-14T08:41:04.0593944Z", "sourceId": null, "targetId": null, "authType": + "secret"}}' headers: cache-control: - no-cache content-length: - - '1159' + - '1642' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:20:42 GMT + - Wed, 14 Dec 2022 08:41:32 GMT etag: - - '"1300f1fd-0000-0100-0000-6268d2930000"' + - '"1000cb53-0000-0100-0000-63998c210000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f91174f7-ce69-407b-bf74-0b1eb039d22e*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f91174f7-ce69-407b-bf74-0b1eb039d22e*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", + "name": "f91174f7-ce69-407b-bf74-0b1eb039d22e*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T08:41:02.1275422Z", "endTime": + "2022-12-14T08:41:05.1527649Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":false,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values is validated\",\"Description\":\"kafka bootstrap server + api-keys secret is changed\",\"Result\":1}],\"ReportStartTimeUtc\":\"2022-12-14T08:41:03.4050062Z\",\"ReportEndTimeUtc\":\"2022-12-14T08:41:04.0593944Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn", "isConnectionAvailable": false, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The configured values is validated", "description": + "kafka bootstrap server api-keys secret is changed", "result": "failure"}], + "reportStartTimeUtc": "2022-12-14T08:41:03.4050062Z", "reportEndTimeUtc": + "2022-12-14T08:41:04.0593944Z", "sourceId": null, "targetId": null, "authType": + "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1642' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 08:41:33 GMT + etag: + - '"1000cb53-0000-0100-0000-63998c210000"' expires: - '-1' pragma: @@ -855,32 +979,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:38:55.4173943Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:40:23.6668837Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": - null, "authType": "secret"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet", + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null, "keyVaultSecretName": + null}}}' headers: cache-control: - no-cache content-length: - - '603' + - '966' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:20:43 GMT + - Wed, 14 Dec 2022 08:41:35 GMT etag: - - '"0200e29a-0000-0400-0000-6268d26c0000"' + - '"340041fc-0000-0100-0000-63998bff0000"' expires: - '-1' mise-correlation-id: - - 33f95628-79c9-42fb-b4dc-a3118cfc3da9 + - 8248314a-36e4-41c7-b904-d831a7f366d7 pragma: - no-cache strict-transport-security: @@ -888,7 +1018,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -912,15 +1042,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/cfd590c7-c4d7-441d-8e35-b90fcbb1ea27*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/049a049a-438e-40e5-a23a-1191ec47d88e*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -928,15 +1059,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:20:46 GMT + - Wed, 14 Dec 2022 08:41:44 GMT etag: - - '"6a002f4f-0000-0100-0000-6268d2af0000"' + - '"3500f700-0000-0100-0000-63998c480000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/cfd590c7-c4d7-441d-8e35-b90fcbb1ea27*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/049a049a-438e-40e5-a23a-1191ec47d88e*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2021-01-01-privatepreview mise-correlation-id: - - 8b7a001f-2c8a-4eb8-9ac7-c57cea85f998 + - 2a27f2de-2a7b-4b5f-9453-d457fbec82ed pragma: - no-cache strict-transport-security: @@ -946,7 +1077,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted @@ -964,27 +1095,28 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/cfd590c7-c4d7-441d-8e35-b90fcbb1ea27*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/049a049a-438e-40e5-a23a-1191ec47d88e*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/cfd590c7-c4d7-441d-8e35-b90fcbb1ea27*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", - "name": "cfd590c7-c4d7-441d-8e35-b90fcbb1ea27*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/049a049a-438e-40e5-a23a-1191ec47d88e*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", + "name": "049a049a-438e-40e5-a23a-1191ec47d88e*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:20:47.365895Z", "endTime": - "2022-04-27T05:20:50.6553974Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T08:41:44.5553895Z", "endTime": + "2022-12-14T08:41:49.6345536Z", "properties": null}' headers: cache-control: - no-cache content-length: - - '695' + - '696' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:21:17 GMT + - Wed, 14 Dec 2022 08:42:15 GMT etag: - - '"1500a9e4-0000-0400-0000-6268d2b20000"' + - '"1000b254-0000-0100-0000-63998c4d0000"' expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_confluentkafka_keyvault_ref.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_confluentkafka_keyvault_ref.yaml index 205d89e0e69..78df967042c 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_confluentkafka_keyvault_ref.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_confluentkafka_keyvault_ref.yaml @@ -14,11 +14,12 @@ interactions: - --connection --source-id --bootstrap-server --kafka-key --kafka-secret --schema-registry --schema-key --schema-secret --client-type --vault-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": []}' @@ -30,11 +31,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:18:24 GMT + - Wed, 14 Dec 2022 08:42:17 GMT expires: - '-1' mise-correlation-id: - - c1463ea4-936a-4b7b-8806-6e54ce675144 + - 3dd08562-5eb5-4a5c-8253-46c3b7121ca2 pragma: - no-cache strict-transport-security: @@ -42,7 +43,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -70,39 +71,41 @@ interactions: - --connection --source-id --bootstrap-server --kafka-key --kafka-secret --schema-registry --schema-key --schema-secret --client-type --vault-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_QEOig?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_v8E1A?api-version=2022-11-01-preview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_QEOig", - "name": "keyvault_QEOig", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:18:25.4400384Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:18:25.4400384Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": - null, "scope": null}}' + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_v8E1A", + "name": "keyvault_v8E1A", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:42:18.9553639Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:42:18.9553639Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": null, + "scope": null, "publicNetworkSolution": null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/47a37eba-3deb-4088-9fd1-717c1b02df9b*421142A912F0A2CDC702EEC154D2B3BD77AC0C07E8BC8AF4834EFA6053A2C21B?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/024380ba-b82a-4949-a6ae-eb81f575bee4*726831A81A5C8F8C21043485D9730736283D380F31CD907853AB912A1D983681?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '951' + - '1093' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:18:25 GMT + - Wed, 14 Dec 2022 08:42:19 GMT etag: - - '"6a009d4d-0000-0100-0000-6268d2210000"' + - '"35003803-0000-0100-0000-63998c6b0000"' expires: - '-1' mise-correlation-id: - - 60184ef3-290b-4b19-82f6-d1405508ac87 + - 17d71655-c741-46f9-a682-cdf4f8b12123 pragma: - no-cache strict-transport-security: @@ -112,7 +115,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -131,29 +134,30 @@ interactions: - --connection --source-id --bootstrap-server --kafka-key --kafka-secret --schema-registry --schema-key --schema-secret --client-type --vault-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/47a37eba-3deb-4088-9fd1-717c1b02df9b*421142A912F0A2CDC702EEC154D2B3BD77AC0C07E8BC8AF4834EFA6053A2C21B?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/024380ba-b82a-4949-a6ae-eb81f575bee4*726831A81A5C8F8C21043485D9730736283D380F31CD907853AB912A1D983681?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/47a37eba-3deb-4088-9fd1-717c1b02df9b*421142A912F0A2CDC702EEC154D2B3BD77AC0C07E8BC8AF4834EFA6053A2C21B", - "name": "47a37eba-3deb-4088-9fd1-717c1b02df9b*421142A912F0A2CDC702EEC154D2B3BD77AC0C07E8BC8AF4834EFA6053A2C21B", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_QEOig", - "status": "Succeeded", "startTime": "2022-04-27T05:18:25.6094487Z", "endTime": - "2022-04-27T05:18:29.826921Z", "properties": {}}' + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/024380ba-b82a-4949-a6ae-eb81f575bee4*726831A81A5C8F8C21043485D9730736283D380F31CD907853AB912A1D983681", + "name": "024380ba-b82a-4949-a6ae-eb81f575bee4*726831A81A5C8F8C21043485D9730736283D380F31CD907853AB912A1D983681", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_v8E1A", + "status": "Succeeded", "startTime": "2022-12-14T08:42:19.3698232Z", "endTime": + "2022-12-14T08:42:25.8512174Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '703' + - '719' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:18:55 GMT + - Wed, 14 Dec 2022 08:42:50 GMT etag: - - '"13002dfd-0000-0100-0000-6268d2250000"' + - '"10006255-0000-0100-0000-63998c710000"' expires: - '-1' pragma: @@ -184,34 +188,40 @@ interactions: - --connection --source-id --bootstrap-server --kafka-key --kafka-secret --schema-registry --schema-key --schema-secret --client-type --vault-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_QEOig?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_v8E1A?api-version=2022-11-01-preview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_QEOig", - "name": "keyvault_QEOig", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": null}}' + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_v8E1A", + "name": "keyvault_v8E1A", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:42:18.9553639Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:42:18.9553639Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + null}}' headers: cache-control: - no-cache content-length: - - '711' + - '1094' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:18:56 GMT + - Wed, 14 Dec 2022 08:42:51 GMT etag: - - '"6a00ac4d-0000-0100-0000-6268d2250000"' + - '"3500aa03-0000-0100-0000-63998c710000"' expires: - '-1' mise-correlation-id: - - 7f7d36dd-6759-45d7-8cc0-a8a8b6676840 + - 8919e452-05cb-40a6-946b-0352b27aa38e pragma: - no-cache strict-transport-security: @@ -219,7 +229,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -249,40 +259,43 @@ interactions: - --connection --source-id --bootstrap-server --kafka-key --kafka-secret --schema-registry --schema-key --schema-secret --client-type --vault-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:18:56.6899351Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:18:56.6899351Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", - "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": - {"secretType": "rawValue"}, "authType": "secret"}, "vNetSolution": null, "clientType": - "python", "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}, - "scope": null}}' + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:42:52.2368301Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:42:52.2368301Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"endpoint": + "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, + "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": + "secret"}, "vNetSolution": null, "clientType": "python", "secretStore": {"keyVaultId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": null, + "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/57d56cbf-5bb3-4bec-9e91-a71260f33a14*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4d28902c-0abf-4c7d-9776-c45689afaa32*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1021' + - '1121' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:18:57 GMT + - Wed, 14 Dec 2022 08:42:52 GMT etag: - - '"6a00e04d-0000-0100-0000-6268d2410000"' + - '"35005a05-0000-0100-0000-63998c8c0000"' expires: - '-1' mise-correlation-id: - - 44790199-bf8a-4591-b6e7-fe2de7e51c42 + - 8ae4de3f-8507-4fbc-8c1a-8f7c37803879 pragma: - no-cache strict-transport-security: @@ -292,7 +305,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -311,18 +324,19 @@ interactions: - --connection --source-id --bootstrap-server --kafka-key --kafka-secret --schema-registry --schema-key --schema-secret --client-type --vault-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/57d56cbf-5bb3-4bec-9e91-a71260f33a14*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4d28902c-0abf-4c7d-9776-c45689afaa32*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/57d56cbf-5bb3-4bec-9e91-a71260f33a14*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252", - "name": "57d56cbf-5bb3-4bec-9e91-a71260f33a14*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4d28902c-0abf-4c7d-9776-c45689afaa32*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252", + "name": "4d28902c-0abf-4c7d-9776-c45689afaa32*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:18:56.8768874Z", "endTime": - "2022-04-27T05:19:01.8774763Z", "properties": {"message": ""}}' + "status": "Succeeded", "startTime": "2022-12-14T08:42:52.7203483Z", "endTime": + "2022-12-14T08:42:58.7267439Z", "properties": {"Message": ""}}' headers: cache-control: - no-cache @@ -331,9 +345,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:19:27 GMT + - Wed, 14 Dec 2022 08:43:24 GMT etag: - - '"150089d9-0000-0400-0000-6268d2450000"' + - '"10000c56-0000-0100-0000-63998c920000"' expires: - '-1' pragma: @@ -364,34 +378,40 @@ interactions: - --connection --source-id --bootstrap-server --kafka-key --kafka-secret --schema-registry --schema-key --schema-secret --client-type --vault-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:42:52.2368301Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:42:52.2368301Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", - "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}}}' + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '781' + - '1122' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:19:27 GMT + - Wed, 14 Dec 2022 08:43:24 GMT etag: - - '"0200da9a-0000-0400-0000-6268d2450000"' + - '"3500b905-0000-0100-0000-63998c920000"' expires: - '-1' mise-correlation-id: - - 07af9ca7-94c0-4675-b0c2-2c521ee1005e + - 2a60fd1f-8746-4795-bd0f-57497775c997 pragma: - no-cache strict-transport-security: @@ -399,7 +419,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -429,40 +449,43 @@ interactions: - --connection --source-id --bootstrap-server --kafka-key --kafka-secret --schema-registry --schema-key --schema-secret --client-type --vault-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema", "name": "testconn_schema", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:19:28.299208Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:19:28.299208Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"endpoint": "https://xxx.eastus.azure.confluent.cloud", - "type": "ConfluentSchemaRegistry"}, "authInfo": {"name": "Name", "secretInfo": - {"secretType": "rawValue"}, "authType": "secret"}, "vNetSolution": null, "clientType": - "python", "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}, - "scope": null}}' + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:43:24.9245435Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:43:24.9245435Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"endpoint": + "https://xxx.eastus.azure.confluent.cloud", "type": "ConfluentSchemaRegistry"}, + "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": + "secret"}, "vNetSolution": null, "clientType": "python", "secretStore": {"keyVaultId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": null, + "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad2f5185-adcf-401e-9276-32da1168fe4e*800A3CD6FB5107C266B0675A3A2384F10FDD61763B09D9C3193AE3A8C9053EB8?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ea896acb-2dbe-47f1-aac1-ac3b87635ca2*800A3CD6FB5107C266B0675A3A2384F10FDD61763B09D9C3193AE3A8C9053EB8?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1035' + - '1137' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:19:28 GMT + - Wed, 14 Dec 2022 08:43:25 GMT etag: - - '"6a00374e-0000-0100-0000-6268d2600000"' + - '"35005f07-0000-0100-0000-63998cad0000"' expires: - '-1' mise-correlation-id: - - cc1ed7f7-c7a1-4314-930e-bbc43198bcd7 + - 9b6414d6-eb7a-40b1-bcec-51b3994e1fa6 pragma: - no-cache strict-transport-security: @@ -472,7 +495,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1197' status: code: 201 message: Created @@ -491,18 +514,19 @@ interactions: - --connection --source-id --bootstrap-server --kafka-key --kafka-secret --schema-registry --schema-key --schema-secret --client-type --vault-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad2f5185-adcf-401e-9276-32da1168fe4e*800A3CD6FB5107C266B0675A3A2384F10FDD61763B09D9C3193AE3A8C9053EB8?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ea896acb-2dbe-47f1-aac1-ac3b87635ca2*800A3CD6FB5107C266B0675A3A2384F10FDD61763B09D9C3193AE3A8C9053EB8?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad2f5185-adcf-401e-9276-32da1168fe4e*800A3CD6FB5107C266B0675A3A2384F10FDD61763B09D9C3193AE3A8C9053EB8", - "name": "ad2f5185-adcf-401e-9276-32da1168fe4e*800A3CD6FB5107C266B0675A3A2384F10FDD61763B09D9C3193AE3A8C9053EB8", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ea896acb-2dbe-47f1-aac1-ac3b87635ca2*800A3CD6FB5107C266B0675A3A2384F10FDD61763B09D9C3193AE3A8C9053EB8", + "name": "ea896acb-2dbe-47f1-aac1-ac3b87635ca2*800A3CD6FB5107C266B0675A3A2384F10FDD61763B09D9C3193AE3A8C9053EB8", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema", - "status": "Succeeded", "startTime": "2022-04-27T05:19:28.5034517Z", "endTime": - "2022-04-27T05:19:33.2110077Z", "properties": {"message": ""}}' + "status": "Succeeded", "startTime": "2022-12-14T08:43:25.3269325Z", "endTime": + "2022-12-14T08:43:34.0987582Z", "properties": {"Message": ""}}' headers: cache-control: - no-cache @@ -511,9 +535,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:19:58 GMT + - Wed, 14 Dec 2022 08:43:56 GMT etag: - - '"15001edb-0000-0400-0000-6268d2650000"' + - '"1000b556-0000-0100-0000-63998cb60000"' expires: - '-1' pragma: @@ -544,34 +568,40 @@ interactions: - --connection --source-id --bootstrap-server --kafka-key --kafka-secret --schema-registry --schema-key --schema-secret --client-type --vault-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema", - "name": "testconn_schema", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"endpoint": "https://xxx.eastus.azure.confluent.cloud", + "name": "testconn_schema", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:43:24.9245435Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:43:24.9245435Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"endpoint": "https://xxx.eastus.azure.confluent.cloud", "type": "ConfluentSchemaRegistry"}, "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", - "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}}}' + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '797' + - '1138' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:19:59 GMT + - Wed, 14 Dec 2022 08:43:56 GMT etag: - - '"0200de9a-0000-0400-0000-6268d2650000"' + - '"3500de07-0000-0100-0000-63998cb60000"' expires: - '-1' mise-correlation-id: - - b23dc417-de49-4b38-b6a6-7bfa20fdcf8b + - dba8eb49-3107-40f3-962c-45a8cc1c41fc pragma: - no-cache strict-transport-security: @@ -579,7 +609,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -601,41 +631,56 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: - string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_QEOig", - "name": "keyvault_QEOig", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": null}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_v8E1A", + "name": "keyvault_v8E1A", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:42:18.9553639Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:42:18.9553639Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + null}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:42:52.2368301Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:42:52.2368301Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", - "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}}}, - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema", - "name": "testconn_schema", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"endpoint": "https://xxx.eastus.azure.confluent.cloud", + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema", + "name": "testconn_schema", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:43:24.9245435Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:43:24.9245435Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"endpoint": "https://xxx.eastus.azure.confluent.cloud", "type": "ConfluentSchemaRegistry"}, "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", - "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}}}]}' + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '2306' + - '3371' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:20:10 GMT + - Wed, 14 Dec 2022 08:44:07 GMT expires: - '-1' mise-correlation-id: - - f7a13391-c123-41de-83a5-7fcb6bcb71ac + - fe559f5f-a834-4639-962c-55c3a48fb2ec pragma: - no-cache strict-transport-security: @@ -643,7 +688,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -665,32 +710,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:42:52.2368301Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:42:52.2368301Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", - "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}}}' + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '781' + - '1122' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:20:11 GMT + - Wed, 14 Dec 2022 08:44:09 GMT etag: - - '"0200da9a-0000-0400-0000-6268d2450000"' + - '"3500b905-0000-0100-0000-63998c920000"' expires: - '-1' mise-correlation-id: - - 2c08e446-70ae-469c-af3c-5cc96ec1daa1 + - 54165352-e8f6-47de-8f07-ca1dbeb28ea5 pragma: - no-cache strict-transport-security: @@ -698,7 +749,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -720,32 +771,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema", - "name": "testconn_schema", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"endpoint": "https://xxx.eastus.azure.confluent.cloud", + "name": "testconn_schema", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:43:24.9245435Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:43:24.9245435Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"endpoint": "https://xxx.eastus.azure.confluent.cloud", "type": "ConfluentSchemaRegistry"}, "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", - "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}}}' + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '797' + - '1138' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:20:15 GMT + - Wed, 14 Dec 2022 08:44:14 GMT etag: - - '"0200de9a-0000-0400-0000-6268d2650000"' + - '"3500de07-0000-0100-0000-63998cb60000"' expires: - '-1' mise-correlation-id: - - 4fd65007-5546-4413-89da-6c6def6cfcfc + - 98529121-a321-44bf-aa63-5c27c521d81b pragma: - no-cache strict-transport-security: @@ -753,7 +810,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -775,32 +832,38 @@ interactions: ParameterSetName: - --connection --source-id --kafka-secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:42:52.2368301Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:42:52.2368301Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", - "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}}}' + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '781' + - '1122' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:20:23 GMT + - Wed, 14 Dec 2022 08:44:20 GMT etag: - - '"0200da9a-0000-0400-0000-6268d2450000"' + - '"3500b905-0000-0100-0000-63998c920000"' expires: - '-1' mise-correlation-id: - - d33be634-53a0-485a-bd59-11af5feb1dfb + - 5d3aba3a-030d-4fac-a7a2-a388d8295167 pragma: - no-cache strict-transport-security: @@ -808,7 +871,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -830,43 +893,58 @@ interactions: ParameterSetName: - --connection --source-id --kafka-secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: - string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_QEOig", - "name": "keyvault_QEOig", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": null}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_v8E1A", + "name": "keyvault_v8E1A", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:42:18.9553639Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:42:18.9553639Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + null}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:42:52.2368301Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:42:52.2368301Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", - "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}}}, - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema", - "name": "testconn_schema", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"endpoint": "https://xxx.eastus.azure.confluent.cloud", + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema", + "name": "testconn_schema", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:43:24.9245435Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:43:24.9245435Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"endpoint": "https://xxx.eastus.azure.confluent.cloud", "type": "ConfluentSchemaRegistry"}, "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", - "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}}}]}' + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '2306' + - '3371' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:20:23 GMT + - Wed, 14 Dec 2022 08:44:21 GMT expires: - '-1' mise-correlation-id: - - 43d60c21-4c83-4601-9023-778200866407 + - 54d4c4df-7b2d-4f89-934e-b4514a44254a pragma: - no-cache strict-transport-security: @@ -874,7 +952,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -902,40 +980,42 @@ interactions: ParameterSetName: - --connection --source-id --kafka-secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:18:56.6899351Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:20:29.2119077Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", - "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": - null, "authType": "secret"}, "vNetSolution": null, "clientType": "python", - "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}, - "scope": null}}' + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:42:52.2368301Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:44:26.6726997Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"endpoint": + "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, + "authInfo": {"name": "Name", "secretInfo": null, "authType": "secret"}, "vNetSolution": + null, "clientType": "python", "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": null, + "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/325be2a2-1a7a-4d0f-8b7a-f1dae5662c38*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5d9362fc-0d69-4fc1-8e7f-8b2bc3f3a259*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '999' + - '1099' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:20:29 GMT + - Wed, 14 Dec 2022 08:44:27 GMT etag: - - '"6a00fc4e-0000-0100-0000-6268d29d0000"' + - '"3500170b-0000-0100-0000-63998ceb0000"' expires: - '-1' mise-correlation-id: - - e3dc5688-bb2b-44e5-8153-c0c0817f52e0 + - 9e52e3fe-9a28-42b1-90f2-48e5c4d3d365 pragma: - no-cache strict-transport-security: @@ -945,7 +1025,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1198' status: code: 201 message: Created @@ -963,18 +1043,19 @@ interactions: ParameterSetName: - --connection --source-id --kafka-secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/325be2a2-1a7a-4d0f-8b7a-f1dae5662c38*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5d9362fc-0d69-4fc1-8e7f-8b2bc3f3a259*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/325be2a2-1a7a-4d0f-8b7a-f1dae5662c38*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252", - "name": "325be2a2-1a7a-4d0f-8b7a-f1dae5662c38*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5d9362fc-0d69-4fc1-8e7f-8b2bc3f3a259*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252", + "name": "5d9362fc-0d69-4fc1-8e7f-8b2bc3f3a259*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:20:29.4477179Z", "endTime": - "2022-04-27T05:20:33.5358184Z", "properties": {"message": ""}}' + "status": "Succeeded", "startTime": "2022-12-14T08:44:27.0768678Z", "endTime": + "2022-12-14T08:44:32.9380691Z", "properties": {"Message": ""}}' headers: cache-control: - no-cache @@ -983,9 +1064,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:20:59 GMT + - Wed, 14 Dec 2022 08:44:57 GMT etag: - - '"1500f5e3-0000-0400-0000-6268d2a10000"' + - '"1000cf57-0000-0100-0000-63998cf00000"' expires: - '-1' pragma: @@ -1015,34 +1096,40 @@ interactions: ParameterSetName: - --connection --source-id --kafka-secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:42:52.2368301Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:44:26.6726997Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": - null, "authType": "secret"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}}}' + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '759' + - '1122' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:20:59 GMT + - Wed, 14 Dec 2022 08:44:58 GMT etag: - - '"0200fe9a-0000-0400-0000-6268d2a10000"' + - '"35006b0b-0000-0100-0000-63998cf00000"' expires: - '-1' mise-correlation-id: - - 0d3e343f-3296-4d43-81d2-b24d06f04063 + - 7d221d70-9af2-4e73-891d-b3a905e26b6a pragma: - no-cache strict-transport-security: @@ -1050,7 +1137,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -1072,32 +1159,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:42:52.2368301Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:44:26.6726997Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": - null, "authType": "secret"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}}}' + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '759' + - '1122' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:21:01 GMT + - Wed, 14 Dec 2022 08:45:01 GMT etag: - - '"0200fe9a-0000-0400-0000-6268d2a10000"' + - '"35006b0b-0000-0100-0000-63998cf00000"' expires: - '-1' mise-correlation-id: - - 6e959ab7-bb03-4e5c-a17b-d33c03def2fa + - d9ab7aac-ea5a-4c0c-a719-1a9d46d751d6 pragma: - no-cache strict-transport-security: @@ -1105,7 +1198,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -1127,41 +1220,56 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: - string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_QEOig", - "name": "keyvault_QEOig", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": null}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_v8E1A", + "name": "keyvault_v8E1A", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:42:18.9553639Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:42:18.9553639Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + null}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:42:52.2368301Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:44:26.6726997Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": - null, "authType": "secret"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}}}, - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema", - "name": "testconn_schema", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"endpoint": "https://xxx.eastus.azure.confluent.cloud", + {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema", + "name": "testconn_schema", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:43:24.9245435Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:43:24.9245435Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"endpoint": "https://xxx.eastus.azure.confluent.cloud", "type": "ConfluentSchemaRegistry"}, "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", - "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}}}]}' + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '2284' + - '3371' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:21:04 GMT + - Wed, 14 Dec 2022 08:45:12 GMT expires: - '-1' mise-correlation-id: - - 6e279175-8b86-4d47-bdd4-aa8969c73b4c + - 41f7b2c4-2353-4054-8049-67ddc2335d49 pragma: - no-cache strict-transport-security: @@ -1169,7 +1277,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -1193,15 +1301,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_QEOig?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_v8E1A?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1ccd27f7-dd7a-4a93-84cc-3cf12234207e*421142A912F0A2CDC702EEC154D2B3BD77AC0C07E8BC8AF4834EFA6053A2C21B?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b4f0be4c-06c3-49fc-8e02-50304d763de9*726831A81A5C8F8C21043485D9730736283D380F31CD907853AB912A1D983681?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -1209,15 +1318,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:21:05 GMT + - Wed, 14 Dec 2022 08:45:14 GMT etag: - - '"02000e9b-0000-0400-0000-6268d2c20000"' + - '"3500ff0d-0000-0100-0000-63998d1a0000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1ccd27f7-dd7a-4a93-84cc-3cf12234207e*421142A912F0A2CDC702EEC154D2B3BD77AC0C07E8BC8AF4834EFA6053A2C21B?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b4f0be4c-06c3-49fc-8e02-50304d763de9*726831A81A5C8F8C21043485D9730736283D380F31CD907853AB912A1D983681?api-version=2021-01-01-privatepreview mise-correlation-id: - - 0938e943-86c5-47fe-a6bf-4cd651606e26 + - 0c92db00-021e-4944-95b2-6975056748c8 pragma: - no-cache strict-transport-security: @@ -1227,7 +1336,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted @@ -1245,27 +1354,28 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1ccd27f7-dd7a-4a93-84cc-3cf12234207e*421142A912F0A2CDC702EEC154D2B3BD77AC0C07E8BC8AF4834EFA6053A2C21B?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b4f0be4c-06c3-49fc-8e02-50304d763de9*726831A81A5C8F8C21043485D9730736283D380F31CD907853AB912A1D983681?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1ccd27f7-dd7a-4a93-84cc-3cf12234207e*421142A912F0A2CDC702EEC154D2B3BD77AC0C07E8BC8AF4834EFA6053A2C21B", - "name": "1ccd27f7-dd7a-4a93-84cc-3cf12234207e*421142A912F0A2CDC702EEC154D2B3BD77AC0C07E8BC8AF4834EFA6053A2C21B", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_QEOig", - "status": "Succeeded", "startTime": "2022-04-27T05:21:06.002952Z", "endTime": - "2022-04-27T05:21:09.5942832Z", "properties": null}' + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b4f0be4c-06c3-49fc-8e02-50304d763de9*726831A81A5C8F8C21043485D9730736283D380F31CD907853AB912A1D983681", + "name": "b4f0be4c-06c3-49fc-8e02-50304d763de9*726831A81A5C8F8C21043485D9730736283D380F31CD907853AB912A1D983681", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_v8E1A", + "status": "Succeeded", "startTime": "2022-12-14T08:45:14.3397828Z", "endTime": + "2022-12-14T08:45:29.9960866Z", "properties": null}' headers: cache-control: - no-cache content-length: - - '705' + - '706' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:21:37 GMT + - Wed, 14 Dec 2022 08:45:45 GMT etag: - - '"150093e5-0000-0400-0000-6268d2c50000"' + - '"1000cb58-0000-0100-0000-63998d290000"' expires: - '-1' pragma: @@ -1297,15 +1407,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/23a7b034-d28f-4449-9217-9e912079abc0*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/15516473-ce5f-4fc2-bdec-2da7c32e9f2e*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -1313,15 +1424,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:21:39 GMT + - Wed, 14 Dec 2022 08:45:48 GMT etag: - - '"0200429b-0000-0400-0000-6268d2e30000"' + - '"35001f10-0000-0100-0000-63998d3c0000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/23a7b034-d28f-4449-9217-9e912079abc0*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/15516473-ce5f-4fc2-bdec-2da7c32e9f2e*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252?api-version=2021-01-01-privatepreview mise-correlation-id: - - 4cb9f1c1-0c86-440f-b246-ecc415a24e4b + - 179594bf-57a1-426d-a7de-c4fad03aceea pragma: - no-cache strict-transport-security: @@ -1349,16 +1460,17 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/23a7b034-d28f-4449-9217-9e912079abc0*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/15516473-ce5f-4fc2-bdec-2da7c32e9f2e*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/23a7b034-d28f-4449-9217-9e912079abc0*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252", - "name": "23a7b034-d28f-4449-9217-9e912079abc0*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/15516473-ce5f-4fc2-bdec-2da7c32e9f2e*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252", + "name": "15516473-ce5f-4fc2-bdec-2da7c32e9f2e*17A8D02A6981FBF0FAD6665634562817645CA4C9C1E6612DEB9C863AA159F252", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:21:39.0089259Z", "endTime": - "2022-04-27T05:21:42.0081171Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T08:45:48.0702139Z", "endTime": + "2022-12-14T08:45:53.6012297Z", "properties": null}' headers: cache-control: - no-cache @@ -1367,9 +1479,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:22:09 GMT + - Wed, 14 Dec 2022 08:46:19 GMT etag: - - '"150099e7-0000-0400-0000-6268d2e60000"' + - '"10004c59-0000-0100-0000-63998d410000"' expires: - '-1' pragma: @@ -1401,15 +1513,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/159638c6-552a-4fb0-bcf5-ccb39d600b81*800A3CD6FB5107C266B0675A3A2384F10FDD61763B09D9C3193AE3A8C9053EB8?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3f5341f9-95c9-453a-a9a9-c46cc9df5a69*800A3CD6FB5107C266B0675A3A2384F10FDD61763B09D9C3193AE3A8C9053EB8?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -1417,15 +1530,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:22:10 GMT + - Wed, 14 Dec 2022 08:46:23 GMT etag: - - '"6a009450-0000-0100-0000-6268d3030000"' + - '"35006512-0000-0100-0000-63998d5f0000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/159638c6-552a-4fb0-bcf5-ccb39d600b81*800A3CD6FB5107C266B0675A3A2384F10FDD61763B09D9C3193AE3A8C9053EB8?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3f5341f9-95c9-453a-a9a9-c46cc9df5a69*800A3CD6FB5107C266B0675A3A2384F10FDD61763B09D9C3193AE3A8C9053EB8?api-version=2021-01-01-privatepreview mise-correlation-id: - - 95f3b2c9-bc29-40de-addc-c08a9b15260f + - 7205d5fb-0e2c-4fdc-a24f-61583bff1039 pragma: - no-cache strict-transport-security: @@ -1435,7 +1548,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted @@ -1453,16 +1566,17 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/159638c6-552a-4fb0-bcf5-ccb39d600b81*800A3CD6FB5107C266B0675A3A2384F10FDD61763B09D9C3193AE3A8C9053EB8?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3f5341f9-95c9-453a-a9a9-c46cc9df5a69*800A3CD6FB5107C266B0675A3A2384F10FDD61763B09D9C3193AE3A8C9053EB8?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/159638c6-552a-4fb0-bcf5-ccb39d600b81*800A3CD6FB5107C266B0675A3A2384F10FDD61763B09D9C3193AE3A8C9053EB8", - "name": "159638c6-552a-4fb0-bcf5-ccb39d600b81*800A3CD6FB5107C266B0675A3A2384F10FDD61763B09D9C3193AE3A8C9053EB8", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3f5341f9-95c9-453a-a9a9-c46cc9df5a69*800A3CD6FB5107C266B0675A3A2384F10FDD61763B09D9C3193AE3A8C9053EB8", + "name": "3f5341f9-95c9-453a-a9a9-c46cc9df5a69*800A3CD6FB5107C266B0675A3A2384F10FDD61763B09D9C3193AE3A8C9053EB8", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-kafka-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn_schema", - "status": "Succeeded", "startTime": "2022-04-27T05:22:11.0460902Z", "endTime": - "2022-04-27T05:22:14.2800533Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T08:46:23.3328981Z", "endTime": + "2022-12-14T08:46:28.6734206Z", "properties": null}' headers: cache-control: - no-cache @@ -1471,9 +1585,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:22:40 GMT + - Wed, 14 Dec 2022 08:46:54 GMT etag: - - '"13001aff-0000-0100-0000-6268d3060000"' + - '"1000dc59-0000-0100-0000-63998d640000"' expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmoscassandra_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmoscassandra_e2e.yaml deleted file mode 100644 index 4c678e61f50..00000000000 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmoscassandra_e2e.yaml +++ /dev/null @@ -1,826 +0,0 @@ -interactions: -- request: - body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos/cassandraKeyspaces/coredb"}, - "authInfo": {"authType": "systemAssignedIdentity"}, "clientType": "python", - "secretStore": {}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection create cosmos-cassandra - Connection: - - keep-alive - Content-Length: - - '365' - Content-Type: - - application/json - ParameterSetName: - - --connection --source-id --target-id --system-identity --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:18:24.9914761Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:18:24.9914761Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos/cassandraKeyspaces/coredb", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "python", "secretStore": - {"keyVaultId": null}, "scope": null}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/af2d8192-0c80-479b-9125-392e719350e4*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2022-05-01 - cache-control: - - no-cache - content-length: - - '1010' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:18:24 GMT - etag: - - '"6a009b4d-0000-0100-0000-6268d2210000"' - expires: - - '-1' - mise-correlation-id: - - 37196319-5226-45b3-bddb-8fa40c6dbe4c - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection create cosmos-cassandra - Connection: - - keep-alive - ParameterSetName: - - --connection --source-id --target-id --system-identity --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/af2d8192-0c80-479b-9125-392e719350e4*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/af2d8192-0c80-479b-9125-392e719350e4*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", - "name": "af2d8192-0c80-479b-9125-392e719350e4*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:18:25.2005869Z", "endTime": - "2022-04-27T05:18:37.1132069Z", "properties": {}}' - headers: - cache-control: - - no-cache - content-length: - - '707' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:18:56 GMT - etag: - - '"15005cd8-0000-0400-0000-6268d22d0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - webapp connection create cosmos-cassandra - Connection: - - keep-alive - ParameterSetName: - - --connection --source-id --target-id --system-identity --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos/cassandraKeyspaces/coredb", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '770' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:18:56 GMT - etag: - - '"0200ad9a-0000-0400-0000-6268d22d0000"' - expires: - - '-1' - mise-correlation-id: - - b70704d6-6973-458a-bd6a-91ed7c168c6f - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection list - Connection: - - keep-alive - ParameterSetName: - - --source-id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 - response: - body: - string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos/cassandraKeyspaces/coredb", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}]}' - headers: - cache-control: - - no-cache - content-length: - - '783' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:19:00 GMT - expires: - - '-1' - mise-correlation-id: - - 8b7b5270-7f8c-419d-97f1-22c85e41cc78 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection update cosmos-cassandra - Connection: - - keep-alive - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos/cassandraKeyspaces/coredb", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '770' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:19:01 GMT - etag: - - '"0200ad9a-0000-0400-0000-6268d22d0000"' - expires: - - '-1' - mise-correlation-id: - - 007a4cd3-fcdd-43ac-8cba-42ad5a05a2b6 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos/cassandraKeyspaces/coredb"}, - "authInfo": {"authType": "systemAssignedIdentity"}, "clientType": "dotnet", - "secretStore": {}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection update cosmos-cassandra - Connection: - - keep-alive - Content-Length: - - '365' - Content-Type: - - application/json - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:18:24.9914761Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:19:03.6671871Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos/cassandraKeyspaces/coredb", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": - {"keyVaultId": null}, "scope": null}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bce393ef-aaad-4a22-9ab8-e75f0cd17400*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2022-05-01 - cache-control: - - no-cache - content-length: - - '1010' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:19:03 GMT - etag: - - '"3805b0ce-0000-0200-0000-6268d2480000"' - expires: - - '-1' - mise-correlation-id: - - dc5bac0f-a4fa-472f-a204-5abf4ed445e8 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection update cosmos-cassandra - Connection: - - keep-alive - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bce393ef-aaad-4a22-9ab8-e75f0cd17400*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bce393ef-aaad-4a22-9ab8-e75f0cd17400*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", - "name": "bce393ef-aaad-4a22-9ab8-e75f0cd17400*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:19:03.8993076Z", "endTime": - "2022-04-27T05:19:15.6945694Z", "properties": {}}' - headers: - cache-control: - - no-cache - content-length: - - '707' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:19:35 GMT - etag: - - '"13005cfd-0000-0100-0000-6268d2530000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - webapp connection update cosmos-cassandra - Connection: - - keep-alive - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos/cassandraKeyspaces/coredb", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '770' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:19:35 GMT - etag: - - '"6a000a4e-0000-0100-0000-6268d2530000"' - expires: - - '-1' - mise-correlation-id: - - b87961ae-22a7-4795-a8b5-af09ccbd3c5e - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection list-configuration - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 - response: - body: - string: '{"configurations": [{"name": "AZURE_COSMOS_LISTKEYURL", "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos/listKeys?api-version=2021-04-15"}, - {"name": "AZURE_COSMOS_USERNAME", "value": "servicelinker-cassandra-cosmos"}, - {"name": "AZURE_COSMOS_CONTACTPOINT", "value": "servicelinker-cassandra-cosmos.cassandra.cosmos.azure.com"}, - {"name": "AZURE_COSMOS_PORT", "value": "10350"}, {"name": "AZURE_COSMOS_KEYSPACE", - "value": "coredb"}, {"name": "AZURE_COSMOS_RESOURCEENDPOINT", "value": "https://servicelinker-cassandra-cosmos.documents.azure.com:443/"}, - {"name": "AZURE_COSMOS_SCOPE", "value": "https://management.azure.com/.default"}]}' - headers: - cache-control: - - no-cache - content-length: - - '795' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:19:41 GMT - expires: - - '-1' - mise-correlation-id: - - f51daec8-b064-4cc4-80e4-cc95950b451f - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection validate - Connection: - - keep-alive - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos/cassandraKeyspaces/coredb", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '770' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:19:42 GMT - etag: - - '"6a000a4e-0000-0100-0000-6268d2530000"' - expires: - - '-1' - mise-correlation-id: - - 24eaa965-fde2-45c6-bc3a-a91e683251a1 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection validate - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 - response: - body: - string: 'null' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a3d8f3ca-ffac-4062-b2c5-f78700fb804c*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2022-05-01 - cache-control: - - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:19:42 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a3d8f3ca-ffac-4062-b2c5-f78700fb804c*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2022-05-01 - mise-correlation-id: - - 96e7f99f-c41d-4067-bd0b-b5d9d38bbac2 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection validate - Connection: - - keep-alive - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a3d8f3ca-ffac-4062-b2c5-f78700fb804c*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a3d8f3ca-ffac-4062-b2c5-f78700fb804c*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", - "name": "a3d8f3ca-ffac-4062-b2c5-f78700fb804c*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:19:42.7608278Z", "endTime": - "2022-04-27T05:19:45.8113323Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The - target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-04-27T05:19:43.9582611Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:19:45.7375024Z\",\"SourceId\":null,\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos/cassandraKeyspaces/coredb\",\"AuthType\":0}"}}' - headers: - cache-control: - - no-cache - content-length: - - '1596' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:20:12 GMT - etag: - - '"150090de-0000-0400-0000-6268d2710000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - webapp connection show - Connection: - - keep-alive - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos/cassandraKeyspaces/coredb", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '770' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:20:13 GMT - etag: - - '"6a000a4e-0000-0100-0000-6268d2530000"' - expires: - - '-1' - mise-correlation-id: - - a3eda371-b064-4529-bda7-1fb0087ed445 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection delete - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --id --yes - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: 'null' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3c07fe69-ccf3-4cd4-8960-c365cb4a1f38*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2022-05-01 - cache-control: - - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:20:20 GMT - etag: - - '"0200ef9a-0000-0400-0000-6268d2940000"' - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3c07fe69-ccf3-4cd4-8960-c365cb4a1f38*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2022-05-01 - mise-correlation-id: - - f5b69cb9-bc13-4ae3-a89c-fc74f63c4d00 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection delete - Connection: - - keep-alive - ParameterSetName: - - --id --yes - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3c07fe69-ccf3-4cd4-8960-c365cb4a1f38*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3c07fe69-ccf3-4cd4-8960-c365cb4a1f38*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", - "name": "3c07fe69-ccf3-4cd4-8960-c365cb4a1f38*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:20:20.165006Z", "endTime": - "2022-04-27T05:20:29.4359859Z", "properties": null}' - headers: - cache-control: - - no-cache - content-length: - - '708' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:20:49 GMT - etag: - - '"130006fe-0000-0100-0000-6268d29d0000"' - expires: - - '-1' - pragma: - - no-cache - 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/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmosgremlin_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmosgremlin_e2e.yaml deleted file mode 100644 index 4025cffc7f7..00000000000 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmosgremlin_e2e.yaml +++ /dev/null @@ -1,826 +0,0 @@ -interactions: -- request: - body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem"}, - "authInfo": {"authType": "systemAssignedIdentity"}, "clientType": "python", - "secretStore": {}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection create cosmos-gremlin - Connection: - - keep-alive - Content-Length: - - '375' - Content-Type: - - application/json - ParameterSetName: - - --connection --source-id --target-id --system-identity --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:20:50.3526593Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:20:50.3526593Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "python", "secretStore": - {"keyVaultId": null}, "scope": null}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c6ec83c4-8922-4076-a326-f6f1c79e6cf0*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2022-05-01 - cache-control: - - no-cache - content-length: - - '1018' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:20:50 GMT - etag: - - '"6a003b4f-0000-0100-0000-6268d2b20000"' - expires: - - '-1' - mise-correlation-id: - - 7c13ba8c-302a-477f-8a19-a3ab651e2e2f - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1194' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection create cosmos-gremlin - Connection: - - keep-alive - ParameterSetName: - - --connection --source-id --target-id --system-identity --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c6ec83c4-8922-4076-a326-f6f1c79e6cf0*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c6ec83c4-8922-4076-a326-f6f1c79e6cf0*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", - "name": "c6ec83c4-8922-4076-a326-f6f1c79e6cf0*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:20:50.5338365Z", "endTime": - "2022-04-27T05:21:02.3682106Z", "properties": {}}' - headers: - cache-control: - - no-cache - content-length: - - '705' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:21:21 GMT - etag: - - '"130052fe-0000-0100-0000-6268d2be0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - webapp connection create cosmos-gremlin - Connection: - - keep-alive - ParameterSetName: - - --connection --source-id --target-id --system-identity --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '778' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:21:21 GMT - etag: - - '"6a00684f-0000-0100-0000-6268d2be0000"' - expires: - - '-1' - mise-correlation-id: - - 2e4db385-4236-4437-9aea-3db9b0812bc7 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection list - Connection: - - keep-alive - ParameterSetName: - - --source-id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 - response: - body: - string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}]}' - headers: - cache-control: - - no-cache - content-length: - - '791' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:21:25 GMT - expires: - - '-1' - mise-correlation-id: - - 3d132561-1b58-48a5-ac64-6fbb6744be00 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection update cosmos-gremlin - Connection: - - keep-alive - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '778' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:21:26 GMT - etag: - - '"6a00684f-0000-0100-0000-6268d2be0000"' - expires: - - '-1' - mise-correlation-id: - - 9b25c36f-b5ac-482d-ae2e-64f7da2d8514 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem"}, - "authInfo": {"authType": "systemAssignedIdentity"}, "clientType": "dotnet", - "secretStore": {}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection update cosmos-gremlin - Connection: - - keep-alive - Content-Length: - - '375' - Content-Type: - - application/json - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:20:50.3526593Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:21:27.1282159Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": - {"keyVaultId": null}, "scope": null}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b7aeeeed-e75c-4087-bf57-7ef5e876dec5*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2022-05-01 - cache-control: - - no-cache - content-length: - - '1018' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:21:27 GMT - etag: - - '"6a00cc4f-0000-0100-0000-6268d2d70000"' - expires: - - '-1' - mise-correlation-id: - - c3c32f0c-1023-4dc6-9f2a-0fce23fbdccd - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1195' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection update cosmos-gremlin - Connection: - - keep-alive - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b7aeeeed-e75c-4087-bf57-7ef5e876dec5*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b7aeeeed-e75c-4087-bf57-7ef5e876dec5*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", - "name": "b7aeeeed-e75c-4087-bf57-7ef5e876dec5*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:21:27.3049782Z", "endTime": - "2022-04-27T05:21:38.1787668Z", "properties": {}}' - headers: - cache-control: - - no-cache - content-length: - - '705' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:21:58 GMT - etag: - - '"1300aefe-0000-0100-0000-6268d2e20000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - webapp connection update cosmos-gremlin - Connection: - - keep-alive - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '778' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:21:58 GMT - etag: - - '"6a000c50-0000-0100-0000-6268d2e20000"' - expires: - - '-1' - mise-correlation-id: - - c561f978-8323-44f3-9f83-0d658da65b1c - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection list-configuration - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 - response: - body: - string: '{"configurations": [{"name": "AZURE_COSMOS_LISTKEYURL", "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/listKeys?api-version=2021-04-15"}, - {"name": "AZURE_COSMOS_HOSTNAME", "value": "servicelinker-gremlin-cosmos.gremlin.cosmos.azure.com"}, - {"name": "AZURE_COSMOS_PORT", "value": "443"}, {"name": "AZURE_COSMOS_USERNAME", - "value": "/dbs/coreDB/colls/MyItem"}, {"name": "AZURE_COSMOS_RESOURCEENDPOINT", - "value": "https://servicelinker-gremlin-cosmos.documents.azure.com:443/"}, - {"name": "AZURE_COSMOS_SCOPE", "value": "https://management.azure.com/.default"}]}' - headers: - cache-control: - - no-cache - content-length: - - '721' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:22:02 GMT - expires: - - '-1' - mise-correlation-id: - - 5d28f72d-48cf-4435-9c66-dcd3144b79c2 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1195' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection validate - Connection: - - keep-alive - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '778' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:22:02 GMT - etag: - - '"6a000c50-0000-0100-0000-6268d2e20000"' - expires: - - '-1' - mise-correlation-id: - - c33f827e-c560-44ce-9078-a3e731d90ad8 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection validate - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 - response: - body: - string: 'null' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d3d5b63f-7b64-47ca-b688-d2efaf4104b0*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2022-05-01 - cache-control: - - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:22:03 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d3d5b63f-7b64-47ca-b688-d2efaf4104b0*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2022-05-01 - mise-correlation-id: - - 17bf50d0-4b76-4c97-b6ec-59ce2f79dbcf - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection validate - Connection: - - keep-alive - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d3d5b63f-7b64-47ca-b688-d2efaf4104b0*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d3d5b63f-7b64-47ca-b688-d2efaf4104b0*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", - "name": "d3d5b63f-7b64-47ca-b688-d2efaf4104b0*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:22:03.9288049Z", "endTime": - "2022-04-27T05:22:07.4020487Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The - target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-04-27T05:22:05.439826Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:22:07.3112516Z\",\"SourceId\":null,\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem\",\"AuthType\":0}"}}' - headers: - cache-control: - - no-cache - content-length: - - '1603' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:22:34 GMT - etag: - - '"13000dff-0000-0100-0000-6268d2ff0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - webapp connection show - Connection: - - keep-alive - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '778' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:22:35 GMT - etag: - - '"6a000c50-0000-0100-0000-6268d2e20000"' - expires: - - '-1' - mise-correlation-id: - - a987b3eb-5293-43e3-b5a4-79ce5b260b85 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection delete - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --id --yes - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: 'null' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b3c9fd1b-2623-45d2-ab98-5545f8497130*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2022-05-01 - cache-control: - - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:22:38 GMT - etag: - - '"6a004751-0000-0100-0000-6268d31f0000"' - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b3c9fd1b-2623-45d2-ab98-5545f8497130*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2022-05-01 - mise-correlation-id: - - db8e7b77-97cc-4cec-b97a-49e3a1a9edd9 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-deletes: - - '14997' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection delete - Connection: - - keep-alive - ParameterSetName: - - --id --yes - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b3c9fd1b-2623-45d2-ab98-5545f8497130*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b3c9fd1b-2623-45d2-ab98-5545f8497130*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", - "name": "b3c9fd1b-2623-45d2-ab98-5545f8497130*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:22:39.2779186Z", "endTime": - "2022-04-27T05:22:42.945424Z", "properties": null}' - headers: - cache-control: - - no-cache - content-length: - - '706' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:23:09 GMT - etag: - - '"13006fff-0000-0100-0000-6268d3220000"' - expires: - - '-1' - pragma: - - no-cache - 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/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmosmongo_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmosmongo_e2e.yaml deleted file mode 100644 index 6c76350dd8f..00000000000 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmosmongo_e2e.yaml +++ /dev/null @@ -1,824 +0,0 @@ -interactions: -- request: - body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB"}, - "authInfo": {"authType": "systemAssignedIdentity"}, "clientType": "dotnet", - "secretStore": {}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection create cosmos-mongo - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - ParameterSetName: - - --connection --source-id --target-id --system-identity --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:21:19.1291673Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:21:19.1291673Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": - {"keyVaultId": null}, "scope": null}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9a8e1f32-4421-42cb-8859-ca313fb5a155*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2022-05-01 - cache-control: - - no-cache - content-length: - - '1000' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:21:18 GMT - etag: - - '"380524dd-0000-0200-0000-6268d2cf0000"' - expires: - - '-1' - mise-correlation-id: - - 88baf17c-fe90-4bf4-a0bc-a4c0fe09d5e9 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - --connection --source-id --target-id --system-identity --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9a8e1f32-4421-42cb-8859-ca313fb5a155*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9a8e1f32-4421-42cb-8859-ca313fb5a155*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", - "name": "9a8e1f32-4421-42cb-8859-ca313fb5a155*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:21:19.3109378Z", "endTime": - "2022-04-27T05:21:29.3119327Z", "properties": {}}' - headers: - cache-control: - - no-cache - content-length: - - '703' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:21:50 GMT - etag: - - '"1500d3e6-0000-0400-0000-6268d2d90000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - webapp connection create cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - --connection --source-id --target-id --system-identity --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '760' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:21:50 GMT - etag: - - '"0200289b-0000-0400-0000-6268d2d90000"' - expires: - - '-1' - mise-correlation-id: - - 6e58f278-582b-4263-9f70-33962f3377d9 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection list - Connection: - - keep-alive - ParameterSetName: - - --source-id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 - response: - body: - string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}]}' - headers: - cache-control: - - no-cache - content-length: - - '773' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:21:55 GMT - expires: - - '-1' - mise-correlation-id: - - 249f4bea-e213-42fc-9956-79774460f7b8 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection update cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '760' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:21:55 GMT - etag: - - '"0200289b-0000-0400-0000-6268d2d90000"' - expires: - - '-1' - mise-correlation-id: - - 3f7d6928-18fd-4bf8-aa02-6e900818e2e9 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB"}, - "authInfo": {"authType": "systemAssignedIdentity"}, "clientType": "dotnet", - "secretStore": {}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection update cosmos-mongo - Connection: - - keep-alive - Content-Length: - - '359' - Content-Type: - - application/json - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:21:19.1291673Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:21:56.5331413Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": - {"keyVaultId": null}, "scope": null}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c5139014-4edb-4391-be1d-20d7951d1401*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2022-05-01 - cache-control: - - no-cache - content-length: - - '1000' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:21:56 GMT - etag: - - '"6a005b50-0000-0100-0000-6268d2f40000"' - expires: - - '-1' - mise-correlation-id: - - 94674aa9-798a-4854-af0d-52ea3ce2f921 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1194' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection update cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c5139014-4edb-4391-be1d-20d7951d1401*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c5139014-4edb-4391-be1d-20d7951d1401*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", - "name": "c5139014-4edb-4391-be1d-20d7951d1401*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:21:56.7955012Z", "endTime": - "2022-04-27T05:22:07.8307645Z", "properties": {}}' - headers: - cache-control: - - no-cache - content-length: - - '703' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:22:27 GMT - etag: - - '"15005ded-0000-0400-0000-6268d2ff0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - webapp connection update cosmos-mongo - Connection: - - keep-alive - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '760' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:22:27 GMT - etag: - - '"0200789b-0000-0400-0000-6268d2ff0000"' - expires: - - '-1' - mise-correlation-id: - - 91d0a0cb-c0c5-4050-8f1a-0f5bfa93cd78 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection list-configuration - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 - response: - body: - string: '{"configurations": [{"name": "AZURE_COSMOS_LISTCONNECTIONSTRINGURL", - "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/listConnectionStrings?api-version=2021-04-15"}, - {"name": "AZURE_COSMOS_RESOURCEENDPOINT", "value": "https://servicelinker-mongo-cosmos.documents.azure.com:443/"}, - {"name": "AZURE_COSMOS_SCOPE", "value": "https://management.azure.com/.default"}]}' - headers: - cache-control: - - no-cache - content-length: - - '523' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:22:31 GMT - expires: - - '-1' - mise-correlation-id: - - 85be2eb0-6f49-4866-8715-d47d21a52732 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection validate - Connection: - - keep-alive - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '760' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:22:32 GMT - etag: - - '"0200789b-0000-0400-0000-6268d2ff0000"' - expires: - - '-1' - mise-correlation-id: - - 72c07f77-de16-4c4d-98fa-7d46243d8013 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection validate - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 - response: - body: - string: 'null' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e175ee18-baac-4889-baf4-8ea9678d7383*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2022-05-01 - cache-control: - - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:22:32 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e175ee18-baac-4889-baf4-8ea9678d7383*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2022-05-01 - mise-correlation-id: - - d65d989b-7059-4aa4-a18b-921e14288f6f - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1196' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection validate - Connection: - - keep-alive - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e175ee18-baac-4889-baf4-8ea9678d7383*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e175ee18-baac-4889-baf4-8ea9678d7383*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", - "name": "e175ee18-baac-4889-baf4-8ea9678d7383*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:22:33.1753583Z", "endTime": - "2022-04-27T05:22:35.5904602Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The - target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-04-27T05:22:34.4599841Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:22:35.497965Z\",\"SourceId\":null,\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB\",\"AuthType\":0}"}}' - headers: - cache-control: - - no-cache - content-length: - - '1585' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:23:02 GMT - etag: - - '"15004cf0-0000-0400-0000-6268d31b0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - webapp connection show - Connection: - - keep-alive - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '760' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:23:03 GMT - etag: - - '"0200789b-0000-0400-0000-6268d2ff0000"' - expires: - - '-1' - mise-correlation-id: - - cca4d4ed-4720-4daf-84d5-34ce2cae5952 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection delete - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --id --yes - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: 'null' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/745d3128-5f4f-4f07-8a39-e941ff3aa1dc*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2022-05-01 - cache-control: - - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:23:09 GMT - etag: - - '"380568e8-0000-0200-0000-6268d33d0000"' - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/745d3128-5f4f-4f07-8a39-e941ff3aa1dc*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2022-05-01 - mise-correlation-id: - - d78a0924-a6d2-472e-ba37-78df705154e5 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection delete - Connection: - - keep-alive - ParameterSetName: - - --id --yes - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/745d3128-5f4f-4f07-8a39-e941ff3aa1dc*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/745d3128-5f4f-4f07-8a39-e941ff3aa1dc*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", - "name": "745d3128-5f4f-4f07-8a39-e941ff3aa1dc*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:23:09.4625722Z", "endTime": - "2022-04-27T05:23:13.0881304Z", "properties": null}' - headers: - cache-control: - - no-cache - content-length: - - '705' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:23:40 GMT - etag: - - '"b506b0bf-0000-0200-0000-6268d3410000"' - expires: - - '-1' - pragma: - - no-cache - 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/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmossql_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmossql_e2e.yaml deleted file mode 100644 index def908f42a3..00000000000 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmossql_e2e.yaml +++ /dev/null @@ -1,824 +0,0 @@ -interactions: -- request: - body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB"}, - "authInfo": {"authType": "systemAssignedIdentity"}, "clientType": "python", - "secretStore": {}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection create cosmos-sql - Connection: - - keep-alive - Content-Length: - - '353' - Content-Type: - - application/json - ParameterSetName: - - --connection --source-id --target-id --system-identity --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:22:42.2736441Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:22:42.2736441Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "python", "secretStore": - {"keyVaultId": null}, "scope": null}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0285a084-95d1-4f9f-8d37-f94d2ab89928*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2022-05-01 - cache-control: - - no-cache - content-length: - - '992' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:22:43 GMT - etag: - - '"3805cbe5-0000-0200-0000-6268d3230000"' - expires: - - '-1' - mise-correlation-id: - - 34802d81-251c-4c0a-8b4d-007bb9485707 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1195' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection create cosmos-sql - Connection: - - keep-alive - ParameterSetName: - - --connection --source-id --target-id --system-identity --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0285a084-95d1-4f9f-8d37-f94d2ab89928*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0285a084-95d1-4f9f-8d37-f94d2ab89928*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", - "name": "0285a084-95d1-4f9f-8d37-f94d2ab89928*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:22:43.2012469Z", "endTime": - "2022-04-27T05:22:54.1048659Z", "properties": {}}' - headers: - cache-control: - - no-cache - content-length: - - '701' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:23:13 GMT - etag: - - '"13008fff-0000-0100-0000-6268d32e0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - webapp connection create cosmos-sql - Connection: - - keep-alive - ParameterSetName: - - --connection --source-id --target-id --system-identity --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '752' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:23:14 GMT - etag: - - '"6a00ab51-0000-0100-0000-6268d32e0000"' - expires: - - '-1' - mise-correlation-id: - - dfc5dd49-90cd-46ef-aa46-a74ea2f2a133 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection list - Connection: - - keep-alive - ParameterSetName: - - --source-id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 - response: - body: - string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}]}' - headers: - cache-control: - - no-cache - content-length: - - '765' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:23:18 GMT - expires: - - '-1' - mise-correlation-id: - - fb683707-9def-4a3d-825a-8592d062ce2d - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection update cosmos-sql - Connection: - - keep-alive - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '752' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:23:20 GMT - etag: - - '"6a00ab51-0000-0100-0000-6268d32e0000"' - expires: - - '-1' - mise-correlation-id: - - 627d19e1-9daf-4036-b19a-2116ed4ca8b0 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB"}, - "authInfo": {"authType": "systemAssignedIdentity"}, "clientType": "dotnet", - "secretStore": {}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection update cosmos-sql - Connection: - - keep-alive - Content-Length: - - '353' - Content-Type: - - application/json - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:22:42.2736441Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:23:21.0195897Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": - {"keyVaultId": null}, "scope": null}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/999fc7ce-367d-4dfa-82d5-818cfe3083ae*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2022-05-01 - cache-control: - - no-cache - content-length: - - '992' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:23:21 GMT - etag: - - '"380588e9-0000-0200-0000-6268d3490000"' - expires: - - '-1' - mise-correlation-id: - - 3f0ea5eb-1d8d-4fe8-bcf0-452da8929c3d - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1194' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection update cosmos-sql - Connection: - - keep-alive - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/999fc7ce-367d-4dfa-82d5-818cfe3083ae*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/999fc7ce-367d-4dfa-82d5-818cfe3083ae*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", - "name": "999fc7ce-367d-4dfa-82d5-818cfe3083ae*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:23:21.3056728Z", "endTime": - "2022-04-27T05:23:36.1063287Z", "properties": {}}' - headers: - cache-control: - - no-cache - content-length: - - '701' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:23:53 GMT - etag: - - '"150092f3-0000-0400-0000-6268d3580000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - webapp connection update cosmos-sql - Connection: - - keep-alive - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '752' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:23:54 GMT - etag: - - '"0200999b-0000-0400-0000-6268d3580000"' - expires: - - '-1' - mise-correlation-id: - - 3c05f332-3f5c-4153-9835-7ca598aa585e - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection list-configuration - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 - response: - body: - string: '{"configurations": [{"name": "AZURE_COSMOS_LISTCONNECTIONSTRINGURL", - "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/listConnectionStrings?api-version=2021-04-15"}, - {"name": "AZURE_COSMOS_RESOURCEENDPOINT", "value": "https://servicelinker-sql-cosmos.documents.azure.com:443/"}, - {"name": "AZURE_COSMOS_SCOPE", "value": "https://management.azure.com/.default"}]}' - headers: - cache-control: - - no-cache - content-length: - - '519' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:23:58 GMT - expires: - - '-1' - mise-correlation-id: - - eaf2fb06-8d07-4d8f-9287-cf08e9ac2302 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1196' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection validate - Connection: - - keep-alive - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '752' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:23:59 GMT - etag: - - '"0200999b-0000-0400-0000-6268d3580000"' - expires: - - '-1' - mise-correlation-id: - - 1442097b-8bc3-416a-b763-69cd5c0eafb3 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection validate - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 - response: - body: - string: 'null' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d4781a27-9044-4f4e-83a6-b2eaa053e313*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2022-05-01 - cache-control: - - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:23:59 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d4781a27-9044-4f4e-83a6-b2eaa053e313*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2022-05-01 - mise-correlation-id: - - 48bd8829-9f66-4ac7-8881-2810b0cc49f7 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1191' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection validate - Connection: - - keep-alive - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d4781a27-9044-4f4e-83a6-b2eaa053e313*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d4781a27-9044-4f4e-83a6-b2eaa053e313*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", - "name": "d4781a27-9044-4f4e-83a6-b2eaa053e313*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:24:00.4601635Z", "endTime": - "2022-04-27T05:24:03.6846994Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The - target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-04-27T05:24:01.9203624Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:24:03.6097422Z\",\"SourceId\":null,\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB\",\"AuthType\":0}"}}' - headers: - cache-control: - - no-cache - content-length: - - '1578' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:24:31 GMT - etag: - - '"150062fa-0000-0400-0000-6268d3730000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - webapp connection show - Connection: - - keep-alive - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '752' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:24:32 GMT - etag: - - '"0200999b-0000-0400-0000-6268d3580000"' - expires: - - '-1' - mise-correlation-id: - - cea85cc0-1f6e-4689-91d5-84cd27fee4fa - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection delete - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --id --yes - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: 'null' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c66816a4-9d68-4183-8806-3c36ccc0f91b*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2022-05-01 - cache-control: - - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:24:36 GMT - etag: - - '"0200a69b-0000-0400-0000-6268d3940000"' - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c66816a4-9d68-4183-8806-3c36ccc0f91b*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2022-05-01 - mise-correlation-id: - - f305a16b-3b78-49bb-9b32-bd3ec4daa804 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection delete - Connection: - - keep-alive - ParameterSetName: - - --id --yes - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c66816a4-9d68-4183-8806-3c36ccc0f91b*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c66816a4-9d68-4183-8806-3c36ccc0f91b*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", - "name": "c66816a4-9d68-4183-8806-3c36ccc0f91b*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:24:36.7796758Z", "endTime": - "2022-04-27T05:24:39.7603825Z", "properties": null}' - headers: - cache-control: - - no-cache - content-length: - - '703' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:25:06 GMT - etag: - - '"150025fc-0000-0400-0000-6268d3970000"' - expires: - - '-1' - pragma: - - no-cache - 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/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmostable_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmostable_e2e.yaml deleted file mode 100644 index 13095e8e6f9..00000000000 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmostable_e2e.yaml +++ /dev/null @@ -1,824 +0,0 @@ -interactions: -- request: - body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem"}, - "authInfo": {"authType": "systemAssignedIdentity"}, "clientType": "python", - "secretStore": {}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection create cosmos-table - Connection: - - keep-alive - Content-Length: - - '349' - Content-Type: - - application/json - ParameterSetName: - - --connection --source-id --target-id --system-identity --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:20:51.3725193Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:20:51.3725193Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "python", "secretStore": - {"keyVaultId": null}, "scope": null}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/13d68cae-7928-4871-9f3b-16dea591d76c*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2022-05-01 - cache-control: - - no-cache - content-length: - - '990' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:20:51 GMT - etag: - - '"0200059b-0000-0400-0000-6268d2b30000"' - expires: - - '-1' - mise-correlation-id: - - 39b474a6-921a-4bc6-a84c-cd80b35d8c19 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection create cosmos-table - Connection: - - keep-alive - ParameterSetName: - - --connection --source-id --target-id --system-identity --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/13d68cae-7928-4871-9f3b-16dea591d76c*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/13d68cae-7928-4871-9f3b-16dea591d76c*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", - "name": "13d68cae-7928-4871-9f3b-16dea591d76c*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:20:51.5627254Z", "endTime": - "2022-04-27T05:21:02.9863211Z", "properties": {}}' - headers: - cache-control: - - no-cache - content-length: - - '703' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:21:21 GMT - etag: - - '"150037e5-0000-0400-0000-6268d2be0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - webapp connection create cosmos-table - Connection: - - keep-alive - ParameterSetName: - - --connection --source-id --target-id --system-identity --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '750' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:21:21 GMT - etag: - - '"02000b9b-0000-0400-0000-6268d2bf0000"' - expires: - - '-1' - mise-correlation-id: - - 41cea295-bec6-4615-b1a2-37a504d205eb - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection list - Connection: - - keep-alive - ParameterSetName: - - --source-id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 - response: - body: - string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}]}' - headers: - cache-control: - - no-cache - content-length: - - '763' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:21:25 GMT - expires: - - '-1' - mise-correlation-id: - - 95858cc5-5f48-4efb-9f53-b36857bd1aa9 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection update cosmos-table - Connection: - - keep-alive - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '750' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:21:26 GMT - etag: - - '"02000b9b-0000-0400-0000-6268d2bf0000"' - expires: - - '-1' - mise-correlation-id: - - 201f38f4-f20d-4d92-8c4f-86d62b2e270b - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem"}, - "authInfo": {"authType": "systemAssignedIdentity"}, "clientType": "dotnet", - "secretStore": {}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection update cosmos-table - Connection: - - keep-alive - Content-Length: - - '349' - Content-Type: - - application/json - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:20:51.3725193Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:21:27.4807207Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": - {"keyVaultId": null}, "scope": null}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fd340b89-d16d-4e24-a866-b204e4bad74f*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2022-05-01 - cache-control: - - no-cache - content-length: - - '990' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:21:27 GMT - etag: - - '"6a00ce4f-0000-0100-0000-6268d2d70000"' - expires: - - '-1' - mise-correlation-id: - - 7356d1a5-e90d-4125-95a1-a590f5fda252 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection update cosmos-table - Connection: - - keep-alive - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fd340b89-d16d-4e24-a866-b204e4bad74f*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fd340b89-d16d-4e24-a866-b204e4bad74f*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", - "name": "fd340b89-d16d-4e24-a866-b204e4bad74f*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:21:27.6669561Z", "endTime": - "2022-04-27T05:21:38.104712Z", "properties": {}}' - headers: - cache-control: - - no-cache - content-length: - - '702' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:21:58 GMT - etag: - - '"1300adfe-0000-0100-0000-6268d2e20000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - webapp connection update cosmos-table - Connection: - - keep-alive - ParameterSetName: - - --id --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '750' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:21:58 GMT - etag: - - '"6a000a50-0000-0100-0000-6268d2e20000"' - expires: - - '-1' - mise-correlation-id: - - 3579303b-78ee-4238-8933-bab697c697f3 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection list-configuration - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 - response: - body: - string: '{"configurations": [{"name": "AZURE_COSMOS_LISTCONNECTIONSTRINGURL", - "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/listConnectionStrings?api-version=2021-04-15"}, - {"name": "AZURE_COSMOS_RESOURCEENDPOINT", "value": "https://servicelinker-table-cosmos.documents.azure.com:443/"}, - {"name": "AZURE_COSMOS_SCOPE", "value": "https://management.azure.com/.default"}]}' - headers: - cache-control: - - no-cache - content-length: - - '523' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:22:03 GMT - expires: - - '-1' - mise-correlation-id: - - 501a3f69-3f74-40d5-b8fc-2af461745ea3 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1197' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection validate - Connection: - - keep-alive - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '750' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:22:03 GMT - etag: - - '"6a000a50-0000-0100-0000-6268d2e20000"' - expires: - - '-1' - mise-correlation-id: - - 1874196f-d1b4-4074-a692-b061670f529b - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection validate - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 - response: - body: - string: 'null' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0bd05a8f-e48b-4a95-83b4-429d25289b82*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2022-05-01 - cache-control: - - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:22:04 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0bd05a8f-e48b-4a95-83b4-429d25289b82*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2022-05-01 - mise-correlation-id: - - e984f50a-9418-4acd-90f3-833dbf75800a - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1195' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection validate - Connection: - - keep-alive - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0bd05a8f-e48b-4a95-83b4-429d25289b82*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0bd05a8f-e48b-4a95-83b4-429d25289b82*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", - "name": "0bd05a8f-e48b-4a95-83b4-429d25289b82*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:22:04.7471058Z", "endTime": - "2022-04-27T05:22:07.5378109Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The - target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-04-27T05:22:05.9097931Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:22:07.4700327Z\",\"SourceId\":null,\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem\",\"AuthType\":0}"}}' - headers: - cache-control: - - no-cache - content-length: - - '1576' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:22:35 GMT - etag: - - '"150046ed-0000-0400-0000-6268d2ff0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - webapp connection show - Connection: - - keep-alive - ParameterSetName: - - --id - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' - headers: - cache-control: - - no-cache - content-length: - - '750' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:22:36 GMT - etag: - - '"6a000a50-0000-0100-0000-6268d2e20000"' - expires: - - '-1' - mise-correlation-id: - - 641d8aab-cc4c-4a7b-bb00-a19f3b81a0f6 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding,Accept-Encoding - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection delete - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --id --yes - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: 'null' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2eb7ddda-5a34-4941-8b56-a80b882a75c3*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2022-05-01 - cache-control: - - no-cache - content-length: - - '4' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:22:39 GMT - etag: - - '"6a004d51-0000-0100-0000-6268d3200000"' - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2eb7ddda-5a34-4941-8b56-a80b882a75c3*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2022-05-01 - mise-correlation-id: - - 4e04383b-68cd-48cb-9398-0c8e6551a1c7 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection delete - Connection: - - keep-alive - ParameterSetName: - - --id --yes - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.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/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2eb7ddda-5a34-4941-8b56-a80b882a75c3*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2022-05-01 - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2eb7ddda-5a34-4941-8b56-a80b882a75c3*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", - "name": "2eb7ddda-5a34-4941-8b56-a80b882a75c3*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:22:39.958821Z", "endTime": - "2022-04-27T05:22:43.3080929Z", "properties": null}' - headers: - cache-control: - - no-cache - content-length: - - '704' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:23:11 GMT - etag: - - '"130071ff-0000-0100-0000-6268d3230000"' - expires: - - '-1' - pragma: - - no-cache - 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/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_eventhub_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_eventhub_e2e.yaml index bb646243261..64aca3e45f7 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_eventhub_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_eventhub_e2e.yaml @@ -19,37 +19,40 @@ interactions: ParameterSetName: - --connection --source-id --target-id --system-identity --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:23:10.3213323Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:23:10.3213323Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "python", "secretStore": - {"keyVaultId": null}, "scope": null}}' + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:49:42.2496544Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:49:42.2496544Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "python", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7699c05e-035a-4cd6-b857-80e6a8d65767*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/19de517c-7141-4fa4-b34e-8dfc93f3948e*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '963' + - '1133' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:23:10 GMT + - Wed, 14 Dec 2022 08:49:43 GMT etag: - - '"6a001b52-0000-0100-0000-6268d33e0000"' + - '"35003a1f-0000-0100-0000-63998e270000"' expires: - '-1' mise-correlation-id: - - 071bbab4-c1c2-4e69-baa8-af862736d619 + - 7d94a817-0d7b-4745-a559-0f587c1103d9 pragma: - no-cache strict-transport-security: @@ -59,7 +62,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' status: code: 201 message: Created @@ -77,27 +80,27 @@ interactions: ParameterSetName: - --connection --source-id --target-id --system-identity --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7699c05e-035a-4cd6-b857-80e6a8d65767*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/19de517c-7141-4fa4-b34e-8dfc93f3948e*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7699c05e-035a-4cd6-b857-80e6a8d65767*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C", - "name": "7699c05e-035a-4cd6-b857-80e6a8d65767*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/19de517c-7141-4fa4-b34e-8dfc93f3948e*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C", + "name": "19de517c-7141-4fa4-b34e-8dfc93f3948e*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:23:10.5070803Z", "endTime": - "2022-04-27T05:23:16.0991465Z", "properties": {}}' + "status": "Accepted", "startTime": "2022-12-14T08:49:43.3885219Z"}' headers: cache-control: - no-cache content-length: - - '697' + - '635' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:23:40 GMT + - Wed, 14 Dec 2022 08:50:14 GMT etag: - - '"150076f2-0000-0400-0000-6268d3440000"' + - '"1000b85d-0000-0100-0000-63998e270000"' expires: - '-1' pragma: @@ -127,32 +130,89 @@ interactions: ParameterSetName: - --connection --source-id --target-id --system-identity --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/19de517c-7141-4fa4-b34e-8dfc93f3948e*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/19de517c-7141-4fa4-b34e-8dfc93f3948e*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C", + "name": "19de517c-7141-4fa4-b34e-8dfc93f3948e*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T08:49:43.3885219Z", "endTime": + "2022-12-14T08:50:36.5769631Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '712' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 08:50:44 GMT + etag: + - '"1000de5e-0000-0100-0000-63998e5c0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create eventhub + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:49:42.2496544Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:49:42.2496544Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '723' + - '1134' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:23:41 GMT + - Wed, 14 Dec 2022 08:50:46 GMT etag: - - '"0200949b-0000-0400-0000-6268d3440000"' + - '"35000c23-0000-0100-0000-63998e5c0000"' expires: - '-1' mise-correlation-id: - - da926917-ac8b-40c9-91e6-5d1113edc997 + - 324ad56b-2825-4235-adfb-5e9ee6ce3719 pragma: - no-cache strict-transport-security: @@ -160,7 +220,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -182,30 +242,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}]}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:49:42.2496544Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:49:42.2496544Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '736' + - '1147' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:23:46 GMT + - Wed, 14 Dec 2022 08:50:53 GMT expires: - '-1' mise-correlation-id: - - e1120cb5-1740-4ef3-bc2d-2c49bf69974b + - 4b539e12-f63c-4a72-b9bd-b0af55ccd183 pragma: - no-cache strict-transport-security: @@ -213,7 +279,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -235,32 +301,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:49:42.2496544Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:49:42.2496544Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '723' + - '1134' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:23:46 GMT + - Wed, 14 Dec 2022 08:50:54 GMT etag: - - '"0200949b-0000-0400-0000-6268d3440000"' + - '"35000c23-0000-0100-0000-63998e5c0000"' expires: - '-1' mise-correlation-id: - - 661eb51a-37e9-4b52-a611-078142d39391 + - 784b6963-a085-4c89-81ad-3e4fec8d25c9 pragma: - no-cache strict-transport-security: @@ -268,7 +340,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -296,37 +368,40 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:23:10.3213323Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:23:47.9663087Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": - {"keyVaultId": null}, "scope": null}}' + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:49:42.2496544Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:50:55.9137063Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/62e1f128-6931-4fb4-82a7-8409f17ff42a*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/65524498-b313-4c4c-bae0-60eccc1ac172*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '963' + - '1133' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:23:47 GMT + - Wed, 14 Dec 2022 08:50:55 GMT etag: - - '"6a000153-0000-0100-0000-6268d3640000"' + - '"35006724-0000-0100-0000-63998e700000"' expires: - '-1' mise-correlation-id: - - b96c407d-2f47-4cb9-bc04-699d54b9b4cf + - de42e350-367e-4aa7-b554-163280932403 pragma: - no-cache strict-transport-security: @@ -336,7 +411,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 201 message: Created @@ -354,27 +429,28 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/62e1f128-6931-4fb4-82a7-8409f17ff42a*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/65524498-b313-4c4c-bae0-60eccc1ac172*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/62e1f128-6931-4fb4-82a7-8409f17ff42a*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C", - "name": "62e1f128-6931-4fb4-82a7-8409f17ff42a*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/65524498-b313-4c4c-bae0-60eccc1ac172*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C", + "name": "65524498-b313-4c4c-bae0-60eccc1ac172*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:23:48.0803984Z", "endTime": - "2022-04-27T05:23:53.3045874Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T08:50:56.3197464Z", "endTime": + "2022-12-14T08:51:11.4252516Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '697' + - '712' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:18 GMT + - Wed, 14 Dec 2022 08:51:27 GMT etag: - - '"14003400-0000-0100-0000-6268d3690000"' + - '"1000be5f-0000-0100-0000-63998e7f0000"' expires: - '-1' pragma: @@ -404,32 +480,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:49:42.2496544Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:50:55.9137063Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '723' + - '1134' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:18 GMT + - Wed, 14 Dec 2022 08:51:27 GMT etag: - - '"6a002353-0000-0100-0000-6268d3690000"' + - '"35006c25-0000-0100-0000-63998e7f0000"' expires: - '-1' mise-correlation-id: - - f361266a-ce2f-4bc3-b3b7-8767e76054b0 + - fd41d917-40e9-4679-9ae0-e2997b53415b pragma: - no-cache strict-transport-security: @@ -437,7 +519,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -461,9 +543,10 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview response: body: string: '{"configurations": [{"name": "AZURE_EVENTHUB_FULLYQUALIFIEDNAMESPACE", @@ -476,11 +559,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:22 GMT + - Wed, 14 Dec 2022 08:51:33 GMT expires: - '-1' mise-correlation-id: - - 3690f245-354c-46bf-aae0-61ace5cc4e3a + - 54f282d6-03db-4276-8146-87ae34109d65 pragma: - no-cache strict-transport-security: @@ -488,13 +571,13 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1197' status: code: 200 message: OK @@ -512,32 +595,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:49:42.2496544Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:50:55.9137063Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '723' + - '1134' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:23 GMT + - Wed, 14 Dec 2022 08:51:37 GMT etag: - - '"6a002353-0000-0100-0000-6268d3690000"' + - '"35006c25-0000-0100-0000-63998e7f0000"' expires: - '-1' mise-correlation-id: - - 9c25e6ef-8363-404b-a5af-c53fb40900e7 + - 463d4a4f-7e8c-465b-b184-b58a529e62a1 pragma: - no-cache strict-transport-security: @@ -545,7 +634,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -569,15 +658,16 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fdc88d0a-6de8-4dd6-8601-1c7fb2f7fbbf*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/260e8f16-dbba-4f8f-9f58-cf2ff6857d0a*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -585,13 +675,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:23 GMT + - Wed, 14 Dec 2022 08:51:38 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fdc88d0a-6de8-4dd6-8601-1c7fb2f7fbbf*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/260e8f16-dbba-4f8f-9f58-cf2ff6857d0a*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2021-01-01-privatepreview mise-correlation-id: - - 645d95f3-08bd-4ba1-9946-821fa3315333 + - 6940365c-45dc-4079-8a93-bff5b535f505 pragma: - no-cache strict-transport-security: @@ -601,7 +691,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1197' status: code: 202 message: Accepted @@ -619,32 +709,107 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fdc88d0a-6de8-4dd6-8601-1c7fb2f7fbbf*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/260e8f16-dbba-4f8f-9f58-cf2ff6857d0a*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fdc88d0a-6de8-4dd6-8601-1c7fb2f7fbbf*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C", - "name": "fdc88d0a-6de8-4dd6-8601-1c7fb2f7fbbf*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/260e8f16-dbba-4f8f-9f58-cf2ff6857d0a*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C", + "name": "260e8f16-dbba-4f8f-9f58-cf2ff6857d0a*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:24:24.4067777Z", "endTime": - "2022-04-27T05:24:27.1773577Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T08:51:39.1141643Z", "endTime": + "2022-12-14T08:51:44.0156561Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-04-27T05:24:25.5926193Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:24:27.1116243Z\",\"SourceId\":null,\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub\",\"AuthType\":0}"}}' + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T08:51:40.3458955Z\",\"ReportEndTimeUtc\":\"2022-12-14T08:51:42.8841978Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-14T08:51:40.3458955Z", "reportEndTimeUtc": "2022-12-14T08:51:42.8841978Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' headers: cache-control: - no-cache content-length: - - '1549' + - '2103' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:55 GMT + - Wed, 14 Dec 2022 08:52:09 GMT etag: - - '"14009900-0000-0100-0000-6268d38b0000"' + - '"10008960-0000-0100-0000-63998ea00000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/260e8f16-dbba-4f8f-9f58-cf2ff6857d0a*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/260e8f16-dbba-4f8f-9f58-cf2ff6857d0a*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C", + "name": "260e8f16-dbba-4f8f-9f58-cf2ff6857d0a*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T08:51:39.1141643Z", "endTime": + "2022-12-14T08:51:44.0156561Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T08:51:40.3458955Z\",\"ReportEndTimeUtc\":\"2022-12-14T08:51:42.8841978Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-14T08:51:40.3458955Z", "reportEndTimeUtc": "2022-12-14T08:51:42.8841978Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' + headers: + cache-control: + - no-cache + content-length: + - '2103' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 08:52:10 GMT + etag: + - '"10008960-0000-0100-0000-63998ea00000"' expires: - '-1' pragma: @@ -674,32 +839,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:49:42.2496544Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T08:50:55.9137063Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.EventHub/namespaces/servicelinkertesteventhub", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '723' + - '1134' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:56 GMT + - Wed, 14 Dec 2022 08:52:12 GMT etag: - - '"6a002353-0000-0100-0000-6268d3690000"' + - '"35006c25-0000-0100-0000-63998e7f0000"' expires: - '-1' mise-correlation-id: - - 8baf4b55-74ad-43dd-96a3-009f81627bb3 + - 04976ad0-5388-47d7-84da-b4706d91394e pragma: - no-cache strict-transport-security: @@ -707,7 +878,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -731,15 +902,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a7d6e631-78ec-4258-8a82-65d89a6fa1d0*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/834c6c73-6909-4e82-a557-c7632cb97541*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -747,15 +919,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:59 GMT + - Wed, 14 Dec 2022 08:52:19 GMT etag: - - '"6a005354-0000-0100-0000-6268d3ac0000"' + - '"3500fe29-0000-0100-0000-63998ec40000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a7d6e631-78ec-4258-8a82-65d89a6fa1d0*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/834c6c73-6909-4e82-a557-c7632cb97541*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2021-01-01-privatepreview mise-correlation-id: - - 464f1a90-2892-45db-b763-4d32305655f8 + - 87248f55-0e08-4763-a281-bed553334d94 pragma: - no-cache strict-transport-security: @@ -765,7 +937,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted @@ -783,27 +955,28 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a7d6e631-78ec-4258-8a82-65d89a6fa1d0*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/834c6c73-6909-4e82-a557-c7632cb97541*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a7d6e631-78ec-4258-8a82-65d89a6fa1d0*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C", - "name": "a7d6e631-78ec-4258-8a82-65d89a6fa1d0*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/834c6c73-6909-4e82-a557-c7632cb97541*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C", + "name": "834c6c73-6909-4e82-a557-c7632cb97541*480C161DA6D70EA0D9EE9F0EAB02FB8EAF510C7EFEF504B27A6C86C50AF9981C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-eventhub-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:25:00.0774374Z", "endTime": - "2022-04-27T05:25:06.797865Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T08:52:19.9452773Z", "endTime": + "2022-12-14T08:52:25.9675413Z", "properties": null}' headers: cache-control: - no-cache content-length: - - '698' + - '699' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:25:30 GMT + - Wed, 14 Dec 2022 08:52:50 GMT etag: - - '"150058fd-0000-0400-0000-6268d3b20000"' + - '"10008561-0000-0100-0000-63998ec90000"' expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_keyvault_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_keyvault_e2e.yaml index 283bd66ca00..e74bc987d9d 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_keyvault_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_keyvault_e2e.yaml @@ -19,39 +19,42 @@ interactions: ParameterSetName: - --connection --source-id --target-id --system-identity --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:23:11.8956172Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:23:11.8956172Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "python", "secretStore": - {"keyVaultId": null}, "scope": null}}' + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:07:58.1586633Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:07:58.1586633Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "python", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/09129367-52b1-4856-a635-d3dbca68a99c*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b69f31cd-7971-40fd-ba7b-0894f0001251*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '955' + - '1125' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:23:12 GMT + - Wed, 14 Dec 2022 09:07:59 GMT etag: - - '"3805c6e8-0000-0200-0000-6268d3410000"' + - '"3500c86a-0000-0100-0000-6399926f0000"' expires: - '-1' mise-correlation-id: - - 2c6e9271-30cd-440c-b022-4cc4cca3a5a5 + - 2279e9b6-6bef-47ff-bcdb-992045f40360 pragma: - no-cache strict-transport-security: @@ -61,7 +64,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 201 message: Created @@ -79,29 +82,30 @@ interactions: ParameterSetName: - --connection --source-id --target-id --system-identity --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/09129367-52b1-4856-a635-d3dbca68a99c*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b69f31cd-7971-40fd-ba7b-0894f0001251*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/09129367-52b1-4856-a635-d3dbca68a99c*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C", - "name": "09129367-52b1-4856-a635-d3dbca68a99c*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b69f31cd-7971-40fd-ba7b-0894f0001251*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C", + "name": "b69f31cd-7971-40fd-ba7b-0894f0001251*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:23:12.9015478Z", "endTime": - "2022-04-27T05:23:20.7594033Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T09:07:59.3474103Z", "endTime": + "2022-12-14T09:08:08.1960455Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '697' + - '712' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:23:42 GMT + - Wed, 14 Dec 2022 09:08:30 GMT etag: - - '"b50626c3-0000-0200-0000-6268d3480000"' + - '"1000c977-0000-0100-0000-639992780000"' expires: - '-1' pragma: @@ -131,90 +135,40 @@ interactions: ParameterSetName: - --connection --source-id --target-id --system-identity --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 - response: - body: - string: '{"error": {"code": "InternalServerError", "message": "Http request - failed with unhandled exception of type ''TaskCanceledException'' and message: - ''A task was canceled.''."}}' - headers: - cache-control: - - no-cache - connection: - - close - content-length: - - '170' - content-type: - - application/json - date: - - Wed, 27 Apr 2022 05:23:54 GMT - etag: - - '"380578e9-0000-0200-0000-6268d3480000"' - expires: - - '-1' - mise-correlation-id: - - 19f35143-1bc7-46b2-98ca-6d78d3b78cf9 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-failure-cause: - - service - x-ms-providerhub-traffic: - - 'True' - status: - code: 500 - message: Internal Server Error -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - webapp connection create keyvault - Connection: - - keep-alive - ParameterSetName: - - --connection --source-id --target-id --system-identity --client-type - User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) - x-ms-serviceconnector-user-token: - - hidden - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:07:58.1586633Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:07:58.1586633Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '715' + - '1126' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:23:55 GMT + - Wed, 14 Dec 2022 09:08:30 GMT etag: - - '"380578e9-0000-0200-0000-6268d3480000"' + - '"3500546b-0000-0100-0000-639992780000"' expires: - '-1' mise-correlation-id: - - ff6b62b3-bfe8-44d3-99ff-93bbc0a71746 + - 709b2ca5-b85a-4ad7-aba6-9deba62bafea pragma: - no-cache strict-transport-security: @@ -222,7 +176,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -244,30 +198,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}]}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:07:58.1586633Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:07:58.1586633Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '728' + - '1139' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:23:58 GMT + - Wed, 14 Dec 2022 09:08:38 GMT expires: - '-1' mise-correlation-id: - - 94a31de2-f248-4bbb-8aff-0afe5acd64df + - 33b25091-6d6d-4868-9a45-96b7a2db03fe pragma: - no-cache strict-transport-security: @@ -275,7 +235,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -297,32 +257,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:07:58.1586633Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:07:58.1586633Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '715' + - '1126' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:23:59 GMT + - Wed, 14 Dec 2022 09:08:39 GMT etag: - - '"380578e9-0000-0200-0000-6268d3480000"' + - '"3500546b-0000-0100-0000-639992780000"' expires: - '-1' mise-correlation-id: - - 1f898274-75cc-48fd-9174-58758f96b8a8 + - 36743259-59c7-46b2-b379-f2c6078036e4 pragma: - no-cache strict-transport-security: @@ -330,7 +296,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -358,39 +324,42 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:23:11.8956172Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:24:00.213493Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": - {"keyVaultId": null}, "scope": null}}' + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:07:58.1586633Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:08:41.0757765Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/90dddcd7-d8b8-4a3a-a2ea-08234ccf512f*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dd07c1bf-ac68-4a64-aef4-a2166fd74b63*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '954' + - '1125' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:00 GMT + - Wed, 14 Dec 2022 09:08:41 GMT etag: - - '"6a004f53-0000-0100-0000-6268d3710000"' + - '"3500976d-0000-0100-0000-639992990000"' expires: - '-1' mise-correlation-id: - - 3c573817-16ac-40ce-9a08-9364d07f46f9 + - 436f5ca4-1edf-48fa-9dd7-235a6337014b pragma: - no-cache strict-transport-security: @@ -400,7 +369,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -418,29 +387,30 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/90dddcd7-d8b8-4a3a-a2ea-08234ccf512f*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dd07c1bf-ac68-4a64-aef4-a2166fd74b63*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/90dddcd7-d8b8-4a3a-a2ea-08234ccf512f*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C", - "name": "90dddcd7-d8b8-4a3a-a2ea-08234ccf512f*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dd07c1bf-ac68-4a64-aef4-a2166fd74b63*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C", + "name": "dd07c1bf-ac68-4a64-aef4-a2166fd74b63*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:24:01.0762264Z", "endTime": - "2022-04-27T05:24:08.6067292Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T09:08:41.4826666Z", "endTime": + "2022-12-14T09:08:50.4361432Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '697' + - '712' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:30 GMT + - Wed, 14 Dec 2022 09:09:12 GMT etag: - - '"1500c3fa-0000-0400-0000-6268d3780000"' + - '"1000fe78-0000-0100-0000-639992a20000"' expires: - '-1' pragma: @@ -470,34 +440,40 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:07:58.1586633Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:08:41.0757765Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '715' + - '1126' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:31 GMT + - Wed, 14 Dec 2022 09:09:13 GMT etag: - - '"0200a09b-0000-0400-0000-6268d3780000"' + - '"35003e6e-0000-0100-0000-639992a20000"' expires: - '-1' mise-correlation-id: - - f49dfd85-fae0-43c8-80ed-e2d86d68f9cc + - 2332a2bf-9113-47ee-835f-658891d63e2a pragma: - no-cache strict-transport-security: @@ -505,7 +481,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -529,9 +505,10 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview response: body: string: '{"configurations": [{"name": "AZURE_KEYVAULT_RESOURCEENDPOINT", "value": @@ -545,11 +522,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:35 GMT + - Wed, 14 Dec 2022 09:09:19 GMT expires: - '-1' mise-correlation-id: - - 62bfec9b-9a89-4422-bf48-c3c7ab72775c + - 352b1ff4-abd5-43ae-be40-3fb3be141709 pragma: - no-cache strict-transport-security: @@ -557,13 +534,13 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1194' status: code: 200 message: OK @@ -581,32 +558,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:07:58.1586633Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:08:41.0757765Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '715' + - '1126' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:37 GMT + - Wed, 14 Dec 2022 09:09:22 GMT etag: - - '"0200a09b-0000-0400-0000-6268d3780000"' + - '"35003e6e-0000-0100-0000-639992a20000"' expires: - '-1' mise-correlation-id: - - 3c91b087-7fe9-4934-a6a6-595a55519f57 + - b25a19e4-28f0-4a1c-87d8-6ec017dac9b7 pragma: - no-cache strict-transport-security: @@ -614,7 +597,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -638,17 +621,18 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c9d14023-580b-4eba-850f-1ff4de73d72e*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad2583fd-9221-4424-ba86-717225ed405d*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -656,13 +640,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:37 GMT + - Wed, 14 Dec 2022 09:09:23 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c9d14023-580b-4eba-850f-1ff4de73d72e*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad2583fd-9221-4424-ba86-717225ed405d*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C?api-version=2021-01-01-privatepreview mise-correlation-id: - - b734af66-a10d-49af-ad32-2403b7e4d844 + - f1dd7137-1daa-4c34-b877-028e537c3256 pragma: - no-cache strict-transport-security: @@ -690,34 +674,111 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c9d14023-580b-4eba-850f-1ff4de73d72e*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad2583fd-9221-4424-ba86-717225ed405d*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c9d14023-580b-4eba-850f-1ff4de73d72e*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C", - "name": "c9d14023-580b-4eba-850f-1ff4de73d72e*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad2583fd-9221-4424-ba86-717225ed405d*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C", + "name": "ad2583fd-9221-4424-ba86-717225ed405d*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:24:37.7435224Z", "endTime": - "2022-04-27T05:24:41.9874316Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T09:09:23.4191401Z", "endTime": + "2022-12-14T09:09:27.9129078Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-04-27T05:24:39.0782117Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:24:41.9166949Z\",\"SourceId\":null,\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv\",\"AuthType\":0}"}}' + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T09:09:24.7117733Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:09:26.7354354Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-14T09:09:24.7117733Z", "reportEndTimeUtc": "2022-12-14T09:09:26.7354354Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' headers: cache-control: - no-cache content-length: - - '1541' + - '2103' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:25:07 GMT + - Wed, 14 Dec 2022 09:09:53 GMT etag: - - '"150042fc-0000-0400-0000-6268d3990000"' + - '"1000f679-0000-0100-0000-639992c70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + x-ms-serviceconnector-user-token: + - hidden + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad2583fd-9221-4424-ba86-717225ed405d*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad2583fd-9221-4424-ba86-717225ed405d*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C", + "name": "ad2583fd-9221-4424-ba86-717225ed405d*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T09:09:23.4191401Z", "endTime": + "2022-12-14T09:09:27.9129078Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T09:09:24.7117733Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:09:26.7354354Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-14T09:09:24.7117733Z", "reportEndTimeUtc": "2022-12-14T09:09:26.7354354Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' + headers: + cache-control: + - no-cache + content-length: + - '2103' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 09:09:54 GMT + etag: + - '"1000f679-0000-0100-0000-639992c70000"' expires: - '-1' pragma: @@ -747,32 +808,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:07:58.1586633Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:08:41.0757765Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-test-kv", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '715' + - '1126' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:25:09 GMT + - Wed, 14 Dec 2022 09:09:55 GMT etag: - - '"0200a09b-0000-0400-0000-6268d3780000"' + - '"35003e6e-0000-0100-0000-639992a20000"' expires: - '-1' mise-correlation-id: - - b4ce4a0b-1a4d-4c5f-8ee9-3670fc1b016f + - a10a1710-142d-433f-b6a7-ebe5e469cf60 pragma: - no-cache strict-transport-security: @@ -780,7 +847,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -804,15 +871,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/61b44c05-87dc-4200-aff0-58d58d8ce347*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c7021d5a-77f8-4e39-8b35-57b3097467e3*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -820,15 +888,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:25:13 GMT + - Wed, 14 Dec 2022 09:10:06 GMT etag: - - '"6a00ac54-0000-0100-0000-6268d3ba0000"' + - '"35004573-0000-0100-0000-639992ee0000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/61b44c05-87dc-4200-aff0-58d58d8ce347*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c7021d5a-77f8-4e39-8b35-57b3097467e3*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C?api-version=2021-01-01-privatepreview mise-correlation-id: - - 0941195d-3695-4fd3-b81c-7edade62d1ad + - fdf72ac3-5ec4-4028-a588-e8585c5f808d pragma: - no-cache strict-transport-security: @@ -838,7 +906,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted @@ -856,16 +924,17 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/61b44c05-87dc-4200-aff0-58d58d8ce347*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c7021d5a-77f8-4e39-8b35-57b3097467e3*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/61b44c05-87dc-4200-aff0-58d58d8ce347*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C", - "name": "61b44c05-87dc-4200-aff0-58d58d8ce347*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c7021d5a-77f8-4e39-8b35-57b3097467e3*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C", + "name": "c7021d5a-77f8-4e39-8b35-57b3097467e3*60F434B9B52FDE4AE460045D54A849E11CDAFA6576C40A0ADFED8D0D7286220C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-keyvault-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:25:14.5022021Z", "endTime": - "2022-04-27T05:25:19.4557761Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T09:10:06.6198751Z", "endTime": + "2022-12-14T09:10:23.5698418Z", "properties": null}' headers: cache-control: - no-cache @@ -874,9 +943,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:25:45 GMT + - Wed, 14 Dec 2022 09:10:37 GMT etag: - - '"14003101-0000-0100-0000-6268d3bf0000"' + - '"10005f7b-0000-0100-0000-639992ff0000"' expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_mysql_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_mysql_e2e.yaml index 2f8c79a79f4..872e7fbc65c 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_mysql_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_mysql_e2e.yaml @@ -13,8 +13,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-keyvault/7.0 Azure-SDK-For-Python + - python/3.8.8 (Windows-10-10.0.22621-SP0) msrest/0.7.1 msrest_azure/0.6.4 azure-keyvault/7.0 + Azure-SDK-For-Python accept-language: - en-US method: GET @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:23:42 GMT + - Wed, 14 Dec 2022 09:12:30 GMT expires: - '-1' pragma: @@ -44,11 +44,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.255.96;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.60;act_addr_fam=InterNetwork; x-ms-keyvault-region: - eastus x-ms-keyvault-service-version: - - 1.9.378.1 + - 1.9.640.1 status: code: 401 message: Unauthorized @@ -66,8 +66,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-keyvault/7.0 Azure-SDK-For-Python + - python/3.8.8 (Windows-10-10.0.22621-SP0) msrest/0.7.1 msrest_azure/0.6.4 azure-keyvault/7.0 + Azure-SDK-For-Python accept-language: - en-US method: GET @@ -85,7 +85,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:23:42 GMT + - Wed, 14 Dec 2022 09:12:31 GMT expires: - '-1' pragma: @@ -95,11 +95,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.255.96;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.60;act_addr_fam=InterNetwork; x-ms-keyvault-region: - eastus x-ms-keyvault-service-version: - - 1.9.378.1 + - 1.9.640.1 status: code: 200 message: OK @@ -124,38 +124,40 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:23:43.6144605Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:23:43.6144605Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:06:26.0874614Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:12:33.442707Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "vNetSolution": null, "clientType": "python", "secretStore": {"keyVaultId": - null}, "scope": null}}' + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/efbee160-95d5-495e-b8e8-ee6a6802848c*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c919c987-1c7c-4492-a47c-2616d05e2075*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1022' + - '1121' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:23:44 GMT + - Wed, 14 Dec 2022 09:12:34 GMT etag: - - '"6a00eb52-0000-0100-0000-6268d3600000"' + - '"3500867d-0000-0100-0000-639993820000"' expires: - '-1' mise-correlation-id: - - ff1016b3-af4a-4fa2-ac8d-0b18b6b6f914 + - 0b22dbb1-c55d-421c-8d18-1147fb6ff83f pragma: - no-cache strict-transport-security: @@ -183,16 +185,117 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/efbee160-95d5-495e-b8e8-ee6a6802848c*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c919c987-1c7c-4492-a47c-2616d05e2075*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/efbee160-95d5-495e-b8e8-ee6a6802848c*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", - "name": "efbee160-95d5-495e-b8e8-ee6a6802848c*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c919c987-1c7c-4492-a47c-2616d05e2075*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", + "name": "c919c987-1c7c-4492-a47c-2616d05e2075*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:23:44.4715016Z", "endTime": - "2022-04-27T05:23:50.1164602Z", "properties": {"message": "Deny public network + "status": "Accepted", "startTime": "2022-12-14T09:12:34.6426284Z"}' + headers: + cache-control: + - no-cache + content-length: + - '632' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 09:13:05 GMT + etag: + - '"1000ad7e-0000-0100-0000-639993820000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create mysql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c919c987-1c7c-4492-a47c-2616d05e2075*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c919c987-1c7c-4492-a47c-2616d05e2075*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", + "name": "c919c987-1c7c-4492-a47c-2616d05e2075*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-14T09:12:34.6426284Z"}' + headers: + cache-control: + - no-cache + content-length: + - '632' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 09:13:36 GMT + etag: + - '"1000ad7e-0000-0100-0000-639993820000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create mysql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c919c987-1c7c-4492-a47c-2616d05e2075*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c919c987-1c7c-4492-a47c-2616d05e2075*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", + "name": "c919c987-1c7c-4492-a47c-2616d05e2075*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T09:12:34.6426284Z", "endTime": + "2022-12-14T09:13:49.0936105Z", "properties": {"Message": "Deny public network access is set to yes. Please confirm you are using private endpoint connection to access target resource."}}' headers: @@ -203,9 +306,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:15 GMT + - Wed, 14 Dec 2022 09:14:08 GMT etag: - - '"b506e4cd-0000-0200-0000-6268d3660000"' + - '"10009280-0000-0100-0000-639993cd0000"' expires: - '-1' pragma: @@ -235,33 +338,38 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:06:26.0874614Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:12:33.442707Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '782' + - '1122' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:15 GMT + - Wed, 14 Dec 2022 09:14:09 GMT etag: - - '"380548ec-0000-0200-0000-6268d3690000"' + - '"3500bf82-0000-0100-0000-639993cd0000"' expires: - '-1' mise-correlation-id: - - 472387af-1fcb-4308-84ca-494831310ee6 + - 0e57c510-1b55-406b-ab3e-20349858cb46 pragma: - no-cache strict-transport-security: @@ -269,7 +377,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -291,31 +399,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:06:26.0874614Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:12:33.442707Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}]}' + {"keyVaultId": null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '795' + - '1135' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:19 GMT + - Wed, 14 Dec 2022 09:14:14 GMT expires: - '-1' mise-correlation-id: - - f7cb1956-3ec1-45dd-859b-d0cb348e002d + - 049e8213-939c-446e-b7e0-10b17d90233f pragma: - no-cache strict-transport-security: @@ -323,7 +436,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -345,33 +458,38 @@ interactions: ParameterSetName: - --id --client-type --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:06:26.0874614Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:12:33.442707Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '782' + - '1122' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:19 GMT + - Wed, 14 Dec 2022 09:14:16 GMT etag: - - '"380548ec-0000-0200-0000-6268d3690000"' + - '"3500bf82-0000-0100-0000-639993cd0000"' expires: - '-1' mise-correlation-id: - - 63a65770-791e-4b09-b31f-ad6b7f8762d0 + - a126dd28-8809-4b10-839f-f80df32e3abd pragma: - no-cache strict-transport-security: @@ -379,7 +497,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -408,38 +526,40 @@ interactions: ParameterSetName: - --id --client-type --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:23:43.6144605Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:24:20.2946291Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:06:26.0874614Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:14:16.7237723Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": {"keyVaultId": - null}, "scope": null}}' + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d8496dd6-5fb0-4560-aa86-24f0a9a94474*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/78c944ad-14d0-45c7-8aa2-8dedae3139e1*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1022' + - '1122' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:20 GMT + - Wed, 14 Dec 2022 09:14:17 GMT etag: - - '"6a009053-0000-0100-0000-6268d3840000"' + - '"3500cc84-0000-0100-0000-639993e90000"' expires: - '-1' mise-correlation-id: - - bf97870d-e9a7-4d3f-963d-982322a9ed66 + - 39bd9a4b-0c90-4010-ad14-080153f75a5d pragma: - no-cache strict-transport-security: @@ -449,7 +569,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1198' status: code: 201 message: Created @@ -467,29 +587,30 @@ interactions: ParameterSetName: - --id --client-type --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d8496dd6-5fb0-4560-aa86-24f0a9a94474*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/78c944ad-14d0-45c7-8aa2-8dedae3139e1*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d8496dd6-5fb0-4560-aa86-24f0a9a94474*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", - "name": "d8496dd6-5fb0-4560-aa86-24f0a9a94474*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/78c944ad-14d0-45c7-8aa2-8dedae3139e1*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", + "name": "78c944ad-14d0-45c7-8aa2-8dedae3139e1*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:24:20.4117945Z", "endTime": - "2022-04-27T05:24:25.422011Z", "properties": {"message": "Deny public network + "status": "Succeeded", "startTime": "2022-12-14T09:14:17.1483991Z", "endTime": + "2022-12-14T09:14:23.8394387Z", "properties": {"Message": "Deny public network access is set to yes. Please confirm you are using private endpoint connection to access target resource."}}' headers: cache-control: - no-cache content-length: - - '831' + - '832' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:50 GMT + - Wed, 14 Dec 2022 09:14:47 GMT etag: - - '"150081fb-0000-0400-0000-6268d3890000"' + - '"10007c81-0000-0100-0000-639993ef0000"' expires: - '-1' pragma: @@ -519,33 +640,38 @@ interactions: ParameterSetName: - --id --client-type --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:06:26.0874614Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:14:16.7237723Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '782' + - '1123' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:50 GMT + - Wed, 14 Dec 2022 09:14:48 GMT etag: - - '"0200a29b-0000-0400-0000-6268d3890000"' + - '"35004e85-0000-0100-0000-639993ef0000"' expires: - '-1' mise-correlation-id: - - ce299ef4-2301-42b6-94b5-ba58656fc1a8 + - 0c88da19-b7d1-4564-8e62-e7e39d71d479 pragma: - no-cache strict-transport-security: @@ -553,7 +679,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -577,9 +703,10 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview response: body: string: '{"configurations": [{"name": "AZURE_MYSQL_CONNECTIONSTRING", "value": @@ -592,15 +719,17 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:56 GMT + - Wed, 14 Dec 2022 09:14:56 GMT expires: - '-1' mise-correlation-id: - - c4e13ad2-fe7a-4674-b037-3c45a6d6e0bd + - eb0fe9bf-c121-40ac-a5d4-a92b7cd9d39a pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked vary: - Accept-Encoding x-content-type-options: @@ -608,7 +737,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1196' status: code: 200 message: OK @@ -626,33 +755,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:06:26.0874614Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:14:16.7237723Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '782' + - '1123' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:57 GMT + - Wed, 14 Dec 2022 09:14:58 GMT etag: - - '"0200a29b-0000-0400-0000-6268d3890000"' + - '"35004e85-0000-0100-0000-639993ef0000"' expires: - '-1' mise-correlation-id: - - d08cd694-e0fe-4f92-bf0e-1e47599b5882 + - ea8d3adc-922e-4363-a622-6b39d69f5b81 pragma: - no-cache strict-transport-security: @@ -660,7 +794,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -684,15 +818,16 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5be16b5c-2e56-47d5-9b48-4cac1355574d*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b2c689d7-ebff-42d5-8ff1-f0cb7fd1d699*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -700,13 +835,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:24:57 GMT + - Wed, 14 Dec 2022 09:14:59 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5be16b5c-2e56-47d5-9b48-4cac1355574d*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b2c689d7-ebff-42d5-8ff1-f0cb7fd1d699*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2021-01-01-privatepreview mise-correlation-id: - - 9d7b1d28-5c25-4fa2-92a0-112a0385aa49 + - 91c95080-bd79-48e7-be88-431df2542d53 pragma: - no-cache strict-transport-security: @@ -716,7 +851,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1197' status: code: 202 message: Accepted @@ -734,32 +869,107 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5be16b5c-2e56-47d5-9b48-4cac1355574d*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b2c689d7-ebff-42d5-8ff1-f0cb7fd1d699*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5be16b5c-2e56-47d5-9b48-4cac1355574d*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", - "name": "5be16b5c-2e56-47d5-9b48-4cac1355574d*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b2c689d7-ebff-42d5-8ff1-f0cb7fd1d699*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", + "name": "b2c689d7-ebff-42d5-8ff1-f0cb7fd1d699*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:24:58.1521406Z", "endTime": - "2022-04-27T05:25:00.2481613Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T09:14:59.1588169Z", "endTime": + "2022-12-14T09:15:04.5829012Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":false,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The target''s network access is validated\",\"Description\":\"Deny public network access is set to yes. Please confirm you are using private endpoint connection to access target resource.\",\"Result\":2},{\"Name\":\"The configured values - (except username/password) is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-04-27T05:24:59.4790095Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:25:00.1772412Z\",\"SourceId\":null,\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB\",\"AuthType\":4}"}}' + is validated\",\"Description\":\"connectionString of connection is incorrect\",\"Result\":1}],\"ReportStartTimeUtc\":\"2022-12-14T09:15:00.4218326Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:15:03.4699192Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn", "isConnectionAvailable": false, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network access is validated", "description": + "Deny public network access is set to yes. Please confirm you are using private + endpoint connection to access target resource.", "result": "warning"}, {"name": + "The configured values is validated", "description": "connectionString of + connection is incorrect", "result": "failure"}], "reportStartTimeUtc": "2022-12-14T09:15:00.4218326Z", + "reportEndTimeUtc": "2022-12-14T09:15:03.4699192Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' headers: cache-control: - no-cache content-length: - - '1538' + - '2064' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:25:28 GMT + - Wed, 14 Dec 2022 09:15:30 GMT etag: - - '"150010fd-0000-0400-0000-6268d3ac0000"' + - '"10007f82-0000-0100-0000-639994180000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b2c689d7-ebff-42d5-8ff1-f0cb7fd1d699*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b2c689d7-ebff-42d5-8ff1-f0cb7fd1d699*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", + "name": "b2c689d7-ebff-42d5-8ff1-f0cb7fd1d699*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T09:14:59.1588169Z", "endTime": + "2022-12-14T09:15:04.5829012Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":false,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target''s network access is validated\",\"Description\":\"Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource.\",\"Result\":2},{\"Name\":\"The configured values + is validated\",\"Description\":\"connectionString of connection is incorrect\",\"Result\":1}],\"ReportStartTimeUtc\":\"2022-12-14T09:15:00.4218326Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:15:03.4699192Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn", "isConnectionAvailable": false, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network access is validated", "description": + "Deny public network access is set to yes. Please confirm you are using private + endpoint connection to access target resource.", "result": "warning"}, {"name": + "The configured values is validated", "description": "connectionString of + connection is incorrect", "result": "failure"}], "reportStartTimeUtc": "2022-12-14T09:15:00.4218326Z", + "reportEndTimeUtc": "2022-12-14T09:15:03.4699192Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '2064' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 09:15:30 GMT + etag: + - '"10007f82-0000-0100-0000-639994180000"' expires: - '-1' pragma: @@ -789,33 +999,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:06:26.0874614Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:14:16.7237723Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBForMySQL/servers/servicelinker-mysql/databases/mysqlDB", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '782' + - '1123' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:25:29 GMT + - Wed, 14 Dec 2022 09:15:32 GMT etag: - - '"0200a29b-0000-0400-0000-6268d3890000"' + - '"35004e85-0000-0100-0000-639993ef0000"' expires: - '-1' mise-correlation-id: - - 7020e527-a109-483d-bbcc-4882e91d3949 + - 30b29b02-2c73-4515-84aa-bdc5a6dc65d5 pragma: - no-cache strict-transport-security: @@ -823,7 +1038,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -847,15 +1062,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b5caa0ad-30a4-412b-8f59-a7b3cd31067c*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d16523c4-3e22-4ead-8369-2d33d6bd5361*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -863,15 +1079,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:25:33 GMT + - Wed, 14 Dec 2022 09:15:41 GMT etag: - - '"6a000d55-0000-0100-0000-6268d3ce0000"' + - '"3500078b-0000-0100-0000-6399943e0000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b5caa0ad-30a4-412b-8f59-a7b3cd31067c*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d16523c4-3e22-4ead-8369-2d33d6bd5361*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2021-01-01-privatepreview mise-correlation-id: - - 5ce22d27-6bde-4554-acab-c60479423ed7 + - 8f2a67be-5b4a-4a8e-86a9-3522d471c42a pragma: - no-cache strict-transport-security: @@ -899,27 +1115,74 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d16523c4-3e22-4ead-8369-2d33d6bd5361*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d16523c4-3e22-4ead-8369-2d33d6bd5361*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", + "name": "d16523c4-3e22-4ead-8369-2d33d6bd5361*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Deleting", "startTime": "2022-12-14T09:15:41.896959Z"}' + headers: + cache-control: + - no-cache + content-length: + - '631' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 09:16:13 GMT + etag: + - '"10008283-0000-0100-0000-6399943d0000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection delete + Connection: + - keep-alive + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b5caa0ad-30a4-412b-8f59-a7b3cd31067c*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d16523c4-3e22-4ead-8369-2d33d6bd5361*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b5caa0ad-30a4-412b-8f59-a7b3cd31067c*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", - "name": "b5caa0ad-30a4-412b-8f59-a7b3cd31067c*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d16523c4-3e22-4ead-8369-2d33d6bd5361*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", + "name": "d16523c4-3e22-4ead-8369-2d33d6bd5361*DE3FEB8500ECA2E2B642C2822CE0E4C7F340AFE2B731BB287BF1AB2D5D6A504B", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-mysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:25:34.0169801Z", "endTime": - "2022-04-27T05:25:37.4394261Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T09:15:41.896959Z", "endTime": + "2022-12-14T09:16:13.656929Z", "properties": null}' headers: cache-control: - no-cache content-length: - - '696' + - '694' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:04 GMT + - Wed, 14 Dec 2022 09:16:43 GMT etag: - - '"14005f01-0000-0100-0000-6268d3d10000"' + - '"10006984-0000-0100-0000-6399945d0000"' expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_mysqlflexible_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_mysqlflexible_e2e.yaml index ffe38fded8f..0731c65f019 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_mysqlflexible_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_mysqlflexible_e2e.yaml @@ -1,59 +1,6 @@ interactions: - request: - body: '' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - 0 - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.8.8 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-keyvault/7.0 Azure-SDK-For-Python - accept-language: - - en-US - method: GET - uri: https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword/?api-version=7.0 - response: - body: - string: '{"error": {"code": "Unauthorized", "message": "AKV10000: Request is - missing a Bearer or PoP token."}}' - headers: - cache-control: - - no-cache - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 11 May 2022 02:16:08 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - www-authenticate: - - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.255.15;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - eastus - x-ms-keyvault-service-version: - - 1.9.395.1 - status: - code: 401 - message: Unauthorized -- request: - body: '' + body: null headers: Accept: - application/json @@ -61,13 +8,11 @@ interactions: - gzip, deflate Connection: - keep-alive - Content-Length: - - 0 Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.8 (Windows-10-10.0.22000-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-keyvault/7.0 Azure-SDK-For-Python + - python/3.8.8 (Windows-10-10.0.22621-SP0) msrest/0.7.1 msrest_azure/0.6.4 azure-keyvault/7.0 + Azure-SDK-For-Python accept-language: - en-US method: GET @@ -85,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 02:16:10 GMT + - Wed, 14 Dec 2022 09:16:44 GMT expires: - '-1' pragma: @@ -95,11 +40,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.255.15;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.60;act_addr_fam=InterNetwork; x-ms-keyvault-region: - eastus x-ms-keyvault-service-version: - - 1.9.395.1 + - 1.9.640.1 status: code: 200 message: OK @@ -124,40 +69,42 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": - "2022-05-11T02:16:12.5252758Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-05-11T02:16:12.5252758Z"}, + "2022-12-14T09:16:47.0505078Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:16:47.0505078Z"}, "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "vNetSolution": null, "clientType": "python", "secretStore": {"keyVaultId": - null}, "scope": null}}' + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/139c9f0e-3244-47aa-91b7-72021733da4a*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/201c12fc-84c4-4f75-9cde-c2a29331ba36*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1061' + - '1147' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 02:16:13 GMT + - Wed, 14 Dec 2022 09:16:47 GMT etag: - - '"4f00644d-0000-0100-0000-627b1c6d0000"' + - '"3500fb90-0000-0100-0000-639994800000"' expires: - '-1' mise-correlation-id: - - 854b9ba3-b006-4cc6-9132-fe8365e3d86d + - c23c0f79-898e-41de-b970-e6770f10a1e8 pragma: - no-cache strict-transport-security: @@ -167,7 +114,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -185,17 +132,18 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/139c9f0e-3244-47aa-91b7-72021733da4a*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/201c12fc-84c4-4f75-9cde-c2a29331ba36*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/139c9f0e-3244-47aa-91b7-72021733da4a*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", - "name": "139c9f0e-3244-47aa-91b7-72021733da4a*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/201c12fc-84c4-4f75-9cde-c2a29331ba36*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", + "name": "201c12fc-84c4-4f75-9cde-c2a29331ba36*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Accepted", "startTime": "2022-05-11T02:16:13.6488324Z"}' + "status": "Accepted", "startTime": "2022-12-14T09:16:48.2075378Z"}' headers: cache-control: - no-cache @@ -204,9 +152,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 02:16:45 GMT + - Wed, 14 Dec 2022 09:17:18 GMT etag: - - '"0400ce57-0000-0100-0000-627b1c6d0000"' + - '"10006385-0000-0100-0000-639994800000"' expires: - '-1' pragma: @@ -236,17 +184,18 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/139c9f0e-3244-47aa-91b7-72021733da4a*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/201c12fc-84c4-4f75-9cde-c2a29331ba36*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/139c9f0e-3244-47aa-91b7-72021733da4a*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", - "name": "139c9f0e-3244-47aa-91b7-72021733da4a*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/201c12fc-84c4-4f75-9cde-c2a29331ba36*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", + "name": "201c12fc-84c4-4f75-9cde-c2a29331ba36*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Accepted", "startTime": "2022-05-11T02:16:13.6488324Z"}' + "status": "Accepted", "startTime": "2022-12-14T09:16:48.2075378Z"}' headers: cache-control: - no-cache @@ -255,9 +204,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 02:17:15 GMT + - Wed, 14 Dec 2022 09:17:49 GMT etag: - - '"0400ce57-0000-0100-0000-627b1c6d0000"' + - '"10006385-0000-0100-0000-639994800000"' expires: - '-1' pragma: @@ -287,29 +236,30 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/139c9f0e-3244-47aa-91b7-72021733da4a*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/201c12fc-84c4-4f75-9cde-c2a29331ba36*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/139c9f0e-3244-47aa-91b7-72021733da4a*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", - "name": "139c9f0e-3244-47aa-91b7-72021733da4a*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/201c12fc-84c4-4f75-9cde-c2a29331ba36*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", + "name": "201c12fc-84c4-4f75-9cde-c2a29331ba36*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-05-11T02:16:13.6488324Z", "endTime": - "2022-05-11T02:17:20.4952317Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T09:16:48.2075378Z", "endTime": + "2022-12-14T09:17:57.0710983Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '702' + - '717' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 02:17:46 GMT + - Wed, 14 Dec 2022 09:18:20 GMT etag: - - '"0000fb42-0000-0400-0000-627b1cb00000"' + - '"10002487-0000-0100-0000-639994c50000"' expires: - '-1' pragma: @@ -339,35 +289,40 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:16:47.0505078Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:16:47.0505078Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '807' + - '1148' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 02:17:47 GMT + - Wed, 14 Dec 2022 09:18:21 GMT etag: - - '"170007ac-0000-0400-0000-627b1cb00000"' + - '"3500f296-0000-0100-0000-639994c50000"' expires: - '-1' mise-correlation-id: - - 5e5a09df-fd77-4169-9595-b872242a6dc2 + - 8655795e-bc8d-46ff-9967-62a1408ad3d6 pragma: - no-cache strict-transport-security: @@ -375,7 +330,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -397,31 +352,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:16:47.0505078Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:16:47.0505078Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}]}' + {"keyVaultId": null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '820' + - '1161' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 02:17:53 GMT + - Wed, 14 Dec 2022 09:18:27 GMT expires: - '-1' mise-correlation-id: - - ed34b4ae-0271-4ce1-9cca-46bf6f83e6fb + - 23eeb490-cdca-47da-b644-c8ed3ec579a9 pragma: - no-cache strict-transport-security: @@ -429,7 +389,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -451,33 +411,38 @@ interactions: ParameterSetName: - --id --client-type --secret User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:16:47.0505078Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:16:47.0505078Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '807' + - '1148' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 02:17:54 GMT + - Wed, 14 Dec 2022 09:18:29 GMT etag: - - '"170007ac-0000-0400-0000-627b1cb00000"' + - '"3500f296-0000-0100-0000-639994c50000"' expires: - '-1' mise-correlation-id: - - dd8d68e9-53c9-46c9-a3c2-a1663b03468c + - 735c6944-9568-40bd-8929-e4bb6c698784 pragma: - no-cache strict-transport-security: @@ -485,7 +450,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -514,41 +479,43 @@ interactions: ParameterSetName: - --id --client-type --secret User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": - "2022-05-11T02:16:12.5252758Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-05-11T02:17:56.0914287Z"}, + "2022-12-14T09:16:47.0505078Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:18:31.4060816Z"}, "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"value": "https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword", "secretType": "keyVaultSecretUri"}, "authType": "secret"}, "vNetSolution": - null, "clientType": "dotnet", "secretStore": {"keyVaultId": null}, "scope": + null, "clientType": "dotnet", "secretStore": {"keyVaultId": null, "keyVaultSecretName": + null}, "scope": null, "publicNetworkSolution": null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6b45247c-4623-4232-ac3c-d2d61c19e878*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/00e80673-3d21-407c-aebe-ea74faf5a11d*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1147' + - '1233' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 02:17:56 GMT + - Wed, 14 Dec 2022 09:18:32 GMT etag: - - '"4f000c4e-0000-0100-0000-627b1cd40000"' + - '"3500039a-0000-0100-0000-639994e90000"' expires: - '-1' mise-correlation-id: - - 45cfe704-0f97-4821-aaf9-5359f5b42941 + - a4101b84-9a86-46e8-9981-caa2a211f174 pragma: - no-cache strict-transport-security: @@ -576,29 +543,30 @@ interactions: ParameterSetName: - --id --client-type --secret User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6b45247c-4623-4232-ac3c-d2d61c19e878*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/00e80673-3d21-407c-aebe-ea74faf5a11d*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6b45247c-4623-4232-ac3c-d2d61c19e878*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", - "name": "6b45247c-4623-4232-ac3c-d2d61c19e878*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/00e80673-3d21-407c-aebe-ea74faf5a11d*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", + "name": "00e80673-3d21-407c-aebe-ea74faf5a11d*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-05-11T02:17:56.7581294Z", "endTime": - "2022-05-11T02:18:02.8264184Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T09:18:32.9109458Z", "endTime": + "2022-12-14T09:18:39.565817Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '702' + - '716' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 02:18:27 GMT + - Wed, 14 Dec 2022 09:19:04 GMT etag: - - '"0000fc42-0000-0400-0000-627b1cda0000"' + - '"10005388-0000-0100-0000-639994ef0000"' expires: - '-1' pragma: @@ -628,35 +596,41 @@ interactions: ParameterSetName: - --id --client-type --secret User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:16:47.0505078Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:18:31.4060816Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"value": "https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword", "secretType": "keyVaultSecretUri"}, "authType": "secret"}, "clientType": "dotnet", - "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null, "keyVaultSecretName": + null}}}' headers: cache-control: - no-cache content-length: - - '893' + - '1234' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 02:18:27 GMT + - Wed, 14 Dec 2022 09:19:05 GMT etag: - - '"170065ac-0000-0400-0000-627b1cda0000"' + - '"35008a9a-0000-0100-0000-639994ef0000"' expires: - '-1' mise-correlation-id: - - b2080748-3358-4b7d-9df5-d62b0bd4a98f + - 9cae39a1-e5ce-4304-b72b-e6659daacf11 pragma: - no-cache strict-transport-security: @@ -664,7 +638,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -688,9 +662,10 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview response: body: string: '{"configurations": [{"name": "AZURE_MYSQL_HOST", "value": "servicelinker-flexible-mysql.mysql.database.azure.com"}, @@ -706,11 +681,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 02:18:34 GMT + - Wed, 14 Dec 2022 09:19:11 GMT expires: - '-1' mise-correlation-id: - - 534958c7-de5b-41e0-89a6-f1d175da56ea + - cb8c7bd3-d031-4d0a-8039-7bafe2e98c26 pragma: - no-cache strict-transport-security: @@ -718,13 +693,13 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -742,33 +717,39 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:16:47.0505078Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:18:31.4060816Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"value": "https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword", "secretType": "keyVaultSecretUri"}, "authType": "secret"}, "clientType": "dotnet", - "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null, "keyVaultSecretName": + null}}}' headers: cache-control: - no-cache content-length: - - '893' + - '1234' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 02:18:36 GMT + - Wed, 14 Dec 2022 09:19:12 GMT etag: - - '"170065ac-0000-0400-0000-627b1cda0000"' + - '"35008a9a-0000-0100-0000-639994ef0000"' expires: - '-1' mise-correlation-id: - - bd4f455d-4090-4075-8da4-2fadf829b476 + - abe853f8-cfc1-4fc1-adcd-0a2254ea4571 pragma: - no-cache strict-transport-security: @@ -776,7 +757,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -800,17 +781,18 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/645b1ed7-c8ed-4152-8816-b5ecd6c602eb*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/97035c5a-6e96-43b6-9b09-f3fde75ce096*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -818,13 +800,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 02:18:37 GMT + - Wed, 14 Dec 2022 09:19:13 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/645b1ed7-c8ed-4152-8816-b5ecd6c602eb*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/97035c5a-6e96-43b6-9b09-f3fde75ce096*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2021-01-01-privatepreview mise-correlation-id: - - 2eaddb9a-f73f-423d-9ccd-5b047d21fb54 + - 9d576b47-f63f-4d36-b6ab-e5d229735deb pragma: - no-cache strict-transport-security: @@ -834,7 +816,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1194' status: code: 202 message: Accepted @@ -852,40 +834,103 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/645b1ed7-c8ed-4152-8816-b5ecd6c602eb*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/97035c5a-6e96-43b6-9b09-f3fde75ce096*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/645b1ed7-c8ed-4152-8816-b5ecd6c602eb*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", - "name": "645b1ed7-c8ed-4152-8816-b5ecd6c602eb*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/97035c5a-6e96-43b6-9b09-f3fde75ce096*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", + "name": "97035c5a-6e96-43b6-9b09-f3fde75ce096*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-05-11T02:18:38.0415121Z", "endTime": - "2022-05-11T02:18:41.0515407Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T09:19:13.7770666Z", "endTime": + "2022-12-14T09:19:17.94578Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - configured values (except username/password) is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-05-11T02:18:39.2423093Z\",\"ReportEndTimeUtc\":\"2022-05-11T02:18:40.9325267Z\",\"SourceId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app\",\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB\",\"AuthType\":4}", + configured values (except username/password) is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T09:19:15.0284888Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:19:16.5436006Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": - [{"name": "The target existence is validated", "result": "success"}, {"name": - "The target service firewall is validated", "result": "success"}, {"name": - "The configured values (except username/password) is validated", "result": - "success"}], "reportStartTimeUtc": "2022-05-11T02:18:39.2423093Z", "reportEndTimeUtc": - "2022-05-11T02:18:40.9325267Z", "sourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app", - "targetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", - "authType": "secret"}}' + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values (except username/password) + is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-14T09:19:15.0284888Z", "reportEndTimeUtc": "2022-12-14T09:19:16.5436006Z", + "sourceId": null, "targetId": null, "authType": "secret"}}' headers: cache-control: - no-cache content-length: - - '2425' + - '1790' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 02:19:07 GMT + - Wed, 14 Dec 2022 09:19:45 GMT etag: - - '"0000ff42-0000-0400-0000-627b1d010000"' + - '"10003f89-0000-0100-0000-639995150000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + x-ms-serviceconnector-user-token: + - hidden + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/97035c5a-6e96-43b6-9b09-f3fde75ce096*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/97035c5a-6e96-43b6-9b09-f3fde75ce096*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", + "name": "97035c5a-6e96-43b6-9b09-f3fde75ce096*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T09:19:13.7770666Z", "endTime": + "2022-12-14T09:19:17.94578Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values (except username/password) is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T09:19:15.0284888Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:19:16.5436006Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values (except username/password) + is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-14T09:19:15.0284888Z", "reportEndTimeUtc": "2022-12-14T09:19:16.5436006Z", + "sourceId": null, "targetId": null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1790' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 09:19:45 GMT + etag: + - '"10003f89-0000-0100-0000-639995150000"' expires: - '-1' pragma: @@ -915,33 +960,39 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:16:47.0505078Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:18:31.4060816Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforMySQL/flexibleServers/servicelinker-flexible-mysql/databases/mysqlDB", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"value": "https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword", "secretType": "keyVaultSecretUri"}, "authType": "secret"}, "clientType": "dotnet", - "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null, "keyVaultSecretName": + null}}}' headers: cache-control: - no-cache content-length: - - '893' + - '1234' content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 02:19:09 GMT + - Wed, 14 Dec 2022 09:19:48 GMT etag: - - '"170065ac-0000-0400-0000-627b1cda0000"' + - '"35008a9a-0000-0100-0000-639994ef0000"' expires: - '-1' mise-correlation-id: - - b609c619-f845-4992-a81d-0d71b7df8aaf + - 07a7f527-95a2-4b0a-8e12-35e556cf6ea7 pragma: - no-cache strict-transport-security: @@ -949,7 +1000,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -973,15 +1024,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b886ff5d-fd00-43c6-a06d-726ca65e1a9e*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5d1094d0-ff47-471c-aaad-d0c7dff5fc89*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -989,15 +1041,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 02:19:17 GMT + - Wed, 14 Dec 2022 09:19:54 GMT etag: - - '"4f007e4e-0000-0100-0000-627b1d260000"' + - '"3500e8a0-0000-0100-0000-6399953b0000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b886ff5d-fd00-43c6-a06d-726ca65e1a9e*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5d1094d0-ff47-471c-aaad-d0c7dff5fc89*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2021-01-01-privatepreview mise-correlation-id: - - 6ceca38e-6a5f-4c05-9905-8331eeba7917 + - 64b9ce2d-2bc3-46f7-abbc-20446eb45add pragma: - no-cache strict-transport-security: @@ -1025,16 +1077,17 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.36.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b886ff5d-fd00-43c6-a06d-726ca65e1a9e*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5d1094d0-ff47-471c-aaad-d0c7dff5fc89*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b886ff5d-fd00-43c6-a06d-726ca65e1a9e*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", - "name": "b886ff5d-fd00-43c6-a06d-726ca65e1a9e*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5d1094d0-ff47-471c-aaad-d0c7dff5fc89*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", + "name": "5d1094d0-ff47-471c-aaad-d0c7dff5fc89*84962C6176618B240B23E3B16390070D459DDFF3C9A466B30D63968CCEB1847F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblemysql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-05-11T02:19:17.9271998Z", "endTime": - "2022-05-11T02:19:21.0930956Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T09:19:54.8877218Z", "endTime": + "2022-12-14T09:19:59.6814625Z", "properties": null}' headers: cache-control: - no-cache @@ -1043,9 +1096,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 11 May 2022 02:19:47 GMT + - Wed, 14 Dec 2022 09:20:26 GMT etag: - - '"04000f58-0000-0100-0000-627b1d290000"' + - '"1000248a-0000-0100-0000-6399953f0000"' expires: - '-1' pragma: @@ -1061,4 +1114,4 @@ interactions: status: code: 200 message: OK -version: 1 \ No newline at end of file +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_postgres_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_postgres_e2e.yaml index 41c52b60bfc..aafa690f0a6 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_postgres_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_postgres_e2e.yaml @@ -1,59 +1,6 @@ interactions: - request: - body: '' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - 0 - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-keyvault/7.0 Azure-SDK-For-Python - accept-language: - - en-US - method: GET - uri: https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword/?api-version=7.0 - response: - body: - string: '{"error": {"code": "Unauthorized", "message": "AKV10000: Request is - missing a Bearer or PoP token."}}' - headers: - cache-control: - - no-cache - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:25:31 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - www-authenticate: - - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.255.96;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - eastus - x-ms-keyvault-service-version: - - 1.9.378.1 - status: - code: 401 - message: Unauthorized -- request: - body: '' + body: null headers: Accept: - application/json @@ -61,13 +8,11 @@ interactions: - gzip, deflate Connection: - keep-alive - Content-Length: - - 0 Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-keyvault/7.0 Azure-SDK-For-Python + - python/3.8.8 (Windows-10-10.0.22621-SP0) msrest/0.7.1 msrest_azure/0.6.4 azure-keyvault/7.0 + Azure-SDK-For-Python accept-language: - en-US method: GET @@ -85,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:25:32 GMT + - Wed, 14 Dec 2022 09:20:27 GMT expires: - '-1' pragma: @@ -95,11 +40,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.255.96;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.60;act_addr_fam=InterNetwork; x-ms-keyvault-region: - eastus x-ms-keyvault-service-version: - - 1.9.378.1 + - 1.9.640.1 status: code: 200 message: OK @@ -124,38 +69,40 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:25:33.2868663Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:25:33.2868663Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:20:28.5575962Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:20:28.5575962Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "vNetSolution": null, "clientType": "python", "secretStore": {"keyVaultId": - null}, "scope": null}}' + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bf7e7fc0-15e5-4865-aba4-a7676c01ed85*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/130f7eff-fd1d-4a37-a8ca-b681616f2037*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1034' + - '1134' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:25:33 GMT + - Wed, 14 Dec 2022 09:20:31 GMT etag: - - '"0200bd9b-0000-0400-0000-6268d3cd0000"' + - '"3500eca3-0000-0100-0000-6399955f0000"' expires: - '-1' mise-correlation-id: - - 458307d3-5c7f-49ca-8b4f-46d8ece16890 + - 8f61805b-701a-4702-856f-771d064c50ba pragma: - no-cache strict-transport-security: @@ -165,7 +112,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' status: code: 201 message: Created @@ -183,29 +130,30 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bf7e7fc0-15e5-4865-aba4-a7676c01ed85*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/130f7eff-fd1d-4a37-a8ca-b681616f2037*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bf7e7fc0-15e5-4865-aba4-a7676c01ed85*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975", - "name": "bf7e7fc0-15e5-4865-aba4-a7676c01ed85*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/130f7eff-fd1d-4a37-a8ca-b681616f2037*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975", + "name": "130f7eff-fd1d-4a37-a8ca-b681616f2037*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:25:33.4807992Z", "endTime": - "2022-04-27T05:25:38.1007744Z", "properties": {"message": "Deny public network + "status": "Succeeded", "startTime": "2022-12-14T09:20:30.9692042Z", "endTime": + "2022-12-14T09:20:37.095671Z", "properties": {"Message": "Deny public network access is set to yes. Please confirm you are using private endpoint connection to access target resource."}}' headers: cache-control: - no-cache content-length: - - '837' + - '836' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:04 GMT + - Wed, 14 Dec 2022 09:21:01 GMT etag: - - '"14006201-0000-0100-0000-6268d3d20000"' + - '"1000f38a-0000-0100-0000-639995650000"' expires: - '-1' pragma: @@ -235,33 +183,38 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:20:28.5575962Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:20:28.5575962Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '794' + - '1135' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:05 GMT + - Wed, 14 Dec 2022 09:21:02 GMT etag: - - '"6a001f55-0000-0100-0000-6268d3d20000"' + - '"350070a4-0000-0100-0000-639995650000"' expires: - '-1' mise-correlation-id: - - c6c3abfe-25a7-4475-9b88-e191cd5b8fec + - 000e2ec9-3c90-4bd3-8a9b-91dfc4576b5c pragma: - no-cache strict-transport-security: @@ -269,7 +222,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -291,31 +244,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:20:28.5575962Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:20:28.5575962Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}]}' + {"keyVaultId": null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '807' + - '1148' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:08 GMT + - Wed, 14 Dec 2022 09:21:09 GMT expires: - '-1' mise-correlation-id: - - ad52970d-9e75-4f1e-98ad-35cd36e4fafe + - 208a167b-068b-4c24-aa61-e699945b05b7 pragma: - no-cache strict-transport-security: @@ -323,7 +281,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -345,33 +303,38 @@ interactions: ParameterSetName: - --id --client-type --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:20:28.5575962Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:20:28.5575962Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '794' + - '1135' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:08 GMT + - Wed, 14 Dec 2022 09:21:11 GMT etag: - - '"6a001f55-0000-0100-0000-6268d3d20000"' + - '"350070a4-0000-0100-0000-639995650000"' expires: - '-1' mise-correlation-id: - - 445e8e0d-f7f1-4c98-bcc5-e0d5292c1f0d + - a55671ee-b10a-431c-9977-19f5076fc39b pragma: - no-cache strict-transport-security: @@ -379,7 +342,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -408,38 +371,40 @@ interactions: ParameterSetName: - --id --client-type --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:25:33.2868663Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:26:09.4687186Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:20:28.5575962Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:21:12.216738Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": {"keyVaultId": - null}, "scope": null}}' + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5d2a4595-b669-4187-a6d3-80152247e353*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/82412d39-0650-405e-8cd3-d2776cd78883*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1034' + - '1133' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:09 GMT + - Wed, 14 Dec 2022 09:21:12 GMT etag: - - '"6a00a655-0000-0100-0000-6268d3f10000"' + - '"350067a7-0000-0100-0000-639995880000"' expires: - '-1' mise-correlation-id: - - 9c2b8195-eed0-41f5-a3f6-63264649ffb5 + - d8bdc50d-7fbd-43fb-a16e-7e277cf9f8cd pragma: - no-cache strict-transport-security: @@ -449,7 +414,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' status: code: 201 message: Created @@ -467,16 +432,17 @@ interactions: ParameterSetName: - --id --client-type --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5d2a4595-b669-4187-a6d3-80152247e353*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/82412d39-0650-405e-8cd3-d2776cd78883*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5d2a4595-b669-4187-a6d3-80152247e353*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975", - "name": "5d2a4595-b669-4187-a6d3-80152247e353*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/82412d39-0650-405e-8cd3-d2776cd78883*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975", + "name": "82412d39-0650-405e-8cd3-d2776cd78883*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:26:09.6587413Z", "endTime": - "2022-04-27T05:26:13.2984884Z", "properties": {"message": "Deny public network + "status": "Succeeded", "startTime": "2022-12-14T09:21:12.6482346Z", "endTime": + "2022-12-14T09:21:17.8805279Z", "properties": {"Message": "Deny public network access is set to yes. Please confirm you are using private endpoint connection to access target resource."}}' headers: @@ -487,9 +453,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:39 GMT + - Wed, 14 Dec 2022 09:21:43 GMT etag: - - '"1400ca01-0000-0100-0000-6268d3f50000"' + - '"1000ec8b-0000-0100-0000-6399958d0000"' expires: - '-1' pragma: @@ -519,33 +485,38 @@ interactions: ParameterSetName: - --id --client-type --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:20:28.5575962Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:21:12.216738Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '794' + - '1134' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:39 GMT + - Wed, 14 Dec 2022 09:21:44 GMT etag: - - '"6a00c355-0000-0100-0000-6268d3f50000"' + - '"3500c7a7-0000-0100-0000-6399958d0000"' expires: - '-1' mise-correlation-id: - - 420af959-11f4-411f-b74b-d9a482572b4f + - 86ac37ad-e984-4556-b616-bc039509e90e pragma: - no-cache strict-transport-security: @@ -553,7 +524,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -577,9 +548,10 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview response: body: string: '{"configurations": [{"name": "AZURE_POSTGRESQL_CONNECTIONSTRING", "value": @@ -592,11 +564,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:43 GMT + - Wed, 14 Dec 2022 09:21:53 GMT expires: - '-1' mise-correlation-id: - - c5762cd8-1bcd-4c36-af6e-c1fd4ff29c31 + - b1384b85-bb5d-4306-a61a-d9abcedcba2c pragma: - no-cache strict-transport-security: @@ -604,13 +576,13 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1198' status: code: 200 message: OK @@ -628,33 +600,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:20:28.5575962Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:21:12.216738Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '794' + - '1134' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:44 GMT + - Wed, 14 Dec 2022 09:21:55 GMT etag: - - '"6a00c355-0000-0100-0000-6268d3f50000"' + - '"3500c7a7-0000-0100-0000-6399958d0000"' expires: - '-1' mise-correlation-id: - - 7b7566de-9c97-40b4-ba4d-ed391d1885b6 + - 1391584d-da1d-401b-87b0-af7497006407 pragma: - no-cache strict-transport-security: @@ -662,7 +639,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -686,15 +663,16 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6d4f9a96-ca1d-47eb-a4c9-0443c127ae0c*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/94fdbe78-60cc-4341-a285-0338bb944556*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -702,13 +680,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:44 GMT + - Wed, 14 Dec 2022 09:21:57 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6d4f9a96-ca1d-47eb-a4c9-0443c127ae0c*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/94fdbe78-60cc-4341-a285-0338bb944556*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975?api-version=2021-01-01-privatepreview mise-correlation-id: - - 64a994b0-264d-4c97-842a-902246ea9ee4 + - 1dc402f6-1155-4b63-a911-9316179c3d11 pragma: - no-cache strict-transport-security: @@ -718,7 +696,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1199' status: code: 202 message: Accepted @@ -736,29 +714,95 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/94fdbe78-60cc-4341-a285-0338bb944556*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/94fdbe78-60cc-4341-a285-0338bb944556*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975", + "name": "94fdbe78-60cc-4341-a285-0338bb944556*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T09:21:56.9011025Z", "endTime": + "2022-12-14T09:21:59.7700191Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":false,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":\"Target resource does not + exist: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test.\",\"Result\":1}],\"ReportStartTimeUtc\":\"2022-12-14T09:21:58.3122422Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:21:58.6389907Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn", "isConnectionAvailable": false, "validationDetail": + [{"name": "The target existence is validated", "description": "Target resource + does not exist: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test.", + "result": "failure"}], "reportStartTimeUtc": "2022-12-14T09:21:58.3122422Z", + "reportEndTimeUtc": "2022-12-14T09:21:58.6389907Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1803' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 09:22:27 GMT + etag: + - '"1000f78c-0000-0100-0000-639995b70000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6d4f9a96-ca1d-47eb-a4c9-0443c127ae0c*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/94fdbe78-60cc-4341-a285-0338bb944556*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6d4f9a96-ca1d-47eb-a4c9-0443c127ae0c*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975", - "name": "6d4f9a96-ca1d-47eb-a4c9-0443c127ae0c*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/94fdbe78-60cc-4341-a285-0338bb944556*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975", + "name": "94fdbe78-60cc-4341-a285-0338bb944556*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:26:45.2763065Z", "endTime": - "2022-04-27T05:26:47.0209814Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":false,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T09:21:56.9011025Z", "endTime": + "2022-12-14T09:21:59.7700191Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":false,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":\"Target resource does not - exist\",\"Result\":1}],\"ReportStartTimeUtc\":\"2022-04-27T05:26:46.6454417Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:26:46.9534401Z\",\"SourceId\":null,\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test\",\"AuthType\":4}"}}' + exist: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test.\",\"Result\":1}],\"ReportStartTimeUtc\":\"2022-12-14T09:21:58.3122422Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:21:58.6389907Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn", "isConnectionAvailable": false, "validationDetail": + [{"name": "The target existence is validated", "description": "Target resource + does not exist: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test.", + "result": "failure"}], "reportStartTimeUtc": "2022-12-14T09:21:58.3122422Z", + "reportEndTimeUtc": "2022-12-14T09:21:58.6389907Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' headers: cache-control: - no-cache content-length: - - '1255' + - '1803' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:27:16 GMT + - Wed, 14 Dec 2022 09:22:28 GMT etag: - - '"16004608-0000-0400-0000-6268d4170000"' + - '"1000f78c-0000-0100-0000-639995b70000"' expires: - '-1' pragma: @@ -788,33 +832,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:20:28.5575962Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:21:12.216738Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/servers/servicelinker-postgresql/databases/test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '794' + - '1134' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:27:17 GMT + - Wed, 14 Dec 2022 09:22:29 GMT etag: - - '"6a00c355-0000-0100-0000-6268d3f50000"' + - '"3500c7a7-0000-0100-0000-6399958d0000"' expires: - '-1' mise-correlation-id: - - 06108be8-6bcf-4287-a057-4ae064fe5b16 + - da2ac02d-efa6-4cde-b93a-3f4ae612413e pragma: - no-cache strict-transport-security: @@ -822,7 +871,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -846,15 +895,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/712b327a-9fe1-45ac-aa96-371f0be11bdc*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e723502d-014b-4715-bf66-939a60149496*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -862,15 +912,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:27:21 GMT + - Wed, 14 Dec 2022 09:22:38 GMT etag: - - '"6a00ea56-0000-0100-0000-6268d4390000"' + - '"3500b0ae-0000-0100-0000-639995de0000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/712b327a-9fe1-45ac-aa96-371f0be11bdc*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e723502d-014b-4715-bf66-939a60149496*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975?api-version=2021-01-01-privatepreview mise-correlation-id: - - ca6b8520-7567-42a6-92dc-e1579c17a940 + - 46fe61c3-05c1-4162-b7a8-36f3d56f295d pragma: - no-cache strict-transport-security: @@ -880,7 +930,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted @@ -898,27 +948,28 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/712b327a-9fe1-45ac-aa96-371f0be11bdc*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e723502d-014b-4715-bf66-939a60149496*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/712b327a-9fe1-45ac-aa96-371f0be11bdc*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975", - "name": "712b327a-9fe1-45ac-aa96-371f0be11bdc*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e723502d-014b-4715-bf66-939a60149496*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975", + "name": "e723502d-014b-4715-bf66-939a60149496*E891386F44DE77E070F574F12410E15F064A71E3005C5C2B028236EE8F8C5975", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-postgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:27:21.6721746Z", "endTime": - "2022-04-27T05:27:24.7564211Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T09:22:38.345595Z", "endTime": + "2022-12-14T09:22:43.3268833Z", "properties": null}' headers: cache-control: - no-cache content-length: - - '701' + - '700' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:27:52 GMT + - Wed, 14 Dec 2022 09:23:09 GMT etag: - - '"16000e0a-0000-0400-0000-6268d43c0000"' + - '"10000c8e-0000-0100-0000-639995e30000"' expires: - '-1' pragma: @@ -934,4 +985,4 @@ interactions: status: code: 200 message: OK -version: 1 \ No newline at end of file +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_postgresflexible_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_postgresflexible_e2e.yaml index 23721686224..411d0e90ae4 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_postgresflexible_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_postgresflexible_e2e.yaml @@ -1,59 +1,6 @@ interactions: - request: - body: '' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - 0 - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-keyvault/7.0 Azure-SDK-For-Python - accept-language: - - en-US - method: GET - uri: https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword/?api-version=7.0 - response: - body: - string: '{"error": {"code": "Unauthorized", "message": "AKV10000: Request is - missing a Bearer or PoP token."}}' - headers: - cache-control: - - no-cache - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 27 Apr 2022 05:25:46 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - www-authenticate: - - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.255.96;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - eastus - x-ms-keyvault-service-version: - - 1.9.378.1 - status: - code: 401 - message: Unauthorized -- request: - body: '' + body: null headers: Accept: - application/json @@ -61,13 +8,11 @@ interactions: - gzip, deflate Connection: - keep-alive - Content-Length: - - 0 Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-keyvault/7.0 Azure-SDK-For-Python + - python/3.8.8 (Windows-10-10.0.22621-SP0) msrest/0.7.1 msrest_azure/0.6.4 azure-keyvault/7.0 + Azure-SDK-For-Python accept-language: - en-US method: GET @@ -85,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:25:47 GMT + - Wed, 14 Dec 2022 09:33:49 GMT expires: - '-1' pragma: @@ -95,11 +40,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.255.96;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.60;act_addr_fam=InterNetwork; x-ms-keyvault-region: - eastus x-ms-keyvault-service-version: - - 1.9.378.1 + - 1.9.640.1 status: code: 200 message: OK @@ -124,40 +69,42 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:25:48.5266208Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:25:48.5266208Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:33:50.5279015Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:33:50.5279015Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "vNetSolution": null, "clientType": "python", "secretStore": {"keyVaultId": - null}, "scope": null}}' + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2b937af4-bb9c-4234-984f-4fed1dd5b300*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5045039e-279f-4aef-a4b2-57ebd864869f*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1058' + - '1158' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:25:49 GMT + - Wed, 14 Dec 2022 09:33:51 GMT etag: - - '"6a006155-0000-0100-0000-6268d3dd0000"' + - '"350060e0-0000-0100-0000-639998800000"' expires: - '-1' mise-correlation-id: - - 6a7d0c03-ee70-481a-928b-68e287693246 + - 3bea9fc5-598f-4ce5-9de3-235709ccf3a2 pragma: - no-cache strict-transport-security: @@ -167,7 +114,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -185,29 +132,30 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2b937af4-bb9c-4234-984f-4fed1dd5b300*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5045039e-279f-4aef-a4b2-57ebd864869f*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2b937af4-bb9c-4234-984f-4fed1dd5b300*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191", - "name": "2b937af4-bb9c-4234-984f-4fed1dd5b300*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5045039e-279f-4aef-a4b2-57ebd864869f*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191", + "name": "5045039e-279f-4aef-a4b2-57ebd864869f*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:25:49.4104744Z", "endTime": - "2022-04-27T05:25:53.9807824Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T09:33:51.6908242Z", "endTime": + "2022-12-14T09:34:00.0088445Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '707' + - '722' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:20 GMT + - Wed, 14 Dec 2022 09:34:22 GMT etag: - - '"14009b01-0000-0100-0000-6268d3e10000"' + - '"1000d39f-0000-0100-0000-639998880000"' expires: - '-1' pragma: @@ -237,35 +185,40 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:33:50.5279015Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:33:50.5279015Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '818' + - '1159' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:20 GMT + - Wed, 14 Dec 2022 09:34:23 GMT etag: - - '"6a007355-0000-0100-0000-6268d3e10000"' + - '"3500fce0-0000-0100-0000-639998880000"' expires: - '-1' mise-correlation-id: - - 0ff440e0-4772-49ec-a0bc-40716a1cbd5e + - 56171aed-a0cf-45d0-adfb-aa9f87363b0b pragma: - no-cache strict-transport-security: @@ -273,7 +226,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -295,31 +248,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:33:50.5279015Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:33:50.5279015Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}]}' + {"keyVaultId": null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '831' + - '1172' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:24 GMT + - Wed, 14 Dec 2022 09:34:29 GMT expires: - '-1' mise-correlation-id: - - 1ebaf5e7-aaeb-4182-932c-365b64f12c57 + - 38203c97-022b-4680-b1c1-364a13b9ee61 pragma: - no-cache strict-transport-security: @@ -327,7 +285,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -349,33 +307,38 @@ interactions: ParameterSetName: - --id --client-type --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:33:50.5279015Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:33:50.5279015Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '818' + - '1159' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:25 GMT + - Wed, 14 Dec 2022 09:34:31 GMT etag: - - '"6a007355-0000-0100-0000-6268d3e10000"' + - '"3500fce0-0000-0100-0000-639998880000"' expires: - '-1' mise-correlation-id: - - 82c3a2a4-f62b-4f1f-be55-966ce9eb888d + - 8073cfe0-1e13-4d0e-b763-929c4c939214 pragma: - no-cache strict-transport-security: @@ -383,7 +346,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -412,40 +375,42 @@ interactions: ParameterSetName: - --id --client-type --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:25:48.5266208Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:26:25.9213377Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:33:50.5279015Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:34:32.8415638Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": {"keyVaultId": - null}, "scope": null}}' + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/10336275-e0d7-4789-adbb-fc68fec7fd07*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/66e65f49-0c02-4564-99e7-658310316ad7*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1058' + - '1158' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:26 GMT + - Wed, 14 Dec 2022 09:34:33 GMT etag: - - '"6a00f855-0000-0100-0000-6268d4020000"' + - '"350043e3-0000-0100-0000-639998a90000"' expires: - '-1' mise-correlation-id: - - 5551cc51-a3f3-42f5-b4f8-5459f9ef4cc0 + - 8b51a827-5413-4af1-82a8-0566f4b4c45f pragma: - no-cache strict-transport-security: @@ -455,7 +420,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -473,29 +438,30 @@ interactions: ParameterSetName: - --id --client-type --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/10336275-e0d7-4789-adbb-fc68fec7fd07*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/66e65f49-0c02-4564-99e7-658310316ad7*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/10336275-e0d7-4789-adbb-fc68fec7fd07*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191", - "name": "10336275-e0d7-4789-adbb-fc68fec7fd07*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/66e65f49-0c02-4564-99e7-658310316ad7*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191", + "name": "66e65f49-0c02-4564-99e7-658310316ad7*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:26:26.0904361Z", "endTime": - "2022-04-27T05:26:31.1582634Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T09:34:33.2730449Z", "endTime": + "2022-12-14T09:34:40.7991957Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '707' + - '722' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:56 GMT + - Wed, 14 Dec 2022 09:35:04 GMT etag: - - '"1600f403-0000-0400-0000-6268d4070000"' + - '"1000d9a0-0000-0100-0000-639998b00000"' expires: - '-1' pragma: @@ -525,35 +491,40 @@ interactions: ParameterSetName: - --id --client-type --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:33:50.5279015Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:34:32.8415638Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '818' + - '1159' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:56 GMT + - Wed, 14 Dec 2022 09:35:05 GMT etag: - - '"0200cd9b-0000-0400-0000-6268d4070000"' + - '"3500cbe3-0000-0100-0000-639998b00000"' expires: - '-1' mise-correlation-id: - - 42cf72a1-2015-4434-9932-9f1ccfe968a6 + - 23511fcd-de14-47e9-a1bc-a47ff545d2b8 pragma: - no-cache strict-transport-security: @@ -561,7 +532,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -585,9 +556,10 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview response: body: string: '{"configurations": [{"name": "AZURE_POSTGRESQL_CONNECTIONSTRING", "value": @@ -600,11 +572,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:27:00 GMT + - Wed, 14 Dec 2022 09:35:18 GMT expires: - '-1' mise-correlation-id: - - 8a0aca3f-c17e-4fc6-b73b-004adf0ae175 + - d5d5b4f0-a7c8-4345-bd9f-d482c59d314e pragma: - no-cache strict-transport-security: @@ -612,13 +584,13 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 200 message: OK @@ -636,33 +608,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:33:50.5279015Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:34:32.8415638Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '818' + - '1159' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:27:01 GMT + - Wed, 14 Dec 2022 09:35:22 GMT etag: - - '"0200cd9b-0000-0400-0000-6268d4070000"' + - '"3500cbe3-0000-0100-0000-639998b00000"' expires: - '-1' mise-correlation-id: - - 097261dc-f2a1-4496-a4fa-7084d88c0d83 + - 17dd396b-00ac-4d4a-a581-7e00c502a5c8 pragma: - no-cache strict-transport-security: @@ -670,7 +647,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -694,17 +671,18 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c423d19-af7e-44b2-9040-a0a7ab900075*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9d43019f-edda-4460-9033-66cb966e0e05*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -712,13 +690,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:27:02 GMT + - Wed, 14 Dec 2022 09:35:23 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c423d19-af7e-44b2-9040-a0a7ab900075*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9d43019f-edda-4460-9033-66cb966e0e05*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191?api-version=2021-01-01-privatepreview mise-correlation-id: - - 35e26995-865f-4402-9ef9-c947edb99014 + - 43a16db3-e70b-46b7-a414-be8223c8e22d pragma: - no-cache strict-transport-security: @@ -746,32 +724,103 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c423d19-af7e-44b2-9040-a0a7ab900075*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9d43019f-edda-4460-9033-66cb966e0e05*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c423d19-af7e-44b2-9040-a0a7ab900075*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191", - "name": "7c423d19-af7e-44b2-9040-a0a7ab900075*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9d43019f-edda-4460-9033-66cb966e0e05*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191", + "name": "9d43019f-edda-4460-9033-66cb966e0e05*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:27:01.9303707Z", "endTime": - "2022-04-27T05:27:05.05803Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T09:35:23.3138249Z", "endTime": + "2022-12-14T09:35:28.112264Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - configured values (except username/password) is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-04-27T05:27:03.1762982Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:27:04.9744249Z\",\"SourceId\":null,\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test\",\"AuthType\":4}"}}' + configured values (except username/password) is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T09:35:24.691517Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:35:26.9470756Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values (except username/password) + is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-14T09:35:24.691517Z", "reportEndTimeUtc": "2022-12-14T09:35:26.9470756Z", + "sourceId": null, "targetId": null, "authType": "secret"}}' headers: cache-control: - no-cache content-length: - - '1447' + - '1794' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:27:32 GMT + - Wed, 14 Dec 2022 09:35:54 GMT etag: - - '"14004102-0000-0100-0000-6268d4290000"' + - '"100037a2-0000-0100-0000-639998e00000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + x-ms-serviceconnector-user-token: + - hidden + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9d43019f-edda-4460-9033-66cb966e0e05*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9d43019f-edda-4460-9033-66cb966e0e05*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191", + "name": "9d43019f-edda-4460-9033-66cb966e0e05*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T09:35:23.3138249Z", "endTime": + "2022-12-14T09:35:28.112264Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values (except username/password) is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T09:35:24.691517Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:35:26.9470756Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values (except username/password) + is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-14T09:35:24.691517Z", "reportEndTimeUtc": "2022-12-14T09:35:26.9470756Z", + "sourceId": null, "targetId": null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1794' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 09:35:54 GMT + etag: + - '"100037a2-0000-0100-0000-639998e00000"' expires: - '-1' pragma: @@ -801,33 +850,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:33:50.5279015Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:34:32.8415638Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.DBforPostgreSQL/flexibleServers/servicelinker-flexiblepostgresql/databases/test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '818' + - '1159' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:27:33 GMT + - Wed, 14 Dec 2022 09:35:58 GMT etag: - - '"0200cd9b-0000-0400-0000-6268d4070000"' + - '"3500cbe3-0000-0100-0000-639998b00000"' expires: - '-1' mise-correlation-id: - - 39dd4985-3709-4731-aab2-2b497085fdd0 + - 6b4b0660-c5d8-48f4-8652-6f1fd4d4b6d9 pragma: - no-cache strict-transport-security: @@ -835,7 +889,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -859,15 +913,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4b59faa8-d545-4dbd-bc25-a8e7f24ea6d5*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/156328c4-1caf-4769-8454-b9ebe266f3f1*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -875,15 +930,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:27:36 GMT + - Wed, 14 Dec 2022 09:36:05 GMT etag: - - '"0200079c-0000-0400-0000-6268d4490000"' + - '"3500eae9-0000-0100-0000-639999050000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4b59faa8-d545-4dbd-bc25-a8e7f24ea6d5*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/156328c4-1caf-4769-8454-b9ebe266f3f1*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191?api-version=2021-01-01-privatepreview mise-correlation-id: - - 37bbedbb-d2bd-41b2-a9a9-3c096af49683 + - 9f68d9db-9ccd-4491-967e-fa72f988df67 pragma: - no-cache strict-transport-security: @@ -893,7 +948,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted @@ -911,27 +966,28 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4b59faa8-d545-4dbd-bc25-a8e7f24ea6d5*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/156328c4-1caf-4769-8454-b9ebe266f3f1*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4b59faa8-d545-4dbd-bc25-a8e7f24ea6d5*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191", - "name": "4b59faa8-d545-4dbd-bc25-a8e7f24ea6d5*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/156328c4-1caf-4769-8454-b9ebe266f3f1*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191", + "name": "156328c4-1caf-4769-8454-b9ebe266f3f1*A0495454659B4E7B3BC89A0D5A1CF6354FF0652AF10C310B2B8CA761EB1E2191", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-flexiblepostgresql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:27:37.252736Z", "endTime": - "2022-04-27T05:27:40.4087823Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T09:36:05.7420772Z", "endTime": + "2022-12-14T09:36:10.7308775Z", "properties": null}' headers: cache-control: - no-cache content-length: - - '708' + - '709' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:08 GMT + - Wed, 14 Dec 2022 09:36:36 GMT etag: - - '"1600bb0a-0000-0400-0000-6268d44c0000"' + - '"10002ca3-0000-0100-0000-6399990a0000"' expires: - '-1' pragma: @@ -947,4 +1003,4 @@ interactions: status: code: 200 message: OK -version: 1 \ No newline at end of file +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_redis_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_redis_e2e.yaml index 9c1b48641cf..99630ebc651 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_redis_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_redis_e2e.yaml @@ -18,37 +18,39 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:26:05.8749403Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:26:05.8749403Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:36:38.281103Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:36:38.281103Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": null, "secretInfo": null, "authType": "secret"}, "vNetSolution": null, "clientType": - "python", "secretStore": {"keyVaultId": null}, "scope": null}}' + "python", "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}, + "scope": null, "publicNetworkSolution": null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2fc356a8-b393-4113-a17d-a69a11233ab3*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4aa494a0-aa58-4873-a9b1-4162880dfee0*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '976' + - '1074' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:06 GMT + - Wed, 14 Dec 2022 09:36:41 GMT etag: - - '"6a009e55-0000-0100-0000-6268d3ee0000"' + - '"350066ec-0000-0100-0000-6399992a0000"' expires: - '-1' mise-correlation-id: - - 6ef1779a-a70d-47eb-80ff-b91e2cd06db1 + - 94d01a4e-5c7d-4544-87c0-42abae5151c2 pragma: - no-cache strict-transport-security: @@ -58,7 +60,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1198' status: code: 201 message: Created @@ -76,29 +78,30 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2fc356a8-b393-4113-a17d-a69a11233ab3*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4aa494a0-aa58-4873-a9b1-4162880dfee0*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2fc356a8-b393-4113-a17d-a69a11233ab3*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533", - "name": "2fc356a8-b393-4113-a17d-a69a11233ab3*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4aa494a0-aa58-4873-a9b1-4162880dfee0*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533", + "name": "4aa494a0-aa58-4873-a9b1-4162880dfee0*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:26:06.740132Z", "endTime": - "2022-04-27T05:26:11.3754577Z", "properties": {"message": "Deny public network + "status": "Succeeded", "startTime": "2022-12-14T09:36:41.9313597Z", "endTime": + "2022-12-14T09:36:49.9175023Z", "properties": {"Message": "Deny public network access is set to yes. Please confirm you are using private endpoint connection to access target resource."}}' headers: cache-control: - no-cache content-length: - - '831' + - '832' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:37 GMT + - Wed, 14 Dec 2022 09:37:13 GMT etag: - - '"1400c401-0000-0100-0000-6268d3f30000"' + - '"100020a4-0000-0100-0000-639999310000"' expires: - '-1' pragma: @@ -128,32 +131,38 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:36:38.281103Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:36:38.281103Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '736' + - '1097' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:37 GMT + - Wed, 14 Dec 2022 09:37:14 GMT etag: - - '"6a00b255-0000-0100-0000-6268d3f30000"' + - '"3500dcec-0000-0100-0000-639999310000"' expires: - '-1' mise-correlation-id: - - 33effc79-caab-4ace-9019-5c7903cf2fa4 + - b1ce5aa4-5649-4cb3-a4e7-42ead2edb33e pragma: - no-cache strict-transport-security: @@ -161,7 +170,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -183,30 +192,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:36:38.281103Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:36:38.281103Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}]}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '749' + - '1110' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:41 GMT + - Wed, 14 Dec 2022 09:37:22 GMT expires: - '-1' mise-correlation-id: - - dc33985b-bcdd-49dc-a018-46d34d771fe5 + - 364a58a3-d7fb-4344-927e-6d6d9a6e2188 pragma: - no-cache strict-transport-security: @@ -214,7 +229,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -236,32 +251,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:36:38.281103Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:36:38.281103Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '736' + - '1097' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:42 GMT + - Wed, 14 Dec 2022 09:37:25 GMT etag: - - '"6a00b255-0000-0100-0000-6268d3f30000"' + - '"3500dcec-0000-0100-0000-639999310000"' expires: - '-1' mise-correlation-id: - - 65c7b3d2-9fc7-4ee3-bed2-4831c94429e1 + - f6b532ff-9b5f-4637-b36e-9d507e72d99a pragma: - no-cache strict-transport-security: @@ -269,7 +290,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -296,37 +317,39 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:26:05.8749403Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:26:44.1112336Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:36:38.281103Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:37:26.2142598Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": null, "secretInfo": null, "authType": "secret"}, "vNetSolution": null, "clientType": - "dotnet", "secretStore": {"keyVaultId": null}, "scope": null}}' + "dotnet", "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}, + "scope": null, "publicNetworkSolution": null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5d8b3393-80e1-4f9b-b7cd-adee37e04da8*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7f53e2b7-e1a6-471a-919d-d276eccda797*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '976' + - '1075' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:26:44 GMT + - Wed, 14 Dec 2022 09:37:26 GMT etag: - - '"6a005b56-0000-0100-0000-6268d4140000"' + - '"350090ef-0000-0100-0000-639999560000"' expires: - '-1' mise-correlation-id: - - 411e1ed6-fd84-43a6-8503-478a97f2a155 + - 1adeaba5-6276-48b2-a69f-b46670240142 pragma: - no-cache strict-transport-security: @@ -336,7 +359,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -354,16 +377,17 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5d8b3393-80e1-4f9b-b7cd-adee37e04da8*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7f53e2b7-e1a6-471a-919d-d276eccda797*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5d8b3393-80e1-4f9b-b7cd-adee37e04da8*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533", - "name": "5d8b3393-80e1-4f9b-b7cd-adee37e04da8*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7f53e2b7-e1a6-471a-919d-d276eccda797*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533", + "name": "7f53e2b7-e1a6-471a-919d-d276eccda797*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:26:44.2760559Z", "endTime": - "2022-04-27T05:26:49.0787984Z", "properties": {"message": "Deny public network + "status": "Succeeded", "startTime": "2022-12-14T09:37:26.6197975Z", "endTime": + "2022-12-14T09:37:33.2275622Z", "properties": {"Message": "Deny public network access is set to yes. Please confirm you are using private endpoint connection to access target resource."}}' headers: @@ -374,9 +398,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:27:14 GMT + - Wed, 14 Dec 2022 09:37:57 GMT etag: - - '"14001b02-0000-0100-0000-6268d4190000"' + - '"100027a5-0000-0100-0000-6399995d0000"' expires: - '-1' pragma: @@ -406,32 +430,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:36:38.281103Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:37:26.2142598Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "dotnet", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '736' + - '1098' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:27:15 GMT + - Wed, 14 Dec 2022 09:37:58 GMT etag: - - '"6a007256-0000-0100-0000-6268d4190000"' + - '"35000ef0-0000-0100-0000-6399995d0000"' expires: - '-1' mise-correlation-id: - - 1fe6c22a-d541-4b42-9878-cdca9c7894a5 + - 31b3c86c-960c-4aaf-8076-12f3a7f50dfe pragma: - no-cache strict-transport-security: @@ -439,7 +469,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -463,9 +493,10 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview response: body: string: '{"configurations": [{"name": "AZURE_REDIS_CONNECTIONSTRING", "value": @@ -478,11 +509,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:27:18 GMT + - Wed, 14 Dec 2022 09:38:07 GMT expires: - '-1' mise-correlation-id: - - 58ab30eb-8d4d-45c8-9500-78b222e342d4 + - 8380858b-06ca-4435-b505-543d9be630c0 pragma: - no-cache strict-transport-security: @@ -490,13 +521,13 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1196' status: code: 200 message: OK @@ -514,32 +545,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:36:38.281103Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:37:26.2142598Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "dotnet", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '736' + - '1098' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:27:20 GMT + - Wed, 14 Dec 2022 09:38:10 GMT etag: - - '"6a007256-0000-0100-0000-6268d4190000"' + - '"35000ef0-0000-0100-0000-6399995d0000"' expires: - '-1' mise-correlation-id: - - 2feaef29-eac2-48d6-b99c-2798b737773e + - e5af19df-14f7-4953-ae8e-9e3d274cba74 pragma: - no-cache strict-transport-security: @@ -547,7 +584,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -571,15 +608,16 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e8404984-6bbc-46a7-8bb6-2f43fd03198e*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d2d42a7b-0ab9-4e48-8729-0bf0eaa14ba3*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -587,13 +625,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:27:24 GMT + - Wed, 14 Dec 2022 09:38:10 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e8404984-6bbc-46a7-8bb6-2f43fd03198e*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d2d42a7b-0ab9-4e48-8729-0bf0eaa14ba3*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533?api-version=2021-01-01-privatepreview mise-correlation-id: - - dae951f5-b97e-4f1e-9a2e-3fa860a161c8 + - 0f4437d9-ffb9-4634-85dc-4c003309bd4b pragma: - no-cache strict-transport-security: @@ -603,7 +641,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1199' status: code: 202 message: Accepted @@ -621,32 +659,105 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e8404984-6bbc-46a7-8bb6-2f43fd03198e*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d2d42a7b-0ab9-4e48-8729-0bf0eaa14ba3*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e8404984-6bbc-46a7-8bb6-2f43fd03198e*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533", - "name": "e8404984-6bbc-46a7-8bb6-2f43fd03198e*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d2d42a7b-0ab9-4e48-8729-0bf0eaa14ba3*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533", + "name": "d2d42a7b-0ab9-4e48-8729-0bf0eaa14ba3*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:27:23.8657164Z", "endTime": - "2022-04-27T05:27:26.032466Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T09:38:11.5351555Z", "endTime": + "2022-12-14T09:38:15.9307413Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The target''s network access is validated\",\"Description\":\"Deny public network access is set to yes. Please confirm you are using private endpoint connection to access target resource.\",\"Result\":2},{\"Name\":\"The configured values - is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-04-27T05:27:25.1400012Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:27:25.9591515Z\",\"SourceId\":null,\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0\",\"AuthType\":4}"}}' + is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T09:38:12.873573Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:38:14.6565803Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network access is validated", "description": + "Deny public network access is set to yes. Please confirm you are using private + endpoint connection to access target resource.", "result": "warning"}, {"name": + "The configured values is validated", "description": null, "result": "success"}], + "reportStartTimeUtc": "2022-12-14T09:38:12.873573Z", "reportEndTimeUtc": "2022-12-14T09:38:14.6565803Z", + "sourceId": null, "targetId": null, "authType": "secret"}}' headers: cache-control: - no-cache content-length: - - '1497' + - '1976' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:27:54 GMT + - Wed, 14 Dec 2022 09:38:42 GMT etag: - - '"1600200a-0000-0400-0000-6268d43e0000"' + - '"100049a6-0000-0100-0000-639999870000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d2d42a7b-0ab9-4e48-8729-0bf0eaa14ba3*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d2d42a7b-0ab9-4e48-8729-0bf0eaa14ba3*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533", + "name": "d2d42a7b-0ab9-4e48-8729-0bf0eaa14ba3*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T09:38:11.5351555Z", "endTime": + "2022-12-14T09:38:15.9307413Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target''s network access is validated\",\"Description\":\"Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource.\",\"Result\":2},{\"Name\":\"The configured values + is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T09:38:12.873573Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:38:14.6565803Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network access is validated", "description": + "Deny public network access is set to yes. Please confirm you are using private + endpoint connection to access target resource.", "result": "warning"}, {"name": + "The configured values is validated", "description": null, "result": "success"}], + "reportStartTimeUtc": "2022-12-14T09:38:12.873573Z", "reportEndTimeUtc": "2022-12-14T09:38:14.6565803Z", + "sourceId": null, "targetId": null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1976' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 09:38:42 GMT + etag: + - '"100049a6-0000-0100-0000-639999870000"' expires: - '-1' pragma: @@ -676,32 +787,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:36:38.281103Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:37:26.2142598Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redis/servicelinker-redis/databases/0", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "dotnet", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '736' + - '1098' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:27:56 GMT + - Wed, 14 Dec 2022 09:38:44 GMT etag: - - '"6a007256-0000-0100-0000-6268d4190000"' + - '"35000ef0-0000-0100-0000-6399995d0000"' expires: - '-1' mise-correlation-id: - - ed0137e7-7206-4311-b717-4843804446a5 + - b4a2f1d1-2276-44c4-b677-a0770d323176 pragma: - no-cache strict-transport-security: @@ -709,7 +826,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -733,15 +850,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f5846911-a3a9-48c5-a580-e3e5bc69ba80*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2b76c682-46cc-44d8-883a-5525da67a301*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -749,15 +867,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:27:58 GMT + - Wed, 14 Dec 2022 09:38:53 GMT etag: - - '"6a007657-0000-0100-0000-6268d45f0000"' + - '"3500a7f5-0000-0100-0000-639999ad0000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f5846911-a3a9-48c5-a580-e3e5bc69ba80*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2b76c682-46cc-44d8-883a-5525da67a301*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533?api-version=2021-01-01-privatepreview mise-correlation-id: - - dad400b9-d4d9-4c05-8449-c3c3a84530f3 + - a71af6d0-289d-41c6-a421-4de5b6a9f267 pragma: - no-cache strict-transport-security: @@ -785,16 +903,17 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f5846911-a3a9-48c5-a580-e3e5bc69ba80*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2b76c682-46cc-44d8-883a-5525da67a301*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f5846911-a3a9-48c5-a580-e3e5bc69ba80*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533", - "name": "f5846911-a3a9-48c5-a580-e3e5bc69ba80*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2b76c682-46cc-44d8-883a-5525da67a301*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533", + "name": "2b76c682-46cc-44d8-883a-5525da67a301*0E9755A8E9556B59F8C5A422A9FEF0EFC20F5D10D4E446CC359B248124F51533", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:27:59.0227621Z", "endTime": - "2022-04-27T05:28:02.3287633Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T09:38:53.1379033Z", "endTime": + "2022-12-14T09:38:58.1135631Z", "properties": null}' headers: cache-control: - no-cache @@ -803,9 +922,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:29 GMT + - Wed, 14 Dec 2022 09:39:24 GMT etag: - - '"1600d40d-0000-0400-0000-6268d4620000"' + - '"100076a7-0000-0100-0000-639999b20000"' expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_redisenterprise_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_redisenterprise_e2e.yaml index 484c62ed123..18870b952f9 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_redisenterprise_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_redisenterprise_e2e.yaml @@ -18,37 +18,39 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:27:29.8131506Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:27:29.8131506Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:39:26.2437477Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:39:26.2437477Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": null, "secretInfo": null, "authType": "secret"}, "vNetSolution": null, "clientType": - "python", "secretStore": {"keyVaultId": null}, "scope": null}}' + "python", "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}, + "scope": null, "publicNetworkSolution": null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/89dd5d0d-af83-48ee-9621-e9e05221ac47*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d086e8fb-547f-4015-b3d5-8a8f0d63a094*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1014' + - '1114' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:27:29 GMT + - Wed, 14 Dec 2022 09:39:27 GMT etag: - - '"6a000a57-0000-0100-0000-6268d4420000"' + - '"3500fcf7-0000-0100-0000-639999cf0000"' expires: - '-1' mise-correlation-id: - - 6de491df-f2b9-49c6-919c-6e65ff64dae1 + - a5658cab-af39-4717-8963-e5757b91f0f1 pragma: - no-cache strict-transport-security: @@ -58,7 +60,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1198' status: code: 201 message: Created @@ -76,29 +78,30 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/89dd5d0d-af83-48ee-9621-e9e05221ac47*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d086e8fb-547f-4015-b3d5-8a8f0d63a094*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/89dd5d0d-af83-48ee-9621-e9e05221ac47*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F", - "name": "89dd5d0d-af83-48ee-9621-e9e05221ac47*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d086e8fb-547f-4015-b3d5-8a8f0d63a094*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F", + "name": "d086e8fb-547f-4015-b3d5-8a8f0d63a094*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:27:29.9879481Z", "endTime": - "2022-04-27T05:27:33.7278482Z", "properties": {"message": "Unable to config + "status": "Succeeded", "startTime": "2022-12-14T09:39:27.3854506Z", "endTime": + "2022-12-14T09:39:32.959532Z", "properties": {"Message": "Unable to config network connectivity for RedisEnterprise. Please confirm your app can connect to RedisEnterprise successfully."}}' headers: cache-control: - no-cache content-length: - - '845' + - '844' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:00 GMT + - Wed, 14 Dec 2022 09:39:58 GMT etag: - - '"1600770a-0000-0400-0000-6268d4450000"' + - '"10005da8-0000-0100-0000-639999d40000"' expires: - '-1' pragma: @@ -128,32 +131,38 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:39:26.2437477Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:39:26.2437477Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '774' + - '1137' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:01 GMT + - Wed, 14 Dec 2022 09:39:59 GMT etag: - - '"0200fa9b-0000-0400-0000-6268d4450000"' + - '"350063f8-0000-0100-0000-639999d40000"' expires: - '-1' mise-correlation-id: - - c3ea32d9-5f14-4209-8cb6-465e12eed493 + - 07a6c7d1-e4d6-4cad-9e2e-f2ceddb96a4b pragma: - no-cache strict-transport-security: @@ -161,7 +170,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -183,30 +192,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:39:26.2437477Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:39:26.2437477Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}]}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '787' + - '1150' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:04 GMT + - Wed, 14 Dec 2022 09:40:09 GMT expires: - '-1' mise-correlation-id: - - ad6882b6-d64b-468d-89e7-4277d11aed05 + - 264e2f70-e880-4a8b-8035-73e3e57c71b6 pragma: - no-cache strict-transport-security: @@ -214,7 +229,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -236,32 +251,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:39:26.2437477Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:39:26.2437477Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '774' + - '1137' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:04 GMT + - Wed, 14 Dec 2022 09:40:10 GMT etag: - - '"0200fa9b-0000-0400-0000-6268d4450000"' + - '"350063f8-0000-0100-0000-639999d40000"' expires: - '-1' mise-correlation-id: - - 21722477-5687-4317-8288-13827ed9e48a + - dd658603-cf18-4fda-a69f-d4793e3c1084 pragma: - no-cache strict-transport-security: @@ -269,7 +290,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -296,37 +317,39 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:27:29.8131506Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:28:05.8404376Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:39:26.2437477Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:40:12.5113215Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": null, "secretInfo": null, "authType": "secret"}, "vNetSolution": null, "clientType": - "dotnet", "secretStore": {"keyVaultId": null}, "scope": null}}' + "dotnet", "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}, + "scope": null, "publicNetworkSolution": null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0dc61e6f-ca70-4e59-bfdc-15f2a443090d*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d4030dd3-ade8-49a4-aef8-251ef0fe4eaf*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1014' + - '1114' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:06 GMT + - Wed, 14 Dec 2022 09:40:13 GMT etag: - - '"6a009757-0000-0100-0000-6268d4660000"' + - '"35003cfb-0000-0100-0000-639999fd0000"' expires: - '-1' mise-correlation-id: - - 9df4e3b7-912e-4e5c-a63f-48e17e2ad823 + - f3492274-fc4d-4318-a3b1-eeed43667fc4 pragma: - no-cache strict-transport-security: @@ -336,7 +359,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' status: code: 201 message: Created @@ -354,29 +377,30 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0dc61e6f-ca70-4e59-bfdc-15f2a443090d*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d4030dd3-ade8-49a4-aef8-251ef0fe4eaf*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0dc61e6f-ca70-4e59-bfdc-15f2a443090d*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F", - "name": "0dc61e6f-ca70-4e59-bfdc-15f2a443090d*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d4030dd3-ade8-49a4-aef8-251ef0fe4eaf*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F", + "name": "d4030dd3-ade8-49a4-aef8-251ef0fe4eaf*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:28:06.716875Z", "endTime": - "2022-04-27T05:28:11.2758399Z", "properties": {"message": "Unable to config + "status": "Succeeded", "startTime": "2022-12-14T09:40:12.9005269Z", "endTime": + "2022-12-14T09:40:27.5664596Z", "properties": {"Message": "Unable to config network connectivity for RedisEnterprise. Please confirm your app can connect to RedisEnterprise successfully."}}' headers: cache-control: - no-cache content-length: - - '844' + - '845' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:36 GMT + - Wed, 14 Dec 2022 09:40:44 GMT etag: - - '"1400fe02-0000-0100-0000-6268d46b0000"' + - '"1000b5a9-0000-0100-0000-63999a0b0000"' expires: - '-1' pragma: @@ -406,32 +430,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:39:26.2437477Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:40:12.5113215Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "dotnet", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '774' + - '1137' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:36 GMT + - Wed, 14 Dec 2022 09:40:45 GMT etag: - - '"6a00b357-0000-0100-0000-6268d46b0000"' + - '"35002cfc-0000-0100-0000-63999a0b0000"' expires: - '-1' mise-correlation-id: - - c9b6b6cd-2ca2-4905-acc3-41e27c851f47 + - 852125ce-d195-47b4-9b5f-9ca5e1a0e2a8 pragma: - no-cache strict-transport-security: @@ -439,7 +469,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -463,9 +493,10 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview response: body: string: '{"configurations": [{"name": "AZURE_REDIS_CONNECTIONSTRING", "value": @@ -478,11 +509,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:41 GMT + - Wed, 14 Dec 2022 09:40:52 GMT expires: - '-1' mise-correlation-id: - - 2e53496c-f54a-4140-90e8-677c12a41f54 + - 39efcc8d-c8f1-4c26-a29c-9b3732f78a94 pragma: - no-cache strict-transport-security: @@ -490,13 +521,13 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' status: code: 200 message: OK @@ -514,32 +545,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:39:26.2437477Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:40:12.5113215Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "dotnet", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '774' + - '1137' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:41 GMT + - Wed, 14 Dec 2022 09:40:54 GMT etag: - - '"6a00b357-0000-0100-0000-6268d46b0000"' + - '"35002cfc-0000-0100-0000-63999a0b0000"' expires: - '-1' mise-correlation-id: - - 25fe6c4f-4261-4d19-93ac-bbb3106a5ddc + - 4cce16ae-6a9f-4055-a58e-b5312c80db1a pragma: - no-cache strict-transport-security: @@ -547,7 +584,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -571,15 +608,16 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bac91429-76e6-4527-9bb6-a893c9388876*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b0197d7a-aba3-4749-a6eb-bbe3bf991ac2*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -587,13 +625,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:42 GMT + - Wed, 14 Dec 2022 09:40:55 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bac91429-76e6-4527-9bb6-a893c9388876*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b0197d7a-aba3-4749-a6eb-bbe3bf991ac2*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F?api-version=2021-01-01-privatepreview mise-correlation-id: - - 2fa3f182-be4e-4d75-aeb0-a767c1965d8e + - 3e16364c-1bb2-48fa-b8e2-77f40136ece0 pragma: - no-cache strict-transport-security: @@ -603,7 +641,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1199' status: code: 202 message: Accepted @@ -621,29 +659,95 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bac91429-76e6-4527-9bb6-a893c9388876*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b0197d7a-aba3-4749-a6eb-bbe3bf991ac2*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bac91429-76e6-4527-9bb6-a893c9388876*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F", - "name": "bac91429-76e6-4527-9bb6-a893c9388876*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b0197d7a-aba3-4749-a6eb-bbe3bf991ac2*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F", + "name": "b0197d7a-aba3-4749-a6eb-bbe3bf991ac2*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:28:42.3842099Z", "endTime": - "2022-04-27T05:28:44.6526484Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T09:40:54.8787618Z", "endTime": + "2022-12-14T09:40:58.7133575Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - configured values is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-04-27T05:28:43.6287389Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:28:44.564142Z\",\"SourceId\":null,\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default\",\"AuthType\":4}"}}' + configured values is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T09:40:56.1614952Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:40:57.5887365Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The configured values is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T09:40:56.1614952Z", + "reportEndTimeUtc": "2022-12-14T09:40:57.5887365Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' headers: cache-control: - no-cache content-length: - - '1320' + - '1555' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:12 GMT + - Wed, 14 Dec 2022 09:41:25 GMT etag: - - '"14004803-0000-0100-0000-6268d48c0000"' + - '"10008daa-0000-0100-0000-63999a2a0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b0197d7a-aba3-4749-a6eb-bbe3bf991ac2*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b0197d7a-aba3-4749-a6eb-bbe3bf991ac2*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F", + "name": "b0197d7a-aba3-4749-a6eb-bbe3bf991ac2*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T09:40:54.8787618Z", "endTime": + "2022-12-14T09:40:58.7133575Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T09:40:56.1614952Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:40:57.5887365Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The configured values is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T09:40:56.1614952Z", + "reportEndTimeUtc": "2022-12-14T09:40:57.5887365Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1555' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 09:41:26 GMT + etag: + - '"10008daa-0000-0100-0000-63999a2a0000"' expires: - '-1' pragma: @@ -673,32 +777,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:39:26.2437477Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:40:12.5113215Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Cache/redisEnterprise/servicelinker-redis-enterprise/databases/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "dotnet", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '774' + - '1137' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:13 GMT + - Wed, 14 Dec 2022 09:41:30 GMT etag: - - '"6a00b357-0000-0100-0000-6268d46b0000"' + - '"35002cfc-0000-0100-0000-63999a0b0000"' expires: - '-1' mise-correlation-id: - - 16184a72-eeb6-45e2-be21-c75ec760871d + - dea77d14-d5c8-4166-ac06-4932a09da2b4 pragma: - no-cache strict-transport-security: @@ -706,7 +816,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -730,15 +840,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b0a41e2d-8ebf-4d1c-a064-a681f1a69737*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d97d169-938c-400e-86a5-ee4edf0d67c6*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -746,15 +857,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:17 GMT + - Wed, 14 Dec 2022 09:41:38 GMT etag: - - '"6a00e558-0000-0100-0000-6268d4ae0000"' + - '"36001501-0000-0100-0000-63999a530000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b0a41e2d-8ebf-4d1c-a064-a681f1a69737*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d97d169-938c-400e-86a5-ee4edf0d67c6*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F?api-version=2021-01-01-privatepreview mise-correlation-id: - - 2c1c66a0-6f7c-4521-ac60-e4988b36a4c2 + - 45cf2d5c-5de8-49db-8daa-66495a68db84 pragma: - no-cache strict-transport-security: @@ -782,16 +893,17 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b0a41e2d-8ebf-4d1c-a064-a681f1a69737*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d97d169-938c-400e-86a5-ee4edf0d67c6*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b0a41e2d-8ebf-4d1c-a064-a681f1a69737*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F", - "name": "b0a41e2d-8ebf-4d1c-a064-a681f1a69737*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d97d169-938c-400e-86a5-ee4edf0d67c6*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F", + "name": "7d97d169-938c-400e-86a5-ee4edf0d67c6*E641C40111966C9CDA15DAA5AEFC7494CEFC89AEEFD9F7AE2FE3560C232ED94F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-redis-enterprise-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:29:18.3108386Z", "endTime": - "2022-04-27T05:29:21.9146415Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T09:41:39.3266853Z", "endTime": + "2022-12-14T09:41:44.2300161Z", "properties": null}' headers: cache-control: - no-cache @@ -800,9 +912,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:48 GMT + - Wed, 14 Dec 2022 09:42:10 GMT etag: - - '"1400a303-0000-0100-0000-6268d4b10000"' + - '"1000a0ab-0000-0100-0000-63999a580000"' expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_servicebus_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_servicebus_e2e.yaml index e5a7af23b8c..302b891b71d 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_servicebus_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_servicebus_e2e.yaml @@ -19,37 +19,40 @@ interactions: ParameterSetName: - --connection --source-id --target-id --system-identity --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:27:53.558551Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:27:53.558551Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "python", "secretStore": - {"keyVaultId": null}, "scope": null}}' + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:42:11.4326339Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:42:11.4326339Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "python", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/38115cde-1e27-4f75-8a94-06d640784cac*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b288ca5f-bfd6-4941-9cd0-6a8cb081a23b*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '967' + - '1139' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:27:53 GMT + - Wed, 14 Dec 2022 09:42:11 GMT etag: - - '"6a006057-0000-0100-0000-6268d4590000"' + - '"36003503-0000-0100-0000-63999a740000"' expires: - '-1' mise-correlation-id: - - d90661f6-b51f-4334-839d-41c8ad439138 + - 2f43532f-ec9e-4d75-a3e1-256d51a91241 pragma: - no-cache strict-transport-security: @@ -59,7 +62,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -77,27 +80,27 @@ interactions: ParameterSetName: - --connection --source-id --target-id --system-identity --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/38115cde-1e27-4f75-8a94-06d640784cac*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b288ca5f-bfd6-4941-9cd0-6a8cb081a23b*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/38115cde-1e27-4f75-8a94-06d640784cac*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", - "name": "38115cde-1e27-4f75-8a94-06d640784cac*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b288ca5f-bfd6-4941-9cd0-6a8cb081a23b*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", + "name": "b288ca5f-bfd6-4941-9cd0-6a8cb081a23b*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:27:53.7367396Z", "endTime": - "2022-04-27T05:28:07.4622675Z", "properties": {}}' + "status": "Accepted", "startTime": "2022-12-14T09:42:12.5169644Z"}' headers: cache-control: - no-cache content-length: - - '699' + - '637' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:23 GMT + - Wed, 14 Dec 2022 09:42:43 GMT etag: - - '"1400ef02-0000-0100-0000-6268d4670000"' + - '"100030ac-0000-0100-0000-63999a740000"' expires: - '-1' pragma: @@ -127,32 +130,139 @@ interactions: ParameterSetName: - --connection --source-id --target-id --system-identity --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b288ca5f-bfd6-4941-9cd0-6a8cb081a23b*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b288ca5f-bfd6-4941-9cd0-6a8cb081a23b*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", + "name": "b288ca5f-bfd6-4941-9cd0-6a8cb081a23b*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-14T09:42:12.5169644Z"}' + headers: + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 09:43:13 GMT + etag: + - '"100030ac-0000-0100-0000-63999a740000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create servicebus + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b288ca5f-bfd6-4941-9cd0-6a8cb081a23b*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b288ca5f-bfd6-4941-9cd0-6a8cb081a23b*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", + "name": "b288ca5f-bfd6-4941-9cd0-6a8cb081a23b*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T09:42:12.5169644Z", "endTime": + "2022-12-14T09:43:38.6654699Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '714' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 09:43:44 GMT + etag: + - '"100047ae-0000-0100-0000-63999aca0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create servicebus + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:42:11.4326339Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:42:11.4326339Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '729' + - '1140' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:23 GMT + - Wed, 14 Dec 2022 09:43:46 GMT etag: - - '"6a009e57-0000-0100-0000-6268d4670000"' + - '"3600ce08-0000-0100-0000-63999aca0000"' expires: - '-1' mise-correlation-id: - - 6972cb80-1290-4e3a-a2d3-b8c0b15eb20b + - 1b6be14d-d928-4e1d-8b66-baf16b9dd90d pragma: - no-cache strict-transport-security: @@ -160,7 +270,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -182,30 +292,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}]}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:42:11.4326339Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:42:11.4326339Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '742' + - '1153' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:27 GMT + - Wed, 14 Dec 2022 09:43:51 GMT expires: - '-1' mise-correlation-id: - - 5d220a3c-404d-4559-80eb-438f7a78218d + - efef8ffd-ddbd-4cdf-8d2d-8cd587d7d246 pragma: - no-cache strict-transport-security: @@ -213,7 +329,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -235,32 +351,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:42:11.4326339Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:42:11.4326339Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '729' + - '1140' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:28 GMT + - Wed, 14 Dec 2022 09:43:55 GMT etag: - - '"6a009e57-0000-0100-0000-6268d4670000"' + - '"3600ce08-0000-0100-0000-63999aca0000"' expires: - '-1' mise-correlation-id: - - b6f0d732-3f3c-4c4f-b70c-6aec78cc1f48 + - 444caad1-9492-4a53-b194-76d8e2ebf3d3 pragma: - no-cache strict-transport-security: @@ -268,7 +390,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -296,37 +418,40 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:27:53.558551Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:28:29.5410759Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": - {"keyVaultId": null}, "scope": null}}' + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:42:11.4326339Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:43:56.8366019Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5596a44c-1dc6-44de-8092-c2588a5b88be*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7146be3e-d633-40bc-8dcd-2056c6f22bc1*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '968' + - '1139' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:29 GMT + - Wed, 14 Dec 2022 09:43:57 GMT etag: - - '"02002a9c-0000-0400-0000-6268d47d0000"' + - '"3600ea09-0000-0100-0000-63999add0000"' expires: - '-1' mise-correlation-id: - - 388828d8-320d-439a-9ec1-9f3c6ed5e3e3 + - 4e86e3bf-6178-49e0-ae91-eac7a2b2f8e0 pragma: - no-cache strict-transport-security: @@ -336,7 +461,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 201 message: Created @@ -354,27 +479,28 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5596a44c-1dc6-44de-8092-c2588a5b88be*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7146be3e-d633-40bc-8dcd-2056c6f22bc1*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5596a44c-1dc6-44de-8092-c2588a5b88be*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", - "name": "5596a44c-1dc6-44de-8092-c2588a5b88be*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7146be3e-d633-40bc-8dcd-2056c6f22bc1*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", + "name": "7146be3e-d633-40bc-8dcd-2056c6f22bc1*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:28:29.7561013Z", "endTime": - "2022-04-27T05:28:42.3893536Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T09:43:57.2529859Z", "endTime": + "2022-12-14T09:44:14.1269102Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '699' + - '714' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:01 GMT + - Wed, 14 Dec 2022 09:44:28 GMT etag: - - '"1600a713-0000-0400-0000-6268d48a0000"' + - '"100004af-0000-0100-0000-63999aee0000"' expires: - '-1' pragma: @@ -404,32 +530,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:42:11.4326339Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:43:56.8366019Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '729' + - '1140' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:01 GMT + - Wed, 14 Dec 2022 09:44:29 GMT etag: - - '"02002e9c-0000-0400-0000-6268d48a0000"' + - '"3600160b-0000-0100-0000-63999aee0000"' expires: - '-1' mise-correlation-id: - - e2aeccc1-3205-4ccc-8bf8-27eb787d331c + - d9f69830-beb6-4c0c-98ce-a6c74d56b7a7 pragma: - no-cache strict-transport-security: @@ -437,7 +569,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -461,9 +593,10 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview response: body: string: '{"configurations": [{"name": "AZURE_SERVICEBUS_FULLYQUALIFIEDNAMESPACE", @@ -476,11 +609,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:05 GMT + - Wed, 14 Dec 2022 09:44:35 GMT expires: - '-1' mise-correlation-id: - - b709059f-8813-4b2e-8032-45fef500f85e + - 103a3b67-a9ac-4280-993b-85f9b30eb86f pragma: - no-cache strict-transport-security: @@ -488,13 +621,13 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1199' status: code: 200 message: OK @@ -512,32 +645,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:42:11.4326339Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:43:56.8366019Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '729' + - '1140' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:05 GMT + - Wed, 14 Dec 2022 09:44:38 GMT etag: - - '"02002e9c-0000-0400-0000-6268d48a0000"' + - '"3600160b-0000-0100-0000-63999aee0000"' expires: - '-1' mise-correlation-id: - - 4bf68639-35b9-4b11-b82b-baae47b0b77b + - eefd1f2d-bc0f-4b1a-8963-6e1b8dfbae7a pragma: - no-cache strict-transport-security: @@ -545,7 +684,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -569,15 +708,16 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/44aaa3a8-613d-4ae9-991c-5e5623746ef8*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e70d9f8a-23a9-41b1-bf50-8cdf323b769e*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -585,13 +725,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:06 GMT + - Wed, 14 Dec 2022 09:44:39 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/44aaa3a8-613d-4ae9-991c-5e5623746ef8*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e70d9f8a-23a9-41b1-bf50-8cdf323b769e*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2021-01-01-privatepreview mise-correlation-id: - - f60ca808-c4e8-49cf-b3b9-1e80662b4973 + - d41a884e-6a74-495c-b9c4-cf9ddd54ecc5 pragma: - no-cache strict-transport-security: @@ -601,7 +741,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1188' + - '1196' status: code: 202 message: Accepted @@ -619,32 +759,107 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e70d9f8a-23a9-41b1-bf50-8cdf323b769e*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e70d9f8a-23a9-41b1-bf50-8cdf323b769e*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", + "name": "e70d9f8a-23a9-41b1-bf50-8cdf323b769e*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T09:44:39.3983372Z", "endTime": + "2022-12-14T09:44:44.6300852Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T09:44:40.9391942Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:44:43.5237819Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-14T09:44:40.9391942Z", "reportEndTimeUtc": "2022-12-14T09:44:43.5237819Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' + headers: + cache-control: + - no-cache + content-length: + - '2105' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 09:45:10 GMT + etag: + - '"1000acaf-0000-0100-0000-63999b0c0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/44aaa3a8-613d-4ae9-991c-5e5623746ef8*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e70d9f8a-23a9-41b1-bf50-8cdf323b769e*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/44aaa3a8-613d-4ae9-991c-5e5623746ef8*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", - "name": "44aaa3a8-613d-4ae9-991c-5e5623746ef8*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e70d9f8a-23a9-41b1-bf50-8cdf323b769e*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", + "name": "e70d9f8a-23a9-41b1-bf50-8cdf323b769e*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:29:06.6028818Z", "endTime": - "2022-04-27T05:29:10.1292115Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T09:44:39.3983372Z", "endTime": + "2022-12-14T09:44:44.6300852Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-04-27T05:29:07.8026432Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:29:10.0555642Z\",\"SourceId\":null,\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus\",\"AuthType\":0}"}}' + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T09:44:40.9391942Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:44:43.5237819Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-14T09:44:40.9391942Z", "reportEndTimeUtc": "2022-12-14T09:44:43.5237819Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' headers: cache-control: - no-cache content-length: - - '1555' + - '2105' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:37 GMT + - Wed, 14 Dec 2022 09:45:11 GMT etag: - - '"1600fe14-0000-0400-0000-6268d4a60000"' + - '"1000acaf-0000-0100-0000-63999b0c0000"' expires: - '-1' pragma: @@ -674,32 +889,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:42:11.4326339Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:43:56.8366019Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.ServiceBus/namespaces/servicelinkertestservicebus", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '729' + - '1140' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:38 GMT + - Wed, 14 Dec 2022 09:45:13 GMT etag: - - '"02002e9c-0000-0400-0000-6268d48a0000"' + - '"3600160b-0000-0100-0000-63999aee0000"' expires: - '-1' mise-correlation-id: - - 241d89b7-c1f4-4d74-8d12-4f752f541ec6 + - 9c47e9dd-8d2c-4232-b034-2928fd895fdf pragma: - no-cache strict-transport-security: @@ -707,7 +928,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -731,15 +952,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0085ac9e-9676-471f-afb2-5fd1517401b0*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d8cc5e6-b093-413c-a3d5-08b25fa5cbcb*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -747,15 +969,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:43 GMT + - Wed, 14 Dec 2022 09:45:23 GMT etag: - - '"02007d9c-0000-0400-0000-6268d4c70000"' + - '"3600d80f-0000-0100-0000-63999b330000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0085ac9e-9676-471f-afb2-5fd1517401b0*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d8cc5e6-b093-413c-a3d5-08b25fa5cbcb*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2021-01-01-privatepreview mise-correlation-id: - - 192bb0d9-f7a9-4ce5-8d24-b00658bb4026 + - c06b9572-cc0e-4b3b-b04f-6ba562c4005a pragma: - no-cache strict-transport-security: @@ -765,7 +987,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted @@ -783,16 +1005,17 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0085ac9e-9676-471f-afb2-5fd1517401b0*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d8cc5e6-b093-413c-a3d5-08b25fa5cbcb*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0085ac9e-9676-471f-afb2-5fd1517401b0*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", - "name": "0085ac9e-9676-471f-afb2-5fd1517401b0*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d8cc5e6-b093-413c-a3d5-08b25fa5cbcb*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", + "name": "7d8cc5e6-b093-413c-a3d5-08b25fa5cbcb*FFCF0295AB6B4C949597278AA753707854FAFE916784A12A7D31DD79205B1D43", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-servicebus-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:29:43.2753282Z", "endTime": - "2022-04-27T05:29:46.3619842Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T09:45:23.5277782Z", "endTime": + "2022-12-14T09:45:28.6983058Z", "properties": null}' headers: cache-control: - no-cache @@ -801,9 +1024,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:30:13 GMT + - Wed, 14 Dec 2022 09:45:54 GMT etag: - - '"1400e603-0000-0100-0000-6268d4ca0000"' + - '"1000bbb0-0000-0100-0000-63999b380000"' expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_signalr_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_signalr_e2e.yaml index 878a878bed5..cebccb88a79 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_signalr_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_signalr_e2e.yaml @@ -19,37 +19,40 @@ interactions: ParameterSetName: - --connection --source-id --target-id --system-identity --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:28:09.1237529Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:28:09.1237529Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": - {"keyVaultId": null}, "scope": null}}' + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:45:56.2623154Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:45:56.2623154Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/affcc169-ad7f-43ef-a8f3-a3f1a340ca18*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ef2c8961-61f7-4b86-a971-7285407f5164*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '961' + - '1131' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:10 GMT + - Wed, 14 Dec 2022 09:45:57 GMT etag: - - '"6a00ab57-0000-0100-0000-6268d46a0000"' + - '"36004012-0000-0100-0000-63999b550000"' expires: - '-1' mise-correlation-id: - - 52865ecd-8b2b-48aa-a6af-9c39a7748fdb + - bf957b4f-fe38-459c-a933-5c68392ca6d1 pragma: - no-cache strict-transport-security: @@ -77,27 +80,27 @@ interactions: ParameterSetName: - --connection --source-id --target-id --system-identity --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/affcc169-ad7f-43ef-a8f3-a3f1a340ca18*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ef2c8961-61f7-4b86-a971-7285407f5164*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/affcc169-ad7f-43ef-a8f3-a3f1a340ca18*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", - "name": "affcc169-ad7f-43ef-a8f3-a3f1a340ca18*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ef2c8961-61f7-4b86-a971-7285407f5164*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", + "name": "ef2c8961-61f7-4b86-a971-7285407f5164*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:28:10.0023845Z", "endTime": - "2022-04-27T05:28:14.5861872Z", "properties": {}}' + "status": "Accepted", "startTime": "2022-12-14T09:45:57.4486465Z"}' headers: cache-control: - no-cache content-length: - - '696' + - '634' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:41 GMT + - Wed, 14 Dec 2022 09:46:28 GMT etag: - - '"16003d12-0000-0400-0000-6268d46e0000"' + - '"100064b1-0000-0100-0000-63999b550000"' expires: - '-1' pragma: @@ -127,32 +130,139 @@ interactions: ParameterSetName: - --connection --source-id --target-id --system-identity --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ef2c8961-61f7-4b86-a971-7285407f5164*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ef2c8961-61f7-4b86-a971-7285407f5164*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", + "name": "ef2c8961-61f7-4b86-a971-7285407f5164*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-14T09:45:57.4486465Z"}' + headers: + cache-control: + - no-cache + content-length: + - '634' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 09:46:59 GMT + etag: + - '"100064b1-0000-0100-0000-63999b550000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create signalr + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ef2c8961-61f7-4b86-a971-7285407f5164*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ef2c8961-61f7-4b86-a971-7285407f5164*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", + "name": "ef2c8961-61f7-4b86-a971-7285407f5164*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T09:45:57.4486465Z", "endTime": + "2022-12-14T09:47:04.743494Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '710' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 09:47:30 GMT + etag: + - '"1000e4b2-0000-0100-0000-63999b980000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create signalr + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:45:56.2623154Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:45:56.2623154Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '721' + - '1132' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:41 GMT + - Wed, 14 Dec 2022 09:47:32 GMT etag: - - '"0200269c-0000-0400-0000-6268d46e0000"' + - '"3600fc16-0000-0100-0000-63999b980000"' expires: - '-1' mise-correlation-id: - - afd61474-0b4d-45fd-8efa-17ef694d5c70 + - f0990858-741b-44af-9ae0-a4c92afb8f58 pragma: - no-cache strict-transport-security: @@ -160,7 +270,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -182,30 +292,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}]}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:45:56.2623154Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:45:56.2623154Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '734' + - '1145' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:44 GMT + - Wed, 14 Dec 2022 09:47:39 GMT expires: - '-1' mise-correlation-id: - - c334f6b1-1b1e-4978-913f-fc33cb77e348 + - 5d7950ab-b23a-4c45-ba2d-3e2c743621fc pragma: - no-cache strict-transport-security: @@ -213,7 +329,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -235,32 +351,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:45:56.2623154Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:45:56.2623154Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '721' + - '1132' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:45 GMT + - Wed, 14 Dec 2022 09:47:41 GMT etag: - - '"0200269c-0000-0400-0000-6268d46e0000"' + - '"3600fc16-0000-0100-0000-63999b980000"' expires: - '-1' mise-correlation-id: - - ed173928-e56c-4cea-9634-3ae3f9e865e7 + - 5dcfff89-d413-4b7c-b653-b952bbbb87d0 pragma: - no-cache strict-transport-security: @@ -268,7 +390,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -296,37 +418,40 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:28:09.1237529Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:28:45.8565744Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": - {"keyVaultId": null}, "scope": null}}' + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:45:56.2623154Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:47:43.0139675Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/61d89a38-599e-4b00-b8b7-a8f6cbf7ec7f*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6ed5fd53-037e-4073-9d19-e412a2df2a1f*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '961' + - '1131' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:45 GMT + - Wed, 14 Dec 2022 09:47:44 GMT etag: - - '"6a005758-0000-0100-0000-6268d48e0000"' + - '"36006f19-0000-0100-0000-63999bc00000"' expires: - '-1' mise-correlation-id: - - b47068a1-d003-48eb-9e94-bf2dd65d7bfd + - 9def107a-6a55-43c5-a10b-cd26a5695af3 pragma: - no-cache strict-transport-security: @@ -336,7 +461,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 201 message: Created @@ -354,27 +479,28 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/61d89a38-599e-4b00-b8b7-a8f6cbf7ec7f*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6ed5fd53-037e-4073-9d19-e412a2df2a1f*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/61d89a38-599e-4b00-b8b7-a8f6cbf7ec7f*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", - "name": "61d89a38-599e-4b00-b8b7-a8f6cbf7ec7f*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6ed5fd53-037e-4073-9d19-e412a2df2a1f*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", + "name": "6ed5fd53-037e-4073-9d19-e412a2df2a1f*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:28:46.0513856Z", "endTime": - "2022-04-27T05:28:50.7848736Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T09:47:44.3453853Z", "endTime": + "2022-12-14T09:47:54.5773887Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '696' + - '711' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:16 GMT + - Wed, 14 Dec 2022 09:48:15 GMT etag: - - '"14005a03-0000-0100-0000-6268d4920000"' + - '"1000d7b3-0000-0100-0000-63999bca0000"' expires: - '-1' pragma: @@ -404,32 +530,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:45:56.2623154Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:47:43.0139675Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '721' + - '1132' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:16 GMT + - Wed, 14 Dec 2022 09:48:16 GMT etag: - - '"6a007358-0000-0100-0000-6268d4920000"' + - '"3600111a-0000-0100-0000-63999bca0000"' expires: - '-1' mise-correlation-id: - - f8f59f6d-d7c5-4be3-981f-6a7092b6a190 + - 8cae53ce-9158-456d-92b3-878ac6926574 pragma: - no-cache strict-transport-security: @@ -437,7 +569,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -461,9 +593,10 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview response: body: string: '{"configurations": [{"name": "AZURE_SIGNALR_CONNECTIONSTRING", "value": @@ -476,11 +609,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:21 GMT + - Wed, 14 Dec 2022 09:48:24 GMT expires: - '-1' mise-correlation-id: - - 571ea4cb-c8c9-42d7-b4e4-2a61b06527ac + - 73e02f4c-61b9-4089-8ec0-e8c681a0b269 pragma: - no-cache strict-transport-security: @@ -488,13 +621,13 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 200 message: OK @@ -512,32 +645,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:45:56.2623154Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:47:43.0139675Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '721' + - '1132' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:22 GMT + - Wed, 14 Dec 2022 09:48:26 GMT etag: - - '"6a007358-0000-0100-0000-6268d4920000"' + - '"3600111a-0000-0100-0000-63999bca0000"' expires: - '-1' mise-correlation-id: - - c2932cda-47d5-42b1-b912-ebeb6a176273 + - f06fa3f0-b4cc-4af3-ae0e-d361beda46de pragma: - no-cache strict-transport-security: @@ -545,7 +684,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -569,15 +708,16 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e9038598-1b98-4016-8a78-3fdb7da9b157*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/27df3b73-43cb-460b-9a7a-c905c4c0609c*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -585,13 +725,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:23 GMT + - Wed, 14 Dec 2022 09:48:27 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e9038598-1b98-4016-8a78-3fdb7da9b157*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/27df3b73-43cb-460b-9a7a-c905c4c0609c*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2021-01-01-privatepreview mise-correlation-id: - - 1bc2fa00-9988-4210-8581-a197e0e71bab + - 94c8cc53-5826-447a-95df-660620b96998 pragma: - no-cache strict-transport-security: @@ -601,7 +741,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1198' status: code: 202 message: Accepted @@ -619,32 +759,107 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/27df3b73-43cb-460b-9a7a-c905c4c0609c*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/27df3b73-43cb-460b-9a7a-c905c4c0609c*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", + "name": "27df3b73-43cb-460b-9a7a-c905c4c0609c*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T09:48:27.4275238Z", "endTime": + "2022-12-14T09:48:31.4059918Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target''s network ACL is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T09:48:28.8168946Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:48:30.231511Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network ACL is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-14T09:48:28.8168946Z", "reportEndTimeUtc": "2022-12-14T09:48:30.231511Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' + headers: + cache-control: + - no-cache + content-length: + - '2094' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 09:48:58 GMT + etag: + - '"1000a6b4-0000-0100-0000-63999bef0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e9038598-1b98-4016-8a78-3fdb7da9b157*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/27df3b73-43cb-460b-9a7a-c905c4c0609c*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e9038598-1b98-4016-8a78-3fdb7da9b157*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", - "name": "e9038598-1b98-4016-8a78-3fdb7da9b157*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/27df3b73-43cb-460b-9a7a-c905c4c0609c*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", + "name": "27df3b73-43cb-460b-9a7a-c905c4c0609c*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:29:23.0832585Z", "endTime": - "2022-04-27T05:29:25.8150101Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T09:48:27.4275238Z", "endTime": + "2022-12-14T09:48:31.4059918Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - target''s network access is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target''s network ACL is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-04-27T05:29:24.2691726Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:29:25.7093324Z\",\"SourceId\":null,\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr\",\"AuthType\":0}"}}' + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T09:48:28.8168946Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:48:30.231511Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network ACL is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-14T09:48:28.8168946Z", "reportEndTimeUtc": "2022-12-14T09:48:30.231511Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' headers: cache-control: - no-cache content-length: - - '1547' + - '2094' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:53 GMT + - Wed, 14 Dec 2022 09:48:59 GMT etag: - - '"1600a615-0000-0400-0000-6268d4b50000"' + - '"1000a6b4-0000-0100-0000-63999bef0000"' expires: - '-1' pragma: @@ -674,32 +889,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:45:56.2623154Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:47:43.0139675Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/SignalR/servicelinker-signalr", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '721' + - '1132' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:53 GMT + - Wed, 14 Dec 2022 09:49:00 GMT etag: - - '"6a007358-0000-0100-0000-6268d4920000"' + - '"3600111a-0000-0100-0000-63999bca0000"' expires: - '-1' mise-correlation-id: - - b70ab1d0-6b85-4201-9971-95feeee92a6d + - d9738be7-9d6b-455d-9833-a552dbafd307 pragma: - no-cache strict-transport-security: @@ -707,7 +928,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -731,15 +952,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8be2f892-8c41-4b34-b764-b968c8315fc7*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/027c5706-4e74-4592-b945-80ae8fd5c1f0*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -747,15 +969,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:58 GMT + - Wed, 14 Dec 2022 09:49:07 GMT etag: - - '"6a00e959-0000-0100-0000-6268d4d70000"' + - '"3600bb1e-0000-0100-0000-63999c130000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8be2f892-8c41-4b34-b764-b968c8315fc7*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/027c5706-4e74-4592-b945-80ae8fd5c1f0*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2021-01-01-privatepreview mise-correlation-id: - - 4c51a79b-b6a2-464c-9cd1-fb271b49650b + - b81bb9d0-22bb-4c81-986e-0d74723c5d09 pragma: - no-cache strict-transport-security: @@ -783,16 +1005,17 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8be2f892-8c41-4b34-b764-b968c8315fc7*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/027c5706-4e74-4592-b945-80ae8fd5c1f0*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8be2f892-8c41-4b34-b764-b968c8315fc7*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", - "name": "8be2f892-8c41-4b34-b764-b968c8315fc7*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/027c5706-4e74-4592-b945-80ae8fd5c1f0*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", + "name": "027c5706-4e74-4592-b945-80ae8fd5c1f0*D5398420B7E862B5975DBC51E01840934BEFD08D732B01D3694E026D03311B32", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-signalr-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:29:58.9644657Z", "endTime": - "2022-04-27T05:30:10.1042102Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T09:49:07.5341833Z", "endTime": + "2022-12-14T09:49:14.2344171Z", "properties": null}' headers: cache-control: - no-cache @@ -801,9 +1024,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:30:29 GMT + - Wed, 14 Dec 2022 09:49:38 GMT etag: - - '"16004818-0000-0400-0000-6268d4e20000"' + - '"100096b5-0000-0100-0000-63999c1a0000"' expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_sql_connection_string.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_sql_connection_string.yaml index 01d930b1c54..b857e232206 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_sql_connection_string.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_sql_connection_string.yaml @@ -1,59 +1,6 @@ interactions: - request: - body: '' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - 0 - Content-Type: - - application/json; charset=utf-8 - User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) msrest/0.7.0 - msrest_azure/0.6.4 azure-keyvault/7.0 Azure-SDK-For-Python - accept-language: - - en-US - method: GET - uri: https://cupertino-kv-test.vault.azure.net/secrets/TestDbPassword/?api-version=7.0 - response: - body: - string: '{"error": {"code": "Unauthorized", "message": "AKV10000: Request is - missing a Bearer or PoP token."}}' - headers: - cache-control: - - no-cache - content-length: - - '101' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 21 Jul 2022 02:18:58 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000;includeSubDomains - www-authenticate: - - Bearer authorization="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47", - resource="https://vault.azure.net" - x-content-type-options: - - nosniff - x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=20.239.19.14;act_addr_fam=InterNetwork; - x-ms-keyvault-region: - - eastus - x-ms-keyvault-service-version: - - 1.9.472.2 - status: - code: 401 - message: Unauthorized -- request: - body: '' + body: null headers: Accept: - application/json @@ -61,13 +8,11 @@ interactions: - gzip, deflate Connection: - keep-alive - Content-Length: - - 0 Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) msrest/0.7.0 - msrest_azure/0.6.4 azure-keyvault/7.0 Azure-SDK-For-Python + - python/3.8.8 (Windows-10-10.0.22621-SP0) msrest/0.7.1 msrest_azure/0.6.4 azure-keyvault/7.0 + Azure-SDK-For-Python accept-language: - en-US method: GET @@ -85,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Jul 2022 02:18:59 GMT + - Wed, 14 Dec 2022 09:49:39 GMT expires: - '-1' pragma: @@ -95,11 +40,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=20.239.19.14;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.60;act_addr_fam=InterNetwork; x-ms-keyvault-region: - eastus x-ms-keyvault-service-version: - - 1.9.472.2 + - 1.9.640.1 status: code: 200 message: OK @@ -122,40 +67,42 @@ interactions: Content-Type: - application/json ParameterSetName: - - --connection --source-id --target-id --secret --client-type --store-connstr + - --connection --source-id --target-id --secret --client-type --config-connstr User-Agent: - - AZURECLI/2.38.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "tanchen@microsoft.com", "createdByType": "User", "createdAt": - "2022-07-21T02:19:01.0460759Z", "lastModifiedBy": "tanchen@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-07-21T02:19:01.0460759Z"}, + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:49:41.8042663Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:49:41.8042663Z"}, "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "vNetSolution": null, "clientType": "dotnet-connectionString", "secretStore": - {"keyVaultId": null}, "scope": null}}' + {"keyVaultId": null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8bcf0d85-734e-4d2a-9606-421497e9dce0*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0f2183e5-f5a0-4c9c-a75e-f7c346ea9574*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1039' + - '1133' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Jul 2022 02:19:00 GMT + - Wed, 14 Dec 2022 09:49:43 GMT etag: - - '"00007a74-0000-0100-0000-62d8b7950000"' + - '"36000f21-0000-0100-0000-63999c380000"' expires: - '-1' mise-correlation-id: - - 71580583-c330-4a51-9004-cda6e1ebeb74 + - a5a3b425-36a2-4a98-bf39-0f9c288f9014 pragma: - no-cache strict-transport-security: @@ -181,18 +128,19 @@ interactions: Connection: - keep-alive ParameterSetName: - - --connection --source-id --target-id --secret --client-type --store-connstr + - --connection --source-id --target-id --secret --client-type --config-connstr User-Agent: - - AZURECLI/2.38.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8bcf0d85-734e-4d2a-9606-421497e9dce0*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0f2183e5-f5a0-4c9c-a75e-f7c346ea9574*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8bcf0d85-734e-4d2a-9606-421497e9dce0*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", - "name": "8bcf0d85-734e-4d2a-9606-421497e9dce0*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0f2183e5-f5a0-4c9c-a75e-f7c346ea9574*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", + "name": "0f2183e5-f5a0-4c9c-a75e-f7c346ea9574*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-07-21T02:19:01.2737514Z", "endTime": - "2022-07-21T02:19:09.3914075Z", "properties": {"Message": "Deny public network + "status": "Succeeded", "startTime": "2022-12-14T09:49:44.2856658Z", "endTime": + "2022-12-14T09:49:51.3704762Z", "properties": {"Message": "Deny public network access is set to yes. Please confirm you are using private endpoint connection to access target resource."}}' headers: @@ -203,9 +151,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Jul 2022 02:19:31 GMT + - Wed, 14 Dec 2022 09:50:15 GMT etag: - - '"00000842-0000-0100-0000-62d8b79d0000"' + - '"10005eb6-0000-0100-0000-63999c3f0000"' expires: - '-1' pragma: @@ -233,38 +181,40 @@ interactions: Connection: - keep-alive ParameterSetName: - - --connection --source-id --target-id --secret --client-type --store-connstr + - --connection --source-id --target-id --secret --client-type --config-connstr User-Agent: - - AZURECLI/2.38.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "tanchen@microsoft.com", "createdByType": "User", "createdAt": - "2022-07-21T02:19:01.0460759Z", "lastModifiedBy": "tanchen@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-07-21T02:19:01.0460759Z"}, - "properties": {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:49:41.8042663Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:49:41.8042663Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet-connectionString", "scope": null, "vNetSolution": null, - "secretStore": {"keyVaultId": null}}}' + "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '1040' + - '1134' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Jul 2022 02:19:31 GMT + - Wed, 14 Dec 2022 09:50:15 GMT etag: - - '"00008174-0000-0100-0000-62d8b79d0000"' + - '"36009121-0000-0100-0000-63999c3f0000"' expires: - '-1' mise-correlation-id: - - dad63849-c519-49a6-bafa-a24807523803 + - a3938af5-c061-4a3b-a64b-5b1faa1dd7f9 pragma: - no-cache strict-transport-security: @@ -294,34 +244,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.38.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "tanchen@microsoft.com", "createdByType": "User", "createdAt": - "2022-07-21T02:19:01.0460759Z", "lastModifiedBy": "tanchen@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-07-21T02:19:01.0460759Z"}, - "properties": {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:49:41.8042663Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:49:41.8042663Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet-connectionString", "scope": null, "vNetSolution": null, - "secretStore": {"keyVaultId": null}}}]}' + "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '1053' + - '1147' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Jul 2022 02:19:34 GMT + - Wed, 14 Dec 2022 09:50:23 GMT expires: - '-1' mise-correlation-id: - - c46d2aad-5aec-4eaf-be2f-4f391a95926b + - cf03255f-3213-47bc-8b01-45cf3009ca07 pragma: - no-cache strict-transport-security: @@ -349,38 +301,40 @@ interactions: Connection: - keep-alive ParameterSetName: - - --id --client-type --store-connstr --secret + - --id --client-type --config-connstr --secret User-Agent: - - AZURECLI/2.38.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "tanchen@microsoft.com", "createdByType": "User", "createdAt": - "2022-07-21T02:19:01.0460759Z", "lastModifiedBy": "tanchen@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-07-21T02:19:01.0460759Z"}, - "properties": {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:49:41.8042663Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:49:41.8042663Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet-connectionString", "scope": null, "vNetSolution": null, - "secretStore": {"keyVaultId": null}}}' + "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '1040' + - '1134' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Jul 2022 02:19:35 GMT + - Wed, 14 Dec 2022 09:50:26 GMT etag: - - '"00008174-0000-0100-0000-62d8b79d0000"' + - '"36009121-0000-0100-0000-63999c3f0000"' expires: - '-1' mise-correlation-id: - - 6d0b930c-bf9f-42c0-ac58-0d00bbf92fd5 + - 1de129ee-c6dc-4464-88ef-7d1ef8e5c560 pragma: - no-cache strict-transport-security: @@ -415,40 +369,42 @@ interactions: Content-Type: - application/json ParameterSetName: - - --id --client-type --store-connstr --secret + - --id --client-type --config-connstr --secret User-Agent: - - AZURECLI/2.38.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "tanchen@microsoft.com", "createdByType": "User", "createdAt": - "2022-07-21T02:19:01.0460759Z", "lastModifiedBy": "tanchen@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-07-21T02:19:36.4489399Z"}, + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:49:41.8042663Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:50:27.416816Z"}, "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "vNetSolution": null, "clientType": "dotnet-connectionString", "secretStore": - {"keyVaultId": null}, "scope": null}}' + {"keyVaultId": null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/86ff8c05-68dd-4281-8d5b-18ceac32c8bc*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/231d8fd9-80df-41ee-8c79-e79bdaccafd5*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1039' + - '1132' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Jul 2022 02:19:36 GMT + - Wed, 14 Dec 2022 09:50:28 GMT etag: - - '"0000a674-0000-0100-0000-62d8b7b80000"' + - '"36003c24-0000-0100-0000-63999c650000"' expires: - '-1' mise-correlation-id: - - 54c3a77d-acbb-4c4b-9761-a8db27054d4a + - 1e7762d4-643c-43b5-9788-11b07df4d9bd pragma: - no-cache strict-transport-security: @@ -474,31 +430,32 @@ interactions: Connection: - keep-alive ParameterSetName: - - --id --client-type --store-connstr --secret + - --id --client-type --config-connstr --secret User-Agent: - - AZURECLI/2.38.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/86ff8c05-68dd-4281-8d5b-18ceac32c8bc*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/231d8fd9-80df-41ee-8c79-e79bdaccafd5*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/86ff8c05-68dd-4281-8d5b-18ceac32c8bc*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", - "name": "86ff8c05-68dd-4281-8d5b-18ceac32c8bc*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/231d8fd9-80df-41ee-8c79-e79bdaccafd5*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", + "name": "231d8fd9-80df-41ee-8c79-e79bdaccafd5*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-07-21T02:19:36.6182672Z", "endTime": - "2022-07-21T02:19:41.899941Z", "properties": {"Message": "Deny public network + "status": "Succeeded", "startTime": "2022-12-14T09:50:28.9839942Z", "endTime": + "2022-12-14T09:50:35.2539476Z", "properties": {"Message": "Deny public network access is set to yes. Please confirm you are using private endpoint connection to access target resource."}}' headers: cache-control: - no-cache content-length: - - '829' + - '830' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Jul 2022 02:20:06 GMT + - Wed, 14 Dec 2022 09:51:00 GMT etag: - - '"00002942-0000-0100-0000-62d8b7bd0000"' + - '"10005db7-0000-0100-0000-63999c6b0000"' expires: - '-1' pragma: @@ -526,38 +483,40 @@ interactions: Connection: - keep-alive ParameterSetName: - - --id --client-type --store-connstr --secret + - --id --client-type --config-connstr --secret User-Agent: - - AZURECLI/2.38.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "tanchen@microsoft.com", "createdByType": "User", "createdAt": - "2022-07-21T02:19:01.0460759Z", "lastModifiedBy": "tanchen@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-07-21T02:19:36.4489399Z"}, - "properties": {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:49:41.8042663Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:50:27.416816Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet-connectionString", "scope": null, "vNetSolution": null, - "secretStore": {"keyVaultId": null}}}' + "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '1040' + - '1133' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Jul 2022 02:20:07 GMT + - Wed, 14 Dec 2022 09:51:00 GMT etag: - - '"0000af74-0000-0100-0000-62d8b7bd0000"' + - '"3600a624-0000-0100-0000-63999c6b0000"' expires: - '-1' mise-correlation-id: - - 6488a068-2e11-4789-8839-1555ea950cc7 + - 057bef77-1ea3-40f0-ba65-914a39cf1234 pragma: - no-cache strict-transport-security: @@ -589,15 +548,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.38.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bdb12937-5749-405f-ac4a-0d946d91a339*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/73bb4965-e589-44e6-9ce1-b862e526f944*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -605,15 +565,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Jul 2022 02:20:12 GMT + - Wed, 14 Dec 2022 09:51:08 GMT etag: - - '"0000cb74-0000-0100-0000-62d8b7dc0000"' + - '"3600d226-0000-0100-0000-63999c8c0000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bdb12937-5749-405f-ac4a-0d946d91a339*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/73bb4965-e589-44e6-9ce1-b862e526f944*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2021-01-01-privatepreview mise-correlation-id: - - 141fda5a-f3a3-4390-a4ff-e85be8929aa4 + - 43c2695f-72b0-428a-b4cd-f96e10337e35 pragma: - no-cache strict-transport-security: @@ -641,16 +601,17 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.38.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.13 (Linux-5.4.0-1074-azure-x86_64-with-glibc2.2.5) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bdb12937-5749-405f-ac4a-0d946d91a339*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/73bb4965-e589-44e6-9ce1-b862e526f944*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bdb12937-5749-405f-ac4a-0d946d91a339*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", - "name": "bdb12937-5749-405f-ac4a-0d946d91a339*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/73bb4965-e589-44e6-9ce1-b862e526f944*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", + "name": "73bb4965-e589-44e6-9ce1-b862e526f944*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-07-21T02:20:12.3230753Z", "endTime": - "2022-07-21T02:20:18.5009251Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T09:51:08.1787382Z", "endTime": + "2022-12-14T09:51:13.2659017Z", "properties": null}' headers: cache-control: - no-cache @@ -659,9 +620,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Jul 2022 02:20:42 GMT + - Wed, 14 Dec 2022 09:51:39 GMT etag: - - '"00003b42-0000-0100-0000-62d8b7e20000"' + - '"100008b8-0000-0100-0000-63999c910000"' expires: - '-1' pragma: @@ -677,4 +638,4 @@ interactions: status: code: 200 message: OK -version: 1 \ No newline at end of file +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_sql_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_sql_e2e.yaml index 9b2e82cdeac..a5b3a412321 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_sql_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_sql_e2e.yaml @@ -11,8 +11,8 @@ interactions: Content-Type: - application/json; charset=utf-8 User-Agent: - - python/3.8.2 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.4 - azure-keyvault/7.0 Azure-SDK-For-Python + - python/3.8.8 (Windows-10-10.0.22621-SP0) msrest/0.7.1 msrest_azure/0.6.4 azure-keyvault/7.0 + Azure-SDK-For-Python accept-language: - en-US method: GET @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:31 GMT + - Wed, 14 Dec 2022 09:51:40 GMT expires: - '-1' pragma: @@ -40,11 +40,11 @@ interactions: x-content-type-options: - nosniff x-ms-keyvault-network-info: - - conn_type=Ipv4;addr=167.220.255.96;act_addr_fam=InterNetwork; + - conn_type=Ipv4;addr=167.220.255.60;act_addr_fam=InterNetwork; x-ms-keyvault-region: - eastus x-ms-keyvault-service-version: - - 1.9.378.1 + - 1.9.640.1 status: code: 200 message: OK @@ -69,38 +69,40 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:28:33.4991261Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:28:33.4991261Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:51:42.2097581Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:51:42.2097581Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "vNetSolution": null, "clientType": "python", "secretStore": {"keyVaultId": - null}, "scope": null}}' + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/59f51a70-34e2-49f3-85c5-a9c95a8e80dd*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0f7423a7-21ae-4a87-9c7a-b0cf722b9815*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1016' + - '1116' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:28:33 GMT + - Wed, 14 Dec 2022 09:51:43 GMT etag: - - '"6a001358-0000-0100-0000-6268d4810000"' + - '"3600e128-0000-0100-0000-63999caf0000"' expires: - '-1' mise-correlation-id: - - 15436b3b-2c24-4403-94d5-e50b3efa1950 + - 1da41d6b-8534-42c9-a5bc-3aaeca243fd7 pragma: - no-cache strict-transport-security: @@ -110,7 +112,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -128,16 +130,17 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/59f51a70-34e2-49f3-85c5-a9c95a8e80dd*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0f7423a7-21ae-4a87-9c7a-b0cf722b9815*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/59f51a70-34e2-49f3-85c5-a9c95a8e80dd*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", - "name": "59f51a70-34e2-49f3-85c5-a9c95a8e80dd*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0f7423a7-21ae-4a87-9c7a-b0cf722b9815*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", + "name": "0f7423a7-21ae-4a87-9c7a-b0cf722b9815*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:28:33.6788172Z", "endTime": - "2022-04-27T05:28:37.9264171Z", "properties": {"message": "Deny public network + "status": "Succeeded", "startTime": "2022-12-14T09:51:43.4386866Z", "endTime": + "2022-12-14T09:51:49.3050463Z", "properties": {"Message": "Deny public network access is set to yes. Please confirm you are using private endpoint connection to access target resource."}}' headers: @@ -148,15 +151,19 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:04 GMT + - Wed, 14 Dec 2022 09:52:14 GMT etag: - - '"14003103-0000-0100-0000-6268d4850000"' + - '"1000a4b8-0000-0100-0000-63999cb50000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff status: @@ -176,37 +183,44 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:51:42.2097581Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:51:42.2097581Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '776' + - '1117' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:05 GMT + - Wed, 14 Dec 2022 09:52:14 GMT etag: - - '"6a002858-0000-0100-0000-6268d4850000"' + - '"36004629-0000-0100-0000-63999cb50000"' expires: - '-1' mise-correlation-id: - - 41b7b83e-d71a-47db-a9d5-9b5228933762 + - f57f808a-2b8a-448f-b5e4-fa73cb639100 pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked vary: - Accept-Encoding x-content-type-options: @@ -230,31 +244,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:51:42.2097581Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:51:42.2097581Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}]}' + {"keyVaultId": null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '789' + - '1130' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:08 GMT + - Wed, 14 Dec 2022 09:52:24 GMT expires: - '-1' mise-correlation-id: - - a7470243-5a50-4ded-a946-26bd0da7e8fd + - a2d13aff-5452-4882-8b5a-6a1db94d2523 pragma: - no-cache strict-transport-security: @@ -262,7 +281,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -284,33 +303,38 @@ interactions: ParameterSetName: - --id --client-type --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:51:42.2097581Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:51:42.2097581Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '776' + - '1117' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:08 GMT + - Wed, 14 Dec 2022 09:52:28 GMT etag: - - '"6a002858-0000-0100-0000-6268d4850000"' + - '"36004629-0000-0100-0000-63999cb50000"' expires: - '-1' mise-correlation-id: - - 58f0843a-06f1-4a48-80f2-58c669588ebb + - f54b727d-4188-41d3-b476-a20c24667a56 pragma: - no-cache strict-transport-security: @@ -318,7 +342,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -347,38 +371,40 @@ interactions: ParameterSetName: - --id --client-type --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:28:33.4991261Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:29:09.80337Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:51:42.2097581Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:52:29.5111599Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": {"keyVaultId": - null}, "scope": null}}' + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/704c0c55-f164-4a9d-98ee-5463cba532e3*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0c37f093-5373-477f-a126-655d9ff5228a*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1014' + - '1116' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:09 GMT + - Wed, 14 Dec 2022 09:52:30 GMT etag: - - '"0200449c-0000-0400-0000-6268d4a60000"' + - '"3600be2b-0000-0100-0000-63999cdf0000"' expires: - '-1' mise-correlation-id: - - c080618d-71ac-4dcf-949f-fafd4226cba8 + - d6e3ed68-6b7e-4c83-ab29-ce9ed967897c pragma: - no-cache strict-transport-security: @@ -388,7 +414,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1199' status: code: 201 message: Created @@ -406,16 +432,17 @@ interactions: ParameterSetName: - --id --client-type --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/704c0c55-f164-4a9d-98ee-5463cba532e3*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0c37f093-5373-477f-a126-655d9ff5228a*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/704c0c55-f164-4a9d-98ee-5463cba532e3*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", - "name": "704c0c55-f164-4a9d-98ee-5463cba532e3*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0c37f093-5373-477f-a126-655d9ff5228a*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", + "name": "0c37f093-5373-477f-a126-655d9ff5228a*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:29:09.9852208Z", "endTime": - "2022-04-27T05:29:15.4650456Z", "properties": {"message": "Deny public network + "status": "Succeeded", "startTime": "2022-12-14T09:52:31.2198125Z", "endTime": + "2022-12-14T09:52:36.5515774Z", "properties": {"Message": "Deny public network access is set to yes. Please confirm you are using private endpoint connection to access target resource."}}' headers: @@ -426,9 +453,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:40 GMT + - Wed, 14 Dec 2022 09:53:01 GMT etag: - - '"14008c03-0000-0100-0000-6268d4ab0000"' + - '"100090b9-0000-0100-0000-63999ce40000"' expires: - '-1' pragma: @@ -458,33 +485,38 @@ interactions: ParameterSetName: - --id --client-type --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:51:42.2097581Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:52:29.5111599Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '776' + - '1117' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:40 GMT + - Wed, 14 Dec 2022 09:53:02 GMT etag: - - '"6a00d958-0000-0100-0000-6268d4ab0000"' + - '"3600122c-0000-0100-0000-63999ce40000"' expires: - '-1' mise-correlation-id: - - 640bc758-eec8-40ad-bed9-1bb4c4c5f7e7 + - c6385eff-0b33-40fb-919d-4ea84fada979 pragma: - no-cache strict-transport-security: @@ -492,7 +524,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -516,9 +548,10 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview response: body: string: '{"configurations": [{"name": "AZURE_SQL_CONNECTIONSTRING", "value": @@ -531,11 +564,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:45 GMT + - Wed, 14 Dec 2022 09:53:10 GMT expires: - '-1' mise-correlation-id: - - 0b74b38b-1f87-40b1-830a-4534b95c23a5 + - 85b1d1e4-c60b-4002-8499-4cc776a72536 pragma: - no-cache strict-transport-security: @@ -543,13 +576,13 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1198' status: code: 200 message: OK @@ -567,33 +600,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:51:42.2097581Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:52:29.5111599Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '776' + - '1117' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:45 GMT + - Wed, 14 Dec 2022 09:53:12 GMT etag: - - '"6a00d958-0000-0100-0000-6268d4ab0000"' + - '"3600122c-0000-0100-0000-63999ce40000"' expires: - '-1' mise-correlation-id: - - b1823680-2cad-4270-83c5-d3a4b2e86fcb + - b4b1233e-eb36-488a-881e-a931412c432a pragma: - no-cache strict-transport-security: @@ -601,7 +639,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -625,15 +663,16 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d56b5e8c-2f94-4948-b208-a6c7652d77ac*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/073008a6-d8df-4a6b-970d-69c842042d22*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -641,13 +680,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:46 GMT + - Wed, 14 Dec 2022 09:53:13 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d56b5e8c-2f94-4948-b208-a6c7652d77ac*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/073008a6-d8df-4a6b-970d-69c842042d22*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2021-01-01-privatepreview mise-correlation-id: - - c560ac1c-498b-4c13-bcd3-5ff8ad08c9cd + - 2f6730dc-d47a-4750-968d-d4e67e424173 pragma: - no-cache strict-transport-security: @@ -657,7 +696,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1198' status: code: 202 message: Accepted @@ -675,32 +714,107 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/073008a6-d8df-4a6b-970d-69c842042d22*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/073008a6-d8df-4a6b-970d-69c842042d22*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", + "name": "073008a6-d8df-4a6b-970d-69c842042d22*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T09:53:13.5346889Z", "endTime": + "2022-12-14T09:53:16.7840298Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target''s network access is validated\",\"Description\":\"Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource.\",\"Result\":2},{\"Name\":\"The configured values + (except username/password) is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T09:53:14.9070726Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:53:15.696196Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network access is validated", "description": + "Deny public network access is set to yes. Please confirm you are using private + endpoint connection to access target resource.", "result": "warning"}, {"name": + "The configured values (except username/password) is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T09:53:14.9070726Z", + "reportEndTimeUtc": "2022-12-14T09:53:15.696196Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '2028' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 09:53:44 GMT + etag: + - '"100053ba-0000-0100-0000-63999d0c0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d56b5e8c-2f94-4948-b208-a6c7652d77ac*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/073008a6-d8df-4a6b-970d-69c842042d22*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d56b5e8c-2f94-4948-b208-a6c7652d77ac*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", - "name": "d56b5e8c-2f94-4948-b208-a6c7652d77ac*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/073008a6-d8df-4a6b-970d-69c842042d22*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", + "name": "073008a6-d8df-4a6b-970d-69c842042d22*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:29:46.5301557Z", "endTime": - "2022-04-27T05:29:49.3628548Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T09:53:13.5346889Z", "endTime": + "2022-12-14T09:53:16.7840298Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The target''s network access is validated\",\"Description\":\"Deny public network access is set to yes. Please confirm you are using private endpoint connection to access target resource.\",\"Result\":2},{\"Name\":\"The configured values - (except username/password) is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-04-27T05:29:47.9985602Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:29:49.2929842Z\",\"SourceId\":null,\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test\",\"AuthType\":4}"}}' + (except username/password) is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T09:53:14.9070726Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:53:15.696196Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network access is validated", "description": + "Deny public network access is set to yes. Please confirm you are using private + endpoint connection to access target resource.", "result": "warning"}, {"name": + "The configured values (except username/password) is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T09:53:14.9070726Z", + "reportEndTimeUtc": "2022-12-14T09:53:15.696196Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' headers: cache-control: - no-cache content-length: - - '1532' + - '2028' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:30:16 GMT + - Wed, 14 Dec 2022 09:53:45 GMT etag: - - '"16003e17-0000-0400-0000-6268d4cd0000"' + - '"100053ba-0000-0100-0000-63999d0c0000"' expires: - '-1' pragma: @@ -730,37 +844,44 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:51:42.2097581Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:52:29.5111599Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Sql/servers/servicelinker-sql/databases/handler-test", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": "servicelinker", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": - {"keyVaultId": null}}}' + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '776' + - '1117' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:30:18 GMT + - Wed, 14 Dec 2022 09:53:46 GMT etag: - - '"6a00d958-0000-0100-0000-6268d4ab0000"' + - '"3600122c-0000-0100-0000-63999ce40000"' expires: - '-1' mise-correlation-id: - - 335673b3-f031-4c0d-b8e3-d8072ecde323 + - 73e21e95-f942-41ac-892f-7ed06a45fc22 pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked vary: - Accept-Encoding x-content-type-options: @@ -786,15 +907,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9188c296-c339-4b03-b63d-40f50a309c12*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a6b8c7c7-3b4c-424f-9153-488b384b5c32*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -802,15 +924,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:30:21 GMT + - Wed, 14 Dec 2022 09:53:53 GMT etag: - - '"6a00865a-0000-0100-0000-6268d4ee0000"' + - '"3600c730-0000-0100-0000-63999d310000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9188c296-c339-4b03-b63d-40f50a309c12*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a6b8c7c7-3b4c-424f-9153-488b384b5c32*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2021-01-01-privatepreview mise-correlation-id: - - 5564b298-f104-43b0-8afc-3c590d3754dc + - 523f91d3-aad8-4b00-a445-a4e353b195c6 pragma: - no-cache strict-transport-security: @@ -820,7 +942,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14999' status: code: 202 message: Accepted @@ -838,16 +960,17 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9188c296-c339-4b03-b63d-40f50a309c12*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a6b8c7c7-3b4c-424f-9153-488b384b5c32*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9188c296-c339-4b03-b63d-40f50a309c12*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", - "name": "9188c296-c339-4b03-b63d-40f50a309c12*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a6b8c7c7-3b4c-424f-9153-488b384b5c32*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", + "name": "a6b8c7c7-3b4c-424f-9153-488b384b5c32*F712114A38F364B5CAB427C8E5BC23507E99B0D32E8EDFB0E4134B38ABF46FB0", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-sql-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:30:22.1332908Z", "endTime": - "2022-04-27T05:30:28.6237256Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T09:53:53.3534873Z", "endTime": + "2022-12-14T09:53:59.5220936Z", "properties": null}' headers: cache-control: - no-cache @@ -856,9 +979,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:30:52 GMT + - Wed, 14 Dec 2022 09:54:24 GMT etag: - - '"14004604-0000-0100-0000-6268d4f40000"' + - '"10001dbb-0000-0100-0000-63999d370000"' expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storageblob_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storageblob_e2e.yaml index f180ccab725..dc4266cd1de 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storageblob_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storageblob_e2e.yaml @@ -19,37 +19,40 @@ interactions: ParameterSetName: - --connection --source-id --target-id --system-identity --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:29:50.0818274Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:29:50.0818274Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "python", "secretStore": - {"keyVaultId": null}, "scope": null}}' + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:54:25.5918571Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:54:25.5918571Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "python", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/983a38bc-d66b-457f-b8db-35acefcd97f4*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3a367537-645e-4e7c-ac0e-e8b2b4b424ab*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '986' + - '1156' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:29:49 GMT + - Wed, 14 Dec 2022 09:54:26 GMT etag: - - '"6a00b659-0000-0100-0000-6268d4ce0000"' + - '"3600d332-0000-0100-0000-63999d530000"' expires: - '-1' mise-correlation-id: - - 818203e6-bee3-4801-b6e4-07cc4d368b1b + - 2f63f186-f55c-436b-a360-8d64d3c08872 pragma: - no-cache strict-transport-security: @@ -59,7 +62,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -77,27 +80,28 @@ interactions: ParameterSetName: - --connection --source-id --target-id --system-identity --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/983a38bc-d66b-457f-b8db-35acefcd97f4*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3a367537-645e-4e7c-ac0e-e8b2b4b424ab*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/983a38bc-d66b-457f-b8db-35acefcd97f4*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", - "name": "983a38bc-d66b-457f-b8db-35acefcd97f4*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3a367537-645e-4e7c-ac0e-e8b2b4b424ab*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", + "name": "3a367537-645e-4e7c-ac0e-e8b2b4b424ab*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:29:50.2527563Z", "endTime": - "2022-04-27T05:29:55.1422487Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T09:54:26.877825Z", "endTime": + "2022-12-14T09:54:37.2037723Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '700' + - '714' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:30:21 GMT + - Wed, 14 Dec 2022 09:54:57 GMT etag: - - '"1400f703-0000-0100-0000-6268d4d30000"' + - '"1000d2bb-0000-0100-0000-63999d5d0000"' expires: - '-1' pragma: @@ -127,32 +131,38 @@ interactions: ParameterSetName: - --connection --source-id --target-id --system-identity --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:54:25.5918571Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:54:25.5918571Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '746' + - '1157' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:30:22 GMT + - Wed, 14 Dec 2022 09:54:58 GMT etag: - - '"6a00d159-0000-0100-0000-6268d4d30000"' + - '"36006933-0000-0100-0000-63999d5d0000"' expires: - '-1' mise-correlation-id: - - 83ff55dc-511f-423f-990a-0ba2eed8ebd9 + - 6a39bc45-f430-4334-b65c-3b7feafbecab pragma: - no-cache strict-transport-security: @@ -160,7 +170,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -182,30 +192,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}]}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:54:25.5918571Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:54:25.5918571Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '759' + - '1170' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:30:25 GMT + - Wed, 14 Dec 2022 09:55:05 GMT expires: - '-1' mise-correlation-id: - - 7f46787e-0959-4b13-8cd4-0dba626d7638 + - b2db68e9-634c-4df9-a21a-e7ad09933387 pragma: - no-cache strict-transport-security: @@ -213,7 +229,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -235,32 +251,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "python", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:54:25.5918571Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:54:25.5918571Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '746' + - '1157' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:30:26 GMT + - Wed, 14 Dec 2022 09:55:07 GMT etag: - - '"6a00d159-0000-0100-0000-6268d4d30000"' + - '"36006933-0000-0100-0000-63999d5d0000"' expires: - '-1' mise-correlation-id: - - 332b480f-f4f5-40df-9f4b-4efba324d680 + - adee4165-2a7f-44ea-b100-6c70ae7fdb6e pragma: - no-cache strict-transport-security: @@ -268,7 +290,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -296,37 +318,40 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:29:50.0818274Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:30:27.9194042Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": - {"keyVaultId": null}, "scope": null}}' + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:54:25.5918571Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:55:08.9887214Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/812be6dc-2df5-4ec9-ac46-c2490d78b4b1*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/220421a7-4ad0-4585-b4c5-56b32c215524*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '986' + - '1156' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:30:27 GMT + - Wed, 14 Dec 2022 09:55:08 GMT etag: - - '"6a00ac5a-0000-0100-0000-6268d4f40000"' + - '"36003d35-0000-0100-0000-63999d7d0000"' expires: - '-1' mise-correlation-id: - - ca1e27ee-f4e9-4bbf-9ea8-345ae0a96392 + - 06a6ff6d-1de9-4ab8-9507-ad195f585cbd pragma: - no-cache strict-transport-security: @@ -336,7 +361,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1198' status: code: 201 message: Created @@ -354,27 +379,28 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/812be6dc-2df5-4ec9-ac46-c2490d78b4b1*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/220421a7-4ad0-4585-b4c5-56b32c215524*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/812be6dc-2df5-4ec9-ac46-c2490d78b4b1*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", - "name": "812be6dc-2df5-4ec9-ac46-c2490d78b4b1*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/220421a7-4ad0-4585-b4c5-56b32c215524*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", + "name": "220421a7-4ad0-4585-b4c5-56b32c215524*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:30:28.104576Z", "endTime": - "2022-04-27T05:30:32.6410255Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T09:55:09.4552208Z", "endTime": + "2022-12-14T09:55:23.8369661Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '699' + - '715' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:30:58 GMT + - Wed, 14 Dec 2022 09:55:40 GMT etag: - - '"14005104-0000-0100-0000-6268d4f80000"' + - '"10009bbc-0000-0100-0000-63999d8b0000"' expires: - '-1' pragma: @@ -404,32 +430,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:54:25.5918571Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:55:08.9887214Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '746' + - '1157' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:30:58 GMT + - Wed, 14 Dec 2022 09:55:41 GMT etag: - - '"6a00d25a-0000-0100-0000-6268d4f80000"' + - '"3600ff35-0000-0100-0000-63999d8b0000"' expires: - '-1' mise-correlation-id: - - 4b1fa2f4-db85-4a1d-a299-65b4401d7873 + - 793cd0af-33c2-47e2-afc2-964ff56b523a pragma: - no-cache strict-transport-security: @@ -437,7 +469,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -461,26 +493,27 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview response: body: - string: '{"configurations": [{"name": "AZURE_STORAGEBLOB_RESOURCEENDPOINT", + string: '{"configurations": [{"name": "AZURE_STORAGEBLOB_TESTCONN_RESOURCEENDPOINT", "value": "https://servicelinkerstorage.blob.core.windows.net/"}]}' headers: cache-control: - no-cache content-length: - - '132' + - '141' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:02 GMT + - Wed, 14 Dec 2022 09:55:48 GMT expires: - '-1' mise-correlation-id: - - 52ed085e-fe5b-4b83-9ed5-c2fb64fa17ed + - ad7d6c55-3e30-47c3-aee3-4a7e43d7c3b2 pragma: - no-cache strict-transport-security: @@ -488,13 +521,13 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1198' status: code: 200 message: OK @@ -512,32 +545,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:54:25.5918571Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:55:08.9887214Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '746' + - '1157' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:04 GMT + - Wed, 14 Dec 2022 09:55:50 GMT etag: - - '"6a00d25a-0000-0100-0000-6268d4f80000"' + - '"3600ff35-0000-0100-0000-63999d8b0000"' expires: - '-1' mise-correlation-id: - - 4f5e758a-ebd7-4aaa-9bb3-7d2942dc317e + - ed204e17-7159-4399-bc21-99c5b1fefe64 pragma: - no-cache strict-transport-security: @@ -545,7 +584,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -569,15 +608,16 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3ae4d1d6-cbfc-4b67-b648-4776e3439c6b*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b0aaace2-4c63-42fe-b7ec-277bc8d18952*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -585,13 +625,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:04 GMT + - Wed, 14 Dec 2022 09:55:51 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3ae4d1d6-cbfc-4b67-b648-4776e3439c6b*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b0aaace2-4c63-42fe-b7ec-277bc8d18952*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2021-01-01-privatepreview mise-correlation-id: - - 9f4df23a-5093-476e-9ef8-8fe3c17f30ce + - e2a04f29-8d95-4857-9ede-0b72b8cc156f pragma: - no-cache strict-transport-security: @@ -601,7 +641,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1198' status: code: 202 message: Accepted @@ -619,32 +659,107 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b0aaace2-4c63-42fe-b7ec-277bc8d18952*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b0aaace2-4c63-42fe-b7ec-277bc8d18952*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", + "name": "b0aaace2-4c63-42fe-b7ec-277bc8d18952*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T09:55:52.5217922Z", "endTime": + "2022-12-14T09:55:56.4894699Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T09:55:53.8630644Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:55:55.3561513Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-14T09:55:53.8630644Z", "reportEndTimeUtc": "2022-12-14T09:55:55.3561513Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' + headers: + cache-control: + - no-cache + content-length: + - '2106' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 09:56:22 GMT + etag: + - '"100038bd-0000-0100-0000-63999dac0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3ae4d1d6-cbfc-4b67-b648-4776e3439c6b*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b0aaace2-4c63-42fe-b7ec-277bc8d18952*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3ae4d1d6-cbfc-4b67-b648-4776e3439c6b*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", - "name": "3ae4d1d6-cbfc-4b67-b648-4776e3439c6b*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b0aaace2-4c63-42fe-b7ec-277bc8d18952*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", + "name": "b0aaace2-4c63-42fe-b7ec-277bc8d18952*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:31:04.6966078Z", "endTime": - "2022-04-27T05:31:07.3809818Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T09:55:52.5217922Z", "endTime": + "2022-12-14T09:55:56.4894699Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-04-27T05:31:06.2355322Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:31:07.2833741Z\",\"SourceId\":null,\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default\",\"AuthType\":0}"}}' + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T09:55:53.8630644Z\",\"ReportEndTimeUtc\":\"2022-12-14T09:55:55.3561513Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-14T09:55:53.8630644Z", "reportEndTimeUtc": "2022-12-14T09:55:55.3561513Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' headers: cache-control: - no-cache content-length: - - '1572' + - '2106' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:35 GMT + - Wed, 14 Dec 2022 09:56:22 GMT etag: - - '"14009b04-0000-0100-0000-6268d51b0000"' + - '"100038bd-0000-0100-0000-63999dac0000"' expires: - '-1' pragma: @@ -674,32 +789,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T09:54:25.5918571Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:55:08.9887214Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '746' + - '1157' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:36 GMT + - Wed, 14 Dec 2022 09:56:24 GMT etag: - - '"6a00d25a-0000-0100-0000-6268d4f80000"' + - '"3600ff35-0000-0100-0000-63999d8b0000"' expires: - '-1' mise-correlation-id: - - 5a92f9d0-c971-44ca-9363-05880fd9351f + - b5286a74-2970-44e3-9fbf-3c9948e0aee4 pragma: - no-cache strict-transport-security: @@ -707,7 +828,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -731,15 +852,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c527a160-1939-4db2-9660-3b98819d8bc6*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4a624149-dc57-42cc-bd11-8c052c22a93d*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -747,15 +869,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:40 GMT + - Wed, 14 Dec 2022 09:56:30 GMT etag: - - '"6a001d5c-0000-0100-0000-6268d53c0000"' + - '"3600453a-0000-0100-0000-63999dce0000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c527a160-1939-4db2-9660-3b98819d8bc6*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4a624149-dc57-42cc-bd11-8c052c22a93d*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2021-01-01-privatepreview mise-correlation-id: - - 45c81ac3-8af6-455b-8fb6-4a3d893239cc + - a60ab03f-7343-416b-b88c-12b91905152f pragma: - no-cache strict-transport-security: @@ -765,7 +887,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14999' status: code: 202 message: Accepted @@ -783,16 +905,17 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c527a160-1939-4db2-9660-3b98819d8bc6*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4a624149-dc57-42cc-bd11-8c052c22a93d*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c527a160-1939-4db2-9660-3b98819d8bc6*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", - "name": "c527a160-1939-4db2-9660-3b98819d8bc6*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4a624149-dc57-42cc-bd11-8c052c22a93d*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", + "name": "4a624149-dc57-42cc-bd11-8c052c22a93d*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:31:40.1822111Z", "endTime": - "2022-04-27T05:31:43.4716022Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T09:56:30.7009095Z", "endTime": + "2022-12-14T09:56:36.1967798Z", "properties": null}' headers: cache-control: - no-cache @@ -801,9 +924,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:10 GMT + - Wed, 14 Dec 2022 09:57:02 GMT etag: - - '"16002326-0000-0400-0000-6268d53f0000"' + - '"1000dfbd-0000-0100-0000-63999dd40000"' expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storageblob_keyvault_ref.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storageblob_keyvault_ref.yaml index 220ca4fd735..b1ae538d9d9 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storageblob_keyvault_ref.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storageblob_keyvault_ref.yaml @@ -13,11 +13,12 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type --vault-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": []}' @@ -29,11 +30,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:30:14 GMT + - Wed, 14 Dec 2022 11:25:49 GMT expires: - '-1' mise-correlation-id: - - 0dabf990-ec64-4e1a-95a5-47d483185725 + - 79493f36-d99e-4b7f-a1b1-4dbed9f83bd8 pragma: - no-cache strict-transport-security: @@ -41,7 +42,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -68,39 +69,41 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type --vault-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_plBh8?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_tUckZ?api-version=2022-11-01-preview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_plBh8", - "name": "keyvault_plBh8", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:30:14.8257872Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:30:14.8257872Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": - null, "scope": null}}' + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_tUckZ", + "name": "keyvault_tUckZ", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T11:25:50.3531615Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T11:25:50.3531615Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": null, + "scope": null, "publicNetworkSolution": null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c46c4112-b319-4e65-b54f-8a755a33e858*0E33608441F72F5B734E916078CD582EC0CC08B6EBCEF0B68F2AA453E15A7F07?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9aaa290d-3542-4f85-804b-66ae0d8d5464*D31BAC5A0F4A0B6E66731B434013F37770403B4D88E7A21D546857F18B8085AE?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '957' + - '1099' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:30:14 GMT + - Wed, 14 Dec 2022 11:25:51 GMT etag: - - '"6a00625a-0000-0100-0000-6268d4e70000"' + - '"37003394-0000-0100-0000-6399b2bf0000"' expires: - '-1' mise-correlation-id: - - 833c8e3e-53b1-4f05-a2cd-232a45cbd2cd + - ac6438eb-704a-48f8-9bae-8745912d81ce pragma: - no-cache strict-transport-security: @@ -110,7 +113,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1196' status: code: 201 message: Created @@ -128,29 +131,30 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type --vault-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c46c4112-b319-4e65-b54f-8a755a33e858*0E33608441F72F5B734E916078CD582EC0CC08B6EBCEF0B68F2AA453E15A7F07?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9aaa290d-3542-4f85-804b-66ae0d8d5464*D31BAC5A0F4A0B6E66731B434013F37770403B4D88E7A21D546857F18B8085AE?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c46c4112-b319-4e65-b54f-8a755a33e858*0E33608441F72F5B734E916078CD582EC0CC08B6EBCEF0B68F2AA453E15A7F07", - "name": "c46c4112-b319-4e65-b54f-8a755a33e858*0E33608441F72F5B734E916078CD582EC0CC08B6EBCEF0B68F2AA453E15A7F07", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_plBh8", - "status": "Succeeded", "startTime": "2022-04-27T05:30:15.0895645Z", "endTime": - "2022-04-27T05:30:24.4031328Z", "properties": {}}' + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9aaa290d-3542-4f85-804b-66ae0d8d5464*D31BAC5A0F4A0B6E66731B434013F37770403B4D88E7A21D546857F18B8085AE", + "name": "9aaa290d-3542-4f85-804b-66ae0d8d5464*D31BAC5A0F4A0B6E66731B434013F37770403B4D88E7A21D546857F18B8085AE", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_tUckZ", + "status": "Succeeded", "startTime": "2022-12-14T11:25:50.6813185Z", "endTime": + "2022-12-14T11:26:06.0726824Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '710' + - '725' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:30:45 GMT + - Wed, 14 Dec 2022 11:26:21 GMT etag: - - '"1600ac19-0000-0400-0000-6268d4f00000"' + - '"11009e15-0000-0100-0000-6399b2ce0000"' expires: - '-1' pragma: @@ -180,34 +184,40 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type --vault-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_plBh8?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_tUckZ?api-version=2022-11-01-preview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_plBh8", - "name": "keyvault_plBh8", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": null}}' + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_tUckZ", + "name": "keyvault_tUckZ", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T11:25:50.3531615Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T11:25:50.3531615Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + null}}' headers: cache-control: - no-cache content-length: - - '717' + - '1100' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:30:45 GMT + - Wed, 14 Dec 2022 11:26:21 GMT etag: - - '"02009d9c-0000-0400-0000-6268d4f00000"' + - '"3700f494-0000-0100-0000-6399b2ce0000"' expires: - '-1' mise-correlation-id: - - c3ed5297-bb26-4f4b-9222-0f91585b9bf8 + - 76519a83-a8d8-421b-9788-e28a39452d8a pragma: - no-cache strict-transport-security: @@ -215,7 +225,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -243,40 +253,42 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type --vault-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:30:46.2166573Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:30:46.2166573Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T11:26:22.9201185Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T11:26:22.9201185Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": null, "secretInfo": null, "authType": "secret"}, "vNetSolution": null, "clientType": - "python", "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}, - "scope": null}}' + "python", "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": null, + "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1de979cd-2059-44c0-95f5-98283616afc9*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5f83f5b5-dde4-4da4-9fb7-174d9e03735f*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1160' + - '1260' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:30:46 GMT + - Wed, 14 Dec 2022 11:26:22 GMT etag: - - '"6a000f5b-0000-0100-0000-6268d5060000"' + - '"3700d195-0000-0100-0000-6399b2df0000"' expires: - '-1' mise-correlation-id: - - f1bb38c9-0999-401d-a830-01ddeefb9f51 + - 0a8b42e5-424c-46ee-a439-2a8afae3dc83 pragma: - no-cache strict-transport-security: @@ -286,7 +298,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1189' + - '1195' status: code: 201 message: Created @@ -304,29 +316,30 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type --vault-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1de979cd-2059-44c0-95f5-98283616afc9*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5f83f5b5-dde4-4da4-9fb7-174d9e03735f*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1de979cd-2059-44c0-95f5-98283616afc9*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784", - "name": "1de979cd-2059-44c0-95f5-98283616afc9*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5f83f5b5-dde4-4da4-9fb7-174d9e03735f*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784", + "name": "5f83f5b5-dde4-4da4-9fb7-174d9e03735f*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:30:46.390268Z", "endTime": - "2022-04-27T05:30:50.6019861Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T11:26:23.2493843Z", "endTime": + "2022-12-14T11:26:30.35965Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '703' + - '717' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:16 GMT + - Wed, 14 Dec 2022 11:26:52 GMT etag: - - '"14007104-0000-0100-0000-6268d50a0000"' + - '"1100f315-0000-0100-0000-6399b2e60000"' expires: - '-1' pragma: @@ -356,34 +369,41 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type --vault-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T11:26:22.9201185Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T11:26:22.9201185Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '920' + - '1283' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:16 GMT + - Wed, 14 Dec 2022 11:26:53 GMT etag: - - '"6a001a5b-0000-0100-0000-6268d50a0000"' + - '"37003396-0000-0100-0000-6399b2e60000"' expires: - '-1' mise-correlation-id: - - 6e12648c-4a8d-43ce-940a-26c3a2de6ffa + - 5d7f361c-95a3-4d3d-b334-e1ec94334079 pragma: - no-cache strict-transport-security: @@ -391,7 +411,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -413,35 +433,47 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: - string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_plBh8", - "name": "keyvault_plBh8", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": null}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_tUckZ", + "name": "keyvault_tUckZ", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T11:25:50.3531615Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T11:25:50.3531615Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + null}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T11:26:22.9201185Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T11:26:22.9201185Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}}}]}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '1652' + - '2398' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:21 GMT + - Wed, 14 Dec 2022 11:27:06 GMT expires: - '-1' mise-correlation-id: - - 4ae87617-bd86-4b8b-94f8-da4a25c0e436 + - cd43a80d-019d-40bf-940e-1f5da1da0819 pragma: - no-cache strict-transport-security: @@ -449,7 +481,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -471,32 +503,39 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T11:26:22.9201185Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T11:26:22.9201185Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '920' + - '1283' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:23 GMT + - Wed, 14 Dec 2022 11:27:08 GMT etag: - - '"6a001a5b-0000-0100-0000-6268d50a0000"' + - '"37003396-0000-0100-0000-6399b2e60000"' expires: - '-1' mise-correlation-id: - - a191603c-8987-426e-a806-70ede572aae9 + - a2684c1b-b595-48b2-8308-f2d003dc7a56 pragma: - no-cache strict-transport-security: @@ -504,7 +543,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -526,32 +565,39 @@ interactions: ParameterSetName: - --id --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T11:26:22.9201185Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T11:26:22.9201185Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '920' + - '1283' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:26 GMT + - Wed, 14 Dec 2022 11:27:12 GMT etag: - - '"6a001a5b-0000-0100-0000-6268d50a0000"' + - '"37003396-0000-0100-0000-6399b2e60000"' expires: - '-1' mise-correlation-id: - - 52435f72-3fcb-4e74-b5f0-b69174278288 + - a303fce6-ca45-4920-8af5-cfab1c774e13 pragma: - no-cache strict-transport-security: @@ -559,7 +605,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -581,37 +627,49 @@ interactions: ParameterSetName: - --id --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: - string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_plBh8", - "name": "keyvault_plBh8", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": null}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_tUckZ", + "name": "keyvault_tUckZ", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T11:25:50.3531615Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T11:25:50.3531615Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + null}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T11:26:22.9201185Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T11:26:22.9201185Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}}}]}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '1652' + - '2398' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:27 GMT + - Wed, 14 Dec 2022 11:27:13 GMT expires: - '-1' mise-correlation-id: - - 5aaf956d-1624-4537-bcc5-64fbf93ca9b4 + - 00ab4f7f-f42a-4bd5-a2e3-83d7b4b68761 pragma: - no-cache strict-transport-security: @@ -619,7 +677,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -647,40 +705,42 @@ interactions: ParameterSetName: - --id --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:30:46.2166573Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:31:29.917519Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T11:26:22.9201185Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T11:27:17.8569316Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": null, "secretInfo": null, "authType": "secret"}, "vNetSolution": null, "clientType": - "python", "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}, - "scope": null}}' + "python", "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": null, + "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/568ba175-97ee-40bf-84a7-e4eac2c4518d*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/103d891a-6529-4ae0-995c-d87eeeb50cb7*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1159' + - '1260' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:29 GMT + - Wed, 14 Dec 2022 11:27:17 GMT etag: - - '"6a00e15b-0000-0100-0000-6268d5320000"' + - '"3700ae98-0000-0100-0000-6399b3160000"' expires: - '-1' mise-correlation-id: - - 74560e68-67d7-40e0-a632-bed47efdc276 + - 9696bb21-e737-4cb8-af12-ca0423d96d87 pragma: - no-cache strict-transport-security: @@ -690,7 +750,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1198' status: code: 201 message: Created @@ -708,29 +768,30 @@ interactions: ParameterSetName: - --id --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/568ba175-97ee-40bf-84a7-e4eac2c4518d*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/103d891a-6529-4ae0-995c-d87eeeb50cb7*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/568ba175-97ee-40bf-84a7-e4eac2c4518d*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784", - "name": "568ba175-97ee-40bf-84a7-e4eac2c4518d*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/103d891a-6529-4ae0-995c-d87eeeb50cb7*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784", + "name": "103d891a-6529-4ae0-995c-d87eeeb50cb7*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:31:30.0931328Z", "endTime": - "2022-04-27T05:31:37.7796334Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T11:27:18.2167709Z", "endTime": + "2022-12-14T11:27:25.8579741Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '704' + - '719' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:00 GMT + - Wed, 14 Dec 2022 11:27:48 GMT etag: - - '"16000625-0000-0400-0000-6268d5390000"' + - '"11009616-0000-0100-0000-6399b31d0000"' expires: - '-1' pragma: @@ -760,34 +821,41 @@ interactions: ParameterSetName: - --id --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T11:26:22.9201185Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T11:27:17.8569316Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '920' + - '1283' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:01 GMT + - Wed, 14 Dec 2022 11:27:49 GMT etag: - - '"0200039d-0000-0400-0000-6268d5390000"' + - '"37001699-0000-0100-0000-6399b31d0000"' expires: - '-1' mise-correlation-id: - - c403e253-f388-492f-bc0f-a2f579335572 + - a8b931e7-8b4b-48b1-aa3b-650619f38ba8 pragma: - no-cache strict-transport-security: @@ -795,7 +863,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -817,32 +885,39 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T11:26:22.9201185Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T11:27:17.8569316Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '920' + - '1283' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:03 GMT + - Wed, 14 Dec 2022 11:27:58 GMT etag: - - '"0200039d-0000-0400-0000-6268d5390000"' + - '"37001699-0000-0100-0000-6399b31d0000"' expires: - '-1' mise-correlation-id: - - 76a63f81-111d-4389-85a6-e43ee5c71886 + - 2c0ab0ea-5744-4002-9ec2-5634b44155b6 pragma: - no-cache strict-transport-security: @@ -850,7 +925,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -872,35 +947,47 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: - string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_plBh8", - "name": "keyvault_plBh8", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": null}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_tUckZ", + "name": "keyvault_tUckZ", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T11:25:50.3531615Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T11:25:50.3531615Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + null}}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T11:26:22.9201185Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T11:27:17.8569316Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref"}}}]}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.KeyVault/vaults/servicelinker-kv-ref", + "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '1652' + - '2398' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:07 GMT + - Wed, 14 Dec 2022 11:28:03 GMT expires: - '-1' mise-correlation-id: - - 2aef926c-9949-47c7-bf59-04d088093f19 + - 339b4afe-933d-4e73-9fb4-a900b99b139c pragma: - no-cache strict-transport-security: @@ -908,7 +995,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -932,15 +1019,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_plBh8?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_tUckZ?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/21037be4-ff93-40b9-9c00-bfc9a092877a*0E33608441F72F5B734E916078CD582EC0CC08B6EBCEF0B68F2AA453E15A7F07?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6f4c3f5d-1fcd-4c49-a05f-bf5eceba67dd*D31BAC5A0F4A0B6E66731B434013F37770403B4D88E7A21D546857F18B8085AE?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -948,15 +1036,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:08 GMT + - Wed, 14 Dec 2022 11:28:05 GMT etag: - - '"02001e9d-0000-0400-0000-6268d5590000"' + - '"37004f9b-0000-0100-0000-6399b3460000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/21037be4-ff93-40b9-9c00-bfc9a092877a*0E33608441F72F5B734E916078CD582EC0CC08B6EBCEF0B68F2AA453E15A7F07?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6f4c3f5d-1fcd-4c49-a05f-bf5eceba67dd*D31BAC5A0F4A0B6E66731B434013F37770403B4D88E7A21D546857F18B8085AE?api-version=2021-01-01-privatepreview mise-correlation-id: - - 8e57a7a6-1964-40f0-ad06-3fd8987350d1 + - c56c2ee2-6e6d-4644-a3b7-018fe5494fa8 pragma: - no-cache strict-transport-security: @@ -966,7 +1054,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14998' status: code: 202 message: Accepted @@ -984,16 +1072,17 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/21037be4-ff93-40b9-9c00-bfc9a092877a*0E33608441F72F5B734E916078CD582EC0CC08B6EBCEF0B68F2AA453E15A7F07?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6f4c3f5d-1fcd-4c49-a05f-bf5eceba67dd*D31BAC5A0F4A0B6E66731B434013F37770403B4D88E7A21D546857F18B8085AE?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/21037be4-ff93-40b9-9c00-bfc9a092877a*0E33608441F72F5B734E916078CD582EC0CC08B6EBCEF0B68F2AA453E15A7F07", - "name": "21037be4-ff93-40b9-9c00-bfc9a092877a*0E33608441F72F5B734E916078CD582EC0CC08B6EBCEF0B68F2AA453E15A7F07", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_plBh8", - "status": "Succeeded", "startTime": "2022-04-27T05:32:09.0792835Z", "endTime": - "2022-04-27T05:32:12.9063167Z", "properties": null}' + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6f4c3f5d-1fcd-4c49-a05f-bf5eceba67dd*D31BAC5A0F4A0B6E66731B434013F37770403B4D88E7A21D546857F18B8085AE", + "name": "6f4c3f5d-1fcd-4c49-a05f-bf5eceba67dd*D31BAC5A0F4A0B6E66731B434013F37770403B4D88E7A21D546857F18B8085AE", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/keyvault_tUckZ", + "status": "Succeeded", "startTime": "2022-12-14T11:28:06.1146532Z", "endTime": + "2022-12-14T11:28:13.3414125Z", "properties": null}' headers: cache-control: - no-cache @@ -1002,9 +1091,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:39 GMT + - Wed, 14 Dec 2022 11:28:37 GMT etag: - - '"14004405-0000-0100-0000-6268d55c0000"' + - '"11006817-0000-0100-0000-6399b34d0000"' expires: - '-1' pragma: @@ -1036,15 +1125,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/64040d6e-cb54-455a-adf4-8d3aea0a05c4*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/99986a4a-4065-44a5-adc6-768d0f38aa02*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -1052,15 +1142,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:41 GMT + - Wed, 14 Dec 2022 11:28:38 GMT etag: - - '"6a00575d-0000-0100-0000-6268d5780000"' + - '"3700229d-0000-0100-0000-6399b3660000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/64040d6e-cb54-455a-adf4-8d3aea0a05c4*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/99986a4a-4065-44a5-adc6-768d0f38aa02*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784?api-version=2021-01-01-privatepreview mise-correlation-id: - - 7fea6b46-52c6-42cc-89af-712835b5925c + - f7d449e6-2b7a-4d27-a305-514e9e17cd62 pragma: - no-cache strict-transport-security: @@ -1070,7 +1160,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted @@ -1088,16 +1178,17 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/64040d6e-cb54-455a-adf4-8d3aea0a05c4*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/99986a4a-4065-44a5-adc6-768d0f38aa02*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/64040d6e-cb54-455a-adf4-8d3aea0a05c4*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784", - "name": "64040d6e-cb54-455a-adf4-8d3aea0a05c4*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/99986a4a-4065-44a5-adc6-768d0f38aa02*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784", + "name": "99986a4a-4065-44a5-adc6-768d0f38aa02*F09BD81F43B313E1A290BB05127BC04AFD66CB05E260329A1CF4AF2AD0532784", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-ref-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:32:40.8920938Z", "endTime": - "2022-04-27T05:32:44.2167737Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T11:28:38.3983622Z", "endTime": + "2022-12-14T11:28:46.5142521Z", "properties": null}' headers: cache-control: - no-cache @@ -1106,9 +1197,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:11 GMT + - Wed, 14 Dec 2022 11:29:09 GMT etag: - - '"14008905-0000-0100-0000-6268d57c0000"' + - '"1100fd17-0000-0100-0000-6399b36e0000"' expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storageblob_vnet.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storageblob_vnet.yaml index 7a9d3944403..98f2675be59 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storageblob_vnet.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storageblob_vnet.yaml @@ -19,40 +19,42 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type --service-endpoint User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:30:31.0095565Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:30:31.0095565Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-06-07T07:28:39.0364796Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:57:03.4203271Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": null, "secretInfo": null, "authType": "secret"}, "vNetSolution": {"type": - "serviceEndpoint"}, "clientType": "python", "secretStore": {"keyVaultId": - null}, "scope": null}}' + "serviceEndpoint", "deleteOrUpdateBehavior": "Default"}, "clientType": "python", + "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}, "scope": + null, "publicNetworkSolution": null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0c2af588-850c-47e9-97eb-f75f44701c44*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f7ed4986-0cd7-492b-a7e5-06872c1d5c39*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1023' + - '1160' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:30:31 GMT + - Wed, 14 Dec 2022 09:57:04 GMT etag: - - '"6a00ce5a-0000-0100-0000-6268d4f80000"' + - '"3600533c-0000-0100-0000-63999df10000"' expires: - '-1' mise-correlation-id: - - 1fbd6e18-e483-4f64-8921-0986706a0e96 + - 38c4c906-b8b3-4f6c-be92-a8706c1e5ea1 pragma: - no-cache strict-transport-security: @@ -62,7 +64,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 201 message: Created @@ -80,29 +82,30 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type --service-endpoint User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0c2af588-850c-47e9-97eb-f75f44701c44*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f7ed4986-0cd7-492b-a7e5-06872c1d5c39*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0c2af588-850c-47e9-97eb-f75f44701c44*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B", - "name": "0c2af588-850c-47e9-97eb-f75f44701c44*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f7ed4986-0cd7-492b-a7e5-06872c1d5c39*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B", + "name": "f7ed4986-0cd7-492b-a7e5-06872c1d5c39*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:30:31.9479418Z", "endTime": - "2022-04-27T05:30:36.5210675Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T09:57:04.7227224Z", "endTime": + "2022-12-14T09:57:11.4266056Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '696' + - '711' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:01 GMT + - Wed, 14 Dec 2022 09:57:35 GMT etag: - - '"1600811f-0000-0400-0000-6268d4fc0000"' + - '"10006cbe-0000-0100-0000-63999df70000"' expires: - '-1' pragma: @@ -132,35 +135,40 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type --service-endpoint User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-06-07T07:28:39.0364796Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:57:03.4203271Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": {"type": "serviceEndpoint"}, "secretStore": {"keyVaultId": - null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": {"type": "serviceEndpoint", "deleteOrUpdateBehavior": + "Default"}, "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '783' + - '1183' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:02 GMT + - Wed, 14 Dec 2022 09:57:35 GMT etag: - - '"0200ab9c-0000-0400-0000-6268d4fc0000"' + - '"3600aa3c-0000-0100-0000-63999df70000"' expires: - '-1' mise-correlation-id: - - 48b7b396-3766-4bca-b8f7-5c831b023d5f + - a6f55f8a-e099-49b8-af97-e63fde2e0578 pragma: - no-cache strict-transport-security: @@ -168,7 +176,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -190,31 +198,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-06-07T07:28:39.0364796Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:57:03.4203271Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": {"type": "serviceEndpoint"}, "secretStore": {"keyVaultId": - null}}}]}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": {"type": "serviceEndpoint", "deleteOrUpdateBehavior": + "Default"}, "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '796' + - '1196' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:06 GMT + - Wed, 14 Dec 2022 09:57:42 GMT expires: - '-1' mise-correlation-id: - - 4569ed3a-eaa5-46a2-80db-a171c49274a9 + - 4f29640b-3b40-48a4-88b5-739916465400 pragma: - no-cache strict-transport-security: @@ -222,7 +235,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -244,33 +257,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-06-07T07:28:39.0364796Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:57:03.4203271Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": {"type": "serviceEndpoint"}, "secretStore": {"keyVaultId": - null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": {"type": "serviceEndpoint", "deleteOrUpdateBehavior": + "Default"}, "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '783' + - '1183' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:09 GMT + - Wed, 14 Dec 2022 09:57:44 GMT etag: - - '"0200ab9c-0000-0400-0000-6268d4fc0000"' + - '"3600aa3c-0000-0100-0000-63999df70000"' expires: - '-1' mise-correlation-id: - - ca1aab9d-7b5f-47c2-aa30-3b28b38d15a6 + - e612b480-4681-4769-9d58-c86d89a703d9 pragma: - no-cache strict-transport-security: @@ -278,7 +296,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -300,33 +318,38 @@ interactions: ParameterSetName: - --id --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-06-07T07:28:39.0364796Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:57:03.4203271Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": {"type": "serviceEndpoint"}, "secretStore": {"keyVaultId": - null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": {"type": "serviceEndpoint", "deleteOrUpdateBehavior": + "Default"}, "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '783' + - '1183' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:13 GMT + - Wed, 14 Dec 2022 09:57:49 GMT etag: - - '"0200ab9c-0000-0400-0000-6268d4fc0000"' + - '"3600aa3c-0000-0100-0000-63999df70000"' expires: - '-1' mise-correlation-id: - - b2f8cf01-1e33-4a78-b589-f6e366644805 + - 4646ad14-8ced-462c-8046-e950ee55d738 pragma: - no-cache strict-transport-security: @@ -334,7 +357,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -345,7 +368,8 @@ interactions: - request: body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default"}, "authInfo": {"authType": "secret"}, "clientType": "python", "vNetSolution": - {"type": "serviceEndpoint"}, "secretStore": {}}}' + {"type": "serviceEndpoint", "deleteOrUpdateBehavior": "Default"}, "secretStore": + {}}}' headers: Accept: - application/json @@ -356,44 +380,46 @@ interactions: Connection: - keep-alive Content-Length: - - '377' + - '414' Content-Type: - application/json ParameterSetName: - --id --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:30:31.0095565Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:31:14.1050269Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-06-07T07:28:39.0364796Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:57:51.3658169Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": null, "secretInfo": null, "authType": "secret"}, "vNetSolution": {"type": - "serviceEndpoint"}, "clientType": "python", "secretStore": {"keyVaultId": - null}, "scope": null}}' + "serviceEndpoint", "deleteOrUpdateBehavior": "Default"}, "clientType": "python", + "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}, "scope": + null, "publicNetworkSolution": null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d8c70b5f-cb68-44bd-b66e-08795f3b73f9*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/19b8e9d9-ebc0-406b-9f21-8ef9fc9ebfbc*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1023' + - '1160' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:14 GMT + - Wed, 14 Dec 2022 09:57:51 GMT etag: - - '"6a00985b-0000-0100-0000-6268d5220000"' + - '"3600163f-0000-0100-0000-63999e1f0000"' expires: - '-1' mise-correlation-id: - - b4c0046f-907f-4cec-90d1-e1bb78b45150 + - 4bc63ae3-143c-4ae1-b206-d43cbb3ebc07 pragma: - no-cache strict-transport-security: @@ -403,7 +429,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 201 message: Created @@ -421,27 +447,28 @@ interactions: ParameterSetName: - --id --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d8c70b5f-cb68-44bd-b66e-08795f3b73f9*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/19b8e9d9-ebc0-406b-9f21-8ef9fc9ebfbc*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d8c70b5f-cb68-44bd-b66e-08795f3b73f9*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B", - "name": "d8c70b5f-cb68-44bd-b66e-08795f3b73f9*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/19b8e9d9-ebc0-406b-9f21-8ef9fc9ebfbc*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B", + "name": "19b8e9d9-ebc0-406b-9f21-8ef9fc9ebfbc*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:31:14.2900687Z", "endTime": - "2022-04-27T05:31:20.3965209Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T09:57:51.787043Z", "endTime": + "2022-12-14T09:57:57.7173086Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '696' + - '710' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:44 GMT + - Wed, 14 Dec 2022 09:58:22 GMT etag: - - '"1600dc21-0000-0400-0000-6268d5280000"' + - '"10002fbf-0000-0100-0000-63999e250000"' expires: - '-1' pragma: @@ -471,33 +498,38 @@ interactions: ParameterSetName: - --id --secret User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-06-07T07:28:39.0364796Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:57:51.3658169Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": {"type": "serviceEndpoint"}, "secretStore": {"keyVaultId": - null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": {"type": "serviceEndpoint", "deleteOrUpdateBehavior": + "Default"}, "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '783' + - '1183' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:45 GMT + - Wed, 14 Dec 2022 09:58:23 GMT etag: - - '"0200ef9c-0000-0400-0000-6268d5280000"' + - '"3600733f-0000-0100-0000-63999e250000"' expires: - '-1' mise-correlation-id: - - 3f895856-2c3d-44c0-9ee2-14819f97e83d + - f0f053e1-d80c-4257-9753-62fe7a9fd626 pragma: - no-cache strict-transport-security: @@ -505,7 +537,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -527,33 +559,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-06-07T07:28:39.0364796Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:57:51.3658169Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": {"type": "serviceEndpoint"}, "secretStore": {"keyVaultId": - null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": {"type": "serviceEndpoint", "deleteOrUpdateBehavior": + "Default"}, "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '783' + - '1183' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:49 GMT + - Wed, 14 Dec 2022 09:58:28 GMT etag: - - '"0200ef9c-0000-0400-0000-6268d5280000"' + - '"3600733f-0000-0100-0000-63999e250000"' expires: - '-1' mise-correlation-id: - - 7f8abc5d-a21a-4135-b2eb-dcefa1e5fc8c + - e3263b50-a4cf-4234-8fa2-0d311e705322 pragma: - no-cache strict-transport-security: @@ -561,7 +598,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -583,33 +620,38 @@ interactions: ParameterSetName: - --id --secret --service-endpoint User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-06-07T07:28:39.0364796Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:57:51.3658169Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": {"type": "serviceEndpoint"}, "secretStore": {"keyVaultId": - null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": {"type": "serviceEndpoint", "deleteOrUpdateBehavior": + "Default"}, "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '783' + - '1183' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:53 GMT + - Wed, 14 Dec 2022 09:58:36 GMT etag: - - '"0200ef9c-0000-0400-0000-6268d5280000"' + - '"3600733f-0000-0100-0000-63999e250000"' expires: - '-1' mise-correlation-id: - - 02996e99-db72-4af7-b12b-288a8d79c5ea + - 248a6289-01d8-4c26-a313-2e4efd7f978f pragma: - no-cache strict-transport-security: @@ -617,7 +659,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -644,37 +686,39 @@ interactions: ParameterSetName: - --id --secret --service-endpoint User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:30:31.0095565Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:31:53.6635984Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-06-07T07:28:39.0364796Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:58:37.273267Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": null, "secretInfo": null, "authType": "secret"}, "vNetSolution": null, "clientType": - "python", "secretStore": {"keyVaultId": null}, "scope": null}}' + "python", "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}, + "scope": null, "publicNetworkSolution": null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/775aba8f-f5ec-4920-a9a7-afb4422bb363*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/08b553d9-340c-4c23-b8fe-a6f5782bc317*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1000' + - '1099' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:53 GMT + - Wed, 14 Dec 2022 09:58:38 GMT etag: - - '"0200189d-0000-0400-0000-6268d54a0000"' + - '"3600f341-0000-0100-0000-63999e4e0000"' expires: - '-1' mise-correlation-id: - - 1f55246b-974c-47a2-81b2-c1c12fbfc689 + - 4dc1e6bc-0925-40c9-b062-a28045c12880 pragma: - no-cache strict-transport-security: @@ -684,7 +728,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1199' status: code: 201 message: Created @@ -702,27 +746,28 @@ interactions: ParameterSetName: - --id --secret --service-endpoint User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/775aba8f-f5ec-4920-a9a7-afb4422bb363*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/08b553d9-340c-4c23-b8fe-a6f5782bc317*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/775aba8f-f5ec-4920-a9a7-afb4422bb363*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B", - "name": "775aba8f-f5ec-4920-a9a7-afb4422bb363*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/08b553d9-340c-4c23-b8fe-a6f5782bc317*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B", + "name": "08b553d9-340c-4c23-b8fe-a6f5782bc317*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:31:53.8709802Z", "endTime": - "2022-04-27T05:31:57.687134Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T09:58:38.8631832Z", "endTime": + "2022-12-14T09:58:44.7889883Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '695' + - '711' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:24 GMT + - Wed, 14 Dec 2022 09:59:10 GMT etag: - - '"16002b29-0000-0400-0000-6268d54d0000"' + - '"10000ac0-0000-0100-0000-63999e540000"' expires: - '-1' pragma: @@ -752,32 +797,38 @@ interactions: ParameterSetName: - --id --secret --service-endpoint User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-06-07T07:28:39.0364796Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:58:37.273267Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '760' + - '1122' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:25 GMT + - Wed, 14 Dec 2022 09:59:10 GMT etag: - - '"02001a9d-0000-0400-0000-6268d54d0000"' + - '"36006342-0000-0100-0000-63999e540000"' expires: - '-1' mise-correlation-id: - - 9fffd893-da39-4d2b-b443-ee5e752211d1 + - 9864fafe-5948-41fa-84c9-de2818c5a56e pragma: - no-cache strict-transport-security: @@ -785,7 +836,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -807,32 +858,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-06-07T07:28:39.0364796Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:58:37.273267Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '760' + - '1122' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:28 GMT + - Wed, 14 Dec 2022 09:59:18 GMT etag: - - '"02001a9d-0000-0400-0000-6268d54d0000"' + - '"36006342-0000-0100-0000-63999e540000"' expires: - '-1' mise-correlation-id: - - 859be325-ead2-44fd-92e2-b23fe5c10b32 + - 96254d8c-0556-4fdf-a912-7e95d2c87454 pragma: - no-cache strict-transport-security: @@ -840,7 +897,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -862,30 +919,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-06-07T07:28:39.0364796Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T09:58:37.273267Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}]}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '773' + - '1135' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:33 GMT + - Wed, 14 Dec 2022 09:59:26 GMT expires: - '-1' mise-correlation-id: - - 62e59f6d-a699-4406-af30-8a291d32508b + - bc40b0d1-1211-4178-833e-5ce9e5568429 pragma: - no-cache strict-transport-security: @@ -893,7 +956,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -917,15 +980,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d56af618-7abb-4ba9-ad92-0ef41024b537*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/80d97387-e0de-4d7c-a610-a045065c5c5a*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -933,15 +997,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:33 GMT + - Wed, 14 Dec 2022 09:59:29 GMT etag: - - '"6a002a5d-0000-0100-0000-6268d5710000"' + - '"36002045-0000-0100-0000-63999e810000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d56af618-7abb-4ba9-ad92-0ef41024b537*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/80d97387-e0de-4d7c-a610-a045065c5c5a*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B?api-version=2021-01-01-privatepreview mise-correlation-id: - - a6c8e102-112b-47db-89c4-3601fc03ddb7 + - 83a25920-fc12-4ff2-9054-f5993bfd6ba9 pragma: - no-cache strict-transport-security: @@ -969,27 +1033,28 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d56af618-7abb-4ba9-ad92-0ef41024b537*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/80d97387-e0de-4d7c-a610-a045065c5c5a*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d56af618-7abb-4ba9-ad92-0ef41024b537*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B", - "name": "d56af618-7abb-4ba9-ad92-0ef41024b537*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/80d97387-e0de-4d7c-a610-a045065c5c5a*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B", + "name": "80d97387-e0de-4d7c-a610-a045065c5c5a*2E170346A0BB5231265D08806C436E8145AF58AE88403CC8FF01C2787BB2584B", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storage-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:32:33.6305128Z", "endTime": - "2022-04-27T05:32:37.0436739Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T09:59:29.253687Z", "endTime": + "2022-12-14T09:59:34.4185279Z", "properties": null}' headers: cache-control: - no-cache content-length: - - '698' + - '697' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:04 GMT + - Wed, 14 Dec 2022 10:00:00 GMT etag: - - '"14007905-0000-0100-0000-6268d5750000"' + - '"1000cfc0-0000-0100-0000-63999e860000"' expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storageblob_vnet_pe.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storageblob_vnet_pe.yaml index dceb56407b8..f3f83ac609b 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storageblob_vnet_pe.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storageblob_vnet_pe.yaml @@ -19,40 +19,42 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type --private-endpoint User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": - "2022-06-07T08:15:26.6277137Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-06-07T08:15:26.6277137Z"}, + "2022-12-14T10:00:01.9165816Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:00:01.9165816Z"}, "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": null, "secretInfo": null, "authType": "secret"}, "vNetSolution": {"type": - "privateLink"}, "clientType": "python", "secretStore": {"keyVaultId": null}, - "scope": null}}' + "privateLink", "deleteOrUpdateBehavior": "Default"}, "clientType": "python", + "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}, "scope": + null, "publicNetworkSolution": null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/223db89f-b345-4c14-a98a-a5d7cd7065a0*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/92dacd79-0ddb-42d9-8b8b-275c06d4171f*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1041' + - '1164' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 08:15:28 GMT + - Wed, 14 Dec 2022 10:00:04 GMT etag: - - '"ab030b4b-0000-0200-0000-629f09200000"' + - '"36003947-0000-0100-0000-63999ea40000"' expires: - '-1' mise-correlation-id: - - 31234e3e-acc6-4350-845c-2f8d6f333850 + - a9e924da-a017-4dbb-b410-1df328a2076b pragma: - no-cache strict-transport-security: @@ -80,29 +82,30 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type --private-endpoint User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/223db89f-b345-4c14-a98a-a5d7cd7065a0*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/92dacd79-0ddb-42d9-8b8b-275c06d4171f*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/223db89f-b345-4c14-a98a-a5d7cd7065a0*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", - "name": "223db89f-b345-4c14-a98a-a5d7cd7065a0*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/92dacd79-0ddb-42d9-8b8b-275c06d4171f*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", + "name": "92dacd79-0ddb-42d9-8b8b-275c06d4171f*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-06-07T08:15:27.9412123Z", "endTime": - "2022-06-07T08:15:32.9673062Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T10:00:03.8872814Z", "endTime": + "2022-12-14T10:00:24.6455941Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '700' + - '715' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 08:15:58 GMT + - Wed, 14 Dec 2022 10:00:34 GMT etag: - - '"0e03a43d-0000-0400-0000-629f09240000"' + - '"1000a1c1-0000-0100-0000-63999eb80000"' expires: - '-1' pragma: @@ -132,35 +135,40 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type --private-endpoint User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) x-ms-serviceconnector-user-token: - hidden method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:00:01.9165816Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:00:01.9165816Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": {"type": "privateLink"}, "secretStore": {"keyVaultId": - null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": {"type": "privateLink", "deleteOrUpdateBehavior": + "Default"}, "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '787' + - '1187' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 08:15:59 GMT + - Wed, 14 Dec 2022 10:00:37 GMT etag: - - '"17008bac-0000-0400-0000-629f09250000"' + - '"36009348-0000-0100-0000-63999eb80000"' expires: - '-1' mise-correlation-id: - - 1dfac614-7b50-4838-9ab3-887fb9246c88 + - fb3e2bc6-3f90-44e9-94ab-7e6d946c8370 pragma: - no-cache strict-transport-security: @@ -168,7 +176,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -190,31 +198,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:00:01.9165816Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:00:01.9165816Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": {"type": "privateLink"}, "secretStore": {"keyVaultId": - null}}}]}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": {"type": "privateLink", "deleteOrUpdateBehavior": + "Default"}, "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '800' + - '1200' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 08:16:10 GMT + - Wed, 14 Dec 2022 10:00:42 GMT expires: - '-1' mise-correlation-id: - - e79093a1-9918-4b43-97cf-529b57694e65 + - a8128b1a-31ff-4a91-a870-769c053db6e3 pragma: - no-cache strict-transport-security: @@ -222,7 +235,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -244,33 +257,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:00:01.9165816Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:00:01.9165816Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": {"type": "privateLink"}, "secretStore": {"keyVaultId": - null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": {"type": "privateLink", "deleteOrUpdateBehavior": + "Default"}, "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '787' + - '1187' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 08:16:11 GMT + - Wed, 14 Dec 2022 10:00:46 GMT etag: - - '"17008bac-0000-0400-0000-629f09250000"' + - '"36009348-0000-0100-0000-63999eb80000"' expires: - '-1' mise-correlation-id: - - d1a0bfdc-6769-4260-9e35-c3db97bf7003 + - 1f5e68d3-2524-4717-9413-d1136855608b pragma: - no-cache strict-transport-security: @@ -278,7 +296,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -300,33 +318,38 @@ interactions: ParameterSetName: - --id --secret User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:00:01.9165816Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:00:01.9165816Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": {"type": "privateLink"}, "secretStore": {"keyVaultId": - null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": {"type": "privateLink", "deleteOrUpdateBehavior": + "Default"}, "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '787' + - '1187' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 08:16:20 GMT + - Wed, 14 Dec 2022 10:00:53 GMT etag: - - '"17008bac-0000-0400-0000-629f09250000"' + - '"36009348-0000-0100-0000-63999eb80000"' expires: - '-1' mise-correlation-id: - - dbede812-64a5-4233-9f0e-290f6a3e9940 + - 94eaaed1-f111-4559-b750-5d6cd83d7d5d pragma: - no-cache strict-transport-security: @@ -334,7 +357,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -345,7 +368,8 @@ interactions: - request: body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default"}, "authInfo": {"authType": "secret"}, "clientType": "python", "vNetSolution": - {"type": "privateLink"}, "secretStore": {}}}' + {"type": "privateLink", "deleteOrUpdateBehavior": "Default"}, "secretStore": + {}}}' headers: Accept: - application/json @@ -356,44 +380,46 @@ interactions: Connection: - keep-alive Content-Length: - - '377' + - '414' Content-Type: - application/json ParameterSetName: - --id --secret User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": - "2022-06-07T08:15:26.6277137Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-06-07T08:16:21.9523482Z"}, + "2022-12-14T10:00:01.9165816Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:00:54.7263923Z"}, "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": null, "secretInfo": null, "authType": "secret"}, "vNetSolution": {"type": - "privateLink"}, "clientType": "python", "secretStore": {"keyVaultId": null}, - "scope": null}}' + "privateLink", "deleteOrUpdateBehavior": "Default"}, "clientType": "python", + "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}, "scope": + null, "publicNetworkSolution": null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/cc9642b7-af3e-4996-bb23-32422e26eecb*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c034733-0b00-40cc-8a3d-c324ce3d6dd4*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1041' + - '1164' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 08:16:21 GMT + - Wed, 14 Dec 2022 10:00:55 GMT etag: - - '"ab03544b-0000-0200-0000-629f09560000"' + - '"36003f4a-0000-0100-0000-63999ed70000"' expires: - '-1' mise-correlation-id: - - 4912725c-aa59-4a47-a33a-7c3888a691df + - 1dbd0be4-34a1-41f2-bd77-2765bf1c9f50 pragma: - no-cache strict-transport-security: @@ -421,27 +447,28 @@ interactions: ParameterSetName: - --id --secret User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/cc9642b7-af3e-4996-bb23-32422e26eecb*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c034733-0b00-40cc-8a3d-c324ce3d6dd4*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/cc9642b7-af3e-4996-bb23-32422e26eecb*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", - "name": "cc9642b7-af3e-4996-bb23-32422e26eecb*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c034733-0b00-40cc-8a3d-c324ce3d6dd4*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", + "name": "7c034733-0b00-40cc-8a3d-c324ce3d6dd4*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-06-07T08:16:22.3454484Z", "endTime": - "2022-06-07T08:16:27.6079443Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T10:00:55.1427511Z", "endTime": + "2022-12-14T10:01:00.71048Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '700' + - '713' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 08:16:53 GMT + - Wed, 14 Dec 2022 10:01:26 GMT etag: - - '"1100dbe7-0000-0100-0000-629f095b0000"' + - '"100033c2-0000-0100-0000-63999edc0000"' expires: - '-1' pragma: @@ -471,33 +498,38 @@ interactions: ParameterSetName: - --id --secret User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:00:01.9165816Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:00:54.7263923Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": {"type": "privateLink"}, "secretStore": {"keyVaultId": - null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": {"type": "privateLink", "deleteOrUpdateBehavior": + "Default"}, "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '787' + - '1187' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 08:16:55 GMT + - Wed, 14 Dec 2022 10:01:27 GMT etag: - - '"9c009720-0000-0100-0000-629f095b0000"' + - '"3600a34a-0000-0100-0000-63999edc0000"' expires: - '-1' mise-correlation-id: - - d1da051c-4192-4876-b2aa-bfa9887d647d + - b3943a1a-c328-4aad-a7cb-8ff6cb86300f pragma: - no-cache strict-transport-security: @@ -505,7 +537,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -527,33 +559,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:00:01.9165816Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:00:54.7263923Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": {"type": "privateLink"}, "secretStore": {"keyVaultId": - null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": {"type": "privateLink", "deleteOrUpdateBehavior": + "Default"}, "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '787' + - '1187' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 08:17:02 GMT + - Wed, 14 Dec 2022 10:01:32 GMT etag: - - '"9c009720-0000-0100-0000-629f095b0000"' + - '"3600a34a-0000-0100-0000-63999edc0000"' expires: - '-1' mise-correlation-id: - - 5f0a0233-f760-4170-91c0-f9f2c61cf676 + - 1f7db531-e2ef-4832-8fa5-0b40987ab6a3 pragma: - no-cache strict-transport-security: @@ -561,7 +598,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -583,33 +620,38 @@ interactions: ParameterSetName: - --id --secret --private-endpoint User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:00:01.9165816Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:00:54.7263923Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": {"type": "privateLink"}, "secretStore": {"keyVaultId": - null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": {"type": "privateLink", "deleteOrUpdateBehavior": + "Default"}, "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '787' + - '1187' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 08:17:10 GMT + - Wed, 14 Dec 2022 10:01:40 GMT etag: - - '"9c009720-0000-0100-0000-629f095b0000"' + - '"3600a34a-0000-0100-0000-63999edc0000"' expires: - '-1' mise-correlation-id: - - 4ac62bf1-eaa1-42cd-9771-8c2498bfdd3c + - 34ab46b0-b9b3-4d11-b11c-9a95d21058ea pragma: - no-cache strict-transport-security: @@ -617,7 +659,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -644,37 +686,39 @@ interactions: ParameterSetName: - --id --secret --private-endpoint User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": - "2022-06-07T08:15:26.6277137Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-06-07T08:17:11.6191122Z"}, + "2022-12-14T10:00:01.9165816Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:01:42.103673Z"}, "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": null, "secretInfo": null, "authType": "secret"}, "vNetSolution": null, "clientType": - "python", "secretStore": {"keyVaultId": null}, "scope": null}}' + "python", "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}, + "scope": null, "publicNetworkSolution": null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/111ec2dd-e623-453a-87a1-1de1b96d6c19*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/39bda94b-b168-4e9c-8f0b-61207ec7872f*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1022' + - '1107' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 08:17:12 GMT + - Wed, 14 Dec 2022 10:01:42 GMT etag: - - '"ab038d4b-0000-0200-0000-629f09880000"' + - '"3600194d-0000-0100-0000-63999f060000"' expires: - '-1' mise-correlation-id: - - e625ebc9-93cd-44a5-9fea-bf7ff3edba83 + - 39b0f75e-7e4f-41c9-8de3-017bcd1fb1f3 pragma: - no-cache strict-transport-security: @@ -702,27 +746,28 @@ interactions: ParameterSetName: - --id --secret --private-endpoint User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/111ec2dd-e623-453a-87a1-1de1b96d6c19*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/39bda94b-b168-4e9c-8f0b-61207ec7872f*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/111ec2dd-e623-453a-87a1-1de1b96d6c19*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", - "name": "111ec2dd-e623-453a-87a1-1de1b96d6c19*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/39bda94b-b168-4e9c-8f0b-61207ec7872f*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", + "name": "39bda94b-b168-4e9c-8f0b-61207ec7872f*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-06-07T08:17:12.063928Z", "endTime": - "2022-06-07T08:17:16.8990916Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T10:01:42.5052143Z", "endTime": + "2022-12-14T10:01:48.4897066Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '699' + - '715' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 08:17:42 GMT + - Wed, 14 Dec 2022 10:02:13 GMT etag: - - '"1100f4e7-0000-0100-0000-629f098c0000"' + - '"1000ffc2-0000-0100-0000-63999f0c0000"' expires: - '-1' pragma: @@ -752,32 +797,38 @@ interactions: ParameterSetName: - --id --secret --private-endpoint User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:00:01.9165816Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:01:42.103673Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '768' + - '1130' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 08:17:42 GMT + - Wed, 14 Dec 2022 10:02:14 GMT etag: - - '"9c001321-0000-0100-0000-629f098c0000"' + - '"3600714d-0000-0100-0000-63999f0c0000"' expires: - '-1' mise-correlation-id: - - b1206364-83c0-4125-854a-bd5beb7b3b70 + - 67163d62-dfea-4874-8de3-b33b97c9990a pragma: - no-cache strict-transport-security: @@ -785,7 +836,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -807,36 +858,44 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:00:01.9165816Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:01:42.103673Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '768' + - '1130' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 08:17:56 GMT + - Wed, 14 Dec 2022 10:02:19 GMT etag: - - '"9c001321-0000-0100-0000-629f098c0000"' + - '"3600714d-0000-0100-0000-63999f0c0000"' expires: - '-1' mise-correlation-id: - - 02fb4773-6eec-4db7-88ae-513e1a8847df + - 4911406f-a185-48e5-83c4-c4fb12098bf4 pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked vary: - Accept-Encoding x-content-type-options: @@ -860,30 +919,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:00:01.9165816Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:01:42.103673Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerteststorage/blobServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}]}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '781' + - '1143' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 08:18:02 GMT + - Wed, 14 Dec 2022 10:02:27 GMT expires: - '-1' mise-correlation-id: - - 254418c5-e6f6-4b93-968e-e698e3ab8b9e + - 4b9ddffb-f032-4dd5-9ee7-55a4ded11d9d pragma: - no-cache strict-transport-security: @@ -891,7 +956,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -915,15 +980,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fb0adf4f-4045-44c9-b781-5080e8581434*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fa034601-b637-4cdc-b44d-34d0b8602b8d*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -931,15 +997,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 08:18:06 GMT + - Wed, 14 Dec 2022 10:02:30 GMT etag: - - '"ab03c84b-0000-0200-0000-629f09be0000"' + - '"3600db4f-0000-0100-0000-63999f360000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fb0adf4f-4045-44c9-b781-5080e8581434*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fa034601-b637-4cdc-b44d-34d0b8602b8d*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2021-01-01-privatepreview mise-correlation-id: - - a17cc6a3-7ccc-42e8-aff6-02b6be6844cd + - 668c441e-ff7f-4399-9d41-9bb0ff0ec286 pragma: - no-cache strict-transport-security: @@ -967,27 +1033,28 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.37.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.8 (Windows-10-10.0.22000-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fb0adf4f-4045-44c9-b781-5080e8581434*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fa034601-b637-4cdc-b44d-34d0b8602b8d*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fb0adf4f-4045-44c9-b781-5080e8581434*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", - "name": "fb0adf4f-4045-44c9-b781-5080e8581434*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fa034601-b637-4cdc-b44d-34d0b8602b8d*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", + "name": "fa034601-b637-4cdc-b44d-34d0b8602b8d*FE7F78E8B9CFFDB9E710A6821DFC983C3CC929A45BC45B6216A1A9AB91FECA7C", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storageblob-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-06-07T08:18:06.33025Z", "endTime": - "2022-06-07T08:18:09.9892972Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T10:02:30.5352775Z", "endTime": + "2022-12-14T10:02:35.9150454Z", "properties": null}' headers: cache-control: - no-cache content-length: - - '700' + - '702' content-type: - application/json; charset=utf-8 date: - - Tue, 07 Jun 2022 08:18:36 GMT + - Wed, 14 Dec 2022 10:03:01 GMT etag: - - '"11000ee8-0000-0100-0000-629f09c10000"' + - '"1000cac3-0000-0100-0000-63999f3b0000"' expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storagefile_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storagefile_e2e.yaml index e3a2d034430..72598e6ffa6 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storagefile_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storagefile_e2e.yaml @@ -18,37 +18,39 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:30:53.845085Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:30:53.845085Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:03:03.2750258Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:03:03.2750258Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": null, "secretInfo": null, "authType": "secret"}, "vNetSolution": null, "clientType": - "python", "secretStore": {"keyVaultId": null}, "scope": null}}' + "python", "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}, + "scope": null, "publicNetworkSolution": null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1e6567cd-1b9f-4c6e-99b2-67c8a2cf21bb*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f083ea5e-3a90-45a5-9824-93bbc8079ad3*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1002' + - '1104' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:30:54 GMT + - Wed, 14 Dec 2022 10:03:05 GMT etag: - - '"0200c39c-0000-0400-0000-6268d50e0000"' + - '"3600ed51-0000-0100-0000-63999f590000"' expires: - '-1' mise-correlation-id: - - 652713b7-332e-4d9a-b8a8-93da0e3f7b01 + - 4b12b352-b490-4b53-ab3c-5d7e4e18d735 pragma: - no-cache strict-transport-security: @@ -58,7 +60,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 201 message: Created @@ -76,27 +78,28 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1e6567cd-1b9f-4c6e-99b2-67c8a2cf21bb*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f083ea5e-3a90-45a5-9824-93bbc8079ad3*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1e6567cd-1b9f-4c6e-99b2-67c8a2cf21bb*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD", - "name": "1e6567cd-1b9f-4c6e-99b2-67c8a2cf21bb*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f083ea5e-3a90-45a5-9824-93bbc8079ad3*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD", + "name": "f083ea5e-3a90-45a5-9824-93bbc8079ad3*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:30:54.1064088Z", "endTime": - "2022-04-27T05:30:58.0291734Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T10:03:05.6767806Z", "endTime": + "2022-12-14T10:03:12.2241922Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '700' + - '715' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:25 GMT + - Wed, 14 Dec 2022 10:03:36 GMT etag: - - '"16008e20-0000-0400-0000-6268d5120000"' + - '"100063c4-0000-0100-0000-63999f600000"' expires: - '-1' pragma: @@ -126,32 +129,38 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:03:03.2750258Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:03:03.2750258Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '764' + - '1127' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:25 GMT + - Wed, 14 Dec 2022 10:03:38 GMT etag: - - '"0200d19c-0000-0400-0000-6268d5120000"' + - '"36005452-0000-0100-0000-63999f600000"' expires: - '-1' mise-correlation-id: - - 04959f2f-b50c-45d2-b4d0-a767ab6ed15e + - 5a767b0d-d51d-4c93-b9f5-a39a226aa8d2 pragma: - no-cache strict-transport-security: @@ -159,7 +168,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -181,30 +190,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:03:03.2750258Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:03:03.2750258Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}]}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '777' + - '1140' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:29 GMT + - Wed, 14 Dec 2022 10:03:44 GMT expires: - '-1' mise-correlation-id: - - be075722-571c-4c44-9251-fe11ba6f8ae4 + - 04508321-ff44-42ef-ae84-1e1654318851 pragma: - no-cache strict-transport-security: @@ -212,7 +227,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -234,32 +249,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:03:03.2750258Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:03:03.2750258Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '764' + - '1127' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:31 GMT + - Wed, 14 Dec 2022 10:03:45 GMT etag: - - '"0200d19c-0000-0400-0000-6268d5120000"' + - '"36005452-0000-0100-0000-63999f600000"' expires: - '-1' mise-correlation-id: - - be16adc9-1e08-4499-9cf5-ef58d861f0d9 + - 67ae639a-7d74-4cb2-8412-eca855508db3 pragma: - no-cache strict-transport-security: @@ -267,7 +288,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -294,37 +315,39 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:30:53.845085Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:31:31.4574617Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:03:03.2750258Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:03:47.1708398Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": null, "secretInfo": null, "authType": "secret"}, "vNetSolution": null, "clientType": - "dotnet", "secretStore": {"keyVaultId": null}, "scope": null}}' + "dotnet", "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}, + "scope": null, "publicNetworkSolution": null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/602d11bd-0421-42b6-a6c9-350461d69faf*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f6fa7f69-3b8a-4854-a41f-c56741b544b3*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1003' + - '1104' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:31:31 GMT + - Wed, 14 Dec 2022 10:03:47 GMT etag: - - '"6a00eb5b-0000-0100-0000-6268d5330000"' + - '"36008754-0000-0100-0000-63999f830000"' expires: - '-1' mise-correlation-id: - - 344f3bf1-9836-4d7c-bad1-f07a55a8477b + - 73e1a799-ba78-46ab-81f6-79c334bcbbad pragma: - no-cache strict-transport-security: @@ -334,7 +357,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 201 message: Created @@ -352,27 +375,28 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/602d11bd-0421-42b6-a6c9-350461d69faf*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f6fa7f69-3b8a-4854-a41f-c56741b544b3*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/602d11bd-0421-42b6-a6c9-350461d69faf*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD", - "name": "602d11bd-0421-42b6-a6c9-350461d69faf*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f6fa7f69-3b8a-4854-a41f-c56741b544b3*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD", + "name": "f6fa7f69-3b8a-4854-a41f-c56741b544b3*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:31:31.6570844Z", "endTime": - "2022-04-27T05:31:36.0248059Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T10:03:47.570528Z", "endTime": + "2022-12-14T10:03:53.7557779Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '700' + - '714' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:02 GMT + - Wed, 14 Dec 2022 10:04:17 GMT etag: - - '"1400e104-0000-0100-0000-6268d5380000"' + - '"10001ec5-0000-0100-0000-63999f890000"' expires: - '-1' pragma: @@ -402,32 +426,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:03:03.2750258Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:03:47.1708398Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "dotnet", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '764' + - '1127' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:02 GMT + - Wed, 14 Dec 2022 10:04:18 GMT etag: - - '"6a00fe5b-0000-0100-0000-6268d5380000"' + - '"3600f054-0000-0100-0000-63999f890000"' expires: - '-1' mise-correlation-id: - - 432da885-c6c0-4ad8-ab23-90cfc76929f8 + - 4f9c791b-797b-494d-85f1-f72f2810a0eb pragma: - no-cache strict-transport-security: @@ -435,7 +465,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -459,9 +489,10 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview response: body: string: '{"configurations": [{"name": "AZURE_STORAGEFILE_CONNECTIONSTRING", @@ -474,11 +505,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:06 GMT + - Wed, 14 Dec 2022 10:04:25 GMT expires: - '-1' mise-correlation-id: - - b5ae0f5b-cd7b-4bb9-b699-95d8dce6959c + - 9532fc9d-a064-482b-aed1-c5a1ad25202b pragma: - no-cache strict-transport-security: @@ -486,13 +517,13 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1199' status: code: 200 message: OK @@ -510,32 +541,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:03:03.2750258Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:03:47.1708398Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "dotnet", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '764' + - '1127' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:08 GMT + - Wed, 14 Dec 2022 10:04:27 GMT etag: - - '"6a00fe5b-0000-0100-0000-6268d5380000"' + - '"3600f054-0000-0100-0000-63999f890000"' expires: - '-1' mise-correlation-id: - - f6a96128-2b32-4a19-acc7-c0c31b99ade6 + - f31af31a-6d91-43f7-acfa-f51efe72209d pragma: - no-cache strict-transport-security: @@ -543,7 +580,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -567,15 +604,16 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0fd5d465-7c98-48d5-b4c4-aecb4457bdfa*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/093ff608-ca40-42c3-a4b7-341aa3540f1c*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -583,13 +621,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:09 GMT + - Wed, 14 Dec 2022 10:04:28 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0fd5d465-7c98-48d5-b4c4-aecb4457bdfa*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/093ff608-ca40-42c3-a4b7-341aa3540f1c*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD?api-version=2021-01-01-privatepreview mise-correlation-id: - - 23b9cd40-3c36-44b3-8284-90645f84a4c5 + - 282fe05b-b75c-42f7-9943-b0159ab6709b pragma: - no-cache strict-transport-security: @@ -599,7 +637,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1197' status: code: 202 message: Accepted @@ -617,30 +655,99 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0fd5d465-7c98-48d5-b4c4-aecb4457bdfa*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/093ff608-ca40-42c3-a4b7-341aa3540f1c*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0fd5d465-7c98-48d5-b4c4-aecb4457bdfa*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD", - "name": "0fd5d465-7c98-48d5-b4c4-aecb4457bdfa*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/093ff608-ca40-42c3-a4b7-341aa3540f1c*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD", + "name": "093ff608-ca40-42c3-a4b7-341aa3540f1c*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:32:10.0284614Z", "endTime": - "2022-04-27T05:32:12.2919874Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T10:04:28.0393529Z", "endTime": + "2022-12-14T10:04:31.7516736Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - configured values is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-04-27T05:32:11.1980473Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:32:12.2031208Z\",\"SourceId\":null,\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default\",\"AuthType\":4}"}}' + configured values is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T10:04:29.423224Z\",\"ReportEndTimeUtc\":\"2022-12-14T10:04:30.626787Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T10:04:29.423224Z", + "reportEndTimeUtc": "2022-12-14T10:04:30.626787Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' headers: cache-control: - no-cache content-length: - - '1401' + - '1732' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:41 GMT + - Wed, 14 Dec 2022 10:04:58 GMT etag: - - '"14004205-0000-0100-0000-6268d55c0000"' + - '"1000cac5-0000-0100-0000-63999faf0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/093ff608-ca40-42c3-a4b7-341aa3540f1c*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/093ff608-ca40-42c3-a4b7-341aa3540f1c*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD", + "name": "093ff608-ca40-42c3-a4b7-341aa3540f1c*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T10:04:28.0393529Z", "endTime": + "2022-12-14T10:04:31.7516736Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T10:04:29.423224Z\",\"ReportEndTimeUtc\":\"2022-12-14T10:04:30.626787Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T10:04:29.423224Z", + "reportEndTimeUtc": "2022-12-14T10:04:30.626787Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1732' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 10:04:59 GMT + etag: + - '"1000cac5-0000-0100-0000-63999faf0000"' expires: - '-1' pragma: @@ -670,32 +777,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:03:03.2750258Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:03:47.1708398Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/fileServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "dotnet", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '764' + - '1127' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:42 GMT + - Wed, 14 Dec 2022 10:05:02 GMT etag: - - '"6a00fe5b-0000-0100-0000-6268d5380000"' + - '"3600f054-0000-0100-0000-63999f890000"' expires: - '-1' mise-correlation-id: - - a9d799b5-7aeb-4baf-95c6-7f87e52d52f0 + - 71bc4354-3024-4846-8413-b97ce3b72a35 pragma: - no-cache strict-transport-security: @@ -703,7 +816,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -727,15 +840,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d4f17947-da00-47bc-8430-f50d3509e538*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/293888a8-1560-4c33-be88-2dfa387dc558*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -743,15 +857,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:47 GMT + - Wed, 14 Dec 2022 10:05:11 GMT etag: - - '"6a00835d-0000-0100-0000-6268d57f0000"' + - '"3600ef59-0000-0100-0000-63999fd70000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d4f17947-da00-47bc-8430-f50d3509e538*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/293888a8-1560-4c33-be88-2dfa387dc558*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD?api-version=2021-01-01-privatepreview mise-correlation-id: - - af67e51f-d01d-4186-b9d9-1536c7bc46ed + - 3b65350d-69d6-4c24-81c4-f4e52a43dc2f pragma: - no-cache strict-transport-security: @@ -761,7 +875,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted @@ -779,16 +893,17 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d4f17947-da00-47bc-8430-f50d3509e538*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/293888a8-1560-4c33-be88-2dfa387dc558*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d4f17947-da00-47bc-8430-f50d3509e538*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD", - "name": "d4f17947-da00-47bc-8430-f50d3509e538*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/293888a8-1560-4c33-be88-2dfa387dc558*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD", + "name": "293888a8-1560-4c33-be88-2dfa387dc558*6A9399CF54C9173E30F813AA6F4A9D7E47D2E02BD607A3360D0AAE13260362AD", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagefile-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:32:47.5781859Z", "endTime": - "2022-04-27T05:32:51.101694Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T10:05:11.728764Z", "endTime": + "2022-12-14T10:05:22.2454822Z", "properties": null}' headers: cache-control: - no-cache @@ -797,9 +912,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:18 GMT + - Wed, 14 Dec 2022 10:05:42 GMT etag: - - '"14009d05-0000-0100-0000-6268d5830000"' + - '"1000bfc6-0000-0100-0000-63999fe20000"' expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storagequeue_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storagequeue_e2e.yaml index ccb213f4746..f911e7f913f 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storagequeue_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storagequeue_e2e.yaml @@ -18,37 +18,39 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:32:12.0312808Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:32:12.0312808Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:05:44.3002637Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:05:44.3002637Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": null, "secretInfo": null, "authType": "secret"}, "vNetSolution": null, "clientType": - "python", "secretStore": {"keyVaultId": null}, "scope": null}}' + "python", "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}, + "scope": null, "publicNetworkSolution": null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fa0f92cf-8d8a-4427-980c-c81929a46fb3*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9148ead2-cd70-476f-b9aa-258eed8a7ee1*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1006' + - '1106' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:12 GMT + - Wed, 14 Dec 2022 10:05:45 GMT etag: - - '"6a00bb5c-0000-0100-0000-6268d55c0000"' + - '"3600135c-0000-0100-0000-63999ff90000"' expires: - '-1' mise-correlation-id: - - a216fe7f-42c9-49cb-83a3-63506a590213 + - 70596e80-4d7c-4eb4-b345-efa040dd07f4 pragma: - no-cache strict-transport-security: @@ -58,7 +60,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -76,27 +78,28 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fa0f92cf-8d8a-4427-980c-c81929a46fb3*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9148ead2-cd70-476f-b9aa-258eed8a7ee1*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fa0f92cf-8d8a-4427-980c-c81929a46fb3*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D", - "name": "fa0f92cf-8d8a-4427-980c-c81929a46fb3*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9148ead2-cd70-476f-b9aa-258eed8a7ee1*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D", + "name": "9148ead2-cd70-476f-b9aa-258eed8a7ee1*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:32:12.2268996Z", "endTime": - "2022-04-27T05:32:16.7431524Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T10:05:45.6435926Z", "endTime": + "2022-12-14T10:05:51.7005827Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '701' + - '716' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:42 GMT + - Wed, 14 Dec 2022 10:06:16 GMT etag: - - '"14005005-0000-0100-0000-6268d5600000"' + - '"100035c7-0000-0100-0000-63999fff0000"' expires: - '-1' pragma: @@ -126,32 +129,38 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:05:44.3002637Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:05:44.3002637Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '766' + - '1129' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:43 GMT + - Wed, 14 Dec 2022 10:06:17 GMT etag: - - '"6a00d75c-0000-0100-0000-6268d5600000"' + - '"36006c5c-0000-0100-0000-63999fff0000"' expires: - '-1' mise-correlation-id: - - 6c43b5d4-1dcb-425b-b79f-fc70cf0352a5 + - e3295b5e-dfda-4155-880c-50a8c1d48eb0 pragma: - no-cache strict-transport-security: @@ -159,7 +168,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -181,30 +190,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:05:44.3002637Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:05:44.3002637Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}]}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '779' + - '1142' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:48 GMT + - Wed, 14 Dec 2022 10:06:24 GMT expires: - '-1' mise-correlation-id: - - 58f7d36d-e8d5-4cb5-9502-806e8f80aae0 + - 3d0aa052-c1c6-4aa7-9813-008f196da22e pragma: - no-cache strict-transport-security: @@ -212,7 +227,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -234,32 +249,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:05:44.3002637Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:05:44.3002637Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '766' + - '1129' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:48 GMT + - Wed, 14 Dec 2022 10:06:27 GMT etag: - - '"6a00d75c-0000-0100-0000-6268d5600000"' + - '"36006c5c-0000-0100-0000-63999fff0000"' expires: - '-1' mise-correlation-id: - - ac6a0869-8466-473b-b674-3ecf1f8933e0 + - 8e998f55-0ca3-4df7-a0d0-feec135d18d5 pragma: - no-cache strict-transport-security: @@ -267,7 +288,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -295,37 +316,40 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:32:12.0312808Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:32:49.2176385Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": - {"keyVaultId": null}, "scope": null}}' + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:05:44.3002637Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:06:29.0426496Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/eb815620-e13f-463c-ba53-ecdcc3346659*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/90c8e47e-6152-46d0-b9d5-62f6050d709b*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '988' + - '1158' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:32:49 GMT + - Wed, 14 Dec 2022 10:06:29 GMT etag: - - '"6a00885d-0000-0100-0000-6268d5810000"' + - '"3600cf5e-0000-0100-0000-6399a0250000"' expires: - '-1' mise-correlation-id: - - 94ff1513-1d76-46e5-9aab-d2d4bacbbfd5 + - bf9367fc-24a6-4c00-8472-545a3a40610a pragma: - no-cache strict-transport-security: @@ -335,7 +359,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1188' + - '1198' status: code: 201 message: Created @@ -353,27 +377,27 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/eb815620-e13f-463c-ba53-ecdcc3346659*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/90c8e47e-6152-46d0-b9d5-62f6050d709b*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/eb815620-e13f-463c-ba53-ecdcc3346659*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D", - "name": "eb815620-e13f-463c-ba53-ecdcc3346659*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/90c8e47e-6152-46d0-b9d5-62f6050d709b*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D", + "name": "90c8e47e-6152-46d0-b9d5-62f6050d709b*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:32:49.3978719Z", "endTime": - "2022-04-27T05:32:54.254905Z", "properties": {}}' + "status": "Accepted", "startTime": "2022-12-14T10:06:29.4639411Z"}' headers: cache-control: - no-cache content-length: - - '700' + - '639' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:19 GMT + - Wed, 14 Dec 2022 10:07:00 GMT etag: - - '"16007b2c-0000-0400-0000-6268d5860000"' + - '"1000e0c7-0000-0100-0000-6399a0250000"' expires: - '-1' pragma: @@ -403,32 +427,89 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/90c8e47e-6152-46d0-b9d5-62f6050d709b*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/90c8e47e-6152-46d0-b9d5-62f6050d709b*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D", + "name": "90c8e47e-6152-46d0-b9d5-62f6050d709b*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T10:06:29.4639411Z", "endTime": + "2022-12-14T10:07:06.8401184Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '716' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 10:07:31 GMT + etag: + - '"1000a0c8-0000-0100-0000-6399a04a0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection update storage-queue + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:05:44.3002637Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:06:29.0426496Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '748' + - '1159' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:20 GMT + - Wed, 14 Dec 2022 10:07:33 GMT etag: - - '"02004a9d-0000-0400-0000-6268d5860000"' + - '"36003661-0000-0100-0000-6399a04a0000"' expires: - '-1' mise-correlation-id: - - 9a7d94db-68a2-4ad9-8bac-6c200d73c9ec + - 8681e6aa-3190-4661-a923-2de161e09dd7 pragma: - no-cache strict-transport-security: @@ -436,7 +517,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -460,26 +541,27 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview response: body: string: '{"configurations": [{"name": "AZURE_STORAGEQUEUE_RESOURCEENDPOINT", - "value": "https://servicelinkerstorage.blob.core.windows.net/"}]}' + "value": "https://servicelinkerstorage.queue.core.windows.net/"}]}' headers: cache-control: - no-cache content-length: - - '133' + - '134' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:24 GMT + - Wed, 14 Dec 2022 10:07:44 GMT expires: - '-1' mise-correlation-id: - - 3d07e3b4-f21c-4869-88f7-73c7f225c868 + - c90f7d1e-e45e-44d9-a343-d4fdab14f640 pragma: - no-cache strict-transport-security: @@ -487,13 +569,13 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1199' status: code: 200 message: OK @@ -511,32 +593,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:05:44.3002637Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:06:29.0426496Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '748' + - '1159' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:25 GMT + - Wed, 14 Dec 2022 10:07:46 GMT etag: - - '"02004a9d-0000-0400-0000-6268d5860000"' + - '"36003661-0000-0100-0000-6399a04a0000"' expires: - '-1' mise-correlation-id: - - d675e50a-1ac7-4d9b-89f8-3a7d62c42af2 + - d1a54ce9-89ca-4889-a7bd-744a218d997b pragma: - no-cache strict-transport-security: @@ -544,7 +632,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -568,15 +656,16 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e9405884-7a4e-49ef-b90d-ee0660421c2b*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8964b84c-74e2-4f84-8682-b79b06e4b7d1*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -584,13 +673,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:26 GMT + - Wed, 14 Dec 2022 10:07:47 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e9405884-7a4e-49ef-b90d-ee0660421c2b*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8964b84c-74e2-4f84-8682-b79b06e4b7d1*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2021-01-01-privatepreview mise-correlation-id: - - 7d474aaa-4a9f-49f8-bbd7-abe448a0fb61 + - 8cb1f851-171c-4947-b79f-512cfa3e5031 pragma: - no-cache strict-transport-security: @@ -600,7 +689,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' status: code: 202 message: Accepted @@ -618,32 +707,107 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8964b84c-74e2-4f84-8682-b79b06e4b7d1*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8964b84c-74e2-4f84-8682-b79b06e4b7d1*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D", + "name": "8964b84c-74e2-4f84-8682-b79b06e4b7d1*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T10:07:46.8737771Z", "endTime": + "2022-12-14T10:07:51.2124669Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T10:07:48.2633495Z\",\"ReportEndTimeUtc\":\"2022-12-14T10:07:50.0380844Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-14T10:07:48.2633495Z", "reportEndTimeUtc": "2022-12-14T10:07:50.0380844Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' + headers: + cache-control: + - no-cache + content-length: + - '2107' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 10:08:17 GMT + etag: + - '"10007dc9-0000-0100-0000-6399a0770000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e9405884-7a4e-49ef-b90d-ee0660421c2b*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8964b84c-74e2-4f84-8682-b79b06e4b7d1*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e9405884-7a4e-49ef-b90d-ee0660421c2b*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D", - "name": "e9405884-7a4e-49ef-b90d-ee0660421c2b*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8964b84c-74e2-4f84-8682-b79b06e4b7d1*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D", + "name": "8964b84c-74e2-4f84-8682-b79b06e4b7d1*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:33:26.0100589Z", "endTime": - "2022-04-27T05:33:28.5698338Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T10:07:46.8737771Z", "endTime": + "2022-12-14T10:07:51.2124669Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-04-27T05:33:27.3598658Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:33:28.4764641Z\",\"SourceId\":null,\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default\",\"AuthType\":0}"}}' + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T10:07:48.2633495Z\",\"ReportEndTimeUtc\":\"2022-12-14T10:07:50.0380844Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-14T10:07:48.2633495Z", "reportEndTimeUtc": "2022-12-14T10:07:50.0380844Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' headers: cache-control: - no-cache content-length: - - '1574' + - '2107' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:56 GMT + - Wed, 14 Dec 2022 10:08:18 GMT etag: - - '"1400f705-0000-0100-0000-6268d5a80000"' + - '"10007dc9-0000-0100-0000-6399a0770000"' expires: - '-1' pragma: @@ -673,32 +837,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:05:44.3002637Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:06:29.0426496Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/queueServices/default", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '748' + - '1159' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:57 GMT + - Wed, 14 Dec 2022 10:08:20 GMT etag: - - '"02004a9d-0000-0400-0000-6268d5860000"' + - '"36003661-0000-0100-0000-6399a04a0000"' expires: - '-1' mise-correlation-id: - - 3daa3541-c42d-4a79-a899-836b099af1f6 + - d85783b5-fb1a-4dee-a2ec-29009fb2485a pragma: - no-cache strict-transport-security: @@ -706,7 +876,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -730,15 +900,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/cc7b83ad-f6d5-4135-af3e-7e8f4c84deaa*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4ccd93de-081e-4002-bc0d-7e0406220cb3*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -746,15 +917,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:34:02 GMT + - Wed, 14 Dec 2022 10:08:26 GMT etag: - - '"6a00de5e-0000-0100-0000-6268d5ca0000"' + - '"36004866-0000-0100-0000-6399a09a0000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/cc7b83ad-f6d5-4135-af3e-7e8f4c84deaa*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4ccd93de-081e-4002-bc0d-7e0406220cb3*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2021-01-01-privatepreview mise-correlation-id: - - 8bcbf392-ae1f-4c82-a0e7-96a8d285f080 + - 3fbdd4ff-79ef-435a-852a-72e32baf098e pragma: - no-cache strict-transport-security: @@ -764,7 +935,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14998' status: code: 202 message: Accepted @@ -782,16 +953,17 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/cc7b83ad-f6d5-4135-af3e-7e8f4c84deaa*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4ccd93de-081e-4002-bc0d-7e0406220cb3*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/cc7b83ad-f6d5-4135-af3e-7e8f4c84deaa*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D", - "name": "cc7b83ad-f6d5-4135-af3e-7e8f4c84deaa*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4ccd93de-081e-4002-bc0d-7e0406220cb3*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D", + "name": "4ccd93de-081e-4002-bc0d-7e0406220cb3*BF10DA42EE9CDF2952AFD677F0BED9D6F1B2FFDAE06F440883B0615A4F7F3B1D", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagequeue-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:34:02.0746751Z", "endTime": - "2022-04-27T05:34:05.2192848Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T10:08:26.6421143Z", "endTime": + "2022-12-14T10:08:31.3820207Z", "properties": null}' headers: cache-control: - no-cache @@ -800,9 +972,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:34:32 GMT + - Wed, 14 Dec 2022 10:08:57 GMT etag: - - '"14004e06-0000-0100-0000-6268d5cd0000"' + - '"100050ca-0000-0100-0000-6399a09f0000"' expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storagetable_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storagetable_e2e.yaml index 20e15fdddb7..75ffe62ed1c 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storagetable_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_storagetable_e2e.yaml @@ -18,37 +18,39 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:33:12.5941027Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:33:12.5941027Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:08:59.2258001Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:08:59.2258001Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": null, "secretInfo": null, "authType": "secret"}, "vNetSolution": null, "clientType": - "python", "secretStore": {"keyVaultId": null}, "scope": null}}' + "python", "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}, + "scope": null, "publicNetworkSolution": null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6eecf48c-9814-4471-a232-cd990eaa17df*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bf62aaf3-cd6a-43ef-955d-e90eb20dde4b*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1006' + - '1106' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:12 GMT + - Wed, 14 Dec 2022 10:09:01 GMT etag: - - '"6a00f85d-0000-0100-0000-6268d5980000"' + - '"36005e68-0000-0100-0000-6399a0bc0000"' expires: - '-1' mise-correlation-id: - - fe3ae208-2d87-42ce-8cb0-6c3d398d286f + - 4031878d-140d-4d5c-b9f4-c2a6527a5d69 pragma: - no-cache strict-transport-security: @@ -58,7 +60,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 201 message: Created @@ -76,27 +78,28 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6eecf48c-9814-4471-a232-cd990eaa17df*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bf62aaf3-cd6a-43ef-955d-e90eb20dde4b*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6eecf48c-9814-4471-a232-cd990eaa17df*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB", - "name": "6eecf48c-9814-4471-a232-cd990eaa17df*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bf62aaf3-cd6a-43ef-955d-e90eb20dde4b*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB", + "name": "bf62aaf3-cd6a-43ef-955d-e90eb20dde4b*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:33:12.7772447Z", "endTime": - "2022-04-27T05:33:17.3646348Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T10:09:00.6057248Z", "endTime": + "2022-12-14T10:09:09.6937845Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '701' + - '716' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:42 GMT + - Wed, 14 Dec 2022 10:09:31 GMT etag: - - '"1600a22d-0000-0400-0000-6268d59d0000"' + - '"10001ccb-0000-0100-0000-6399a0c50000"' expires: - '-1' pragma: @@ -126,32 +129,38 @@ interactions: ParameterSetName: - --connection --source-id --target-id --secret --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:08:59.2258001Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:08:59.2258001Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '766' + - '1129' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:42 GMT + - Wed, 14 Dec 2022 10:09:32 GMT etag: - - '"0200589d-0000-0400-0000-6268d59d0000"' + - '"3600f268-0000-0100-0000-6399a0c50000"' expires: - '-1' mise-correlation-id: - - 67d79636-66c0-4b41-b0f2-26beac8098e2 + - 281cca1c-ee71-4dbf-91b3-8e17bff8ee0c pragma: - no-cache strict-transport-security: @@ -159,7 +168,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -181,30 +190,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:08:59.2258001Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:08:59.2258001Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}]}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '779' + - '1142' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:47 GMT + - Wed, 14 Dec 2022 10:09:39 GMT expires: - '-1' mise-correlation-id: - - d4eea422-0810-4b10-926a-0cc9b90d40eb + - 871a71df-50ce-43f2-99d5-cd4eadfcb8e0 pragma: - no-cache strict-transport-security: @@ -212,7 +227,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -234,32 +249,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:08:59.2258001Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:08:59.2258001Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '766' + - '1129' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:47 GMT + - Wed, 14 Dec 2022 10:09:40 GMT etag: - - '"0200589d-0000-0400-0000-6268d59d0000"' + - '"3600f268-0000-0100-0000-6399a0c50000"' expires: - '-1' mise-correlation-id: - - bc5e81e6-1e02-40e9-985b-e05372c6d9ff + - d1ef989f-b705-4d59-a124-bf3a147b38b9 pragma: - no-cache strict-transport-security: @@ -267,7 +288,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -294,37 +315,39 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:33:12.5941027Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:33:48.0930735Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:08:59.2258001Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:09:42.4971617Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": null, "secretInfo": null, "authType": "secret"}, "vNetSolution": null, "clientType": - "dotnet", "secretStore": {"keyVaultId": null}, "scope": null}}' + "dotnet", "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}, + "scope": null, "publicNetworkSolution": null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d9996c4c-ca8b-4a0f-a2cf-a2a248591702*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0ee93f73-41d5-4384-9230-5e0f929ed077*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1006' + - '1106' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:48 GMT + - Wed, 14 Dec 2022 10:09:42 GMT etag: - - '"6a008e5e-0000-0100-0000-6268d5bc0000"' + - '"3600056b-0000-0100-0000-6399a0e60000"' expires: - '-1' mise-correlation-id: - - f78dc49f-fa97-42fc-8d8d-43443f2fa42b + - a496b4f6-c995-4ca6-aa1e-a8c343915e98 pragma: - no-cache strict-transport-security: @@ -334,7 +357,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1187' + - '1199' status: code: 201 message: Created @@ -352,27 +375,28 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d9996c4c-ca8b-4a0f-a2cf-a2a248591702*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0ee93f73-41d5-4384-9230-5e0f929ed077*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d9996c4c-ca8b-4a0f-a2cf-a2a248591702*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB", - "name": "d9996c4c-ca8b-4a0f-a2cf-a2a248591702*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0ee93f73-41d5-4384-9230-5e0f929ed077*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB", + "name": "0ee93f73-41d5-4384-9230-5e0f929ed077*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:33:48.2672454Z", "endTime": - "2022-04-27T05:33:52.7218252Z", "properties": {}}' + "status": "Succeeded", "startTime": "2022-12-14T10:09:42.8877465Z", "endTime": + "2022-12-14T10:09:49.625482Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '701' + - '715' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:34:18 GMT + - Wed, 14 Dec 2022 10:10:13 GMT etag: - - '"14003406-0000-0100-0000-6268d5c00000"' + - '"1000facb-0000-0100-0000-6399a0ed0000"' expires: - '-1' pragma: @@ -402,32 +426,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:08:59.2258001Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:09:42.4971617Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "dotnet", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '766' + - '1129' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:34:18 GMT + - Wed, 14 Dec 2022 10:10:14 GMT etag: - - '"6a00aa5e-0000-0100-0000-6268d5c00000"' + - '"3600696b-0000-0100-0000-6399a0ed0000"' expires: - '-1' mise-correlation-id: - - 3c78044b-2202-4754-9869-23896a3a3c17 + - 31912644-6f94-40e1-8bd0-ca1ce8238321 pragma: - no-cache strict-transport-security: @@ -435,7 +465,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -459,9 +489,10 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview response: body: string: '{"configurations": [{"name": "AZURE_STORAGETABLE_CONNECTIONSTRING", @@ -474,11 +505,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:34:22 GMT + - Wed, 14 Dec 2022 10:10:27 GMT expires: - '-1' mise-correlation-id: - - 1c2ac472-2ecd-4e4f-901e-d25e51e35a61 + - d980f367-aa64-4945-9b6c-b83ac364a5f5 pragma: - no-cache strict-transport-security: @@ -486,13 +517,13 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1199' status: code: 200 message: OK @@ -510,32 +541,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:08:59.2258001Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:09:42.4971617Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "dotnet", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '766' + - '1129' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:34:24 GMT + - Wed, 14 Dec 2022 10:10:28 GMT etag: - - '"6a00aa5e-0000-0100-0000-6268d5c00000"' + - '"3600696b-0000-0100-0000-6399a0ed0000"' expires: - '-1' mise-correlation-id: - - 4336f32a-3acd-4d5f-a851-aaadf4c0f3dd + - 845bb5c1-65e6-49b4-af07-4d983060905b pragma: - no-cache strict-transport-security: @@ -543,7 +580,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -567,15 +604,16 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d7729fa4-df9e-4605-8319-c63986839141*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/01263695-c52e-4083-9a17-4e186e1ecb8e*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -583,13 +621,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:34:25 GMT + - Wed, 14 Dec 2022 10:10:30 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d7729fa4-df9e-4605-8319-c63986839141*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/01263695-c52e-4083-9a17-4e186e1ecb8e*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB?api-version=2021-01-01-privatepreview mise-correlation-id: - - d74e7279-e0a8-4341-a27a-829297045877 + - ce430e80-7278-49d6-9b91-7e418dcafa28 pragma: - no-cache strict-transport-security: @@ -599,7 +637,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1198' status: code: 202 message: Accepted @@ -617,30 +655,99 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/01263695-c52e-4083-9a17-4e186e1ecb8e*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/01263695-c52e-4083-9a17-4e186e1ecb8e*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB", + "name": "01263695-c52e-4083-9a17-4e186e1ecb8e*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T10:10:30.4672246Z", "endTime": + "2022-12-14T10:10:34.1415524Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T10:10:31.7470036Z\",\"ReportEndTimeUtc\":\"2022-12-14T10:10:33.0225811Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T10:10:31.7470036Z", + "reportEndTimeUtc": "2022-12-14T10:10:33.0225811Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1737' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 10:11:01 GMT + etag: + - '"1000e6cc-0000-0100-0000-6399a11a0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d7729fa4-df9e-4605-8319-c63986839141*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/01263695-c52e-4083-9a17-4e186e1ecb8e*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d7729fa4-df9e-4605-8319-c63986839141*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB", - "name": "d7729fa4-df9e-4605-8319-c63986839141*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/01263695-c52e-4083-9a17-4e186e1ecb8e*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB", + "name": "01263695-c52e-4083-9a17-4e186e1ecb8e*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:34:24.8323209Z", "endTime": - "2022-04-27T05:34:26.9709722Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T10:10:30.4672246Z", "endTime": + "2022-12-14T10:10:34.1415524Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - configured values is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-04-27T05:34:26.095264Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:34:26.9126207Z\",\"SourceId\":null,\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default\",\"AuthType\":4}"}}' + configured values is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T10:10:31.7470036Z\",\"ReportEndTimeUtc\":\"2022-12-14T10:10:33.0225811Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T10:10:31.7470036Z", + "reportEndTimeUtc": "2022-12-14T10:10:33.0225811Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' headers: cache-control: - no-cache content-length: - - '1402' + - '1737' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:34:55 GMT + - Wed, 14 Dec 2022 10:11:02 GMT etag: - - '"14007506-0000-0100-0000-6268d5e20000"' + - '"1000e6cc-0000-0100-0000-6399a11a0000"' expires: - '-1' pragma: @@ -670,32 +777,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:08:59.2258001Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:09:42.4971617Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Storage/storageAccounts/servicelinkerstorage/tableServices/default", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": - null, "vNetSolution": null, "secretStore": {"keyVaultId": null}}}' + null, "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": + "dotnet", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '766' + - '1129' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:34:57 GMT + - Wed, 14 Dec 2022 10:11:03 GMT etag: - - '"6a00aa5e-0000-0100-0000-6268d5c00000"' + - '"3600696b-0000-0100-0000-6399a0ed0000"' expires: - '-1' mise-correlation-id: - - a8ed161f-038e-4c06-94c6-5b8574177327 + - cd32999e-5a9c-49ea-a57a-b166baeda9bb pragma: - no-cache strict-transport-security: @@ -703,7 +816,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -727,15 +840,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/537a2447-697f-4911-9842-8925e3b1e02f*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/efb64330-2530-4540-a98d-a46a3db8c220*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -743,15 +857,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:35:02 GMT + - Wed, 14 Dec 2022 10:11:09 GMT etag: - - '"0200009e-0000-0400-0000-6268d6060000"' + - '"36005770-0000-0100-0000-6399a13d0000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/537a2447-697f-4911-9842-8925e3b1e02f*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/efb64330-2530-4540-a98d-a46a3db8c220*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB?api-version=2021-01-01-privatepreview mise-correlation-id: - - 6ac7d69b-f3a3-49be-a40d-e2fa1e8179de + - 5a04edd4-f0b9-499c-9d3f-be2c483a1b77 pragma: - no-cache strict-transport-security: @@ -779,16 +893,17 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/537a2447-697f-4911-9842-8925e3b1e02f*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/efb64330-2530-4540-a98d-a46a3db8c220*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/537a2447-697f-4911-9842-8925e3b1e02f*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB", - "name": "537a2447-697f-4911-9842-8925e3b1e02f*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/efb64330-2530-4540-a98d-a46a3db8c220*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB", + "name": "efb64330-2530-4540-a98d-a46a3db8c220*96B32957CBC08BEE9A5D10BC723B023B8CE6E67BB72432CD1D7C5C5A9FA0DDCB", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-storagetable-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:35:02.0121051Z", "endTime": - "2022-04-27T05:35:08.1028874Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T10:11:09.6309427Z", "endTime": + "2022-12-14T10:11:14.7249224Z", "properties": null}' headers: cache-control: - no-cache @@ -797,9 +912,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:35:32 GMT + - Wed, 14 Dec 2022 10:11:40 GMT etag: - - '"1400ac06-0000-0100-0000-6268d60c0000"' + - '"1000afcd-0000-0100-0000-6399a1420000"' expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_webpubsub_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_webpubsub_e2e.yaml index 31ae18f2d29..0b37458d204 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_webpubsub_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_webpubsub_e2e.yaml @@ -19,37 +19,40 @@ interactions: ParameterSetName: - --connection --source-id --target-id --system-identity --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:33:05.4311213Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:33:05.4311213Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": - {"keyVaultId": null}, "scope": null}}' + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:11:42.0901304Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:11:42.0901304Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5702063c-d582-4c90-838a-da12f612e397*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d7a94952-654d-421a-9d24-5ee71c019aad*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '967' + - '1137' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:05 GMT + - Wed, 14 Dec 2022 10:11:42 GMT etag: - - '"02004f9d-0000-0400-0000-6268d5910000"' + - '"36009972-0000-0100-0000-6399a15f0000"' expires: - '-1' mise-correlation-id: - - 411d9ccc-9a6b-4dc7-9c4f-10a5f5e82254 + - 337b08bd-6598-4a37-8203-90c033da9117 pragma: - no-cache strict-transport-security: @@ -59,7 +62,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' status: code: 201 message: Created @@ -77,29 +80,80 @@ interactions: ParameterSetName: - --connection --source-id --target-id --system-identity --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5702063c-d582-4c90-838a-da12f612e397*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d7a94952-654d-421a-9d24-5ee71c019aad*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5702063c-d582-4c90-838a-da12f612e397*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6", - "name": "5702063c-d582-4c90-838a-da12f612e397*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d7a94952-654d-421a-9d24-5ee71c019aad*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6", + "name": "d7a94952-654d-421a-9d24-5ee71c019aad*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:33:05.7341419Z", "endTime": - "2022-04-27T05:33:10.764776Z", "properties": {"message": "Deny public network + "status": "Accepted", "startTime": "2022-12-14T10:11:43.2286934Z"}' + headers: + cache-control: + - no-cache + content-length: + - '636' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 10:12:14 GMT + etag: + - '"10003dce-0000-0100-0000-6399a15f0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create webpubsub + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d7a94952-654d-421a-9d24-5ee71c019aad*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d7a94952-654d-421a-9d24-5ee71c019aad*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6", + "name": "d7a94952-654d-421a-9d24-5ee71c019aad*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T10:11:43.2286934Z", "endTime": + "2022-12-14T10:12:20.8869393Z", "properties": {"Message": "Deny public network access is set to yes. Please confirm you are using private endpoint connection to access target resource."}}' headers: cache-control: - no-cache content-length: - - '835' + - '836' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:36 GMT + - Wed, 14 Dec 2022 10:12:45 GMT etag: - - '"1400c505-0000-0100-0000-6268d5960000"' + - '"1000fdce-0000-0100-0000-6399a1840000"' expires: - '-1' pragma: @@ -129,32 +183,38 @@ interactions: ParameterSetName: - --connection --source-id --target-id --system-identity --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:11:42.0901304Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:11:42.0901304Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '727' + - '1138' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:36 GMT + - Wed, 14 Dec 2022 10:12:46 GMT etag: - - '"6a00ee5d-0000-0100-0000-6268d5960000"' + - '"3600fd74-0000-0100-0000-6399a1840000"' expires: - '-1' mise-correlation-id: - - 2be1c508-f767-4ef6-89ad-4dbb87b760e4 + - 9c793f61-e598-47e7-94a7-c71c7056d9bb pragma: - no-cache strict-transport-security: @@ -162,7 +222,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -184,30 +244,36 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview response: body: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}]}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:11:42.0901304Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:11:42.0901304Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '740' + - '1151' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:42 GMT + - Wed, 14 Dec 2022 10:12:53 GMT expires: - '-1' mise-correlation-id: - - d68e9aa3-1c82-4feb-9cd5-a17cf0590234 + - f6ea4891-fca3-4c9c-b4a4-82da3da35be3 pragma: - no-cache strict-transport-security: @@ -215,7 +281,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -237,32 +303,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:11:42.0901304Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:11:42.0901304Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '727' + - '1138' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:44 GMT + - Wed, 14 Dec 2022 10:12:53 GMT etag: - - '"6a00ee5d-0000-0100-0000-6268d5960000"' + - '"3600fd74-0000-0100-0000-6399a1840000"' expires: - '-1' mise-correlation-id: - - 9a32ebaf-7aae-4609-bff0-924c2860dbfe + - 9b5221b0-89b7-4bdb-9315-980d871627d1 pragma: - no-cache strict-transport-security: @@ -270,7 +342,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -298,37 +370,40 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn", "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": - {"createdBy": "honc@microsoft.com", "createdByType": "User", "createdAt": - "2022-04-27T05:33:05.4311213Z", "lastModifiedBy": "honc@microsoft.com", "lastModifiedByType": - "User", "lastModifiedAt": "2022-04-27T05:33:44.2241779Z"}, "properties": {"provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": - {"keyVaultId": null}, "scope": null}}' + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:11:42.0901304Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:12:54.7156139Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d84ed491-1682-443b-bfe8-eb19203ea7dd*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe16fc4e-7f15-45bd-94ba-d1868d9e67c2*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '967' + - '1137' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:33:44 GMT + - Wed, 14 Dec 2022 10:12:54 GMT etag: - - '"6a007b5e-0000-0100-0000-6268d5b80000"' + - '"36003b77-0000-0100-0000-6399a1a70000"' expires: - '-1' mise-correlation-id: - - cba9a813-bd33-4924-a64b-7db28027bf82 + - d2353687-6929-43d1-b038-9324bc2bcfa8 pragma: - no-cache strict-transport-security: @@ -338,7 +413,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1198' status: code: 201 message: Created @@ -356,16 +431,17 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d84ed491-1682-443b-bfe8-eb19203ea7dd*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe16fc4e-7f15-45bd-94ba-d1868d9e67c2*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d84ed491-1682-443b-bfe8-eb19203ea7dd*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6", - "name": "d84ed491-1682-443b-bfe8-eb19203ea7dd*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe16fc4e-7f15-45bd-94ba-d1868d9e67c2*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6", + "name": "fe16fc4e-7f15-45bd-94ba-d1868d9e67c2*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:33:44.4332788Z", "endTime": - "2022-04-27T05:33:49.2584812Z", "properties": {"message": "Deny public network + "status": "Succeeded", "startTime": "2022-12-14T10:12:55.1100295Z", "endTime": + "2022-12-14T10:13:03.2496185Z", "properties": {"Message": "Deny public network access is set to yes. Please confirm you are using private endpoint connection to access target resource."}}' headers: @@ -376,9 +452,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:34:14 GMT + - Wed, 14 Dec 2022 10:13:26 GMT etag: - - '"14002506-0000-0100-0000-6268d5bd0000"' + - '"1000d3cf-0000-0100-0000-6399a1af0000"' expires: - '-1' pragma: @@ -408,32 +484,38 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:11:42.0901304Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:12:54.7156139Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '727' + - '1138' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:34:14 GMT + - Wed, 14 Dec 2022 10:13:26 GMT etag: - - '"6a00925e-0000-0100-0000-6268d5bd0000"' + - '"3600b977-0000-0100-0000-6399a1af0000"' expires: - '-1' mise-correlation-id: - - 514375fa-c6e7-41c6-8d16-91efd3bf85b4 + - 6432e527-5440-431e-84c4-2768a0b0858e pragma: - no-cache strict-transport-security: @@ -441,7 +523,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -465,9 +547,10 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview response: body: string: '{"configurations": [{"name": "AZURE_WEBPUBSUB_HOST", "value": "servicelinker-webpubsub.webpubsub.azure.com"}]}' @@ -479,11 +562,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:34:20 GMT + - Wed, 14 Dec 2022 10:13:34 GMT expires: - '-1' mise-correlation-id: - - a884642e-82e0-4dae-b514-2105c7c602e9 + - 8deded04-fd57-471e-ab34-e2d64e1e6578 pragma: - no-cache strict-transport-security: @@ -491,13 +574,13 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1197' status: code: 200 message: OK @@ -515,36 +598,44 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:11:42.0901304Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:12:54.7156139Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '727' + - '1138' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:34:20 GMT + - Wed, 14 Dec 2022 10:13:37 GMT etag: - - '"6a00925e-0000-0100-0000-6268d5bd0000"' + - '"3600b977-0000-0100-0000-6399a1af0000"' expires: - '-1' mise-correlation-id: - - 1398dba1-2207-4624-b7fa-cdc478200061 + - 40cefe2f-67ed-4226-a5a1-7f22a0892f80 pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked vary: - Accept-Encoding x-content-type-options: @@ -570,15 +661,16 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9c911a7a-e2bc-4543-8841-6f5d568bc8dd*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/88b1ac0b-606c-495c-a6c2-eee9aa92f700*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -586,13 +678,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:34:21 GMT + - Wed, 14 Dec 2022 10:13:38 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9c911a7a-e2bc-4543-8841-6f5d568bc8dd*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/88b1ac0b-606c-495c-a6c2-eee9aa92f700*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2021-01-01-privatepreview mise-correlation-id: - - 1351fc18-536e-40a4-be9c-3d4898c8895a + - 167f44da-2eda-4451-b5dd-d75e5ecab034 pragma: - no-cache strict-transport-security: @@ -602,7 +694,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1199' status: code: 202 message: Accepted @@ -620,40 +712,125 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9c911a7a-e2bc-4543-8841-6f5d568bc8dd*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/88b1ac0b-606c-495c-a6c2-eee9aa92f700*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/9c911a7a-e2bc-4543-8841-6f5d568bc8dd*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6", - "name": "9c911a7a-e2bc-4543-8841-6f5d568bc8dd*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/88b1ac0b-606c-495c-a6c2-eee9aa92f700*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6", + "name": "88b1ac0b-606c-495c-a6c2-eee9aa92f700*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:34:21.6225886Z", "endTime": - "2022-04-27T05:34:24.6380814Z", "properties": {"message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-14T10:13:38.1373742Z", "endTime": + "2022-12-14T10:13:42.2179875Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The target''s network access is validated\",\"Description\":\"Deny public network access is set to yes. Please confirm you are using private endpoint connection to access target resource.\",\"Result\":2},{\"Name\":\"The configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-04-27T05:34:23.0760425Z\",\"ReportEndTimeUtc\":\"2022-04-27T05:34:24.3587642Z\",\"SourceId\":null,\"TargetId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub\",\"AuthType\":0}"}}' + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T10:13:39.446996Z\",\"ReportEndTimeUtc\":\"2022-12-14T10:13:41.0625476Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network access is validated", "description": + "Deny public network access is set to yes. Please confirm you are using private + endpoint connection to access target resource.", "result": "warning"}, {"name": + "The configured values is validated", "description": null, "result": "success"}, + {"name": "The identity existence is validated", "description": null, "result": + "success"}, {"name": "The identity permission is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T10:13:39.446996Z", + "reportEndTimeUtc": "2022-12-14T10:13:41.0625476Z", "sourceId": null, "targetId": + null, "authType": "systemAssignedIdentity"}}' headers: cache-control: - no-cache content-length: - - '1678' + - '2350' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:34:52 GMT + - Wed, 14 Dec 2022 10:14:08 GMT etag: - - '"14007106-0000-0100-0000-6268d5e00000"' + - '"100094d0-0000-0100-0000-6399a1d60000"' expires: - '-1' pragma: - no-cache 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/88b1ac0b-606c-495c-a6c2-eee9aa92f700*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/88b1ac0b-606c-495c-a6c2-eee9aa92f700*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6", + "name": "88b1ac0b-606c-495c-a6c2-eee9aa92f700*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-14T10:13:38.1373742Z", "endTime": + "2022-12-14T10:13:42.2179875Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target''s network access is validated\",\"Description\":\"Deny public network + access is set to yes. Please confirm you are using private endpoint connection + to access target resource.\",\"Result\":2},{\"Name\":\"The configured values + is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The identity + existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-14T10:13:39.446996Z\",\"ReportEndTimeUtc\":\"2022-12-14T10:13:41.0625476Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target''s network access is validated", "description": + "Deny public network access is set to yes. Please confirm you are using private + endpoint connection to access target resource.", "result": "warning"}, {"name": + "The configured values is validated", "description": null, "result": "success"}, + {"name": "The identity existence is validated", "description": null, "result": + "success"}, {"name": "The identity permission is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-14T10:13:39.446996Z", + "reportEndTimeUtc": "2022-12-14T10:13:41.0625476Z", "sourceId": null, "targetId": + null, "authType": "systemAssignedIdentity"}}' + headers: + cache-control: + - no-cache + content-length: + - '2350' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 14 Dec 2022 10:14:09 GMT + etag: + - '"100094d0-0000-0100-0000-6399a1d60000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff status: @@ -673,32 +850,38 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "name": "testconn", "type": "microsoft.servicelinker/linkers", "properties": - {"provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"authType": - "systemAssignedIdentity"}, "clientType": "dotnet", "scope": null, "vNetSolution": - null, "secretStore": {"keyVaultId": null}}}' + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T10:11:42.0901304Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T10:12:54.7156139Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.SignalRService/WebPubSub/servicelinker-webpubsub", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '727' + - '1138' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:34:55 GMT + - Wed, 14 Dec 2022 10:14:10 GMT etag: - - '"6a00925e-0000-0100-0000-6268d5bd0000"' + - '"3600b977-0000-0100-0000-6399a1af0000"' expires: - '-1' mise-correlation-id: - - 71c8ef4a-f02f-488d-86d0-e42625695661 + - 45140114-813e-4526-84b6-cc20eae2b5c8 pragma: - no-cache strict-transport-security: @@ -706,7 +889,7 @@ interactions: transfer-encoding: - chunked vary: - - Accept-Encoding,Accept-Encoding + - Accept-Encoding x-content-type-options: - nosniff x-ms-providerhub-traffic: @@ -730,15 +913,16 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview response: body: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3c7489a0-5c1f-4ab0-a063-103ae26a9db2*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/21676b9d-7e73-4784-b2bd-8afd97a04e08*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -746,15 +930,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:35:00 GMT + - Wed, 14 Dec 2022 10:14:16 GMT etag: - - '"6a00875f-0000-0100-0000-6268d6040000"' + - '"36008a7c-0000-0100-0000-6399a1f80000"' expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3c7489a0-5c1f-4ab0-a063-103ae26a9db2*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2022-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/21676b9d-7e73-4784-b2bd-8afd97a04e08*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2021-01-01-privatepreview mise-correlation-id: - - 2d8ff4bb-9701-4d54-8b44-4d60393c2f1d + - b111a278-6f08-4628-b06e-2330055536d7 pragma: - no-cache strict-transport-security: @@ -764,7 +948,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted @@ -782,27 +966,28 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.35.0 azsdk-python-mgmt-servicelinker/1.0.0 Python/3.8.2 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3c7489a0-5c1f-4ab0-a063-103ae26a9db2*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2022-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/21676b9d-7e73-4784-b2bd-8afd97a04e08*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3c7489a0-5c1f-4ab0-a063-103ae26a9db2*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6", - "name": "3c7489a0-5c1f-4ab0-a063-103ae26a9db2*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/21676b9d-7e73-4784-b2bd-8afd97a04e08*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6", + "name": "21676b9d-7e73-4784-b2bd-8afd97a04e08*5DC6C9F01716022343AC8407589CB81F254417A2C57AB7236FF72D11D3DDD3B6", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-linux-group/providers/Microsoft.Web/sites/servicelinker-webpubsub-app/providers/Microsoft.ServiceLinker/linkers/testconn", - "status": "Succeeded", "startTime": "2022-04-27T05:35:00.2833152Z", "endTime": - "2022-04-27T05:35:07.4705341Z", "properties": null}' + "status": "Succeeded", "startTime": "2022-12-14T10:14:16.669866Z", "endTime": + "2022-12-14T10:14:21.4314361Z", "properties": null}' headers: cache-control: - no-cache content-length: - - '700' + - '699' content-type: - application/json; charset=utf-8 date: - - Wed, 27 Apr 2022 05:35:30 GMT + - Wed, 14 Dec 2022 10:14:47 GMT etag: - - '"1400ab06-0000-0100-0000-6268d60b0000"' + - '"100067d1-0000-0100-0000-6399a1fd0000"' expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_local_connection_scenario.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_local_connection_scenario.py index 465a6214801..0ef50567119 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_local_connection_scenario.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_local_connection_scenario.py @@ -46,14 +46,14 @@ def test_local_appconfig_e2e(self): # create connection self.cmd('connection create appconfig -g {} --connection {} --target-id {} ' - '--secret --client-type python'.format(resource_group, name, target_id)) + '--user-account --client-type python'.format(resource_group, name, target_id)) # list connection connections = self.cmd( 'connection list -g {}'.format(resource_group), checks=[ self.check('length(@)', 1), - self.check('[0].authInfo.authType', 'secret'), + self.check('[0].authInfo.authType', 'userAccount'), self.check('[0].clientType', 'python') ] ).get_output_in_json() @@ -167,7 +167,8 @@ def test_local_cosmosgremlin_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + # @record_only() + @unittest.skip('') def test_local_cosmosmongo_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -183,7 +184,7 @@ def test_local_cosmosmongo_e2e(self): # create connection self.cmd('connection create cosmos-mongo -g {} --connection {} --target-id {} ' - '--secret --client-type dotnet'.format(resource_group, name, target_id)) + '--user-account --client-type dotnet'.format(resource_group, name, target_id)) # list connection connections = self.cmd( @@ -258,7 +259,8 @@ def test_local_cosmossql_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() # @unittest.skip('') + @record_only() + @unittest.skip('') def test_local_cosmostable_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -304,7 +306,6 @@ def test_local_cosmostable_e2e(self): self.cmd('connection delete --id {} --yes'.format(connection_id)) @record_only() - def test_local_eventhub_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -363,14 +364,14 @@ def test_local_servicebus_e2e(self): # create connection self.cmd('connection create servicebus -g {} --connection {} --target-id {} ' - '--secret --client-type python'.format(resource_group, name, target_id)) + '--user-account --client-type python'.format(resource_group, name, target_id)) # list connection connections = self.cmd( 'connection list -g {}'.format(resource_group), checks=[ self.check('length(@)', 1), - self.check('[0].authInfo.authType', 'secret'), + self.check('[0].authInfo.authType', 'userAccount'), self.check('[0].clientType', 'python') ] ).get_output_in_json() diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_webpp_connection_scenario.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_webpp_connection_scenario.py index 58fbd8bcc5f..85cc868d96a 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_webpp_connection_scenario.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_webpp_connection_scenario.py @@ -4,6 +4,7 @@ # license information. # -------------------------------------------------------------------------- +import unittest from azure.cli.core.commands.client_factory import get_subscription_id from azure.cli.testsdk import ( ScenarioTest, @@ -73,6 +74,7 @@ def test_webapp_appconfig_e2e(self): @record_only() + @unittest.skip('') def test_webapp_cosmoscassandra_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -121,6 +123,7 @@ def test_webapp_cosmoscassandra_e2e(self): @record_only() + @unittest.skip('') def test_webapp_cosmosgremlin_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -170,6 +173,7 @@ def test_webapp_cosmosgremlin_e2e(self): @record_only() + @unittest.skip('') def test_webapp_cosmosmongo_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -218,6 +222,7 @@ def test_webapp_cosmosmongo_e2e(self): @record_only() + @unittest.skip('') def test_webapp_cosmossql_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -266,6 +271,7 @@ def test_webapp_cosmossql_e2e(self): @record_only() + @unittest.skip('') def test_webapp_cosmostable_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -751,8 +757,7 @@ def test_webapp_mysql_e2e(self): # delete connection self.cmd('webapp connection delete --id {} --yes'.format(connection_id)) - - # @record_only() + @record_only() def test_webapp_mysqlflexible_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), From 9656747cdad7b127929fe713e238d86b9fec061f Mon Sep 17 00:00:00 2001 From: xiaofanzhou Date: Thu, 15 Dec 2022 15:38:20 +0800 Subject: [PATCH 03/19] update test recording --- .../serviceconnector/_credential_free.py | 2 +- .../test_local_cosmoscassandra_e2e.yaml | 1556 ++++++++++++- .../test_local_cosmosgremlin_e2e.yaml | 958 +++++--- .../test_local_cosmosmongo_e2e.yaml | 1716 ++++++++++++++ .../recordings/test_local_cosmossql_e2e.yaml | 1751 +++++++++++++++ .../test_local_cosmostable_e2e.yaml | 1523 ++++++++++++- .../test_webapp_cosmoscassandra_e2e.yaml | 1949 ++++++++++++++++ .../test_webapp_cosmosgremlin_e2e.yaml | 1949 ++++++++++++++++ .../test_webapp_cosmosmongo_e2e.yaml | 1997 +++++++++++++++++ .../recordings/test_webapp_cosmossql_e2e.yaml | 1997 +++++++++++++++++ .../test_webapp_cosmostable_e2e.yaml | 1997 +++++++++++++++++ .../latest/test_local_connection_scenario.py | 11 +- .../latest/test_webpp_connection_scenario.py | 6 - src/azure-cli/service_name.json | 5 + 14 files changed, 16932 insertions(+), 485 deletions(-) create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmosmongo_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmossql_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmoscassandra_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmosgremlin_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmosmongo_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmossql_e2e.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmostable_e2e.yaml diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py index dccf00e9d16..bc9fe07605b 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py @@ -185,7 +185,7 @@ def set_user_admin(self, user_object_id, **kwargs): if mysql_identity_id is None: raise ValidationError( "Provide '{} mysql-identity-id=xx' to set {} as AAD administrator.".format( - '--system-identity' if self.auth_type == PasswordlessIdentity[AUTH_TYPE.SystemIdentity] else '--user-account', self.user)) + '--system-identity' if self.auth_type == PasswordlessIdentity[AUTH_TYPE.SystemIdentity] else '--user-account', self.login_username)) mysql_umi = run_cli_cmd( 'az mysql flexible-server identity list -g {} -s {} --subscription {}'.format(self.resource_group, self.server, self.subscription)) if (not mysql_umi) or (not mysql_umi.get("userAssignedIdentities")) or mysql_identity_id not in mysql_umi.get("userAssignedIdentities"): diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmoscassandra_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmoscassandra_e2e.yaml index fd2934c96f7..3618dc7c10a 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmoscassandra_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmoscassandra_e2e.yaml @@ -1,4 +1,1137 @@ interactions: +- request: + body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb"}, + "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create cosmos-cassandra + Connection: + - keep-alive + Content-Length: + - '403' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "name": "testconn2", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T05:51:54.7528234Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T05:51:54.7528234Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1167' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:51:55 GMT + etag: + - '"6f00892e-0000-0100-0000-639ab5fb0000"' + expires: + - '-1' + mise-correlation-id: + - f4c3adcb-7962-401d-8c3c-0e844a2c2e29 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:52:26 GMT + etag: + - '"13009ded-0000-0100-0000-639ab5fb0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:52:57 GMT + etag: + - '"13009ded-0000-0100-0000-639ab5fb0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:53:26 GMT + etag: + - '"13009ded-0000-0100-0000-639ab5fb0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:53:57 GMT + etag: + - '"13009ded-0000-0100-0000-639ab5fb0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:54:27 GMT + etag: + - '"13009ded-0000-0100-0000-639ab5fb0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:54:58 GMT + etag: + - '"13009ded-0000-0100-0000-639ab5fb0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:55:28 GMT + etag: + - '"13009ded-0000-0100-0000-639ab5fb0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:55:59 GMT + etag: + - '"13009ded-0000-0100-0000-639ab5fb0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:56:29 GMT + etag: + - '"13009ded-0000-0100-0000-639ab5fb0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:56:59 GMT + etag: + - '"13009ded-0000-0100-0000-639ab5fb0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:57:29 GMT + etag: + - '"13009ded-0000-0100-0000-639ab5fb0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:58:00 GMT + etag: + - '"13009ded-0000-0100-0000-639ab5fb0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:58:30 GMT + etag: + - '"13009ded-0000-0100-0000-639ab5fb0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:59:01 GMT + etag: + - '"13009ded-0000-0100-0000-639ab5fb0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:59:32 GMT + etag: + - '"13009ded-0000-0100-0000-639ab5fb0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:00:01 GMT + etag: + - '"13009ded-0000-0100-0000-639ab5fb0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:00:32 GMT + etag: + - '"13009ded-0000-0100-0000-639ab5fb0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:01:03 GMT + etag: + - '"13009ded-0000-0100-0000-639ab5fb0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "status": "Succeeded", "startTime": "2022-12-15T05:51:55.6644698Z", "endTime": + "2022-12-15T06:01:11.9315986Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '674' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:01:33 GMT + etag: + - '"13003df3-0000-0100-0000-639ab8270000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "name": "testconn2", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T05:51:54.7528234Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T05:51:54.7528234Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '1003' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:01:34 GMT + etag: + - '"6f001152-0000-0100-0000-639ab8270000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "name": "testconn2", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T05:51:54.7528234Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T05:51:54.7528234Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1016' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:01:42 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: null headers: @@ -7,62 +1140,76 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - connection create cosmos-cassandra + - connection update cosmos-cassandra Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --secret --client-type + - --id --client-type User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2?api-version=2022-11-01-preview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", - "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", - "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "name": "testconn2", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T05:51:54.7528234Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T05:51:54.7528234Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' headers: cache-control: - no-cache content-length: - - '275' + - '1003' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 02:24:54 GMT + - Thu, 15 Dec 2022 06:01:44 GMT + etag: + - '"6f001152-0000-0100-0000-639ab8270000"' 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb"}, - "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": - {"firewallRules": {"callerClientIP": "true"}}}}' + "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - connection create cosmos-cassandra + - connection update cosmos-cassandra Connection: - keep-alive Content-Length: - - '403' + - '460' Content-Type: - application/json ParameterSetName: - - -g --connection --target-id --secret --client-type + - --id --client-type User-Agent: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) @@ -73,18 +1220,18 @@ interactions: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", "name": "testconn2", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T02:24:56.5720121Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T02:24:56.5720121Z"}, + "User", "createdAt": "2022-12-15T05:51:54.7528234Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:01:45.8238253Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": + null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/328853ed-3701-4f89-9297-7d29041e191f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -92,13 +1239,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 02:24:56 GMT + - Thu, 15 Dec 2022 06:01:45 GMT etag: - - '"5800e458-0000-0100-0000-639933f90000"' + - '"6f001452-0000-0100-0000-639ab84a0000"' expires: - '-1' mise-correlation-id: - - 32dc66e0-a7e5-44f9-a249-4829c3bd87a5 + - 05d99188-7870-4406-89bd-af92caac09ba pragma: - no-cache strict-transport-security: @@ -120,22 +1267,22 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - connection create cosmos-cassandra + - connection update cosmos-cassandra Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --secret --client-type + - --id --client-type User-Agent: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/328853ed-3701-4f89-9297-7d29041e191f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/328853ed-3701-4f89-9297-7d29041e191f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "328853ed-3701-4f89-9297-7d29041e191f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-14T02:24:56.8310373Z"}' + "status": "Accepted", "startTime": "2022-12-15T06:01:45.9918262Z"}' headers: cache-control: - no-cache @@ -144,9 +1291,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 02:25:27 GMT + - Thu, 15 Dec 2022 06:02:16 GMT etag: - - '"0f00c648-0000-0100-0000-639933f80000"' + - '"13008af3-0000-0100-0000-639ab8490000"' expires: - '-1' pragma: @@ -170,33 +1317,34 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - connection create cosmos-cassandra + - connection update cosmos-cassandra Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --secret --client-type + - --id --client-type User-Agent: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/328853ed-3701-4f89-9297-7d29041e191f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/328853ed-3701-4f89-9297-7d29041e191f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "328853ed-3701-4f89-9297-7d29041e191f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-14T02:24:56.8310373Z"}' + "status": "Succeeded", "startTime": "2022-12-15T06:01:45.9918262Z", "endTime": + "2022-12-15T06:02:32.0049924Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '597' + - '674' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 02:25:58 GMT + - Thu, 15 Dec 2022 06:02:47 GMT etag: - - '"0f00c648-0000-0100-0000-639933f80000"' + - '"1300faf3-0000-0100-0000-639ab8780000"' expires: - '-1' pragma: @@ -220,33 +1368,212 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - connection create cosmos-cassandra + - connection update cosmos-cassandra Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --secret --client-type + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "name": "testconn2", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T05:51:54.7528234Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:01:45.8238253Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '1003' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:02:49 GMT + etag: + - '"6f001652-0000-0100-0000-639ab8780000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_COSMOS_USERNAME", "value": "servicelinker-cassandra-cosmos1"}, + {"name": "AZURE_COSMOS_PASSWORD", "value": "mxruMlV5JJNqRFrKRToxt06m5svtluaMbmz2fHou6awKZkKrjGUJkb0RhzLrQYtfsXPqwPHDN8LOK8hoQSwX5w=="}, + {"name": "AZURE_COSMOS_CONTACTPOINT", "value": "servicelinker-cassandra-cosmos1.cassandra.cosmos.azure.com"}, + {"name": "AZURE_COSMOS_PORT", "value": "10350"}, {"name": "AZURE_COSMOS_KEYSPACE", + "value": "coredb"}]}' + headers: + cache-control: + - no-cache + content-length: + - '448' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:02:56 GMT + expires: + - '-1' + mise-correlation-id: + - 25f077bf-f35c-4ebc-85a1-da93503f6b27 + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2aa87f74-77d0-42dd-adc7-3dd041635c4c*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:02:59 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2aa87f74-77d0-42dd-adc7-3dd041635c4c*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + mise-correlation-id: + - 1bf8c088-5dd1-444e-a107-ff4a5db67150 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id User-Agent: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2aa87f74-77d0-42dd-adc7-3dd041635c4c*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2aa87f74-77d0-42dd-adc7-3dd041635c4c*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "2aa87f74-77d0-42dd-adc7-3dd041635c4c*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-14T02:24:56.8310373Z"}' + "status": "Succeeded", "startTime": "2022-12-15T06:02:59.5419567Z", "endTime": + "2022-12-15T06:03:04.9105209Z", "properties": {"Message": "{\"ConnectionName\":\"testconn2\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T06:03:00.8015188Z\",\"ReportEndTimeUtc\":\"2022-12-15T06:03:03.817811Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn2", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-15T06:03:00.8015188Z", + "reportEndTimeUtc": "2022-12-15T06:03:03.817811Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' headers: cache-control: - no-cache content-length: - - '597' + - '1521' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 02:26:29 GMT + - Thu, 15 Dec 2022 06:03:30 GMT etag: - - '"0f00c648-0000-0100-0000-639933f80000"' + - '"130050f4-0000-0100-0000-639ab8980000"' expires: - '-1' pragma: @@ -270,38 +1597,98 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - connection create cosmos-cassandra + - connection validate Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --secret --client-type + - --id User-Agent: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2aa87f74-77d0-42dd-adc7-3dd041635c4c*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "bb334c92-010b-4aa4-a5eb-44102bc8f46f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2aa87f74-77d0-42dd-adc7-3dd041635c4c*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "2aa87f74-77d0-42dd-adc7-3dd041635c4c*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Failed", "startTime": "2022-12-14T02:24:56.8310373Z", "endTime": - "2022-12-14T02:26:31.250332Z", "error": {"code": "GeneralUserError", "message": - "Execution failed.. There is already an operation in progress which requires - exclusive lock on this service servicelinker-cassandra-cosmos1. Please retry - the operation after sometime.\r\nActivityId: b917a83c-94ca-44b5-ae01-545d4bce4099, - Microsoft.Azure.Documents.Common/2.14.0"}}' + "status": "Succeeded", "startTime": "2022-12-15T06:02:59.5419567Z", "endTime": + "2022-12-15T06:03:04.9105209Z", "properties": {"Message": "{\"ConnectionName\":\"testconn2\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T06:03:00.8015188Z\",\"ReportEndTimeUtc\":\"2022-12-15T06:03:03.817811Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn2", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-15T06:03:00.8015188Z", + "reportEndTimeUtc": "2022-12-15T06:03:03.817811Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1521' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:03:30 GMT + etag: + - '"130050f4-0000-0100-0000-639ab8980000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "name": "testconn2", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T05:51:54.7528234Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:01:45.8238253Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' headers: cache-control: - no-cache content-length: - - '966' + - '1003' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 02:27:00 GMT + - Thu, 15 Dec 2022 06:03:31 GMT etag: - - '"0f001e4a-0000-0100-0000-639934570000"' + - '"6f001652-0000-0100-0000-639ab8780000"' expires: - '-1' pragma: @@ -314,6 +1701,53 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 15 Dec 2022 06:03:37 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmosgremlin_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmosgremlin_e2e.yaml index 8dc794c85b2..c3659a4e258 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmosgremlin_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmosgremlin_e2e.yaml @@ -1,6 +1,8 @@ interactions: - request: - body: null + body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem"}, + "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' headers: Accept: - application/json @@ -10,32 +12,104 @@ interactions: - connection create cosmos-gremlin Connection: - keep-alive + Content-Length: + - '412' + Content-Type: + - application/json ParameterSetName: - -g --connection --target-id --secret --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "name": "testconn3", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T06:04:37.9392714Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:04:37.9392714Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1176' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:04:39 GMT + etag: + - '"6f006457-0000-0100-0000-639ab8f70000"' + expires: + - '-1' + mise-correlation-id: + - bbc6de2b-cd13-4fb1-8b8b-34891626a1d0 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", - "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", - "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-15T06:04:38.7612826Z"}' headers: cache-control: - no-cache content-length: - - '275' + - '597' content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:51:00 GMT + - Thu, 15 Dec 2022 06:05:09 GMT + etag: + - '"130060f5-0000-0100-0000-639ab8f60000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked vary: - Accept-Encoding x-content-type-options: @@ -44,72 +118,55 @@ interactions: code: 200 message: OK - request: - body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem"}, - "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": - {"firewallRules": {"callerClientIP": "true"}}}}' + body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - connection create cosmos-gremlin Connection: - keep-alive - Content-Length: - - '412' - Content-Type: - - application/json ParameterSetName: - -g --connection --target-id --secret --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3?api-version=2022-11-01-preview + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "name": "testconn3", "type": "microsoft.servicelinker/locations/connectors", - "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-13T14:51:05.7193991Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-13T14:51:05.7193991Z"}, - "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, - "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": - "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": null}}' + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-15T06:04:38.7612826Z"}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1176' + - '597' content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:51:06 GMT + - Thu, 15 Dec 2022 06:05:40 GMT etag: - - '"45007371-0000-0100-0000-6398915a0000"' + - '"130060f5-0000-0100-0000-639ab8f60000"' expires: - '-1' - mise-correlation-id: - - 727f7515-5fc5-440b-a568-fd30c391d002 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' - x-ms-ratelimit-remaining-subscription-writes: - - '1197' status: - code: 201 - message: Created + code: 200 + message: OK - request: body: null headers: @@ -124,15 +181,16 @@ interactions: ParameterSetName: - -g --connection --target-id --secret --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + "status": "Accepted", "startTime": "2022-12-15T06:04:38.7612826Z"}' headers: cache-control: - no-cache @@ -141,9 +199,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:51:57 GMT + - Thu, 15 Dec 2022 06:06:09 GMT etag: - - '"0d005254-0000-0100-0000-6398915a0000"' + - '"130060f5-0000-0100-0000-639ab8f60000"' expires: - '-1' pragma: @@ -173,15 +231,16 @@ interactions: ParameterSetName: - -g --connection --target-id --secret --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + "status": "Accepted", "startTime": "2022-12-15T06:04:38.7612826Z"}' headers: cache-control: - no-cache @@ -190,9 +249,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:52:27 GMT + - Thu, 15 Dec 2022 06:06:41 GMT etag: - - '"0d005254-0000-0100-0000-6398915a0000"' + - '"130060f5-0000-0100-0000-639ab8f60000"' expires: - '-1' pragma: @@ -222,15 +281,16 @@ interactions: ParameterSetName: - -g --connection --target-id --secret --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + "status": "Accepted", "startTime": "2022-12-15T06:04:38.7612826Z"}' headers: cache-control: - no-cache @@ -239,9 +299,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:52:58 GMT + - Thu, 15 Dec 2022 06:07:11 GMT etag: - - '"0d005254-0000-0100-0000-6398915a0000"' + - '"130060f5-0000-0100-0000-639ab8f60000"' expires: - '-1' pragma: @@ -271,15 +331,16 @@ interactions: ParameterSetName: - -g --connection --target-id --secret --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + "status": "Accepted", "startTime": "2022-12-15T06:04:38.7612826Z"}' headers: cache-control: - no-cache @@ -288,9 +349,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:53:28 GMT + - Thu, 15 Dec 2022 06:07:41 GMT etag: - - '"0d005254-0000-0100-0000-6398915a0000"' + - '"130060f5-0000-0100-0000-639ab8f60000"' expires: - '-1' pragma: @@ -320,15 +381,16 @@ interactions: ParameterSetName: - -g --connection --target-id --secret --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + "status": "Accepted", "startTime": "2022-12-15T06:04:38.7612826Z"}' headers: cache-control: - no-cache @@ -337,9 +399,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:53:58 GMT + - Thu, 15 Dec 2022 06:08:11 GMT etag: - - '"0d005254-0000-0100-0000-6398915a0000"' + - '"130060f5-0000-0100-0000-639ab8f60000"' expires: - '-1' pragma: @@ -369,15 +431,16 @@ interactions: ParameterSetName: - -g --connection --target-id --secret --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + "status": "Accepted", "startTime": "2022-12-15T06:04:38.7612826Z"}' headers: cache-control: - no-cache @@ -386,9 +449,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:54:29 GMT + - Thu, 15 Dec 2022 06:08:42 GMT etag: - - '"0d005254-0000-0100-0000-6398915a0000"' + - '"130060f5-0000-0100-0000-639ab8f60000"' expires: - '-1' pragma: @@ -418,15 +481,16 @@ interactions: ParameterSetName: - -g --connection --target-id --secret --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + "status": "Accepted", "startTime": "2022-12-15T06:04:38.7612826Z"}' headers: cache-control: - no-cache @@ -435,9 +499,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:54:59 GMT + - Thu, 15 Dec 2022 06:09:12 GMT etag: - - '"0d005254-0000-0100-0000-6398915a0000"' + - '"130060f5-0000-0100-0000-639ab8f60000"' expires: - '-1' pragma: @@ -467,15 +531,16 @@ interactions: ParameterSetName: - -g --connection --target-id --secret --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + "status": "Accepted", "startTime": "2022-12-15T06:04:38.7612826Z"}' headers: cache-control: - no-cache @@ -484,9 +549,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:55:30 GMT + - Thu, 15 Dec 2022 06:09:43 GMT etag: - - '"0d005254-0000-0100-0000-6398915a0000"' + - '"130060f5-0000-0100-0000-639ab8f60000"' expires: - '-1' pragma: @@ -516,15 +581,16 @@ interactions: ParameterSetName: - -g --connection --target-id --secret --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + "status": "Accepted", "startTime": "2022-12-15T06:04:38.7612826Z"}' headers: cache-control: - no-cache @@ -533,9 +599,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:56:00 GMT + - Thu, 15 Dec 2022 06:10:13 GMT etag: - - '"0d005254-0000-0100-0000-6398915a0000"' + - '"130060f5-0000-0100-0000-639ab8f60000"' expires: - '-1' pragma: @@ -565,15 +631,16 @@ interactions: ParameterSetName: - -g --connection --target-id --secret --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + "status": "Accepted", "startTime": "2022-12-15T06:04:38.7612826Z"}' headers: cache-control: - no-cache @@ -582,9 +649,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:56:30 GMT + - Thu, 15 Dec 2022 06:10:44 GMT etag: - - '"0d005254-0000-0100-0000-6398915a0000"' + - '"130060f5-0000-0100-0000-639ab8f60000"' expires: - '-1' pragma: @@ -614,15 +681,16 @@ interactions: ParameterSetName: - -g --connection --target-id --secret --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Accepted", "startTime": "2022-12-13T14:51:06.5615265Z"}' + "status": "Accepted", "startTime": "2022-12-15T06:04:38.7612826Z"}' headers: cache-control: - no-cache @@ -631,9 +699,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:57:01 GMT + - Thu, 15 Dec 2022 06:11:13 GMT etag: - - '"0d005254-0000-0100-0000-6398915a0000"' + - '"130060f5-0000-0100-0000-639ab8f60000"' expires: - '-1' pragma: @@ -663,27 +731,27 @@ interactions: ParameterSetName: - -g --connection --target-id --secret --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "fe97882a-2e03-46f2-aff4-a15992e9a34e*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Succeeded", "startTime": "2022-12-13T14:51:06.5615265Z", "endTime": - "2022-12-13T14:57:14.5250481Z", "properties": {"Message": null}}' + "status": "Accepted", "startTime": "2022-12-15T06:04:38.7612826Z"}' headers: cache-control: - no-cache content-length: - - '674' + - '597' content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:57:30 GMT + - Thu, 15 Dec 2022 06:11:44 GMT etag: - - '"0d00d357-0000-0100-0000-639892ca0000"' + - '"130060f5-0000-0100-0000-639ab8f60000"' expires: - '-1' pragma: @@ -713,32 +781,27 @@ interactions: ParameterSetName: - -g --connection --target-id --secret --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3?api-version=2022-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "name": "testconn3", "type": "microsoft.servicelinker/locations/connectors", - "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-13T14:51:05.7193991Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-13T14:51:05.7193991Z"}, - "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": - "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": - "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": - "python"}}' + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-15T06:04:38.7612826Z"}' headers: cache-control: - no-cache content-length: - - '1012' + - '597' content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:57:31 GMT + - Thu, 15 Dec 2022 06:12:15 GMT etag: - - '"450005cc-0000-0100-0000-639892ca0000"' + - '"130060f5-0000-0100-0000-639ab8f60000"' expires: - '-1' pragma: @@ -751,8 +814,6 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-providerhub-traffic: - - 'True' status: code: 200 message: OK @@ -760,39 +821,45 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - connection list + - connection create cosmos-gremlin Connection: - keep-alive ParameterSetName: - - -g + - -g --connection --target-id --secret --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", - "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", - "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-15T06:04:38.7612826Z"}' headers: cache-control: - no-cache content-length: - - '275' + - '597' content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:57:39 GMT + - Thu, 15 Dec 2022 06:12:46 GMT + etag: + - '"130060f5-0000-0100-0000-639ab8f60000"' expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked vary: - Accept-Encoding x-content-type-options: @@ -804,40 +871,37 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - connection list + - connection create cosmos-gremlin Connection: - keep-alive ParameterSetName: - - -g + - -g --connection --target-id --secret --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview response: body: - string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "name": "testconn3", "type": "microsoft.servicelinker/locations/connectors", - "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-13T14:51:05.7193991Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-13T14:51:05.7193991Z"}, - "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": - "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": - "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": - "python"}}]}' + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-15T06:04:38.7612826Z"}' headers: cache-control: - no-cache content-length: - - '1025' + - '597' content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:57:40 GMT + - Thu, 15 Dec 2022 06:13:17 GMT + etag: + - '"130060f5-0000-0100-0000-639ab8f60000"' expires: - '-1' pragma: @@ -850,8 +914,6 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-providerhub-traffic: - - 'True' status: code: 200 message: OK @@ -859,17 +921,119 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - connection update cosmos-gremlin + - connection create cosmos-gremlin Connection: - keep-alive ParameterSetName: - - --id --client-type + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Accepted", "startTime": "2022-12-15T06:04:38.7612826Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:13:47 GMT + etag: + - '"130060f5-0000-0100-0000-639ab8f60000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "dccfce33-5368-4400-b370-f2bdc91a99f4*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "status": "Succeeded", "startTime": "2022-12-15T06:04:38.7612826Z", "endTime": + "2022-12-15T06:13:57.6083014Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '674' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:14:17 GMT + etag: + - '"1300b6fb-0000-0100-0000-639abb250000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3?api-version=2022-11-01-preview response: @@ -877,8 +1041,8 @@ interactions: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", "name": "testconn3", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-13T14:51:05.7193991Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-13T14:51:05.7193991Z"}, + "User", "createdAt": "2022-12-15T06:04:37.9392714Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:04:37.9392714Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", @@ -892,9 +1056,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:57:43 GMT + - Thu, 15 Dec 2022 06:14:18 GMT etag: - - '"450005cc-0000-0100-0000-639892ca0000"' + - '"6f006c76-0000-0100-0000-639abb250000"' expires: - '-1' pragma: @@ -913,76 +1077,66 @@ interactions: code: 200 message: OK - request: - body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem"}, - "authInfo": {"authType": "userAccount", "principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff"}, - "clientType": "dotnet"}}' + body: null headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - connection update cosmos-gremlin + - connection list Connection: - keep-alive - Content-Length: - - '400' - Content-Type: - - application/json ParameterSetName: - - --id --client-type + - -g User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3?api-version=2022-11-01-preview + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", "name": "testconn3", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-13T14:51:05.7193991Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-13T14:57:44.2264627Z"}, - "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": - "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"principalId": - "b0a9d3c6-3387-4067-9f03-39808e7291ff", "roles": null, "userName": null, "authType": - "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "dotnet", - "scope": null, "vNetSolution": null, "secretStore": null}}' + "User", "createdAt": "2022-12-15T06:04:37.9392714Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:04:37.9392714Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}]}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1156' + - '1025' content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:57:44 GMT - etag: - - '"450073e2-0000-0100-0000-639892e80000"' + - Thu, 15 Dec 2022 06:14:24 GMT expires: - '-1' - mise-correlation-id: - - 00b755b7-2dc5-4266-9e85-83310bb72232 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' - x-ms-ratelimit-remaining-subscription-writes: - - '1196' status: - code: 201 - message: Created + code: 200 + message: OK - request: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: @@ -992,26 +1146,33 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3?api-version=2022-11-01-preview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Accepted", "startTime": "2022-12-13T14:57:44.455999Z"}' + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "name": "testconn3", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T06:04:37.9392714Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:04:37.9392714Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' headers: cache-control: - no-cache content-length: - - '596' + - '1012' content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:58:15 GMT + - Thu, 15 Dec 2022 06:14:26 GMT etag: - - '"0d001a58-0000-0100-0000-639892e80000"' + - '"6f006c76-0000-0100-0000-639abb250000"' expires: - '-1' pragma: @@ -1024,58 +1185,80 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-providerhub-traffic: + - 'True' status: code: 200 message: OK - request: - body: null + body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem"}, + "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - connection update cosmos-gremlin Connection: - keep-alive + Content-Length: + - '469' + Content-Type: + - application/json ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3?api-version=2022-11-01-preview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Accepted", "startTime": "2022-12-13T14:57:44.455999Z"}' + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "name": "testconn3", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T06:04:37.9392714Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:14:28.3081547Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": + null, "vNetSolution": null, "secretStore": null}}' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ef37d723-9e0c-4fec-ab55-ec9a4850e212*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '596' + - '1176' content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:58:45 GMT + - Thu, 15 Dec 2022 06:14:28 GMT etag: - - '"0d001a58-0000-0100-0000-639892e80000"' + - '"6f00ca78-0000-0100-0000-639abb440000"' expires: - '-1' + mise-correlation-id: + - 1415afdc-e038-47b1-bb8e-09b5338ff265 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -1090,26 +1273,27 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ef37d723-9e0c-4fec-ab55-ec9a4850e212*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ef37d723-9e0c-4fec-ab55-ec9a4850e212*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "ef37d723-9e0c-4fec-ab55-ec9a4850e212*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Accepted", "startTime": "2022-12-13T14:57:44.455999Z"}' + "status": "Accepted", "startTime": "2022-12-15T06:14:28.5342275Z"}' headers: cache-control: - no-cache content-length: - - '596' + - '597' content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:59:16 GMT + - Thu, 15 Dec 2022 06:14:59 GMT etag: - - '"0d001a58-0000-0100-0000-639892e80000"' + - '"130026fc-0000-0100-0000-639abb440000"' expires: - '-1' pragma: @@ -1139,26 +1323,28 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ef37d723-9e0c-4fec-ab55-ec9a4850e212*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ef37d723-9e0c-4fec-ab55-ec9a4850e212*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "ef37d723-9e0c-4fec-ab55-ec9a4850e212*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Accepted", "startTime": "2022-12-13T14:57:44.455999Z"}' + "status": "Succeeded", "startTime": "2022-12-15T06:14:28.5342275Z", "endTime": + "2022-12-15T06:15:13.2081789Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '596' + - '674' content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 14:59:46 GMT + - Thu, 15 Dec 2022 06:15:29 GMT etag: - - '"0d001a58-0000-0100-0000-639892e80000"' + - '"1300d4fc-0000-0100-0000-639abb710000"' expires: - '-1' pragma: @@ -1188,26 +1374,33 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3?api-version=2022-11-01-preview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Accepted", "startTime": "2022-12-13T14:57:44.455999Z"}' + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "name": "testconn3", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T06:04:37.9392714Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:14:28.3081547Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' headers: cache-control: - no-cache content-length: - - '596' + - '1012' content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 15:00:16 GMT + - Thu, 15 Dec 2022 06:15:30 GMT etag: - - '"0d001a58-0000-0100-0000-639892e80000"' + - '"6f00ef7b-0000-0100-0000-639abb710000"' expires: - '-1' pragma: @@ -1220,6 +1413,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-providerhub-traffic: + - 'True' status: code: 200 message: OK @@ -1227,38 +1422,43 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - connection update cosmos-gremlin + - connection generate-configuration Connection: - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json ParameterSetName: - - --id --client-type + - --id User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3/generateConfigurations?api-version=2022-11-01-preview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Accepted", "startTime": "2022-12-13T14:57:44.455999Z"}' + string: '{"configurations": [{"name": "AZURE_COSMOS_HOSTNAME", "value": "servicelinker-gremlin-cosmos.gremlin.cosmos.azure.com"}, + {"name": "AZURE_COSMOS_PORT", "value": "443"}, {"name": "AZURE_COSMOS_USERNAME", + "value": "/dbs/coreDB/colls/MyItem"}, {"name": "AZURE_COSMOS_PASSWORD", "value": + "2gTxGQYLKtBvQ9ZbTz8NjSQiVNEJmO0etTqtHHbEtARcgzmTwzMZaegtu95JXJyvo3T7t31WM8dHyfnIl0nfQQ=="}]}' headers: cache-control: - no-cache content-length: - - '596' + - '376' content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 15:00:46 GMT - etag: - - '"0d001a58-0000-0100-0000-639892e80000"' + - Thu, 15 Dec 2022 06:15:40 GMT expires: - '-1' + mise-correlation-id: + - 53332e70-ca35-4596-b01e-f01e0e62330a pragma: - no-cache strict-transport-security: @@ -1269,6 +1469,10 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' status: code: 200 message: OK @@ -1276,51 +1480,55 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - connection update cosmos-gremlin + - connection validate Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - - --id --client-type + - --id User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3/validate?api-version=2022-11-01-preview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Accepted", "startTime": "2022-12-13T14:57:44.455999Z"}' + string: 'null' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6d1e3d11-6209-4467-87c5-b6675b2b9a6d*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '596' + - '4' content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 15:06:26 GMT - etag: - - '"0d001a58-0000-0100-0000-639892e80000"' + - Thu, 15 Dec 2022 06:15:42 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6d1e3d11-6209-4467-87c5-b6675b2b9a6d*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + mise-correlation-id: + - 4b203d5d-1c0b-4cc3-a1ab-8e9770e8f612 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1197' status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -1329,32 +1537,42 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - connection update cosmos-gremlin + - connection validate Connection: - keep-alive ParameterSetName: - - --id --client-type + - --id User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6d1e3d11-6209-4467-87c5-b6675b2b9a6d*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6d1e3d11-6209-4467-87c5-b6675b2b9a6d*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "6d1e3d11-6209-4467-87c5-b6675b2b9a6d*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Accepted", "startTime": "2022-12-13T14:57:44.455999Z"}' + "status": "Succeeded", "startTime": "2022-12-15T06:15:42.0616167Z", "endTime": + "2022-12-15T06:15:45.5034647Z", "properties": {"Message": "{\"ConnectionName\":\"testconn3\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T06:15:43.4902551Z\",\"ReportEndTimeUtc\":\"2022-12-15T06:15:44.3745325Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn3", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-15T06:15:43.4902551Z", + "reportEndTimeUtc": "2022-12-15T06:15:44.3745325Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' headers: cache-control: - no-cache content-length: - - '596' + - '1523' content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 15:06:57 GMT + - Thu, 15 Dec 2022 06:16:12 GMT etag: - - '"0d001a58-0000-0100-0000-639892e80000"' + - '"13003bfd-0000-0100-0000-639abb910000"' expires: - '-1' pragma: @@ -1378,32 +1596,42 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - connection update cosmos-gremlin + - connection validate Connection: - keep-alive ParameterSetName: - - --id --client-type + - --id User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6d1e3d11-6209-4467-87c5-b6675b2b9a6d*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6d1e3d11-6209-4467-87c5-b6675b2b9a6d*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", + "name": "6d1e3d11-6209-4467-87c5-b6675b2b9a6d*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Accepted", "startTime": "2022-12-13T14:57:44.455999Z"}' + "status": "Succeeded", "startTime": "2022-12-15T06:15:42.0616167Z", "endTime": + "2022-12-15T06:15:45.5034647Z", "properties": {"Message": "{\"ConnectionName\":\"testconn3\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T06:15:43.4902551Z\",\"ReportEndTimeUtc\":\"2022-12-15T06:15:44.3745325Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn3", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-15T06:15:43.4902551Z", + "reportEndTimeUtc": "2022-12-15T06:15:44.3745325Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' headers: cache-control: - no-cache content-length: - - '596' + - '1523' content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 15:07:27 GMT + - Thu, 15 Dec 2022 06:16:13 GMT etag: - - '"0d001a58-0000-0100-0000-639892e80000"' + - '"13003bfd-0000-0100-0000-639abb910000"' expires: - '-1' pragma: @@ -1423,40 +1651,43 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - connection update cosmos-gremlin + - connection show Connection: - keep-alive ParameterSetName: - - --id --client-type + - --id User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3?api-version=2022-11-01-preview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "name": "8cdd4651-1853-4907-bda4-50c4ff27fba6*3AB86C42EDF5F7ADC7142D66B96DF78F5872FF2E934FBFF28F3084806974165F", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", - "status": "Failed", "startTime": "2022-12-13T14:57:44.455999Z", "endTime": - "2022-12-13T15:07:47.3209191Z", "error": {"code": "TaskSystemGeneralError", - "message": "Async task 86bf5695-bca3-43e8-b841-5725510e591c hit max retry - count in Execution progress with system error (retried 3 times). Last error: - ."}}' + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3", + "name": "testconn3", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T06:04:37.9392714Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:14:28.3081547Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' headers: cache-control: - no-cache content-length: - - '837' + - '1012' content-type: - application/json; charset=utf-8 date: - - Tue, 13 Dec 2022 15:07:57 GMT + - Thu, 15 Dec 2022 06:16:14 GMT etag: - - '"0d00f85c-0000-0100-0000-639895430000"' + - '"6f00ef7b-0000-0100-0000-639abb710000"' expires: - '-1' pragma: @@ -1469,6 +1700,53 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn3?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 15 Dec 2022 06:16:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmosmongo_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmosmongo_e2e.yaml new file mode 100644 index 00000000000..4a3059cc849 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmosmongo_e2e.yaml @@ -0,0 +1,1716 @@ +interactions: +- request: + body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB"}, + "authInfo": {"authType": "userAccount", "principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff"}, + "clientType": "dotnet", "publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create cosmos-mongo + Connection: + - keep-alive + Content-Length: + - '456' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --user-account --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "name": "testconn4", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T06:17:06.2824594Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:29:20.543263Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"principalId": + "b0a9d3c6-3387-4067-9f03-39808e7291ff", "roles": null, "userName": null, "authType": + "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "dotnet", + "scope": null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1255' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:29:21 GMT + etag: + - '"7000b653-0000-0100-0000-639abec10000"' + expires: + - '-1' + mise-correlation-id: + - 34041396-4a4a-4f30-ae1c-0b58a4da6bfc + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --user-account --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-15T06:29:21.5912434Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:29:52 GMT + etag: + - '"14003507-0000-0100-0000-639abec10000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --user-account --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-15T06:29:21.5912434Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:30:24 GMT + etag: + - '"14003507-0000-0100-0000-639abec10000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --user-account --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-15T06:29:21.5912434Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:30:54 GMT + etag: + - '"14003507-0000-0100-0000-639abec10000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --user-account --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-15T06:29:21.5912434Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:31:26 GMT + etag: + - '"14003507-0000-0100-0000-639abec10000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --user-account --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-15T06:29:21.5912434Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:31:56 GMT + etag: + - '"14003507-0000-0100-0000-639abec10000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --user-account --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-15T06:29:21.5912434Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:32:27 GMT + etag: + - '"14003507-0000-0100-0000-639abec10000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --user-account --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-15T06:29:21.5912434Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:32:58 GMT + etag: + - '"14003507-0000-0100-0000-639abec10000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --user-account --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-15T06:29:21.5912434Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:33:29 GMT + etag: + - '"14003507-0000-0100-0000-639abec10000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --user-account --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-15T06:29:21.5912434Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:34:00 GMT + etag: + - '"14003507-0000-0100-0000-639abec10000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --user-account --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-15T06:29:21.5912434Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:34:31 GMT + etag: + - '"14003507-0000-0100-0000-639abec10000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --user-account --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-15T06:29:21.5912434Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:35:03 GMT + etag: + - '"14003507-0000-0100-0000-639abec10000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --user-account --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-15T06:29:21.5912434Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:35:33 GMT + etag: + - '"14003507-0000-0100-0000-639abec10000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --user-account --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-15T06:29:21.5912434Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:36:05 GMT + etag: + - '"14003507-0000-0100-0000-639abec10000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --user-account --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-15T06:29:21.5912434Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:36:35 GMT + etag: + - '"14003507-0000-0100-0000-639abec10000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --user-account --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-15T06:29:21.5912434Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:37:07 GMT + etag: + - '"14003507-0000-0100-0000-639abec10000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --user-account --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-15T06:29:21.5912434Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:37:37 GMT + etag: + - '"14003507-0000-0100-0000-639abec10000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --user-account --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-15T06:29:21.5912434Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:38:08 GMT + etag: + - '"14003507-0000-0100-0000-639abec10000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --user-account --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "079cf431-2377-4d0a-99da-f6a3e33e6c20*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Succeeded", "startTime": "2022-12-15T06:29:21.5912434Z", "endTime": + "2022-12-15T06:38:38.342108Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '673' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:38:39 GMT + etag: + - '"14002b10-0000-0100-0000-639ac0ee0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --user-account --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "name": "testconn4", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T06:17:06.2824594Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:29:20.543263Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '1092' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:38:40 GMT + etag: + - '"70006172-0000-0100-0000-639ac0ee0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "name": "testconn4", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T06:17:06.2824594Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:29:20.543263Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": + "dotnet"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1105' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:38:47 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "name": "testconn4", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T06:17:06.2824594Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:29:20.543263Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '1092' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:38:49 GMT + etag: + - '"70006172-0000-0100-0000-639ac0ee0000"' + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB"}, + "authInfo": {"authType": "userAccount", "principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "deleteOrUpdateBehavior": "Default"}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update cosmos-mongo + Connection: + - keep-alive + Content-Length: + - '550' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "name": "testconn4", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T06:17:06.2824594Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:38:50.5097691Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"principalId": + "b0a9d3c6-3387-4067-9f03-39808e7291ff", "roles": null, "userName": null, "authType": + "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "dotnet", + "scope": null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4768bf32-6bdf-4bc1-9f80-6ed6884413aa*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1256' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:38:50 GMT + etag: + - '"70003573-0000-0100-0000-639ac0fa0000"' + expires: + - '-1' + mise-correlation-id: + - 55291f79-a804-4b4d-baa7-c087ff4decf4 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4768bf32-6bdf-4bc1-9f80-6ed6884413aa*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4768bf32-6bdf-4bc1-9f80-6ed6884413aa*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "4768bf32-6bdf-4bc1-9f80-6ed6884413aa*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Accepted", "startTime": "2022-12-15T06:38:50.6988045Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:39:21 GMT + etag: + - '"14005510-0000-0100-0000-639ac0fa0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4768bf32-6bdf-4bc1-9f80-6ed6884413aa*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4768bf32-6bdf-4bc1-9f80-6ed6884413aa*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "4768bf32-6bdf-4bc1-9f80-6ed6884413aa*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Succeeded", "startTime": "2022-12-15T06:38:50.6988045Z", "endTime": + "2022-12-15T06:39:37.4254945Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '674' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:39:52 GMT + etag: + - '"14002311-0000-0100-0000-639ac1290000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "name": "testconn4", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T06:17:06.2824594Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:38:50.5097691Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '1093' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:39:53 GMT + etag: + - '"70008776-0000-0100-0000-639ac1290000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_COSMOS_LISTCONNECTIONSTRINGURL", + "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/listConnectionStrings?api-version=2021-04-15"}, + {"name": "AZURE_COSMOS_RESOURCEENDPOINT", "value": "https://servicelinker-mongo-cosmos.documents.azure.com:443/"}, + {"name": "AZURE_COSMOS_SCOPE", "value": "https://management.azure.com/.default"}]}' + headers: + cache-control: + - no-cache + content-length: + - '523' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:40:04 GMT + expires: + - '-1' + mise-correlation-id: + - 6920c746-bdd6-49b0-9085-58a78aed08d9 + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a5a45ec7-92dc-4bf5-bf80-038ef8333ce7*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:40:06 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a5a45ec7-92dc-4bf5-bf80-038ef8333ce7*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + mise-correlation-id: + - af1fb293-0647-4fbf-910e-264a09e4afa4 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a5a45ec7-92dc-4bf5-bf80-038ef8333ce7*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a5a45ec7-92dc-4bf5-bf80-038ef8333ce7*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "a5a45ec7-92dc-4bf5-bf80-038ef8333ce7*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Succeeded", "startTime": "2022-12-15T06:40:06.1868562Z", "endTime": + "2022-12-15T06:40:14.6019137Z", "properties": {"Message": "{\"ConnectionName\":\"testconn4\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T06:40:07.6122396Z\",\"ReportEndTimeUtc\":\"2022-12-15T06:40:13.2721162Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":6}", + "linkerName": "testconn4", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The identity permission is validated", + "description": null, "result": "success"}], "reportStartTimeUtc": "2022-12-15T06:40:07.6122396Z", + "reportEndTimeUtc": "2022-12-15T06:40:13.2721162Z", "sourceId": null, "targetId": + null, "authType": "userAccount"}}' + headers: + cache-control: + - no-cache + content-length: + - '1706' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:40:37 GMT + etag: + - '"1400d911-0000-0100-0000-639ac14e0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a5a45ec7-92dc-4bf5-bf80-038ef8333ce7*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a5a45ec7-92dc-4bf5-bf80-038ef8333ce7*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "name": "a5a45ec7-92dc-4bf5-bf80-038ef8333ce7*960FA28A03DA520069DCB033E8754A0D1E75CF7991A200D5D55AF83E583F458A", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "status": "Succeeded", "startTime": "2022-12-15T06:40:06.1868562Z", "endTime": + "2022-12-15T06:40:14.6019137Z", "properties": {"Message": "{\"ConnectionName\":\"testconn4\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T06:40:07.6122396Z\",\"ReportEndTimeUtc\":\"2022-12-15T06:40:13.2721162Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":6}", + "linkerName": "testconn4", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The identity permission is validated", + "description": null, "result": "success"}], "reportStartTimeUtc": "2022-12-15T06:40:07.6122396Z", + "reportEndTimeUtc": "2022-12-15T06:40:13.2721162Z", "sourceId": null, "targetId": + null, "authType": "userAccount"}}' + headers: + cache-control: + - no-cache + content-length: + - '1706' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:40:37 GMT + etag: + - '"1400d911-0000-0100-0000-639ac14e0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4", + "name": "testconn4", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T06:17:06.2824594Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:38:50.5097691Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '1093' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:40:38 GMT + etag: + - '"70008776-0000-0100-0000-639ac1290000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn4?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 15 Dec 2022 06:40:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmossql_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmossql_e2e.yaml new file mode 100644 index 00000000000..5d9f8fd3a35 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmossql_e2e.yaml @@ -0,0 +1,1751 @@ +interactions: +- request: + body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB"}, + "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create cosmos-sql + Connection: + - keep-alive + Content-Length: + - '390' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "name": "testconn5", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T06:47:30.5585087Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:47:30.5585087Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1154' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:47:31 GMT + etag: + - '"7000ce8f-0000-0100-0000-639ac3030000"' + expires: + - '-1' + mise-correlation-id: + - 2292d17e-c1b1-4a36-8728-04f53b8f55ee + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Accepted", "startTime": "2022-12-15T06:47:31.5618779Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:48:03 GMT + etag: + - '"14004019-0000-0100-0000-639ac3030000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Accepted", "startTime": "2022-12-15T06:47:31.5618779Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:48:33 GMT + etag: + - '"14004019-0000-0100-0000-639ac3030000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Accepted", "startTime": "2022-12-15T06:47:31.5618779Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:49:04 GMT + etag: + - '"14004019-0000-0100-0000-639ac3030000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Accepted", "startTime": "2022-12-15T06:47:31.5618779Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:49:35 GMT + etag: + - '"14004019-0000-0100-0000-639ac3030000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Accepted", "startTime": "2022-12-15T06:47:31.5618779Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:50:08 GMT + etag: + - '"14004019-0000-0100-0000-639ac3030000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Accepted", "startTime": "2022-12-15T06:47:31.5618779Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:50:39 GMT + etag: + - '"14004019-0000-0100-0000-639ac3030000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Accepted", "startTime": "2022-12-15T06:47:31.5618779Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:51:09 GMT + etag: + - '"14004019-0000-0100-0000-639ac3030000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Accepted", "startTime": "2022-12-15T06:47:31.5618779Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:51:41 GMT + etag: + - '"14004019-0000-0100-0000-639ac3030000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Accepted", "startTime": "2022-12-15T06:47:31.5618779Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:52:11 GMT + etag: + - '"14004019-0000-0100-0000-639ac3030000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Accepted", "startTime": "2022-12-15T06:47:31.5618779Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:52:42 GMT + etag: + - '"14004019-0000-0100-0000-639ac3030000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Accepted", "startTime": "2022-12-15T06:47:31.5618779Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:53:13 GMT + etag: + - '"14004019-0000-0100-0000-639ac3030000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Accepted", "startTime": "2022-12-15T06:47:31.5618779Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:53:43 GMT + etag: + - '"14004019-0000-0100-0000-639ac3030000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Accepted", "startTime": "2022-12-15T06:47:31.5618779Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:54:14 GMT + etag: + - '"14004019-0000-0100-0000-639ac3030000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Accepted", "startTime": "2022-12-15T06:47:31.5618779Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:54:45 GMT + etag: + - '"14004019-0000-0100-0000-639ac3030000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Accepted", "startTime": "2022-12-15T06:47:31.5618779Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:55:16 GMT + etag: + - '"14004019-0000-0100-0000-639ac3030000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Accepted", "startTime": "2022-12-15T06:47:31.5618779Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:55:47 GMT + etag: + - '"14004019-0000-0100-0000-639ac3030000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Accepted", "startTime": "2022-12-15T06:47:31.5618779Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:56:18 GMT + etag: + - '"14004019-0000-0100-0000-639ac3030000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Accepted", "startTime": "2022-12-15T06:47:31.5618779Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:56:48 GMT + etag: + - '"14004019-0000-0100-0000-639ac3030000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "ad06d4df-07f6-4e9a-bf7c-072514f46a85*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Succeeded", "startTime": "2022-12-15T06:47:31.5618779Z", "endTime": + "2022-12-15T06:56:51.7361038Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '674' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:57:18 GMT + etag: + - '"14003222-0000-0100-0000-639ac5330000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "name": "testconn5", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T06:47:30.5585087Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:47:30.5585087Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '990' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:57:19 GMT + etag: + - '"7000e6af-0000-0100-0000-639ac5330000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "name": "testconn5", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T06:47:30.5585087Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:47:30.5585087Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1003' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:57:28 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "name": "testconn5", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T06:47:30.5585087Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:47:30.5585087Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '990' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:57:29 GMT + etag: + - '"7000e6af-0000-0100-0000-639ac5330000"' + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB"}, + "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update cosmos-sql + Connection: + - keep-alive + Content-Length: + - '447' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "name": "testconn5", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T06:47:30.5585087Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:57:30.9839902Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1225c8a0-3176-41e0-a362-913afd0760d7*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1154' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:57:30 GMT + etag: + - '"7000ecb2-0000-0100-0000-639ac55b0000"' + expires: + - '-1' + mise-correlation-id: + - 034caa1d-4d13-4d90-bfb7-fefe5d191cdd + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection update cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1225c8a0-3176-41e0-a362-913afd0760d7*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1225c8a0-3176-41e0-a362-913afd0760d7*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "1225c8a0-3176-41e0-a362-913afd0760d7*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Accepted", "startTime": "2022-12-15T06:57:31.2610279Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:58:01 GMT + etag: + - '"1400ea22-0000-0100-0000-639ac55b0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1225c8a0-3176-41e0-a362-913afd0760d7*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/1225c8a0-3176-41e0-a362-913afd0760d7*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "1225c8a0-3176-41e0-a362-913afd0760d7*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Succeeded", "startTime": "2022-12-15T06:57:31.2610279Z", "endTime": + "2022-12-15T06:58:17.5128974Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '674' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:58:32 GMT + etag: + - '"1400b723-0000-0100-0000-639ac5890000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection update cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "name": "testconn5", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T06:47:30.5585087Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:57:30.9839902Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '990' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:58:33 GMT + etag: + - '"700049b6-0000-0100-0000-639ac5890000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_COSMOS_CONNECTIONSTRING", "value": + "hidden"}]}' + headers: + cache-control: + - no-cache + content-length: + - '82' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:58:47 GMT + expires: + - '-1' + mise-correlation-id: + - b518e083-ef73-440c-8671-679b6982efe2 + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/34114b81-ce09-4b6c-896f-7e46076d69dd*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:58:50 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/34114b81-ce09-4b6c-896f-7e46076d69dd*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + mise-correlation-id: + - c39f36cc-e690-4e3a-baf2-f6489c451b1d + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/34114b81-ce09-4b6c-896f-7e46076d69dd*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/34114b81-ce09-4b6c-896f-7e46076d69dd*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "34114b81-ce09-4b6c-896f-7e46076d69dd*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Succeeded", "startTime": "2022-12-15T06:58:50.707932Z", "endTime": + "2022-12-15T06:58:55.6907337Z", "properties": {"Message": "{\"ConnectionName\":\"testconn5\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T06:58:52.2743927Z\",\"ReportEndTimeUtc\":\"2022-12-15T06:58:54.5006859Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn5", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-15T06:58:52.2743927Z", + "reportEndTimeUtc": "2022-12-15T06:58:54.5006859Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:59:21 GMT + etag: + - '"14007e24-0000-0100-0000-639ac5af0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/34114b81-ce09-4b6c-896f-7e46076d69dd*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/34114b81-ce09-4b6c-896f-7e46076d69dd*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "name": "34114b81-ce09-4b6c-896f-7e46076d69dd*424EE152B35845F129E51BC5C04A2870CE1BA14FB80F2BF9C05530AC4B7E3F24", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "status": "Succeeded", "startTime": "2022-12-15T06:58:50.707932Z", "endTime": + "2022-12-15T06:58:55.6907337Z", "properties": {"Message": "{\"ConnectionName\":\"testconn5\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T06:58:52.2743927Z\",\"ReportEndTimeUtc\":\"2022-12-15T06:58:54.5006859Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn5", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-15T06:58:52.2743927Z", + "reportEndTimeUtc": "2022-12-15T06:58:54.5006859Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1522' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:59:22 GMT + etag: + - '"14007e24-0000-0100-0000-639ac5af0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5", + "name": "testconn5", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T06:47:30.5585087Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:57:30.9839902Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '990' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 06:59:25 GMT + etag: + - '"700049b6-0000-0100-0000-639ac5890000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn5?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 15 Dec 2022 06:59:34 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmostable_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmostable_e2e.yaml index 888a4daf543..47851accb17 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmostable_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmostable_e2e.yaml @@ -1,4 +1,1087 @@ interactions: +- request: + body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem"}, + "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": + {"firewallRules": {"callerClientIP": "true"}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create cosmos-table + Connection: + - keep-alive + Content-Length: + - '386' + Content-Type: + - application/json + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "name": "testconn6", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T07:04:02.5095398Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T07:04:02.5095398Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": + null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": + null, "vNetSolution": null, "secretStore": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1150' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:04:03 GMT + etag: + - '"7000ddc2-0000-0100-0000-639ac6e30000"' + expires: + - '-1' + mise-correlation-id: + - 5403abd3-e929-40ff-a0c4-13e010c86d3a + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Accepted", "startTime": "2022-12-15T07:04:03.4542818Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:04:33 GMT + etag: + - '"1400bd29-0000-0100-0000-639ac6e30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Accepted", "startTime": "2022-12-15T07:04:03.4542818Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:05:05 GMT + etag: + - '"1400bd29-0000-0100-0000-639ac6e30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Accepted", "startTime": "2022-12-15T07:04:03.4542818Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:05:36 GMT + etag: + - '"1400bd29-0000-0100-0000-639ac6e30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Accepted", "startTime": "2022-12-15T07:04:03.4542818Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:06:07 GMT + etag: + - '"1400bd29-0000-0100-0000-639ac6e30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Accepted", "startTime": "2022-12-15T07:04:03.4542818Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:06:38 GMT + etag: + - '"1400bd29-0000-0100-0000-639ac6e30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Accepted", "startTime": "2022-12-15T07:04:03.4542818Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:07:09 GMT + etag: + - '"1400bd29-0000-0100-0000-639ac6e30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Accepted", "startTime": "2022-12-15T07:04:03.4542818Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:07:40 GMT + etag: + - '"1400bd29-0000-0100-0000-639ac6e30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Accepted", "startTime": "2022-12-15T07:04:03.4542818Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:08:11 GMT + etag: + - '"1400bd29-0000-0100-0000-639ac6e30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Accepted", "startTime": "2022-12-15T07:04:03.4542818Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:08:42 GMT + etag: + - '"1400bd29-0000-0100-0000-639ac6e30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Accepted", "startTime": "2022-12-15T07:04:03.4542818Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:09:13 GMT + etag: + - '"1400bd29-0000-0100-0000-639ac6e30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Accepted", "startTime": "2022-12-15T07:04:03.4542818Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:09:44 GMT + etag: + - '"1400bd29-0000-0100-0000-639ac6e30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Accepted", "startTime": "2022-12-15T07:04:03.4542818Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:10:15 GMT + etag: + - '"1400bd29-0000-0100-0000-639ac6e30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Accepted", "startTime": "2022-12-15T07:04:03.4542818Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:10:47 GMT + etag: + - '"1400bd29-0000-0100-0000-639ac6e30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Accepted", "startTime": "2022-12-15T07:04:03.4542818Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:11:18 GMT + etag: + - '"1400bd29-0000-0100-0000-639ac6e30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Accepted", "startTime": "2022-12-15T07:04:03.4542818Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:11:49 GMT + etag: + - '"1400bd29-0000-0100-0000-639ac6e30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Accepted", "startTime": "2022-12-15T07:04:03.4542818Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:12:20 GMT + etag: + - '"1400bd29-0000-0100-0000-639ac6e30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Accepted", "startTime": "2022-12-15T07:04:03.4542818Z"}' + headers: + cache-control: + - no-cache + content-length: + - '597' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:12:51 GMT + etag: + - '"1400bd29-0000-0100-0000-639ac6e30000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "7c00f7ae-8059-4c64-9609-ac3ee0ae08b4*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "status": "Succeeded", "startTime": "2022-12-15T07:04:03.4542818Z", "endTime": + "2022-12-15T07:13:20.3160408Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '674' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:13:23 GMT + etag: + - '"1400ff30-0000-0100-0000-639ac9100000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - -g --connection --target-id --secret --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "name": "testconn6", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T07:04:02.5095398Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T07:04:02.5095398Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' + headers: + cache-control: + - no-cache + content-length: + - '986' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:13:24 GMT + etag: + - '"7000addc-0000-0100-0000-639ac9100000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "name": "testconn6", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T07:04:02.5095398Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T07:04:02.5095398Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '999' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:13:35 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: null headers: @@ -7,63 +1090,79 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - connection create cosmos-table + - connection update cosmos-table Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --secret --client-type + - --id --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group?api-version=2021-04-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6?api-version=2022-11-01-preview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group", - "name": "servicelinker-cli-test-group", "type": "Microsoft.Resources/resourceGroups", - "location": "eastus", "tags": {}, "properties": {"provisioningState": "Succeeded"}}' + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "name": "testconn6", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T07:04:02.5095398Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T07:04:02.5095398Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "python"}}' headers: cache-control: - no-cache content-length: - - '275' + - '986' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 01:39:11 GMT + - Thu, 15 Dec 2022 07:13:36 GMT + etag: + - '"7000addc-0000-0100-0000-639ac9100000"' 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem"}, - "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": - {"firewallRules": {"callerClientIP": "true"}}}}' + "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": + "true"}}}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - connection create cosmos-table + - connection update cosmos-table Connection: - keep-alive Content-Length: - - '386' + - '443' Content-Type: - application/json ParameterSetName: - - -g --connection --target-id --secret --client-type + - --id --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6?api-version=2022-11-01-preview response: @@ -71,18 +1170,18 @@ interactions: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", "name": "testconn6", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-14T01:39:13.0549089Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T01:39:13.0549089Z"}, + "User", "createdAt": "2022-12-15T07:04:02.5095398Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T07:13:36.8248736Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": + null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/844317dc-deef-48ce-a563-256a4e41cf9a*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -90,13 +1189,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 01:39:13 GMT + - Thu, 15 Dec 2022 07:13:37 GMT etag: - - '"570010c7-0000-0100-0000-639929410000"' + - '"7000eadd-0000-0100-0000-639ac9210000"' expires: - '-1' mise-correlation-id: - - b80f3b86-f20e-4a21-b229-9f7c9e0de8b8 + - 297495df-d9bd-4564-9629-6dc7d1396740 pragma: - no-cache strict-transport-security: @@ -106,7 +1205,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -118,32 +1217,33 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - connection create cosmos-table + - connection update cosmos-table Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --secret --client-type + - --id --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/844317dc-deef-48ce-a563-256a4e41cf9a*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", - "name": "b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/844317dc-deef-48ce-a563-256a4e41cf9a*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "844317dc-deef-48ce-a563-256a4e41cf9a*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", - "status": "Accepted", "startTime": "2022-12-14T01:39:13.2802094Z"}' + "status": "Accepted", "startTime": "2022-12-15T07:13:37.09268Z"}' headers: cache-control: - no-cache content-length: - - '597' + - '595' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 01:39:43 GMT + - Thu, 15 Dec 2022 07:14:08 GMT etag: - - '"0f00f328-0000-0100-0000-639929410000"' + - '"14003431-0000-0100-0000-639ac9210000"' expires: - '-1' pragma: @@ -167,32 +1267,34 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - connection create cosmos-table + - connection update cosmos-table Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --secret --client-type + - --id --client-type User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/844317dc-deef-48ce-a563-256a4e41cf9a*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", - "name": "b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/844317dc-deef-48ce-a563-256a4e41cf9a*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "844317dc-deef-48ce-a563-256a4e41cf9a*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", - "status": "Accepted", "startTime": "2022-12-14T01:39:13.2802094Z"}' + "status": "Succeeded", "startTime": "2022-12-15T07:13:37.09268Z", "endTime": + "2022-12-15T07:14:23.8300557Z", "properties": {"Message": null}}' headers: cache-control: - no-cache content-length: - - '597' + - '672' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 01:40:14 GMT + - Thu, 15 Dec 2022 07:14:39 GMT etag: - - '"0f00f328-0000-0100-0000-639929410000"' + - '"1400a531-0000-0100-0000-639ac94f0000"' expires: - '-1' pragma: @@ -216,32 +1318,209 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - connection create cosmos-table + - connection update cosmos-table Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --secret --client-type + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "name": "testconn6", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T07:04:02.5095398Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T07:13:36.8248736Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' + headers: + cache-control: + - no-cache + content-length: + - '986' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:14:41 GMT + etag: + - '"70005ce1-0000-0100-0000-639ac94f0000"' + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection generate-configuration + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6/generateConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_COSMOS_CONNECTIONSTRING", "value": + "hidden"}]}' + headers: + cache-control: + - no-cache + content-length: + - '82' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:14:56 GMT + expires: + - '-1' + mise-correlation-id: + - 8f0624f5-e176-48d1-b75b-42cb8980f76d + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6/validate?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/093c62cc-c29b-4883-986d-e67f71ba1a91*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:14:58 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/093c62cc-c29b-4883-986d-e67f71ba1a91*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + mise-correlation-id: + - ed3aee7c-ce24-46d9-ab42-d30ab4a589f2 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - connection validate + Connection: + - keep-alive + ParameterSetName: + - --id User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/093c62cc-c29b-4883-986d-e67f71ba1a91*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", - "name": "b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/093c62cc-c29b-4883-986d-e67f71ba1a91*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "093c62cc-c29b-4883-986d-e67f71ba1a91*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", - "status": "Accepted", "startTime": "2022-12-14T01:39:13.2802094Z"}' + "status": "Succeeded", "startTime": "2022-12-15T07:14:58.5360228Z", "endTime": + "2022-12-15T07:15:04.3964445Z", "properties": {"Message": "{\"ConnectionName\":\"testconn6\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T07:14:59.8847025Z\",\"ReportEndTimeUtc\":\"2022-12-15T07:15:03.2506029Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn6", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-15T07:14:59.8847025Z", + "reportEndTimeUtc": "2022-12-15T07:15:03.2506029Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' headers: cache-control: - no-cache content-length: - - '597' + - '1523' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 01:40:45 GMT + - Thu, 15 Dec 2022 07:15:29 GMT etag: - - '"0f00f328-0000-0100-0000-639929410000"' + - '"14000932-0000-0100-0000-639ac9780000"' expires: - '-1' pragma: @@ -265,37 +1544,98 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - connection create cosmos-table + - connection validate Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --secret --client-type + - --id User-Agent: - - AZURECLI/2.43.0 azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/093c62cc-c29b-4883-986d-e67f71ba1a91*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", - "name": "b9187bb9-2bb4-4b4d-9227-165163bde522*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/093c62cc-c29b-4883-986d-e67f71ba1a91*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", + "name": "093c62cc-c29b-4883-986d-e67f71ba1a91*967A51C2805FF1931E8DBE856B8F045377FB249E89AAC02903F44A6B52AB9881", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", - "status": "Failed", "startTime": "2022-12-14T01:39:13.2802094Z", "endTime": - "2022-12-14T01:40:47.0848973Z", "error": {"code": "GeneralUserError", "message": - "Execution failed.. There is already an operation in progress which requires - exclusive lock on this service servicelinker-table-cosmos. Please retry the - operation after sometime.\r\nActivityId: 71d9b17e-0a90-449c-bf1b-71e4bc490f6b, - Microsoft.Azure.Documents.Common/2.14.0"}}' + "status": "Succeeded", "startTime": "2022-12-15T07:14:58.5360228Z", "endTime": + "2022-12-15T07:15:04.3964445Z", "properties": {"Message": "{\"ConnectionName\":\"testconn6\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T07:14:59.8847025Z\",\"ReportEndTimeUtc\":\"2022-12-15T07:15:03.2506029Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + "linkerName": "testconn6", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}], "reportStartTimeUtc": "2022-12-15T07:14:59.8847025Z", + "reportEndTimeUtc": "2022-12-15T07:15:03.2506029Z", "sourceId": null, "targetId": + null, "authType": "secret"}}' + headers: + cache-control: + - no-cache + content-length: + - '1523' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 07:15:30 GMT + etag: + - '"14000932-0000-0100-0000-639ac9780000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6", + "name": "testconn6", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-15T07:04:02.5095398Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T07:13:36.8248736Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", + "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "dotnet"}}' headers: cache-control: - no-cache content-length: - - '962' + - '986' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 01:41:14 GMT + - Thu, 15 Dec 2022 07:15:32 GMT etag: - - '"0f00f929-0000-0100-0000-6399299f0000"' + - '"70005ce1-0000-0100-0000-639ac94f0000"' expires: - '-1' pragma: @@ -308,6 +1648,53 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-providerhub-traffic: + - 'True' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn6?api-version=2022-11-01-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Thu, 15 Dec 2022 07:15:43 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmoscassandra_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmoscassandra_e2e.yaml new file mode 100644 index 00000000000..65d5fc882bb --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmoscassandra_e2e.yaml @@ -0,0 +1,1949 @@ +interactions: +- request: + body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb"}, + "authInfo": {"authType": "systemAssignedIdentity"}, "clientType": "python", + "secretStore": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + Content-Length: + - '366' + Content-Type: + - application/json + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:46:56.0971052Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T02:14:40.5595352Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "python", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1181' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:14:42 GMT + etag: + - '"46003207-0000-0100-0000-639a83120000"' + expires: + - '-1' + mise-correlation-id: + - ba73516b-bcc3-44f4-8d06-f5a052b88101 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:14:42.2386954Z"}' + headers: + cache-control: + - no-cache + content-length: + - '645' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:15:13 GMT + etag: + - '"130081a0-0000-0100-0000-639a83120000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:14:42.2386954Z"}' + headers: + cache-control: + - no-cache + content-length: + - '645' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:15:43 GMT + etag: + - '"130081a0-0000-0100-0000-639a83120000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:14:42.2386954Z"}' + headers: + cache-control: + - no-cache + content-length: + - '645' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:16:13 GMT + etag: + - '"130081a0-0000-0100-0000-639a83120000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:14:42.2386954Z"}' + headers: + cache-control: + - no-cache + content-length: + - '645' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:16:43 GMT + etag: + - '"130081a0-0000-0100-0000-639a83120000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:14:42.2386954Z"}' + headers: + cache-control: + - no-cache + content-length: + - '645' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:17:14 GMT + etag: + - '"130081a0-0000-0100-0000-639a83120000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:14:42.2386954Z"}' + headers: + cache-control: + - no-cache + content-length: + - '645' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:18:05 GMT + etag: + - '"130081a0-0000-0100-0000-639a83120000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:14:42.2386954Z"}' + headers: + cache-control: + - no-cache + content-length: + - '645' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:18:35 GMT + etag: + - '"130081a0-0000-0100-0000-639a83120000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:14:42.2386954Z"}' + headers: + cache-control: + - no-cache + content-length: + - '645' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:19:06 GMT + etag: + - '"130081a0-0000-0100-0000-639a83120000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:14:42.2386954Z"}' + headers: + cache-control: + - no-cache + content-length: + - '645' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:19:37 GMT + etag: + - '"130081a0-0000-0100-0000-639a83120000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:14:42.2386954Z"}' + headers: + cache-control: + - no-cache + content-length: + - '645' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:20:07 GMT + etag: + - '"130081a0-0000-0100-0000-639a83120000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:14:42.2386954Z"}' + headers: + cache-control: + - no-cache + content-length: + - '645' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:20:39 GMT + etag: + - '"130081a0-0000-0100-0000-639a83120000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:14:42.2386954Z"}' + headers: + cache-control: + - no-cache + content-length: + - '645' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:21:09 GMT + etag: + - '"130081a0-0000-0100-0000-639a83120000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:14:42.2386954Z"}' + headers: + cache-control: + - no-cache + content-length: + - '645' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:21:40 GMT + etag: + - '"130081a0-0000-0100-0000-639a83120000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:14:42.2386954Z"}' + headers: + cache-control: + - no-cache + content-length: + - '645' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:22:10 GMT + etag: + - '"130081a0-0000-0100-0000-639a83120000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:14:42.2386954Z"}' + headers: + cache-control: + - no-cache + content-length: + - '645' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:22:41 GMT + etag: + - '"130081a0-0000-0100-0000-639a83120000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:14:42.2386954Z"}' + headers: + cache-control: + - no-cache + content-length: + - '645' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:23:11 GMT + etag: + - '"130081a0-0000-0100-0000-639a83120000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:14:42.2386954Z"}' + headers: + cache-control: + - no-cache + content-length: + - '645' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:23:42 GMT + etag: + - '"130081a0-0000-0100-0000-639a83120000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:14:42.2386954Z"}' + headers: + cache-control: + - no-cache + content-length: + - '645' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:24:12 GMT + etag: + - '"130081a0-0000-0100-0000-639a83120000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:14:42.2386954Z"}' + headers: + cache-control: + - no-cache + content-length: + - '645' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:24:42 GMT + etag: + - '"130081a0-0000-0100-0000-639a83120000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "175e70d5-8947-4ffb-b556-e8c542ed8fac*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T02:14:42.2386954Z", "endTime": + "2022-12-15T02:24:44.348638Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:25:14 GMT + etag: + - '"13006ea4-0000-0100-0000-639a856c0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:46:56.0971052Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T02:14:40.5595352Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1182' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:25:15 GMT + etag: + - '"46005d2d-0000-0100-0000-639a856c0000"' + expires: + - '-1' + mise-correlation-id: + - d6fe004e-62fc-40ca-bbe7-3ce0f116e792 + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection list + Connection: + - keep-alive + ParameterSetName: + - --source-id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:46:56.0971052Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T02:14:40.5595352Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1195' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:25:23 GMT + expires: + - '-1' + mise-correlation-id: + - ed4963bf-9099-4aba-b47c-f3820c85cb5d + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection update cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:46:56.0971052Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T02:14:40.5595352Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1182' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:25:25 GMT + etag: + - '"46005d2d-0000-0100-0000-639a856c0000"' + expires: + - '-1' + mise-correlation-id: + - 59375538-b85c-4873-84a8-69d3f737fc30 + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb"}, + "authInfo": {"authType": "systemAssignedIdentity"}, "clientType": "dotnet", + "secretStore": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection update cosmos-cassandra + Connection: + - keep-alive + Content-Length: + - '366' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:46:56.0971052Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T02:25:25.9784436Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/daa833b6-4b22-4ddf-bb13-ddd4a54f0eba*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1181' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:25:26 GMT + etag: + - '"46002930-0000-0100-0000-639a85960000"' + expires: + - '-1' + mise-correlation-id: + - 95e324ef-324a-41bc-97be-416442b08e58 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection update cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/daa833b6-4b22-4ddf-bb13-ddd4a54f0eba*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/daa833b6-4b22-4ddf-bb13-ddd4a54f0eba*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "daa833b6-4b22-4ddf-bb13-ddd4a54f0eba*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:25:26.22406Z"}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:25:57 GMT + etag: + - '"1300b9a4-0000-0100-0000-639a85960000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection update cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/daa833b6-4b22-4ddf-bb13-ddd4a54f0eba*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/daa833b6-4b22-4ddf-bb13-ddd4a54f0eba*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "daa833b6-4b22-4ddf-bb13-ddd4a54f0eba*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T02:25:26.22406Z", "endTime": + "2022-12-15T02:26:24.5538994Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '720' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:26:28 GMT + etag: + - '"1300fea4-0000-0100-0000-639a85d00000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection update cosmos-cassandra + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:46:56.0971052Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T02:25:25.9784436Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1182' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:26:29 GMT + etag: + - '"46002934-0000-0100-0000-639a85d00000"' + expires: + - '-1' + mise-correlation-id: + - 369f7b71-f26f-4a94-b0a4-6b230b9e53c1 + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection list-configuration + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_COSMOS_LISTKEYURL", "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/listKeys?api-version=2021-04-15"}, + {"name": "AZURE_COSMOS_USERNAME", "value": "servicelinker-cassandra-cosmos1"}, + {"name": "AZURE_COSMOS_CONTACTPOINT", "value": "servicelinker-cassandra-cosmos1.cassandra.cosmos.azure.com"}, + {"name": "AZURE_COSMOS_PORT", "value": "10350"}, {"name": "AZURE_COSMOS_KEYSPACE", + "value": "coredb"}, {"name": "AZURE_COSMOS_RESOURCEENDPOINT", "value": "https://servicelinker-cassandra-cosmos1.documents.azure.com:443/"}, + {"name": "AZURE_COSMOS_SCOPE", "value": "https://management.azure.com/.default"}]}' + headers: + cache-control: + - no-cache + content-length: + - '799' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:26:40 GMT + expires: + - '-1' + mise-correlation-id: + - ffd4568d-4233-4b3a-9d5c-1259faa1e1e4 + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:46:56.0971052Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T02:25:25.9784436Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1182' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:26:41 GMT + etag: + - '"46002934-0000-0100-0000-639a85d00000"' + expires: + - '-1' + mise-correlation-id: + - 72c7bf3c-42a3-42e8-a056-1d93535ca225 + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/96e5ec0f-020b-45e8-9ffb-570843e22f0f*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:26:44 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/96e5ec0f-020b-45e8-9ffb-570843e22f0f*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + mise-correlation-id: + - fc6ae365-bd08-4667-be81-bde0b1c13bab + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/96e5ec0f-020b-45e8-9ffb-570843e22f0f*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/96e5ec0f-020b-45e8-9ffb-570843e22f0f*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "96e5ec0f-020b-45e8-9ffb-570843e22f0f*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T02:26:42.4265506Z", "endTime": + "2022-12-15T02:26:55.6134442Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T02:26:46.4168099Z\",\"ReportEndTimeUtc\":\"2022-12-15T02:26:54.4327216Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-15T02:26:46.4168099Z", "reportEndTimeUtc": "2022-12-15T02:26:54.4327216Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' + headers: + cache-control: + - no-cache + content-length: + - '2113' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:27:16 GMT + etag: + - '"130041a5-0000-0100-0000-639a85ef0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/96e5ec0f-020b-45e8-9ffb-570843e22f0f*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/96e5ec0f-020b-45e8-9ffb-570843e22f0f*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "96e5ec0f-020b-45e8-9ffb-570843e22f0f*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T02:26:42.4265506Z", "endTime": + "2022-12-15T02:26:55.6134442Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T02:26:46.4168099Z\",\"ReportEndTimeUtc\":\"2022-12-15T02:26:54.4327216Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-15T02:26:46.4168099Z", "reportEndTimeUtc": "2022-12-15T02:26:54.4327216Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' + headers: + cache-control: + - no-cache + content-length: + - '2113' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:27:16 GMT + etag: + - '"130041a5-0000-0100-0000-639a85ef0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-14T08:46:56.0971052Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T02:25:25.9784436Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1182' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:27:17 GMT + etag: + - '"46002934-0000-0100-0000-639a85d00000"' + expires: + - '-1' + mise-correlation-id: + - d4910c07-ce01-4397-9491-2e8ff2b54c4e + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c94d9678-c655-4742-88b1-306a33d62729*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:27:31 GMT + etag: + - '"46008438-0000-0100-0000-639a86140000"' + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c94d9678-c655-4742-88b1-306a33d62729*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + mise-correlation-id: + - 0a1c34e0-0152-4ccf-ae70-861efcdb393b + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection delete + Connection: + - keep-alive + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c94d9678-c655-4742-88b1-306a33d62729*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/c94d9678-c655-4742-88b1-306a33d62729*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "name": "c94d9678-c655-4742-88b1-306a33d62729*B7BC348CBB261FE8C2C0EEDF509ECAC895F41B4A2CD6A939CF043242D9E39F57", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-cassandra-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T02:27:32.2522472Z", "endTime": + "2022-12-15T02:27:38.5745278Z", "properties": null}' + headers: + cache-control: + - no-cache + content-length: + - '709' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:28:02 GMT + etag: + - '"130082a5-0000-0100-0000-639a861a0000"' + expires: + - '-1' + pragma: + - no-cache + 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/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmosgremlin_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmosgremlin_e2e.yaml new file mode 100644 index 00000000000..3ab3199e094 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmosgremlin_e2e.yaml @@ -0,0 +1,1949 @@ +interactions: +- request: + body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem"}, + "authInfo": {"authType": "systemAssignedIdentity"}, "clientType": "python", + "secretStore": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + Content-Length: + - '375' + Content-Type: + - application/json + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T02:28:53.9515586Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T02:28:53.9515586Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "python", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1188' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:28:54 GMT + etag: + - '"4600cb3c-0000-0100-0000-639a86670000"' + expires: + - '-1' + mise-correlation-id: + - b519e17a-0f6c-4791-9028-df4c6aa9c4b2 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:28:54.9033608Z"}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:29:25 GMT + etag: + - '"1300f0a5-0000-0100-0000-639a86660000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:28:54.9033608Z"}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:29:57 GMT + etag: + - '"1300f0a5-0000-0100-0000-639a86660000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:28:54.9033608Z"}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:30:27 GMT + etag: + - '"1300f0a5-0000-0100-0000-639a86660000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:28:54.9033608Z"}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:30:59 GMT + etag: + - '"1300f0a5-0000-0100-0000-639a86660000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:28:54.9033608Z"}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:31:30 GMT + etag: + - '"1300f0a5-0000-0100-0000-639a86660000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:28:54.9033608Z"}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:32:00 GMT + etag: + - '"1300f0a5-0000-0100-0000-639a86660000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:28:54.9033608Z"}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:32:30 GMT + etag: + - '"1300f0a5-0000-0100-0000-639a86660000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:28:54.9033608Z"}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:33:01 GMT + etag: + - '"1300f0a5-0000-0100-0000-639a86660000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:28:54.9033608Z"}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:33:32 GMT + etag: + - '"1300f0a5-0000-0100-0000-639a86660000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:28:54.9033608Z"}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:34:03 GMT + etag: + - '"1300f0a5-0000-0100-0000-639a86660000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:28:54.9033608Z"}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:34:33 GMT + etag: + - '"1300f0a5-0000-0100-0000-639a86660000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:28:54.9033608Z"}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:35:04 GMT + etag: + - '"1300f0a5-0000-0100-0000-639a86660000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:28:54.9033608Z"}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:35:35 GMT + etag: + - '"1300f0a5-0000-0100-0000-639a86660000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:28:54.9033608Z"}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:36:05 GMT + etag: + - '"1300f0a5-0000-0100-0000-639a86660000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:28:54.9033608Z"}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:36:35 GMT + etag: + - '"1300f0a5-0000-0100-0000-639a86660000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:28:54.9033608Z"}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:37:06 GMT + etag: + - '"1300f0a5-0000-0100-0000-639a86660000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:28:54.9033608Z"}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:37:36 GMT + etag: + - '"1300f0a5-0000-0100-0000-639a86660000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:28:54.9033608Z"}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:38:07 GMT + etag: + - '"1300f0a5-0000-0100-0000-639a86660000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:28:54.9033608Z"}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:38:37 GMT + etag: + - '"1300f0a5-0000-0100-0000-639a86660000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "7d7a24a1-3aa2-4531-a8bf-1d8e307b2867*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T02:28:54.9033608Z", "endTime": + "2022-12-15T02:39:00.7812811Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '720' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:39:08 GMT + etag: + - '"130034a8-0000-0100-0000-639a88c40000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T02:28:53.9515586Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T02:28:53.9515586Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1189' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:39:09 GMT + etag: + - '"4600575b-0000-0100-0000-639a88c40000"' + expires: + - '-1' + mise-correlation-id: + - 6ba203b9-27e8-4d89-b086-b2ae647a0f5a + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection list + Connection: + - keep-alive + ParameterSetName: + - --source-id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T02:28:53.9515586Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T02:28:53.9515586Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1202' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:39:21 GMT + expires: + - '-1' + mise-correlation-id: + - 68d7e3b3-82f2-4295-a373-6913026c09c6 + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection update cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T02:28:53.9515586Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T02:28:53.9515586Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1189' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:39:22 GMT + etag: + - '"4600575b-0000-0100-0000-639a88c40000"' + expires: + - '-1' + mise-correlation-id: + - e3572f54-077b-4421-8770-4049e09e9e50 + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem"}, + "authInfo": {"authType": "systemAssignedIdentity"}, "clientType": "dotnet", + "secretStore": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection update cosmos-gremlin + Connection: + - keep-alive + Content-Length: + - '375' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T02:28:53.9515586Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T02:39:23.3668164Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/22b54e94-ef51-4e06-8864-964c97896d05*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1188' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:39:23 GMT + etag: + - '"4600755c-0000-0100-0000-639a88db0000"' + expires: + - '-1' + mise-correlation-id: + - 7af99242-2df7-432f-b875-8669852837d1 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection update cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/22b54e94-ef51-4e06-8864-964c97896d05*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/22b54e94-ef51-4e06-8864-964c97896d05*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "22b54e94-ef51-4e06-8864-964c97896d05*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:39:23.5451654Z"}' + headers: + cache-control: + - no-cache + content-length: + - '643' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:39:54 GMT + etag: + - '"13004ca8-0000-0100-0000-639a88db0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection update cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/22b54e94-ef51-4e06-8864-964c97896d05*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/22b54e94-ef51-4e06-8864-964c97896d05*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "22b54e94-ef51-4e06-8864-964c97896d05*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T02:39:23.5451654Z", "endTime": + "2022-12-15T02:40:17.6889976Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '720' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:40:25 GMT + etag: + - '"130072a8-0000-0100-0000-639a89110000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection update cosmos-gremlin + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T02:28:53.9515586Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T02:39:23.3668164Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1189' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:40:27 GMT + etag: + - '"4600015f-0000-0100-0000-639a89110000"' + expires: + - '-1' + mise-correlation-id: + - d704ba75-6a61-4bcc-bdf8-b84dc221a7ea + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection list-configuration + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_COSMOS_LISTKEYURL", "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/listKeys?api-version=2021-04-15"}, + {"name": "AZURE_COSMOS_HOSTNAME", "value": "servicelinker-gremlin-cosmos.gremlin.cosmos.azure.com"}, + {"name": "AZURE_COSMOS_PORT", "value": "443"}, {"name": "AZURE_COSMOS_USERNAME", + "value": "/dbs/coreDB/colls/MyItem"}, {"name": "AZURE_COSMOS_RESOURCEENDPOINT", + "value": "https://servicelinker-gremlin-cosmos.documents.azure.com:443/"}, + {"name": "AZURE_COSMOS_SCOPE", "value": "https://management.azure.com/.default"}]}' + headers: + cache-control: + - no-cache + content-length: + - '721' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:40:37 GMT + expires: + - '-1' + mise-correlation-id: + - 1baccf7e-5aa4-48b1-b08c-069f797038f8 + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T02:28:53.9515586Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T02:39:23.3668164Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1189' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:40:39 GMT + etag: + - '"4600015f-0000-0100-0000-639a89110000"' + expires: + - '-1' + mise-correlation-id: + - 190ea3f9-95b2-4e16-bf6d-4f3465284cce + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2579ae67-fe5d-4d46-aeaf-6a045218c259*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:40:39 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2579ae67-fe5d-4d46-aeaf-6a045218c259*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + mise-correlation-id: + - 3222b6be-eef1-4518-b701-75527ea68a9f + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2579ae67-fe5d-4d46-aeaf-6a045218c259*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2579ae67-fe5d-4d46-aeaf-6a045218c259*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "2579ae67-fe5d-4d46-aeaf-6a045218c259*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T02:40:39.5717578Z", "endTime": + "2022-12-15T02:40:48.3708237Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T02:40:41.0393065Z\",\"ReportEndTimeUtc\":\"2022-12-15T02:40:47.2730854Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-15T02:40:41.0393065Z", "reportEndTimeUtc": "2022-12-15T02:40:47.2730854Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' + headers: + cache-control: + - no-cache + content-length: + - '2111' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:41:10 GMT + etag: + - '"130090a8-0000-0100-0000-639a89300000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2579ae67-fe5d-4d46-aeaf-6a045218c259*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2579ae67-fe5d-4d46-aeaf-6a045218c259*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "2579ae67-fe5d-4d46-aeaf-6a045218c259*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T02:40:39.5717578Z", "endTime": + "2022-12-15T02:40:48.3708237Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T02:40:41.0393065Z\",\"ReportEndTimeUtc\":\"2022-12-15T02:40:47.2730854Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-15T02:40:41.0393065Z", "reportEndTimeUtc": "2022-12-15T02:40:47.2730854Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' + headers: + cache-control: + - no-cache + content-length: + - '2111' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:41:11 GMT + etag: + - '"130090a8-0000-0100-0000-639a89300000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T02:28:53.9515586Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T02:39:23.3668164Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-gremlin-cosmos/gremlinDatabases/coreDB/graphs/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1189' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:41:12 GMT + etag: + - '"4600015f-0000-0100-0000-639a89110000"' + expires: + - '-1' + mise-correlation-id: + - 16f9e691-ee17-4b0b-8186-3282f08d8d20 + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/53b13d7b-b105-49ec-9194-059cf18c6bc1*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:41:19 GMT + etag: + - '"46002d62-0000-0100-0000-639a894f0000"' + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/53b13d7b-b105-49ec-9194-059cf18c6bc1*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + mise-correlation-id: + - 75640bc2-6546-4d65-8444-90dde57e7750 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection delete + Connection: + - keep-alive + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/53b13d7b-b105-49ec-9194-059cf18c6bc1*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/53b13d7b-b105-49ec-9194-059cf18c6bc1*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "name": "53b13d7b-b105-49ec-9194-059cf18c6bc1*174826E4E1C00FA0EECF8C4256C5D9CA1B852269A7BDC14D8E593675AAE9A9B5", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-gremlin-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T02:41:19.7054622Z", "endTime": + "2022-12-15T02:41:25.9451755Z", "properties": null}' + headers: + cache-control: + - no-cache + content-length: + - '707' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:41:50 GMT + etag: + - '"1300c1a8-0000-0100-0000-639a89550000"' + expires: + - '-1' + pragma: + - no-cache + 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/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmosmongo_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmosmongo_e2e.yaml new file mode 100644 index 00000000000..f263eed413b --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmosmongo_e2e.yaml @@ -0,0 +1,1997 @@ +interactions: +- request: + body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB"}, + "authInfo": {"authType": "systemAssignedIdentity"}, "clientType": "dotnet", + "secretStore": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T02:54:43.6823691Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T02:54:43.6823691Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1170' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:54:44 GMT + etag: + - '"4600118b-0000-0100-0000-639a8c750000"' + expires: + - '-1' + mise-correlation-id: + - e8400de6-82bd-44cd-87ab-6e42b28865ca + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:54:44.7787453Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:55:16 GMT + etag: + - '"1300c4ac-0000-0100-0000-639a8c740000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:54:44.7787453Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:55:46 GMT + etag: + - '"1300c4ac-0000-0100-0000-639a8c740000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:54:44.7787453Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:56:18 GMT + etag: + - '"1300c4ac-0000-0100-0000-639a8c740000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:54:44.7787453Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:56:48 GMT + etag: + - '"1300c4ac-0000-0100-0000-639a8c740000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:54:44.7787453Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:57:20 GMT + etag: + - '"1300c4ac-0000-0100-0000-639a8c740000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:54:44.7787453Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:57:50 GMT + etag: + - '"1300c4ac-0000-0100-0000-639a8c740000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:54:44.7787453Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:58:22 GMT + etag: + - '"1300c4ac-0000-0100-0000-639a8c740000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:54:44.7787453Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:58:52 GMT + etag: + - '"1300c4ac-0000-0100-0000-639a8c740000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:54:44.7787453Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:59:24 GMT + etag: + - '"1300c4ac-0000-0100-0000-639a8c740000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:54:44.7787453Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 02:59:54 GMT + etag: + - '"1300c4ac-0000-0100-0000-639a8c740000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:54:44.7787453Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:00:25 GMT + etag: + - '"1300c4ac-0000-0100-0000-639a8c740000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:54:44.7787453Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:00:56 GMT + etag: + - '"1300c4ac-0000-0100-0000-639a8c740000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:54:44.7787453Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:01:27 GMT + etag: + - '"1300c4ac-0000-0100-0000-639a8c740000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:54:44.7787453Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:01:58 GMT + etag: + - '"1300c4ac-0000-0100-0000-639a8c740000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:54:44.7787453Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:02:28 GMT + etag: + - '"1300c4ac-0000-0100-0000-639a8c740000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:54:44.7787453Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:03:00 GMT + etag: + - '"1300c4ac-0000-0100-0000-639a8c740000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:54:44.7787453Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:03:31 GMT + etag: + - '"1300c4ac-0000-0100-0000-639a8c740000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:54:44.7787453Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:04:02 GMT + etag: + - '"1300c4ac-0000-0100-0000-639a8c740000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:54:44.7787453Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:04:33 GMT + etag: + - '"1300c4ac-0000-0100-0000-639a8c740000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T02:54:44.7787453Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:05:04 GMT + etag: + - '"1300c4ac-0000-0100-0000-639a8c740000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "184c8252-e3e8-4adf-b636-0a69a159d9fa*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T02:54:44.7787453Z", "endTime": + "2022-12-15T03:05:29.7650188Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '718' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:05:35 GMT + etag: + - '"130034af-0000-0100-0000-639a8ef90000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T02:54:43.6823691Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T02:54:43.6823691Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1171' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:05:36 GMT + etag: + - '"4600c2ab-0000-0100-0000-639a8ef90000"' + expires: + - '-1' + mise-correlation-id: + - 20ed6628-0022-4ff2-be47-51322a471987 + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection list + Connection: + - keep-alive + ParameterSetName: + - --source-id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T02:54:43.6823691Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T02:54:43.6823691Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1184' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:05:47 GMT + expires: + - '-1' + mise-correlation-id: + - cd06192f-ac10-408b-b7e7-7ab249377fb7 + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection update cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T02:54:43.6823691Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T02:54:43.6823691Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1171' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:05:49 GMT + etag: + - '"4600c2ab-0000-0100-0000-639a8ef90000"' + expires: + - '-1' + mise-correlation-id: + - 3641010c-a77c-4bbe-8f7d-7e82c0fbfea6 + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB"}, + "authInfo": {"authType": "systemAssignedIdentity"}, "clientType": "dotnet", + "secretStore": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection update cosmos-mongo + Connection: + - keep-alive + Content-Length: + - '359' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T02:54:43.6823691Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T03:05:50.0792976Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f815d237-f88b-4451-adbe-31e894c9d03a*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1170' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:05:52 GMT + etag: + - '"460001ad-0000-0100-0000-639a8f100000"' + expires: + - '-1' + mise-correlation-id: + - 928d0233-bea6-416a-aede-2c188dcaf329 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection update cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f815d237-f88b-4451-adbe-31e894c9d03a*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f815d237-f88b-4451-adbe-31e894c9d03a*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "f815d237-f88b-4451-adbe-31e894c9d03a*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:05:50.2691493Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:06:23 GMT + etag: + - '"130052af-0000-0100-0000-639a8f0e0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection update cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f815d237-f88b-4451-adbe-31e894c9d03a*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f815d237-f88b-4451-adbe-31e894c9d03a*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "f815d237-f88b-4451-adbe-31e894c9d03a*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T03:05:50.2691493Z", "endTime": + "2022-12-15T03:06:41.96005Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '716' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:06:54 GMT + etag: + - '"13006daf-0000-0100-0000-639a8f410000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection update cosmos-mongo + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T02:54:43.6823691Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T03:05:50.0792976Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1171' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:06:55 GMT + etag: + - '"46006faf-0000-0100-0000-639a8f410000"' + expires: + - '-1' + mise-correlation-id: + - 762f37bc-cd20-4b84-a4f7-8188348fb013 + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection list-configuration + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_COSMOS_LISTCONNECTIONSTRINGURL", + "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/listConnectionStrings?api-version=2021-04-15"}, + {"name": "AZURE_COSMOS_RESOURCEENDPOINT", "value": "https://servicelinker-mongo-cosmos.documents.azure.com:443/"}, + {"name": "AZURE_COSMOS_SCOPE", "value": "https://management.azure.com/.default"}]}' + headers: + cache-control: + - no-cache + content-length: + - '523' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:07:04 GMT + expires: + - '-1' + mise-correlation-id: + - 58bb6a7f-77d3-43cc-ac0d-62652f779c24 + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T02:54:43.6823691Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T03:05:50.0792976Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1171' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:07:06 GMT + etag: + - '"46006faf-0000-0100-0000-639a8f410000"' + expires: + - '-1' + mise-correlation-id: + - 7569ff95-1e21-4d05-9edd-757dcfb8549e + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0fbbd723-bc26-41e2-9958-0f908a0e864c*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:07:07 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0fbbd723-bc26-41e2-9958-0f908a0e864c*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + mise-correlation-id: + - 715ad84a-1ce6-4a99-864d-b4821461372d + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0fbbd723-bc26-41e2-9958-0f908a0e864c*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0fbbd723-bc26-41e2-9958-0f908a0e864c*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "0fbbd723-bc26-41e2-9958-0f908a0e864c*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T03:07:06.9399321Z", "endTime": + "2022-12-15T03:07:19.2988958Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T03:07:08.4964707Z\",\"ReportEndTimeUtc\":\"2022-12-15T03:07:18.176034Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-15T03:07:08.4964707Z", "reportEndTimeUtc": "2022-12-15T03:07:18.176034Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' + headers: + cache-control: + - no-cache + content-length: + - '2107' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:07:37 GMT + etag: + - '"130081af-0000-0100-0000-639a8f670000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0fbbd723-bc26-41e2-9958-0f908a0e864c*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/0fbbd723-bc26-41e2-9958-0f908a0e864c*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "0fbbd723-bc26-41e2-9958-0f908a0e864c*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T03:07:06.9399321Z", "endTime": + "2022-12-15T03:07:19.2988958Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T03:07:08.4964707Z\",\"ReportEndTimeUtc\":\"2022-12-15T03:07:18.176034Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-15T03:07:08.4964707Z", "reportEndTimeUtc": "2022-12-15T03:07:18.176034Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' + headers: + cache-control: + - no-cache + content-length: + - '2107' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:07:38 GMT + etag: + - '"130081af-0000-0100-0000-639a8f670000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T02:54:43.6823691Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T03:05:50.0792976Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-mongo-cosmos/mongodbDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1171' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:07:39 GMT + etag: + - '"46006faf-0000-0100-0000-639a8f410000"' + expires: + - '-1' + mise-correlation-id: + - 864de2ad-13ae-4948-a5df-b6ae00906331 + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/95a06156-d343-4fdb-a737-23145c386c9a*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:07:48 GMT + etag: + - '"4600d7b2-0000-0100-0000-639a8f850000"' + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/95a06156-d343-4fdb-a737-23145c386c9a*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + mise-correlation-id: + - d571ae45-5951-4833-bb01-2340b198f2c9 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection delete + Connection: + - keep-alive + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/95a06156-d343-4fdb-a737-23145c386c9a*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/95a06156-d343-4fdb-a737-23145c386c9a*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "name": "95a06156-d343-4fdb-a737-23145c386c9a*EE690FA589B02173E7E87FBD7052D155F1F20011EAB8156768912840DDFFD7C6", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-mongo-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T03:07:48.810092Z", "endTime": + "2022-12-15T03:07:54.8643626Z", "properties": null}' + headers: + cache-control: + - no-cache + content-length: + - '704' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:08:19 GMT + etag: + - '"1300b4af-0000-0100-0000-639a8f8a0000"' + expires: + - '-1' + pragma: + - no-cache + 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/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmossql_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmossql_e2e.yaml new file mode 100644 index 00000000000..c0f15f4b65c --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmossql_e2e.yaml @@ -0,0 +1,1997 @@ +interactions: +- request: + body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB"}, + "authInfo": {"authType": "systemAssignedIdentity"}, "clientType": "python", + "secretStore": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection create cosmos-sql + Connection: + - keep-alive + Content-Length: + - '353' + Content-Type: + - application/json + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T03:19:45.6820825Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T03:19:45.6820825Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "python", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1162' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:19:46 GMT + etag: + - '"460062d9-0000-0100-0000-639a92520000"' + expires: + - '-1' + mise-correlation-id: + - ca18a52e-ef94-4556-b064-56b58b87bc0e + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:19:46.6556Z"}' + headers: + cache-control: + - no-cache + content-length: + - '636' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:20:17 GMT + etag: + - '"13007eb4-0000-0100-0000-639a92520000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:19:46.6556Z"}' + headers: + cache-control: + - no-cache + content-length: + - '636' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:20:49 GMT + etag: + - '"13007eb4-0000-0100-0000-639a92520000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:19:46.6556Z"}' + headers: + cache-control: + - no-cache + content-length: + - '636' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:21:19 GMT + etag: + - '"13007eb4-0000-0100-0000-639a92520000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:19:46.6556Z"}' + headers: + cache-control: + - no-cache + content-length: + - '636' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:21:50 GMT + etag: + - '"13007eb4-0000-0100-0000-639a92520000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:19:46.6556Z"}' + headers: + cache-control: + - no-cache + content-length: + - '636' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:22:21 GMT + etag: + - '"13007eb4-0000-0100-0000-639a92520000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:19:46.6556Z"}' + headers: + cache-control: + - no-cache + content-length: + - '636' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:22:52 GMT + etag: + - '"13007eb4-0000-0100-0000-639a92520000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:19:46.6556Z"}' + headers: + cache-control: + - no-cache + content-length: + - '636' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:23:24 GMT + etag: + - '"13007eb4-0000-0100-0000-639a92520000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:19:46.6556Z"}' + headers: + cache-control: + - no-cache + content-length: + - '636' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:23:55 GMT + etag: + - '"13007eb4-0000-0100-0000-639a92520000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:19:46.6556Z"}' + headers: + cache-control: + - no-cache + content-length: + - '636' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:24:25 GMT + etag: + - '"13007eb4-0000-0100-0000-639a92520000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:19:46.6556Z"}' + headers: + cache-control: + - no-cache + content-length: + - '636' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:24:56 GMT + etag: + - '"13007eb4-0000-0100-0000-639a92520000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:19:46.6556Z"}' + headers: + cache-control: + - no-cache + content-length: + - '636' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:25:26 GMT + etag: + - '"13007eb4-0000-0100-0000-639a92520000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:19:46.6556Z"}' + headers: + cache-control: + - no-cache + content-length: + - '636' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:25:57 GMT + etag: + - '"13007eb4-0000-0100-0000-639a92520000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:19:46.6556Z"}' + headers: + cache-control: + - no-cache + content-length: + - '636' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:26:27 GMT + etag: + - '"13007eb4-0000-0100-0000-639a92520000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:19:46.6556Z"}' + headers: + cache-control: + - no-cache + content-length: + - '636' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:26:59 GMT + etag: + - '"13007eb4-0000-0100-0000-639a92520000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:19:46.6556Z"}' + headers: + cache-control: + - no-cache + content-length: + - '636' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:27:29 GMT + etag: + - '"13007eb4-0000-0100-0000-639a92520000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:19:46.6556Z"}' + headers: + cache-control: + - no-cache + content-length: + - '636' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:28:00 GMT + etag: + - '"13007eb4-0000-0100-0000-639a92520000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:19:46.6556Z"}' + headers: + cache-control: + - no-cache + content-length: + - '636' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:28:30 GMT + etag: + - '"13007eb4-0000-0100-0000-639a92520000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:19:46.6556Z"}' + headers: + cache-control: + - no-cache + content-length: + - '636' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:29:02 GMT + etag: + - '"13007eb4-0000-0100-0000-639a92520000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:19:46.6556Z"}' + headers: + cache-control: + - no-cache + content-length: + - '636' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:29:32 GMT + etag: + - '"13007eb4-0000-0100-0000-639a92520000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "5bcde7af-570d-4ce6-8c5c-379cdcb18501*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T03:19:46.6556Z", "endTime": + "2022-12-15T03:30:00.8782138Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '713' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:30:02 GMT + etag: + - '"1300a9b8-0000-0100-0000-639a94b80000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T03:19:45.6820825Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T03:19:45.6820825Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1163' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:30:04 GMT + etag: + - '"4600c6fb-0000-0100-0000-639a94b80000"' + expires: + - '-1' + mise-correlation-id: + - 47215329-3843-4959-90e3-ccea99c6b859 + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection list + Connection: + - keep-alive + ParameterSetName: + - --source-id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T03:19:45.6820825Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T03:19:45.6820825Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1176' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:30:16 GMT + expires: + - '-1' + mise-correlation-id: + - 36bdcaa0-0b85-4c26-a782-3a0e1d309bb3 + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection update cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T03:19:45.6820825Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T03:19:45.6820825Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1163' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:30:17 GMT + etag: + - '"4600c6fb-0000-0100-0000-639a94b80000"' + expires: + - '-1' + mise-correlation-id: + - 3ceba328-d2a7-4495-98c3-590c43209e25 + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB"}, + "authInfo": {"authType": "systemAssignedIdentity"}, "clientType": "dotnet", + "secretStore": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection update cosmos-sql + Connection: + - keep-alive + Content-Length: + - '353' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T03:19:45.6820825Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T03:30:19.4312071Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a7ff6486-35bf-4b9b-9bc5-eacf6e68484e*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1162' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:30:19 GMT + etag: + - '"4600e4fc-0000-0100-0000-639a94cb0000"' + expires: + - '-1' + mise-correlation-id: + - d373e592-0f94-4b4d-98c8-b55df59e1516 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection update cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a7ff6486-35bf-4b9b-9bc5-eacf6e68484e*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a7ff6486-35bf-4b9b-9bc5-eacf6e68484e*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "a7ff6486-35bf-4b9b-9bc5-eacf6e68484e*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:30:19.6453088Z"}' + headers: + cache-control: + - no-cache + content-length: + - '639' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:30:50 GMT + etag: + - '"1300ceb8-0000-0100-0000-639a94cb0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection update cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a7ff6486-35bf-4b9b-9bc5-eacf6e68484e*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a7ff6486-35bf-4b9b-9bc5-eacf6e68484e*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "a7ff6486-35bf-4b9b-9bc5-eacf6e68484e*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T03:30:19.6453088Z"}' + headers: + cache-control: + - no-cache + content-length: + - '639' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:31:21 GMT + etag: + - '"1300ceb8-0000-0100-0000-639a94cb0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection update cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a7ff6486-35bf-4b9b-9bc5-eacf6e68484e*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a7ff6486-35bf-4b9b-9bc5-eacf6e68484e*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "a7ff6486-35bf-4b9b-9bc5-eacf6e68484e*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T03:30:19.6453088Z", "endTime": + "2022-12-15T03:31:25.321695Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '715' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:31:53 GMT + etag: + - '"130052b9-0000-0100-0000-639a950d0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection update cosmos-sql + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T03:19:45.6820825Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T03:30:19.4312071Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1163' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:31:54 GMT + etag: + - '"47001501-0000-0100-0000-639a950d0000"' + expires: + - '-1' + mise-correlation-id: + - 86a89f8a-20e0-4a7f-8586-cc7ea3c18da2 + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection list-configuration + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_COSMOS_LISTCONNECTIONSTRINGURL", + "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/listConnectionStrings?api-version=2021-04-15"}, + {"name": "AZURE_COSMOS_RESOURCEENDPOINT", "value": "https://servicelinker-sql-cosmos.documents.azure.com:443/"}, + {"name": "AZURE_COSMOS_SCOPE", "value": "https://management.azure.com/.default"}]}' + headers: + cache-control: + - no-cache + content-length: + - '519' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:32:04 GMT + expires: + - '-1' + mise-correlation-id: + - 8c39c127-fc40-4ba4-b939-8c54ab199c6d + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T03:19:45.6820825Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T03:30:19.4312071Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1163' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:32:05 GMT + etag: + - '"47001501-0000-0100-0000-639a950d0000"' + expires: + - '-1' + mise-correlation-id: + - 6a0eba43-9069-4594-af6b-ba28cf4b91d0 + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f10f86a1-81ca-4a58-9972-497123b839da*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:32:06 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f10f86a1-81ca-4a58-9972-497123b839da*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + mise-correlation-id: + - df21ce27-8402-42c3-b9a6-f63d114a6169 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f10f86a1-81ca-4a58-9972-497123b839da*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f10f86a1-81ca-4a58-9972-497123b839da*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "f10f86a1-81ca-4a58-9972-497123b839da*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T03:32:06.7012947Z", "endTime": + "2022-12-15T03:32:13.5131583Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T03:32:08.4019164Z\",\"ReportEndTimeUtc\":\"2022-12-15T03:32:12.3607874Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-15T03:32:08.4019164Z", "reportEndTimeUtc": "2022-12-15T03:32:12.3607874Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' + headers: + cache-control: + - no-cache + content-length: + - '2107' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:32:38 GMT + etag: + - '"1300b5b9-0000-0100-0000-639a953d0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f10f86a1-81ca-4a58-9972-497123b839da*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/f10f86a1-81ca-4a58-9972-497123b839da*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "f10f86a1-81ca-4a58-9972-497123b839da*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T03:32:06.7012947Z", "endTime": + "2022-12-15T03:32:13.5131583Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T03:32:08.4019164Z\",\"ReportEndTimeUtc\":\"2022-12-15T03:32:12.3607874Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-15T03:32:08.4019164Z", "reportEndTimeUtc": "2022-12-15T03:32:12.3607874Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' + headers: + cache-control: + - no-cache + content-length: + - '2107' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:32:38 GMT + etag: + - '"1300b5b9-0000-0100-0000-639a953d0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T03:19:45.6820825Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T03:30:19.4312071Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-sql-cosmos/sqlDatabases/coreDB", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1163' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:32:39 GMT + etag: + - '"47001501-0000-0100-0000-639a950d0000"' + expires: + - '-1' + mise-correlation-id: + - 93cff403-2015-421b-ab30-7a941bb13034 + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d907d3f2-086f-4553-b7e3-7f3acd128e2a*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:32:46 GMT + etag: + - '"47008306-0000-0100-0000-639a955e0000"' + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d907d3f2-086f-4553-b7e3-7f3acd128e2a*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + mise-correlation-id: + - c3e244ab-3303-47e4-bd57-a3b6800c6cdf + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14998' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection delete + Connection: + - keep-alive + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d907d3f2-086f-4553-b7e3-7f3acd128e2a*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/d907d3f2-086f-4553-b7e3-7f3acd128e2a*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "name": "d907d3f2-086f-4553-b7e3-7f3acd128e2a*67882B587145687DE39822762D7A191F996D965E85BC6EDE42F81A8DEE419EA7", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-sql-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T03:32:46.4997765Z", "endTime": + "2022-12-15T03:32:55.5753326Z", "properties": null}' + headers: + cache-control: + - no-cache + content-length: + - '703' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 03:33:17 GMT + etag: + - '"13001bba-0000-0100-0000-639a95670000"' + expires: + - '-1' + pragma: + - no-cache + 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/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmostable_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmostable_e2e.yaml new file mode 100644 index 00000000000..36c39f406b7 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_webapp_cosmostable_e2e.yaml @@ -0,0 +1,1997 @@ +interactions: +- request: + body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem"}, + "authInfo": {"authType": "systemAssignedIdentity"}, "clientType": "python", + "secretStore": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection create cosmos-table + Connection: + - keep-alive + Content-Length: + - '349' + Content-Type: + - application/json + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T05:37:03.0848906Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T05:37:03.0848906Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "python", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1160' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:37:04 GMT + etag: + - '"48008493-0000-0100-0000-639ab2810000"' + expires: + - '-1' + mise-correlation-id: + - 19cd3ee5-64cc-4d6f-a569-fee8370d349f + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T05:37:04.7455661Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:37:35 GMT + etag: + - '"13009fe4-0000-0100-0000-639ab2800000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T05:37:04.7455661Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:38:05 GMT + etag: + - '"13009fe4-0000-0100-0000-639ab2800000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T05:37:04.7455661Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:38:36 GMT + etag: + - '"13009fe4-0000-0100-0000-639ab2800000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T05:37:04.7455661Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:39:06 GMT + etag: + - '"13009fe4-0000-0100-0000-639ab2800000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T05:37:04.7455661Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:39:36 GMT + etag: + - '"13009fe4-0000-0100-0000-639ab2800000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T05:37:04.7455661Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:40:07 GMT + etag: + - '"13009fe4-0000-0100-0000-639ab2800000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T05:37:04.7455661Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:40:37 GMT + etag: + - '"13009fe4-0000-0100-0000-639ab2800000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T05:37:04.7455661Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:41:07 GMT + etag: + - '"13009fe4-0000-0100-0000-639ab2800000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T05:37:04.7455661Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:41:38 GMT + etag: + - '"13009fe4-0000-0100-0000-639ab2800000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T05:37:04.7455661Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:42:08 GMT + etag: + - '"13009fe4-0000-0100-0000-639ab2800000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T05:37:04.7455661Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:42:38 GMT + etag: + - '"13009fe4-0000-0100-0000-639ab2800000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T05:37:04.7455661Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:43:10 GMT + etag: + - '"13009fe4-0000-0100-0000-639ab2800000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T05:37:04.7455661Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:43:40 GMT + etag: + - '"13009fe4-0000-0100-0000-639ab2800000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T05:37:04.7455661Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:44:10 GMT + etag: + - '"13009fe4-0000-0100-0000-639ab2800000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T05:37:04.7455661Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:44:41 GMT + etag: + - '"13009fe4-0000-0100-0000-639ab2800000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T05:37:04.7455661Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:45:11 GMT + etag: + - '"13009fe4-0000-0100-0000-639ab2800000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T05:37:04.7455661Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:45:41 GMT + etag: + - '"13009fe4-0000-0100-0000-639ab2800000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T05:37:04.7455661Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:46:12 GMT + etag: + - '"13009fe4-0000-0100-0000-639ab2800000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T05:37:04.7455661Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:46:42 GMT + etag: + - '"13009fe4-0000-0100-0000-639ab2800000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T05:37:04.7455661Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:47:13 GMT + etag: + - '"13009fe4-0000-0100-0000-639ab2800000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "e58a1828-4506-42bd-bb24-3ddffc837b54*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T05:37:04.7455661Z", "endTime": + "2022-12-15T05:47:43.6283262Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '718' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:47:43 GMT + etag: + - '"13005deb-0000-0100-0000-639ab4ff0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection create cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T05:37:03.0848906Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T05:37:03.0848906Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1161' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:47:44 GMT + etag: + - '"480010b6-0000-0100-0000-639ab4ff0000"' + expires: + - '-1' + mise-correlation-id: + - e49b391f-89e1-4f17-baa0-cb1984449797 + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection list + Connection: + - keep-alive + ParameterSetName: + - --source-id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers?api-version=2022-11-01-preview + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T05:37:03.0848906Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T05:37:03.0848906Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}]}' + headers: + cache-control: + - no-cache + content-length: + - '1174' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:47:52 GMT + expires: + - '-1' + mise-correlation-id: + - aec5e63b-2fff-478a-bdb3-ee393cc9c6f3 + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection update cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T05:37:03.0848906Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T05:37:03.0848906Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1161' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:47:54 GMT + etag: + - '"480010b6-0000-0100-0000-639ab4ff0000"' + expires: + - '-1' + mise-correlation-id: + - 80545af9-4832-4c38-8447-3668232e2c4c + 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: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem"}, + "authInfo": {"authType": "systemAssignedIdentity"}, "clientType": "dotnet", + "secretStore": {}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection update cosmos-table + Connection: + - keep-alive + Content-Length: + - '349' + Content-Type: + - application/json + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T05:37:03.0848906Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T05:47:56.0308935Z"}, + "properties": {"provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "vNetSolution": null, "clientType": "dotnet", "secretStore": {"keyVaultId": + null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": + null, "configurationInfo": null}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4d68c80b-eed2-473d-95ba-c807bcf95798*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '1160' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:47:56 GMT + etag: + - '"4800ceb6-0000-0100-0000-639ab50c0000"' + expires: + - '-1' + mise-correlation-id: + - e057e063-a398-4dbf-9f8e-9d632a4d0b05 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection update cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4d68c80b-eed2-473d-95ba-c807bcf95798*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4d68c80b-eed2-473d-95ba-c807bcf95798*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "4d68c80b-eed2-473d-95ba-c807bcf95798*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Accepted", "startTime": "2022-12-15T05:47:56.5556047Z"}' + headers: + cache-control: + - no-cache + content-length: + - '641' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:48:27 GMT + etag: + - '"130083eb-0000-0100-0000-639ab50c0000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection update cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4d68c80b-eed2-473d-95ba-c807bcf95798*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/4d68c80b-eed2-473d-95ba-c807bcf95798*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "4d68c80b-eed2-473d-95ba-c807bcf95798*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T05:47:56.5556047Z", "endTime": + "2022-12-15T05:48:51.4952707Z", "properties": {"Message": null}}' + headers: + cache-control: + - no-cache + content-length: + - '718' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:48:58 GMT + etag: + - '"13000dec-0000-0100-0000-639ab5430000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection update cosmos-table + Connection: + - keep-alive + ParameterSetName: + - --id --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T05:37:03.0848906Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T05:47:56.0308935Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1161' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:48:59 GMT + etag: + - '"4800abb9-0000-0100-0000-639ab5430000"' + expires: + - '-1' + mise-correlation-id: + - 660ad1de-972d-4590-ae32-d3ad70395b5b + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection list-configuration + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn/listConfigurations?api-version=2022-11-01-preview + response: + body: + string: '{"configurations": [{"name": "AZURE_COSMOS_LISTCONNECTIONSTRINGURL", + "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/listConnectionStrings?api-version=2021-04-15"}, + {"name": "AZURE_COSMOS_RESOURCEENDPOINT", "value": "https://servicelinker-table-cosmos.documents.azure.com:443/"}, + {"name": "AZURE_COSMOS_SCOPE", "value": "https://management.azure.com/.default"}]}' + headers: + cache-control: + - no-cache + content-length: + - '523' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:49:06 GMT + expires: + - '-1' + mise-correlation-id: + - 87bbc246-c57f-4b38-be7b-196e85b8bcce + 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T05:37:03.0848906Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T05:47:56.0308935Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1161' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:49:09 GMT + etag: + - '"4800abb9-0000-0100-0000-639ab5430000"' + expires: + - '-1' + mise-correlation-id: + - 5e0f7ca4-76f6-4dc1-b559-78178956ee62 + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection validate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn/validateLinker?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/83ac207d-27c0-4e65-aed1-a3ec578e7e64*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:49:12 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/83ac207d-27c0-4e65-aed1-a3ec578e7e64*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + mise-correlation-id: + - 711e2e80-cd3f-4f75-bfbb-4ff8d76fcc66 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/83ac207d-27c0-4e65-aed1-a3ec578e7e64*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/83ac207d-27c0-4e65-aed1-a3ec578e7e64*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "83ac207d-27c0-4e65-aed1-a3ec578e7e64*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T05:49:10.3492661Z", "endTime": + "2022-12-15T05:49:24.0583777Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T05:49:14.2588068Z\",\"ReportEndTimeUtc\":\"2022-12-15T05:49:22.8814687Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-15T05:49:14.2588068Z", "reportEndTimeUtc": "2022-12-15T05:49:22.8814687Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' + headers: + cache-control: + - no-cache + content-length: + - '2109' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:49:43 GMT + etag: + - '"13004aec-0000-0100-0000-639ab5640000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection validate + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/83ac207d-27c0-4e65-aed1-a3ec578e7e64*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/83ac207d-27c0-4e65-aed1-a3ec578e7e64*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "83ac207d-27c0-4e65-aed1-a3ec578e7e64*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T05:49:10.3492661Z", "endTime": + "2022-12-15T05:49:24.0583777Z", "properties": {"Message": "{\"ConnectionName\":\"testconn\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + configured values is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T05:49:14.2588068Z\",\"ReportEndTimeUtc\":\"2022-12-15T05:49:22.8814687Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":0}", + "linkerName": "testconn", "isConnectionAvailable": true, "validationDetail": + [{"name": "The target existence is validated", "description": null, "result": + "success"}, {"name": "The target service firewall is validated", "description": + null, "result": "success"}, {"name": "The configured values is validated", + "description": null, "result": "success"}, {"name": "The identity existence + is validated", "description": null, "result": "success"}, {"name": "The identity + permission is validated", "description": null, "result": "success"}], "reportStartTimeUtc": + "2022-12-15T05:49:14.2588068Z", "reportEndTimeUtc": "2022-12-15T05:49:22.8814687Z", + "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' + headers: + cache-control: + - no-cache + content-length: + - '2109' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:49:43 GMT + etag: + - '"13004aec-0000-0100-0000-639ab5640000"' + expires: + - '-1' + pragma: + - no-cache + 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: + - webapp connection show + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "name": "testconn", "type": "microsoft.servicelinker/linkers", "systemData": + {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": "User", "createdAt": + "2022-12-15T05:37:03.0848906Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T05:47:56.0308935Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": + "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-table-cosmos/tables/MyItem", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"roles": + null, "userName": null, "authType": "systemAssignedIdentity", "deleteOrUpdateBehavior": + "Default"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": + {"keyVaultId": null, "keyVaultSecretName": null}}}' + headers: + cache-control: + - no-cache + content-length: + - '1161' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:49:45 GMT + etag: + - '"4800abb9-0000-0100-0000-639ab5430000"' + expires: + - '-1' + mise-correlation-id: + - 18787f2f-62d5-4fee-8a1a-05bdc37f8f7b + 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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn?api-version=2022-11-01-preview + response: + body: + string: 'null' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6cc303c6-af67-49c8-9ffd-cafd7e8da375*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + cache-control: + - no-cache + content-length: + - '4' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:49:53 GMT + etag: + - '"4800d3bc-0000-0100-0000-639ab5800000"' + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6cc303c6-af67-49c8-9ffd-cafd7e8da375*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + mise-correlation-id: + - cd7ed01f-d17b-4770-bf71-3f8f8c43c51b + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-providerhub-traffic: + - 'True' + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp connection delete + Connection: + - keep-alive + ParameterSetName: + - --id --yes + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6cc303c6-af67-49c8-9ffd-cafd7e8da375*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/6cc303c6-af67-49c8-9ffd-cafd7e8da375*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "name": "6cc303c6-af67-49c8-9ffd-cafd7e8da375*6877EFDD81F9BBE567A690EB100C775A8F24F042F6CF380A598FADC2BEB68348", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.Web/sites/servicelinker-table-cosmos-asp-app/providers/Microsoft.ServiceLinker/linkers/testconn", + "status": "Succeeded", "startTime": "2022-12-15T05:49:52.6943283Z", "endTime": + "2022-12-15T05:49:59.1552555Z", "properties": null}' + headers: + cache-control: + - no-cache + content-length: + - '705' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 15 Dec 2022 05:50:24 GMT + etag: + - '"13009bec-0000-0100-0000-639ab5870000"' + expires: + - '-1' + pragma: + - no-cache + 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/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_local_connection_scenario.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_local_connection_scenario.py index 0ef50567119..449ec1527cc 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_local_connection_scenario.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_local_connection_scenario.py @@ -28,8 +28,6 @@ def __init__(self, method_name): method_name, recording_processors=[CredentialReplacer()] ) - for conn in self.cmd('connection list -g {}'.format(resource_group)).get_output_in_json(): - self.cmd('connection delete --id {} --yes'.format(conn.get('id'))) @record_only() def test_local_appconfig_e2e(self): @@ -75,7 +73,6 @@ def test_local_appconfig_e2e(self): self.cmd('connection delete --id {} --yes'.format(connection_id)) @record_only() - @unittest.skip('') def test_local_cosmoscassandra_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -121,7 +118,6 @@ def test_local_cosmoscassandra_e2e(self): self.cmd('connection delete --id {} --yes'.format(connection_id)) @record_only() - @unittest.skip('') def test_local_cosmosgremlin_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -167,8 +163,7 @@ def test_local_cosmosgremlin_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - # @record_only() - @unittest.skip('') + @record_only() def test_local_cosmosmongo_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -191,7 +186,7 @@ def test_local_cosmosmongo_e2e(self): 'connection list -g {}'.format(resource_group), checks=[ self.check('length(@)', 1), - self.check('[0].authInfo.authType', 'secret'), + self.check('[0].authInfo.authType', 'userAccount'), self.check('[0].clientType', 'dotnet') ] ).get_output_in_json() @@ -214,7 +209,6 @@ def test_local_cosmosmongo_e2e(self): self.cmd('connection delete --id {} --yes'.format(connection_id)) @record_only() - @unittest.skip('') def test_local_cosmossql_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -260,7 +254,6 @@ def test_local_cosmossql_e2e(self): self.cmd('connection delete --id {} --yes'.format(connection_id)) @record_only() - @unittest.skip('') def test_local_cosmostable_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_webpp_connection_scenario.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_webpp_connection_scenario.py index 85cc868d96a..868745fa14c 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_webpp_connection_scenario.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_webpp_connection_scenario.py @@ -74,7 +74,6 @@ def test_webapp_appconfig_e2e(self): @record_only() - @unittest.skip('') def test_webapp_cosmoscassandra_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -123,7 +122,6 @@ def test_webapp_cosmoscassandra_e2e(self): @record_only() - @unittest.skip('') def test_webapp_cosmosgremlin_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -173,7 +171,6 @@ def test_webapp_cosmosgremlin_e2e(self): @record_only() - @unittest.skip('') def test_webapp_cosmosmongo_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -220,9 +217,7 @@ def test_webapp_cosmosmongo_e2e(self): # delete connection self.cmd('webapp connection delete --id {} --yes'.format(connection_id)) - @record_only() - @unittest.skip('') def test_webapp_cosmossql_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -271,7 +266,6 @@ def test_webapp_cosmossql_e2e(self): @record_only() - @unittest.skip('') def test_webapp_cosmostable_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), diff --git a/src/azure-cli/service_name.json b/src/azure-cli/service_name.json index c6ea2c0f689..91f488bbfb4 100644 --- a/src/azure-cli/service_name.json +++ b/src/azure-cli/service_name.json @@ -134,6 +134,11 @@ "AzureServiceName": "Azure CLI", "URL": "" }, + { + "Command": "az connection", + "AzureServiceName": "Service Connector", + "URL": "https://learn.microsoft.com/azure/service-connector/" + }, { "Command": "az consumption", "AzureServiceName": "Azure Cost Management + Billing", From b0cac4c351ef297886b8d8dbef01e3e67e516909 Mon Sep 17 00:00:00 2001 From: xiaofanzhou Date: Thu, 15 Dec 2022 17:28:46 +0800 Subject: [PATCH 04/19] update help --- .../command_modules/serviceconnector/_help.py | 308 +++++++++++++++++- .../serviceconnector/commands.py | 5 +- .../serviceconnector/custom.py | 14 +- 3 files changed, 317 insertions(+), 10 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py index 1f1060bfabe..91d47498664 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py @@ -11,7 +11,8 @@ SOURCE_RESOURCES_PARAMS, TARGET_RESOURCES, TARGET_RESOURCES_PARAMS, - SUPPORTED_AUTH_TYPE + SUPPORTED_AUTH_TYPE, + LOCAL_CONNECTION_PARAMS ) from ._utils import should_load_source @@ -19,7 +20,10 @@ def get_source_resource_params(resource): - params = SOURCE_RESOURCES_PARAMS.get(resource).values() + if resource == RESOURCE.Local: + params = LOCAL_CONNECTION_PARAMS + else: + params = SOURCE_RESOURCES_PARAMS.get(resource).values() param_str = '' for param in params: @@ -397,3 +401,303 @@ def get_source_display_name(sourcename): server_params=server_params, registry_params=registry_params, source_display_name=source_display_name) + + +source = RESOURCE.Local +connection_id = ( + '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}') +source_display_name = 'Service Connector' +helps['connection'] = """ + type: group + short-summary: Commands to manage {} local connections +""".format(source_display_name) + +helps['connection list-support-types'] = """ + type: command + short-summary: List client types and auth types supported by local connections. + examples: + - name: List all supported target resource types and auth types + text: |- + az connection list-support-types -o table + - name: List supported auth types for a specific target resource type + text: |- + az connection list-support-types --target-type storage-blob -o table +""" + +helps['connection list'] = """ + type: command + short-summary: List local connections of {source_display_name}. + examples: + - name: List {source_display_name} connections interactively + text: |- + az connection list + - name: List connections by resource group + text: |- + az connection list -g resource_group + - name: List connections by source resource group and location + text: |- + az connection list -g resource_group --location eastus +""".format( + source_display_name=source_display_name) + +helps['connection delete'] = """ + type: command + short-summary: Delete a {source_display_name} local connection. + examples: + - name: Delete a local connection interactively + text: |- + az connection delete + - name: Delete a local connection by connection name + text: |- + az connection delete -g resourceGroup --connection MyConnection + - name: Delete a local connection by connection id + text: |- + az connection delete --id {connection_id} +""".format( + connection_id=connection_id, + source_display_name=source_display_name) + +helps['connection generate-configuration'] = """ + type: command + short-summary: Generate configurations of a {source_display_name} local connection. + examples: + - name: List a connection's local configurations interactively + text: |- + az connection list-configuration + - name: List a connection's local configurations by connection name + text: |- + az connection list-configuration -g resource_group --connection MyConnection + - name: List a connection's local configurations by connection id + text: |- + az connection list-configuration --id {connection_id} +""".format( + connection_id=connection_id, + source_display_name=source_display_name) + +helps['connection validate'] = """ + type: command + short-summary: Validate a {source_display_name} local connection. + examples: + - name: Validate a connection interactively + text: |- + az connection validate + - name: Validate a connection by connection name + text: |- + az connection validate -g resourceGroup --connection MyConnection + - name: Validate a connection by connection id + text: |- + az connection validate --id {connection_id} +""".format( + connection_id=connection_id, + source_display_name=source_display_name) + +helps['connection wait'] = """ + type: command + short-summary: Place the CLI in a waiting state until a condition of the connection is met. + examples: + - name: Wait until the connection is successfully created. + text: |- + az connection wait --id {connection_id} --created +""".format(connection_id=connection_id) + +helps['connection show'] = """ + type: command + short-summary: Get the details of a {source_display_name} local connection. + examples: + - name: Get a connection interactively + text: |- + az connection show + - name: Get a connection by connection name + text: |- + az connection show -g resourceGroup --connection MyConnection + - name: Get a connection by connection id + text: |- + az connection show --id {connection_id} +""".format( + connection_id=connection_id, + source_display_name=source_display_name) + +helps['connection create'] = """ + type: group + short-summary: Create a connection from local to a target resource +""".format(source_display_name=source_display_name) + +helps['connection update'] = """ + type: group + short-summary: Update a {source_display_name} local connection +""".format(source_display_name=source_display_name) + +helps['connection preview-configuration'] = """ + type: group + short-summary: Preview the expected configurations of local connection. +""" + + +# use SUPPORTED_AUTH_TYPE to decide target resource, as some +# target resources are not avialable for certain source resource +supported_target_resources = list(SUPPORTED_AUTH_TYPE.get(source).keys()) +supported_target_resources.remove(RESOURCE.ConfluentKafka) +for target in supported_target_resources: + target_id = TARGET_RESOURCES.get(target) + + # target resource params + target_params = get_target_resource_params(target) + + # auth info params + auth_types = SUPPORTED_AUTH_TYPE.get(source).get(target) + auth_params = get_auth_info_params(auth_types[0]) + + # auth info params in help message + secret_param = ''' + - name: --secret + short-summary: The secret auth info + long-summary: | + Usage: --secret name=XX secret=XX + --secret name=XX secret-uri=XX + --secret name=XX secret-name=XX + + name : Required. Username or account name for secret auth. + secret : Required. Password or account key for secret auth. + ''' if AUTH_TYPE.Secret in auth_types else '' + secret_auto_param = ''' + - name: --secret + short-summary: The secret auth info + long-summary: | + Usage: --secret + + ''' if AUTH_TYPE.SecretAuto in auth_types else '' + user_account_param = '' + if AUTH_TYPE.UserAccount in auth_types: + if target in {RESOURCE.MysqlFlexible}: + user_account_param = ''' + - name: --user-account + short-summary: The user account auth info + long-summary: | + Usage: --user-account mysql-identity-id=xx object-id=XX + + object-id : Optional. Object id of current login user. It will be set automatically if not provided. + mysql-identity-id : Optional. ID of identity used for MySQL flexible server AAD Authentication. Ignore it if you are the server AAD administrator. + ''' + else: + user_account_param = ''' + - name: --user-account + short-summary: The user account auth info + long-summary: | + Usage: --user-account object-id=XX + + object-id : Optional. Object id of current login user. It will be set automatically if not provided. + ''' + service_principal_param = ''' + - name: --service-principal + short-summary: The service principal auth info + long-summary: | + Usage: --service-principal client-id=XX secret=XX + + client-id : Required. Client id of the service principal. + object-id : Optional. Object id of the service principal (Enterprise Application). + secret : Required. Secret of the service principal. + ''' if AUTH_TYPE.ServicePrincipalSecret in auth_types else '' + + helps['connection create {target}'.format(target=target.value)] = """ + type: command + short-summary: Create a {source_display_name} local connection to {target}. + parameters: + {secret_param} + {secret_auto_param} + {user_account_param} + {service_principal_param} + examples: + - name: Create a connection from local to {target} interactively + text: |- + az connection create {target} + - name: Create a connection from local to {target} with resource name + text: |- + az connection create {target} -g resourceGroup {target_params} {auth_params} + - name: Create a connection from local to {target} with resource id + text: |- + az connection create {target} --target-id {target_id} {auth_params} + """.format( + target=target.value, + target_id=target_id, + secret_param=secret_param, + secret_auto_param=secret_auto_param, + user_account_param=user_account_param, + service_principal_param=service_principal_param, + target_params=target_params, + auth_params=auth_params, + source_display_name=source_display_name) + + helps['connection update {target}'.format(target=target.value)] = """ + type: command + short-summary: Update a local to {target} connection. + parameters: + {secret_param} + {secret_auto_param} + {user_account_param} + {service_principal_param} + examples: + - name: Update the client type of a connection with resource name + text: |- + az connection update {target} -g resourceGroup --connection MyConnection --client-type dotnet + - name: Update the client type of a connection with resource id + text: |- + az connection update {target} --id {connection_id} --client-type dotnet + """.format( + target=target.value, + secret_param=secret_param, + secret_auto_param=secret_auto_param, + user_account_param=user_account_param, + service_principal_param=service_principal_param, + connection_id=connection_id, + source_display_name=source_display_name) + + helps['connection preview-configuration {target}'.format(target=target.value)] = """ + type: command + short-summary: Preview the expected configurations of local connection to {target}. + """.format( + target=target.value) + + +# special target resource, independent implementation +target = RESOURCE.ConfluentKafka +server_params = ('--bootstrap-server xxx.eastus.azure.confluent.cloud:9092 ' + '--kafka-key Name --kafka-secret Secret') +registry_params = ('--schema-registry https://xxx.eastus.azure.confluent.cloud ' + '--schema-key Name --schema-secret Secret') + +helps['connection create {target}'.format(source=source.value, target=target.value)] = """ + type: command + short-summary: Create a local connection to {target}. + examples: + - name: Create a connection form local to {target} + text: |- + az connection create {target} -g resourceGroup --connection myConnection {server_params} {registry_params} +""".format(target=target.value, + server_params=server_params, + registry_params=registry_params, + source_display_name=source_display_name) + +helps['connection update {target}'.format(target=target.value)] = """ + type: command + short-summary: Update a local connection to {target}. + examples: + - name: Update the client-type of a bootstrap server connection + text: |- + az connection update {target} -g resourceGroup --connection MyConnection --client python + - name: Update the auth configurations of a bootstrap server connection + text: |- + az connection update {target} -g resourceGroup --connection MyConnection {server_params} + - name: Update the client-type of a schema registry connection + text: |- + az connection update {target} -g resourceGroup --connection MyConnection_schema --client python + - name: Update the auth configurations of a schema registry connection + text: |- + az connection update {target} -g resourceGroup --connection MyConnection_schema {registry_params} +""".format(target=target.value, + server_params=server_params, + registry_params=registry_params, + source_display_name=source_display_name) +helps['connection preview-configuration {target}'.format(target=target.value)] = """ + type: command + short-summary: Preview the expected configurations of local connection to {target}. + """.format(target=target.value) diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/commands.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/commands.py index 3916db5fe13..d631158aed6 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/commands.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/commands.py @@ -99,8 +99,7 @@ def load_command_table(self, _): # pylint: disable=too-many-statements SUPPORTED_AUTH_TYPE.get(RESOURCE.Local).keys()) supported_target_resources.remove(RESOURCE.ConfluentKafka) for target in supported_target_resources: - with self.command_group('connection preview-configuration', connection_type, - client_factory=cf_configuration_names) as ig: + with self.command_group('connection preview-configuration', client_factory=cf_configuration_names) as ig: ig.custom_command(target.value, 'connection_preview_configuration') with self.command_group('connection create', local_connection_type, client_factory=cf_connector) as ig: @@ -121,3 +120,5 @@ def load_command_table(self, _): # pylint: disable=too-many-statements local_connection_type, client_factory=cf_connector) as ig: ig.custom_command( target.value, 'local_connection_update_kafka', supports_no_wait=True) + with self.command_group('connection preview-configuration', client_factory=cf_configuration_names) as ig: + ig.custom_command(target.value, 'connection_preview_configuration') diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/custom.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/custom.py index 1ff7d91bccc..be3cbc13fb2 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/custom.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/custom.py @@ -199,12 +199,14 @@ def connection_preview_configuration(cmd, client, cmd_name = cmd.name.split(' ')[-1] resource_type = RESOURCE.value_of(cmd_name) - target_id = TARGET_RESOURCES[resource_type] - - target_service_items = [i for i in target_id.split( - '/') if i and not i.startswith('{')][3:] - if target_service_items: - param['target_service'] = '/'.join(target_service_items) + if resource_type == RESOURCE.ConfluentKafka: + param['target_service'] = 'CONFLUENT.CLOUD' + else: + target_id = TARGET_RESOURCES[resource_type] + target_service_items = [i for i in target_id.split( + '/') if i and not i.startswith('{')][3:] + if target_service_items: + param['target_service'] = '/'.join(target_service_items) all_auth_info = [] if secret_auth_info is not None: From cd44e6de2290efa36b7e1a1e0990ba7f9f444cf3 Mon Sep 17 00:00:00 2001 From: xiaofanzhou Date: Thu, 15 Dec 2022 17:34:56 +0800 Subject: [PATCH 05/19] fix param help --- .../azure/cli/command_modules/serviceconnector/_params.py | 2 +- .../azure/cli/command_modules/serviceconnector/custom.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/_params.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/_params.py index 4393f29257f..8079623f360 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_params.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_params.py @@ -281,7 +281,7 @@ def add_confluent_kafka_argument(context): add_local_connection_block(c) with self.argument_context('connection list-support-types') as c: - add_local_connection_block(c) + add_target_type_argument(c, source) with self.argument_context('connection wait') as c: add_local_connection_block(c) diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/custom.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/custom.py index be3cbc13fb2..5979f293fdb 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/custom.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/custom.py @@ -567,7 +567,6 @@ def local_connection_update(cmd, client, # pylint: disable=too-many-locals resource_group_name=None, id=None, # pylint: disable=redefined-builtin client_type=None, - target_resource_group=None, target_id=None, secret_auth_info=None, secret_auth_info_auto=None, user_account_auth_info=None, # new auth info service_principal_auth_info_secret=None, From bc3cca9ba4c76d864b0435dc9f258d7de6c2e98b Mon Sep 17 00:00:00 2001 From: xiaofanzhou Date: Mon, 19 Dec 2022 17:12:07 +0800 Subject: [PATCH 06/19] update postgres flexible server --- .../serviceconnector/_credential_free.py | 104 +- .../command_modules/serviceconnector/_help.py | 16 +- .../serviceconnector/_params.py | 3 + .../serviceconnector/custom.py | 4 +- .../test_local_cosmoscassandra_e2e.yaml | 1146 +++-------------- 5 files changed, 186 insertions(+), 1087 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py index bc9fe07605b..c87ed790410 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py @@ -426,88 +426,19 @@ def enable_pg_extension(self): def enable_target_aad_auth(self): self.enable_pg_extension() - rq = 'az rest -u https://management.azure.com/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{}?api-version=2022-03-08-privatepreview'.format( - self.subscription, self.resource_group, self.db_server) - server_info = run_cli_cmd(rq) - if server_info.get("properties").get("authConfig").get("activeDirectoryAuthEnabled"): - return - logger.warning('Enabling Postgres flexible server AAD authentication') - server = self.db_server - master_template = ArmTemplateBuilder() - master_template.add_resource({ - 'type': "Microsoft.DBforPostgreSQL/flexibleServers", - 'apiVersion': '2022-03-08-privatepreview', - 'name': server, - 'location': "East US", - 'properties': { - 'authConfig': { - 'activeDirectoryAuthEnabled': True, - 'tenantId': self.tenant_id - }, - 'createMode': "Update" - }, - }) - - template = master_template.build() - # parameters = master_template.build_parameters() - - # deploy ARM template - cmd = self.cmd - deployment_name = 'pg_deploy_' + random_string(32) - client = get_mgmt_service_client( - cmd.cli_ctx, ResourceType.MGMT_RESOURCE_RESOURCES).deployments - DeploymentProperties = cmd.get_models( - 'DeploymentProperties', resource_type=ResourceType.MGMT_RESOURCE_RESOURCES) - properties = DeploymentProperties( - template=template, parameters={}, mode='incremental') - Deployment = cmd.get_models( - 'Deployment', resource_type=ResourceType.MGMT_RESOURCE_RESOURCES) - deployment = Deployment(properties=properties) - - LongRunningOperation(cmd.cli_ctx)( - client.begin_create_or_update(self.resource_group, deployment_name, deployment)) + run_cli_cmd('az postgres flexible-server update -g {} -n {} --subscription {} --active-directory-auth Enabled'.format( + self.resource_group, self.db_server, self.subscription)) def set_user_admin(self, user_object_id, **kwargs): - rq = 'az rest -u https://management.azure.com/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{}/administrators?api-version=2022-03-08-privatepreview'.format( - self.subscription, self.resource_group, self.db_server) - admins = run_cli_cmd(rq).get("value") - is_admin = any(user_object_id in u.get( - "properties").get("objectId") for u in admins) + admins = run_cli_cmd('az postgres flexible-server ad-admin list -g {} -s {} --subscription {}'.format( + self.resource_group, self.db_server, self.subscription)) + + is_admin = any(user_object_id in u.get("objectId", "") for u in admins) if is_admin: return logger.warning('Set current user as DB Server AAD Administrators.') - cmd = self.cmd - master_template = ArmTemplateBuilder() - master_template.add_resource({ - 'type': "Microsoft.DBforPostgreSQL/flexibleServers/administrators", - 'apiVersion': '2022-03-08-privatepreview', - 'name': self.db_server + "/" + user_object_id, - 'location': "East US", - 'properties': { - 'principalName': self.login_username, - 'principalType': 'User', - 'tenantId': self.tenant_id, - 'createMode': "Update" - }, - }) - - template = master_template.build() - # parameters = master_template.build_parameters() - - # deploy ARM template - deployment_name = 'pg_addAdmins_' + random_string(32) - client = get_mgmt_service_client( - cmd.cli_ctx, ResourceType.MGMT_RESOURCE_RESOURCES).deployments - DeploymentProperties = cmd.get_models( - 'DeploymentProperties', resource_type=ResourceType.MGMT_RESOURCE_RESOURCES) - properties = DeploymentProperties( - template=template, parameters={}, mode='incremental') - Deployment = cmd.get_models( - 'Deployment', resource_type=ResourceType.MGMT_RESOURCE_RESOURCES) - deployment = Deployment(properties=properties) - - LongRunningOperation(cmd.cli_ctx)( - client.begin_create_or_update(self.resource_group, deployment_name, deployment)) + run_cli_cmd('az postgres flexible-server ad-admin create -u {} -i {} -g {} -s {} --subscription {}'.format( + self.login_username, user_object_id, self.resource_group, self.db_server, self.subscription)) def create_aad_user(self, identity_name, client_id): # self.aad_user = identity_name or self.aad_user @@ -583,11 +514,12 @@ def create_aad_user_in_pg(self, conn_string, query_list): logger.warning("Adding new AAD user %s to database...", self.aad_username) for execution_query in query_list: - try: - logger.debug(execution_query) - cursor.execute(execution_query) - except psycopg2.Error as e: # role "aad_user" already exists - logger.warning(e) + if execution_query: + try: + logger.debug(execution_query) + cursor.execute(execution_query) + except psycopg2.Error as e: # role "aad_user" already exists + logger.warning(e) # Clean up conn.commit() @@ -606,8 +538,8 @@ def get_connection_string(self): def get_create_query(self, client_id): return [ # 'drop role IF EXISTS "{0}";'.format(self.aad_username), - "select * from pgaadauth_create_principal_with_oid('{0}', '{1}', 'ServicePrincipal', false, false);".format( - self.aad_username, client_id), + "select * from pgaadauth_create_principal_with_oid('{0}', '{1}', 'service', false, false);".format( + self.aad_username, client_id) if self.auth_type == PasswordlessIdentity[AUTH_TYPE.SystemIdentity] else '', 'GRANT ALL PRIVILEGES ON DATABASE "{0}" TO "{1}";'.format( self.dbname, self.aad_username), 'GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO "{}";'.format( @@ -677,7 +609,9 @@ def get_create_query(self, client_id): 'SET aad_validate_oids_in_tenant = off;', # 'drop role IF EXISTS "{0}";'.format(self.aad_username), "CREATE ROLE {0} WITH LOGIN PASSWORD '{1}' IN ROLE azure_ad_user;".format( - self.aad_username, client_id), + self.aad_username, client_id) if self.auth_type == PasswordlessIdentity[AUTH_TYPE.SystemIdentity] else + 'CREATE ROLE "{}" WITH LOGIN IN ROLE azure_ad_user;'.format( + self.login_username), 'GRANT ALL PRIVILEGES ON DATABASE "{0}" TO "{1}";'.format( self.dbname, self.aad_username), 'GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO "{}";'.format( diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py index 91d47498664..ecf88636df4 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py @@ -21,9 +21,9 @@ def get_source_resource_params(resource): if resource == RESOURCE.Local: - params = LOCAL_CONNECTION_PARAMS + params = LOCAL_CONNECTION_PARAMS else: - params = SOURCE_RESOURCES_PARAMS.get(resource).values() + params = SOURCE_RESOURCES_PARAMS.get(resource).values() param_str = '' for param in params: @@ -520,7 +520,7 @@ def get_source_display_name(sourcename): helps['connection create'] = """ type: group short-summary: Create a connection from local to a target resource -""".format(source_display_name=source_display_name) +""" helps['connection update'] = """ type: group @@ -648,8 +648,7 @@ def get_source_display_name(sourcename): secret_auto_param=secret_auto_param, user_account_param=user_account_param, service_principal_param=service_principal_param, - connection_id=connection_id, - source_display_name=source_display_name) + connection_id=connection_id) helps['connection preview-configuration {target}'.format(target=target.value)] = """ type: command @@ -665,7 +664,7 @@ def get_source_display_name(sourcename): registry_params = ('--schema-registry https://xxx.eastus.azure.confluent.cloud ' '--schema-key Name --schema-secret Secret') -helps['connection create {target}'.format(source=source.value, target=target.value)] = """ +helps['connection create {target}'.format(target=target.value)] = """ type: command short-summary: Create a local connection to {target}. examples: @@ -674,8 +673,7 @@ def get_source_display_name(sourcename): az connection create {target} -g resourceGroup --connection myConnection {server_params} {registry_params} """.format(target=target.value, server_params=server_params, - registry_params=registry_params, - source_display_name=source_display_name) + registry_params=registry_params) helps['connection update {target}'.format(target=target.value)] = """ type: command @@ -696,7 +694,7 @@ def get_source_display_name(sourcename): """.format(target=target.value, server_params=server_params, registry_params=registry_params, - source_display_name=source_display_name) + ) helps['connection preview-configuration {target}'.format(target=target.value)] = """ type: command short-summary: Preview the expected configurations of local connection to {target}. diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/_params.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/_params.py index 8079623f360..b3f68f0bf2e 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_params.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_params.py @@ -319,3 +319,6 @@ def add_confluent_kafka_argument(context): add_confluent_kafka_argument(c) add_secret_store_argument(c) add_local_connection_block(c, show_id=False) + with self.argument_context('connection preview-configuration {}'.format(target.value)) as c: + add_auth_block(c, source, target) + add_client_type_argument(c, source, target) diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/custom.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/custom.py index 5979f293fdb..49f114163cf 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/custom.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/custom.py @@ -387,7 +387,7 @@ def connection_create(cmd, client, # pylint: disable=too-many-locals,too-many-s validate_service_state(parameters) new_auth_info = enable_mi_for_db_linker(cmd, source_id, target_id, auth_info, client_type, connection_name) - parameters['auth_info'] = new_auth_info if new_auth_info is not None else parameters['auth_info'] + parameters['auth_info'] = new_auth_info or parameters['auth_info'] return auto_register(sdk_no_wait, no_wait, client.begin_create_or_update, resource_uri=source_id, @@ -448,7 +448,7 @@ def local_connection_create(cmd, client, # pylint: disable=too-many-locals,too- validate_service_state(parameters) new_auth_info = enable_mi_for_db_linker( cmd, None, target_id, auth_info, client_type, connection_name) - parameters['auth_info'] = new_auth_info if new_auth_info is not None else parameters['auth_info'] + parameters['auth_info'] = new_auth_info or parameters['auth_info'] return auto_register(sdk_no_wait, no_wait, client.begin_create_or_update, subscription_id=get_subscription_id(cmd.cli_ctx), diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmoscassandra_e2e.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmoscassandra_e2e.yaml index 3618dc7c10a..14e85d6b226 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmoscassandra_e2e.yaml +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_cosmoscassandra_e2e.yaml @@ -1,922 +1,74 @@ interactions: - request: body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb"}, - "authInfo": {"authType": "secret"}, "clientType": "python", "publicNetworkSolution": - {"firewallRules": {"callerClientIP": "true"}}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - connection create cosmos-cassandra - Connection: - - keep-alive - Content-Length: - - '403' - Content-Type: - - application/json - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2?api-version=2022-11-01-preview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "name": "testconn2", "type": "microsoft.servicelinker/locations/connectors", - "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-15T05:51:54.7528234Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T05:51:54.7528234Z"}, - "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, - "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": - "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "python", "scope": - null, "vNetSolution": null, "secretStore": null}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview - cache-control: - - no-cache - content-length: - - '1167' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Dec 2022 05:51:55 GMT - etag: - - '"6f00892e-0000-0100-0000-639ab5fb0000"' - expires: - - '-1' - mise-correlation-id: - - f4c3adcb-7962-401d-8c3c-0e844a2c2e29 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-providerhub-traffic: - - 'True' - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - connection create cosmos-cassandra - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Dec 2022 05:52:26 GMT - etag: - - '"13009ded-0000-0100-0000-639ab5fb0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-cassandra - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Dec 2022 05:52:57 GMT - etag: - - '"13009ded-0000-0100-0000-639ab5fb0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-cassandra - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Dec 2022 05:53:26 GMT - etag: - - '"13009ded-0000-0100-0000-639ab5fb0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-cassandra - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Dec 2022 05:53:57 GMT - etag: - - '"13009ded-0000-0100-0000-639ab5fb0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-cassandra - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Dec 2022 05:54:27 GMT - etag: - - '"13009ded-0000-0100-0000-639ab5fb0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-cassandra - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Dec 2022 05:54:58 GMT - etag: - - '"13009ded-0000-0100-0000-639ab5fb0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-cassandra - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Dec 2022 05:55:28 GMT - etag: - - '"13009ded-0000-0100-0000-639ab5fb0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-cassandra - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Dec 2022 05:55:59 GMT - etag: - - '"13009ded-0000-0100-0000-639ab5fb0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-cassandra - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Dec 2022 05:56:29 GMT - etag: - - '"13009ded-0000-0100-0000-639ab5fb0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-cassandra - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Dec 2022 05:56:59 GMT - etag: - - '"13009ded-0000-0100-0000-639ab5fb0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-cassandra - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Dec 2022 05:57:29 GMT - etag: - - '"13009ded-0000-0100-0000-639ab5fb0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-cassandra - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Dec 2022 05:58:00 GMT - etag: - - '"13009ded-0000-0100-0000-639ab5fb0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-cassandra - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Dec 2022 05:58:30 GMT - etag: - - '"13009ded-0000-0100-0000-639ab5fb0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-cassandra - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Dec 2022 05:59:01 GMT - etag: - - '"13009ded-0000-0100-0000-639ab5fb0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-cassandra - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Dec 2022 05:59:32 GMT - etag: - - '"13009ded-0000-0100-0000-639ab5fb0000"' - expires: - - '-1' - pragma: - - no-cache - 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: - - connection create cosmos-cassandra - Connection: - - keep-alive - ParameterSetName: - - -g --connection --target-id --secret --client-type - User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 - (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview - response: - body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' - headers: - cache-control: - - no-cache - content-length: - - '597' - content-type: - - application/json; charset=utf-8 - date: - - Thu, 15 Dec 2022 06:00:01 GMT - etag: - - '"13009ded-0000-0100-0000-639ab5fb0000"' - expires: - - '-1' - pragma: - - no-cache - 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 + "authInfo": {"authType": "userAccount", "principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff"}, + "clientType": "python", "publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}}}}' headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - connection create cosmos-cassandra Connection: - keep-alive + Content-Length: + - '463' + Content-Type: + - application/json ParameterSetName: - - -g --connection --target-id --secret --client-type + - -g --connection --target-id --user-account --client-type User-Agent: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2?api-version=2022-11-01-preview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", + "name": "testconn2", "type": "microsoft.servicelinker/locations/connectors", + "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": + "User", "createdAt": "2022-12-19T09:08:12.6799886Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-19T09:08:12.6799886Z"}, + "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, + "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": + "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"principalId": + "b0a9d3c6-3387-4067-9f03-39808e7291ff", "roles": null, "userName": null, "authType": + "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "python", + "scope": null, "vNetSolution": null, "secretStore": null}}' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a8609de6-53ff-4ee9-883f-bb2a05b4e61b*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '597' + - '1263' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Dec 2022 06:00:32 GMT + - Mon, 19 Dec 2022 09:08:13 GMT etag: - - '"13009ded-0000-0100-0000-639ab5fb0000"' + - '"98001105-0000-0100-0000-63a029fd0000"' expires: - '-1' + mise-correlation-id: + - a60b45b4-48e5-4447-b82f-87d083317098 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' + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -929,18 +81,18 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --secret --client-type + - -g --connection --target-id --user-account --client-type User-Agent: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a8609de6-53ff-4ee9-883f-bb2a05b4e61b*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a8609de6-53ff-4ee9-883f-bb2a05b4e61b*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "a8609de6-53ff-4ee9-883f-bb2a05b4e61b*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-15T05:51:55.6644698Z"}' + "status": "Accepted", "startTime": "2022-12-19T09:08:13.6700475Z"}' headers: cache-control: - no-cache @@ -949,9 +101,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Dec 2022 06:01:03 GMT + - Mon, 19 Dec 2022 09:08:45 GMT etag: - - '"13009ded-0000-0100-0000-639ab5fb0000"' + - '"2c000616-0000-0100-0000-63a029fd0000"' expires: - '-1' pragma: @@ -979,19 +131,19 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --secret --client-type + - -g --connection --target-id --user-account --client-type User-Agent: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a8609de6-53ff-4ee9-883f-bb2a05b4e61b*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "69b7b838-5def-4786-9735-0a415ef49b55*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/a8609de6-53ff-4ee9-883f-bb2a05b4e61b*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "a8609de6-53ff-4ee9-883f-bb2a05b4e61b*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Succeeded", "startTime": "2022-12-15T05:51:55.6644698Z", "endTime": - "2022-12-15T06:01:11.9315986Z", "properties": {"Message": null}}' + "status": "Succeeded", "startTime": "2022-12-19T09:08:13.6700475Z", "endTime": + "2022-12-19T09:09:02.4604431Z", "properties": {"Message": null}}' headers: cache-control: - no-cache @@ -1000,9 +152,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Dec 2022 06:01:33 GMT + - Mon, 19 Dec 2022 09:09:15 GMT etag: - - '"13003df3-0000-0100-0000-639ab8270000"' + - '"2c00e416-0000-0100-0000-63a02a2e0000"' expires: - '-1' pragma: @@ -1030,7 +182,7 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --secret --client-type + - -g --connection --target-id --user-account --client-type User-Agent: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) @@ -1041,24 +193,25 @@ interactions: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", "name": "testconn2", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-15T05:51:54.7528234Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T05:51:54.7528234Z"}, + "User", "createdAt": "2022-12-19T09:08:12.6799886Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-19T09:08:12.6799886Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "python"}}' headers: cache-control: - no-cache content-length: - - '1003' + - '1100' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Dec 2022 06:01:34 GMT + - Mon, 19 Dec 2022 09:09:16 GMT etag: - - '"6f001152-0000-0100-0000-639ab8270000"' + - '"98001305-0000-0100-0000-63a02a2e0000"' expires: - '-1' pragma: @@ -1099,22 +252,23 @@ interactions: string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", "name": "testconn2", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-15T05:51:54.7528234Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T05:51:54.7528234Z"}, + "User", "createdAt": "2022-12-19T09:08:12.6799886Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-19T09:08:12.6799886Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "python"}}]}' headers: cache-control: - no-cache content-length: - - '1016' + - '1113' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Dec 2022 06:01:42 GMT + - Mon, 19 Dec 2022 09:09:24 GMT expires: - '-1' pragma: @@ -1155,24 +309,25 @@ interactions: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", "name": "testconn2", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-15T05:51:54.7528234Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T05:51:54.7528234Z"}, + "User", "createdAt": "2022-12-19T09:08:12.6799886Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-19T09:08:12.6799886Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "python"}}' headers: cache-control: - no-cache content-length: - - '1003' + - '1100' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Dec 2022 06:01:44 GMT + - Mon, 19 Dec 2022 09:09:26 GMT etag: - - '"6f001152-0000-0100-0000-639ab8270000"' + - '"98001305-0000-0100-0000-63a02a2e0000"' expires: - '-1' pragma: @@ -1192,7 +347,8 @@ interactions: message: OK - request: body: '{"properties": {"targetService": {"type": "AzureResource", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb"}, - "authInfo": {"authType": "secret"}, "clientType": "dotnet", "publicNetworkSolution": + "authInfo": {"authType": "userAccount", "principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "deleteOrUpdateBehavior": "Default"}, "clientType": "dotnet", "publicNetworkSolution": {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": "true"}}}}' headers: @@ -1205,7 +361,7 @@ interactions: Connection: - keep-alive Content-Length: - - '460' + - '557' Content-Type: - application/json ParameterSetName: @@ -1220,32 +376,33 @@ interactions: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", "name": "testconn2", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-15T05:51:54.7528234Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:01:45.8238253Z"}, + "User", "createdAt": "2022-12-19T09:08:12.6799886Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-19T09:09:27.5619932Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"ipRanges": null, "callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "configurationInfo": null, "provisioningState": "Accepted", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", - "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"name": - null, "secretInfo": null, "authType": "secret"}, "clientType": "dotnet", "scope": - null, "vNetSolution": null, "secretStore": null}}' + "resourceProperties": null, "type": "AzureResource"}, "authInfo": {"principalId": + "b0a9d3c6-3387-4067-9f03-39808e7291ff", "roles": null, "userName": null, "authType": + "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "dotnet", + "scope": null, "vNetSolution": null, "secretStore": null}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/328853ed-3701-4f89-9297-7d29041e191f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/74b39bad-20c3-4fe8-b5ea-5e2cadfd6a96*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1167' + - '1263' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Dec 2022 06:01:45 GMT + - Mon, 19 Dec 2022 09:09:27 GMT etag: - - '"6f001452-0000-0100-0000-639ab84a0000"' + - '"98001405-0000-0100-0000-63a02a470000"' expires: - '-1' mise-correlation-id: - - 05d99188-7870-4406-89bd-af92caac09ba + - 4d8bd629-3873-42d3-9bb2-11598fb00fe7 pragma: - no-cache strict-transport-security: @@ -1276,13 +433,13 @@ interactions: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/328853ed-3701-4f89-9297-7d29041e191f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/74b39bad-20c3-4fe8-b5ea-5e2cadfd6a96*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/328853ed-3701-4f89-9297-7d29041e191f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "328853ed-3701-4f89-9297-7d29041e191f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/74b39bad-20c3-4fe8-b5ea-5e2cadfd6a96*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "74b39bad-20c3-4fe8-b5ea-5e2cadfd6a96*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Accepted", "startTime": "2022-12-15T06:01:45.9918262Z"}' + "status": "Accepted", "startTime": "2022-12-19T09:09:27.7852695Z"}' headers: cache-control: - no-cache @@ -1291,9 +448,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Dec 2022 06:02:16 GMT + - Mon, 19 Dec 2022 09:09:59 GMT etag: - - '"13008af3-0000-0100-0000-639ab8490000"' + - '"2c005417-0000-0100-0000-63a02a470000"' expires: - '-1' pragma: @@ -1326,14 +483,14 @@ interactions: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/328853ed-3701-4f89-9297-7d29041e191f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/74b39bad-20c3-4fe8-b5ea-5e2cadfd6a96*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/328853ed-3701-4f89-9297-7d29041e191f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "328853ed-3701-4f89-9297-7d29041e191f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/74b39bad-20c3-4fe8-b5ea-5e2cadfd6a96*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "74b39bad-20c3-4fe8-b5ea-5e2cadfd6a96*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Succeeded", "startTime": "2022-12-15T06:01:45.9918262Z", "endTime": - "2022-12-15T06:02:32.0049924Z", "properties": {"Message": null}}' + "status": "Succeeded", "startTime": "2022-12-19T09:09:27.7852695Z", "endTime": + "2022-12-19T09:10:14.6857261Z", "properties": {"Message": null}}' headers: cache-control: - no-cache @@ -1342,9 +499,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Dec 2022 06:02:47 GMT + - Mon, 19 Dec 2022 09:10:29 GMT etag: - - '"1300faf3-0000-0100-0000-639ab8780000"' + - '"2c003e18-0000-0100-0000-63a02a760000"' expires: - '-1' pragma: @@ -1383,24 +540,25 @@ interactions: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", "name": "testconn2", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-15T05:51:54.7528234Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:01:45.8238253Z"}, + "User", "createdAt": "2022-12-19T09:08:12.6799886Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-19T09:09:27.5619932Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "dotnet"}}' headers: cache-control: - no-cache content-length: - - '1003' + - '1100' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Dec 2022 06:02:49 GMT + - Mon, 19 Dec 2022 09:10:30 GMT etag: - - '"6f001652-0000-0100-0000-639ab8780000"' + - '"98001605-0000-0100-0000-63a02a760000"' expires: - '-1' pragma: @@ -1442,24 +600,25 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2/generateConfigurations?api-version=2022-11-01-preview response: body: - string: '{"configurations": [{"name": "AZURE_COSMOS_USERNAME", "value": "servicelinker-cassandra-cosmos1"}, - {"name": "AZURE_COSMOS_PASSWORD", "value": "mxruMlV5JJNqRFrKRToxt06m5svtluaMbmz2fHou6awKZkKrjGUJkb0RhzLrQYtfsXPqwPHDN8LOK8hoQSwX5w=="}, + string: '{"configurations": [{"name": "AZURE_COSMOS_LISTKEYURL", "value": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/listKeys?api-version=2021-04-15"}, + {"name": "AZURE_COSMOS_USERNAME", "value": "servicelinker-cassandra-cosmos1"}, {"name": "AZURE_COSMOS_CONTACTPOINT", "value": "servicelinker-cassandra-cosmos1.cassandra.cosmos.azure.com"}, {"name": "AZURE_COSMOS_PORT", "value": "10350"}, {"name": "AZURE_COSMOS_KEYSPACE", - "value": "coredb"}]}' + "value": "coredb"}, {"name": "AZURE_COSMOS_RESOURCEENDPOINT", "value": "https://servicelinker-cassandra-cosmos1.documents.azure.com:443/"}, + {"name": "AZURE_COSMOS_SCOPE", "value": "https://management.azure.com/.default"}]}' headers: cache-control: - no-cache content-length: - - '448' + - '799' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Dec 2022 06:02:56 GMT + - Mon, 19 Dec 2022 09:10:42 GMT expires: - '-1' mise-correlation-id: - - 25f077bf-f35c-4ebc-85a1-da93503f6b27 + - 6a8eb7be-55af-43aa-b5d4-41d6a68ce271 pragma: - no-cache strict-transport-security: @@ -1473,7 +632,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -1502,7 +661,7 @@ interactions: string: 'null' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2aa87f74-77d0-42dd-adc7-3dd041635c4c*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/cb23fb5f-0e67-4102-b4d4-309a7f3d940f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -1510,13 +669,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 15 Dec 2022 06:02:59 GMT + - Mon, 19 Dec 2022 09:10:44 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2aa87f74-77d0-42dd-adc7-3dd041635c4c*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/cb23fb5f-0e67-4102-b4d4-309a7f3d940f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview mise-correlation-id: - - 1bf8c088-5dd1-444e-a107-ff4a5db67150 + - 5ac89179-7f4d-4a19-982d-b704aefc0747 pragma: - no-cache strict-transport-security: @@ -1547,33 +706,35 @@ interactions: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2aa87f74-77d0-42dd-adc7-3dd041635c4c*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/cb23fb5f-0e67-4102-b4d4-309a7f3d940f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2aa87f74-77d0-42dd-adc7-3dd041635c4c*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "2aa87f74-77d0-42dd-adc7-3dd041635c4c*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/cb23fb5f-0e67-4102-b4d4-309a7f3d940f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "cb23fb5f-0e67-4102-b4d4-309a7f3d940f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Succeeded", "startTime": "2022-12-15T06:02:59.5419567Z", "endTime": - "2022-12-15T06:03:04.9105209Z", "properties": {"Message": "{\"ConnectionName\":\"testconn2\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-19T09:10:44.9272924Z", "endTime": + "2022-12-19T09:10:48.9383169Z", "properties": {"Message": "{\"ConnectionName\":\"testconn2\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T06:03:00.8015188Z\",\"ReportEndTimeUtc\":\"2022-12-15T06:03:03.817811Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-19T09:10:46.2782328Z\",\"ReportEndTimeUtc\":\"2022-12-19T09:10:47.8356837Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":6}", "linkerName": "testconn2", "isConnectionAvailable": true, "validationDetail": [{"name": "The target existence is validated", "description": null, "result": "success"}, {"name": "The target service firewall is validated", "description": - null, "result": "success"}], "reportStartTimeUtc": "2022-12-15T06:03:00.8015188Z", - "reportEndTimeUtc": "2022-12-15T06:03:03.817811Z", "sourceId": null, "targetId": - null, "authType": "secret"}}' + null, "result": "success"}, {"name": "The identity permission is validated", + "description": null, "result": "success"}], "reportStartTimeUtc": "2022-12-19T09:10:46.2782328Z", + "reportEndTimeUtc": "2022-12-19T09:10:47.8356837Z", "sourceId": null, "targetId": + null, "authType": "userAccount"}}' headers: cache-control: - no-cache content-length: - - '1521' + - '1706' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Dec 2022 06:03:30 GMT + - Mon, 19 Dec 2022 09:11:15 GMT etag: - - '"130050f4-0000-0100-0000-639ab8980000"' + - '"2c000919-0000-0100-0000-63a02a980000"' expires: - '-1' pragma: @@ -1606,33 +767,35 @@ interactions: - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2aa87f74-77d0-42dd-adc7-3dd041635c4c*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/cb23fb5f-0e67-4102-b4d4-309a7f3d940f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829?api-version=2021-01-01-privatepreview response: body: - string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2aa87f74-77d0-42dd-adc7-3dd041635c4c*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", - "name": "2aa87f74-77d0-42dd-adc7-3dd041635c4c*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/cb23fb5f-0e67-4102-b4d4-309a7f3d940f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", + "name": "cb23fb5f-0e67-4102-b4d4-309a7f3d940f*719EA56D340BA14F6EC9AC3A002B67B2E1C94151EBA918F34D6C4CD2ED8B2829", "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", - "status": "Succeeded", "startTime": "2022-12-15T06:02:59.5419567Z", "endTime": - "2022-12-15T06:03:04.9105209Z", "properties": {"Message": "{\"ConnectionName\":\"testconn2\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2022-12-19T09:10:44.9272924Z", "endTime": + "2022-12-19T09:10:48.9383169Z", "properties": {"Message": "{\"ConnectionName\":\"testconn2\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The target existence is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The - target service firewall is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-15T06:03:00.8015188Z\",\"ReportEndTimeUtc\":\"2022-12-15T06:03:03.817811Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":4}", + target service firewall is validated\",\"Description\":null,\"Result\":0},{\"Name\":\"The + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2022-12-19T09:10:46.2782328Z\",\"ReportEndTimeUtc\":\"2022-12-19T09:10:47.8356837Z\",\"SourceId\":null,\"TargetId\":null,\"AuthType\":6}", "linkerName": "testconn2", "isConnectionAvailable": true, "validationDetail": [{"name": "The target existence is validated", "description": null, "result": "success"}, {"name": "The target service firewall is validated", "description": - null, "result": "success"}], "reportStartTimeUtc": "2022-12-15T06:03:00.8015188Z", - "reportEndTimeUtc": "2022-12-15T06:03:03.817811Z", "sourceId": null, "targetId": - null, "authType": "secret"}}' + null, "result": "success"}, {"name": "The identity permission is validated", + "description": null, "result": "success"}], "reportStartTimeUtc": "2022-12-19T09:10:46.2782328Z", + "reportEndTimeUtc": "2022-12-19T09:10:47.8356837Z", "sourceId": null, "targetId": + null, "authType": "userAccount"}}' headers: cache-control: - no-cache content-length: - - '1521' + - '1706' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Dec 2022 06:03:30 GMT + - Mon, 19 Dec 2022 09:11:15 GMT etag: - - '"130050f4-0000-0100-0000-639ab8980000"' + - '"2c000919-0000-0100-0000-63a02a980000"' expires: - '-1' pragma: @@ -1671,24 +834,25 @@ interactions: string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-cli-test-group/providers/Microsoft.ServiceLinker/locations/eastus/connectors/testconn2", "name": "testconn2", "type": "microsoft.servicelinker/locations/connectors", "systemData": {"createdBy": "xiaofanzhou@microsoft.com", "createdByType": - "User", "createdAt": "2022-12-15T05:51:54.7528234Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-15T06:01:45.8238253Z"}, + "User", "createdAt": "2022-12-19T09:08:12.6799886Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2022-12-19T09:09:27.5619932Z"}, "properties": {"publicNetworkSolution": {"firewallRules": {"callerClientIP": "true"}, "deleteOrUpdateBehavior": "Default", "action": "enable"}, "provisioningState": "Succeeded", "targetService": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/servicelinker-test-win-group/providers/Microsoft.DocumentDB/databaseAccounts/servicelinker-cassandra-cosmos1/cassandraKeyspaces/coredb", - "type": "AzureResource"}, "authInfo": {"authType": "secret"}, "clientType": + "type": "AzureResource"}, "authInfo": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", + "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "dotnet"}}' headers: cache-control: - no-cache content-length: - - '1003' + - '1100' content-type: - application/json; charset=utf-8 date: - - Thu, 15 Dec 2022 06:03:31 GMT + - Mon, 19 Dec 2022 09:11:18 GMT etag: - - '"6f001652-0000-0100-0000-639ab8780000"' + - '"98001605-0000-0100-0000-63a02a760000"' expires: - '-1' pragma: @@ -1735,7 +899,7 @@ interactions: content-length: - '0' date: - - Thu, 15 Dec 2022 06:03:37 GMT + - Mon, 19 Dec 2022 09:11:23 GMT expires: - '-1' pragma: From 1110a03c4d7ffe7067f7e4d22741ab6f34be4f81 Mon Sep 17 00:00:00 2001 From: xiaofanzhou Date: Mon, 19 Dec 2022 17:56:48 +0800 Subject: [PATCH 07/19] fix help --- .../serviceconnector/_credential_free.py | 5 ----- .../command_modules/serviceconnector/_help.py | 19 ++++++++++--------- .../serviceconnector/commands.py | 2 +- .../serviceconnector/custom.py | 1 - 4 files changed, 11 insertions(+), 16 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py index c87ed790410..ad638b97611 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py @@ -13,12 +13,7 @@ CLIInternalError ) from azure.cli.core.extension.operations import _install_deps_for_psycopg2, _run_pip -from azure.cli.core.profiles import ResourceType from azure.cli.core._profile import Profile -from azure.cli.core.commands.client_factory import get_mgmt_service_client -from azure.cli.core.util import random_string -from azure.cli.core.commands import LongRunningOperation -from azure.cli.core.commands.arm import ArmTemplateBuilder from ._utils import run_cli_cmd, generate_random_string, is_packaged_installed from ._resource_config import ( RESOURCE, diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py index ecf88636df4..e916f32e00e 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py @@ -405,7 +405,8 @@ def get_source_display_name(sourcename): source = RESOURCE.Local connection_id = ( - '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}') + '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/' + 'providers/Microsoft.ServiceLinker/locations/{location}/connectors/{connectorName}') source_display_name = 'Service Connector' helps['connection'] = """ type: group @@ -461,15 +462,15 @@ def get_source_display_name(sourcename): type: command short-summary: Generate configurations of a {source_display_name} local connection. examples: - - name: List a connection's local configurations interactively + - name: Generate a connection's local configurations interactively text: |- - az connection list-configuration - - name: List a connection's local configurations by connection name + az connection generate-configuration + - name: Generate a connection's local configurations by connection name text: |- - az connection list-configuration -g resource_group --connection MyConnection - - name: List a connection's local configurations by connection id + az connection generate-configuration -g resource_group --connection MyConnection + - name: Generate a connection's local configurations by connection id text: |- - az connection list-configuration --id {connection_id} + az connection generate-configuration --id {connection_id} """.format( connection_id=connection_id, source_display_name=source_display_name) @@ -609,13 +610,13 @@ def get_source_display_name(sourcename): examples: - name: Create a connection from local to {target} interactively text: |- - az connection create {target} + az connection create {target} -g resourceGroup - name: Create a connection from local to {target} with resource name text: |- az connection create {target} -g resourceGroup {target_params} {auth_params} - name: Create a connection from local to {target} with resource id text: |- - az connection create {target} --target-id {target_id} {auth_params} + az connection create {target} -g resourceGroup --target-id {target_id} {auth_params} """.format( target=target.value, target_id=target_id, diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/commands.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/commands.py index d631158aed6..4ff97beeeb2 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/commands.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/commands.py @@ -93,7 +93,7 @@ def load_command_table(self, _): # pylint: disable=too-many-statements transform=transform_validation_result) og.custom_command('list-support-types', 'connection_list_support_types', table_transformer=transform_support_types) - og.custom_wait_command('wait', 'connection_show') + og.custom_wait_command('wait', 'local_connection_show') supported_target_resources = list( SUPPORTED_AUTH_TYPE.get(RESOURCE.Local).keys()) diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/custom.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/custom.py index 49f114163cf..118faf8ed78 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/custom.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/custom.py @@ -723,7 +723,6 @@ def local_connection_update_kafka(cmd, client, # pylint: disable=too-many-local connection_name, location=None, resource_group_name=None, - id=None, # pylint: disable=redefined-builtin bootstrap_server=None, kafka_key=None, kafka_secret=None, From 4908835c48315adc8171b7bd2bcd3be93474fda9 Mon Sep 17 00:00:00 2001 From: xiaofanzhou Date: Mon, 19 Dec 2022 22:29:36 +0800 Subject: [PATCH 08/19] fix --- .../command_modules/serviceconnector/_help.py | 6 +-- .../latest/test_local_connection_scenario.py | 51 ++++++++++--------- 2 files changed, 28 insertions(+), 29 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py index e916f32e00e..5d5a71b3396 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py @@ -52,7 +52,8 @@ def get_auth_info_params(auth_type): AUTH_TYPE.SecretAuto: '--secret', AUTH_TYPE.SystemIdentity: '--system-identity', AUTH_TYPE.ServicePrincipalSecret: '--service-principal client-id=XX object-id=XX secret=XX', - AUTH_TYPE.UserIdentity: '--user-identity client-id=XX subs-id=XX' + AUTH_TYPE.UserIdentity: '--user-identity client-id=XX subs-id=XX', + AUTH_TYPE.UserAccount: '--user-account', } return auth_params_map.get(auth_type) @@ -429,9 +430,6 @@ def get_source_display_name(sourcename): type: command short-summary: List local connections of {source_display_name}. examples: - - name: List {source_display_name} connections interactively - text: |- - az connection list - name: List connections by resource group text: |- az connection list -g resource_group diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_local_connection_scenario.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_local_connection_scenario.py index 449ec1527cc..20a0f300d39 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_local_connection_scenario.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_local_connection_scenario.py @@ -21,6 +21,7 @@ resource_group = 'servicelinker-cli-test-group' +@unittest.skip('Test with user account signed in') class LocalConnectionScenarioTest(ScenarioTest): def __init__(self, method_name): @@ -29,7 +30,7 @@ def __init__(self, method_name): recording_processors=[CredentialReplacer()] ) - @record_only() + def test_local_appconfig_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -72,7 +73,7 @@ def test_local_appconfig_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + def test_local_cosmoscassandra_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -88,14 +89,14 @@ def test_local_cosmoscassandra_e2e(self): # create connection self.cmd('connection create cosmos-cassandra -g {} --connection {} --target-id {} ' - '--secret --client-type python'.format(resource_group, name, target_id)) + '--user-account --client-type python'.format(resource_group, name, target_id)) # list connection connections = self.cmd( 'connection list -g {}'.format(resource_group), checks=[ self.check('length(@)', 1), - self.check('[0].authInfo.authType', 'secret'), + self.check('[0].authInfo.authType', 'userAccount'), self.check('[0].clientType', 'python') ] ).get_output_in_json() @@ -117,7 +118,7 @@ def test_local_cosmoscassandra_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + def test_local_cosmosgremlin_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -163,7 +164,7 @@ def test_local_cosmosgremlin_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + def test_local_cosmosmongo_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -208,7 +209,7 @@ def test_local_cosmosmongo_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + def test_local_cosmossql_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -253,7 +254,7 @@ def test_local_cosmossql_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + def test_local_cosmostable_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -298,7 +299,7 @@ def test_local_cosmostable_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + def test_local_eventhub_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -342,7 +343,7 @@ def test_local_eventhub_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + def test_local_servicebus_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -386,7 +387,7 @@ def test_local_servicebus_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + def test_local_signalr_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -430,7 +431,7 @@ def test_local_signalr_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + def test_local_webpubsub_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -474,7 +475,7 @@ def test_local_webpubsub_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + def test_local_keyvault_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -518,7 +519,7 @@ def test_local_keyvault_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + def test_local_postgresflexible_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -570,7 +571,7 @@ def test_local_postgresflexible_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + def test_local_redis_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -614,7 +615,7 @@ def test_local_redis_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + def test_local_redisenterprise_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -659,7 +660,7 @@ def test_local_redisenterprise_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + def test_local_mysql_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -710,7 +711,7 @@ def test_local_mysql_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + def test_local_mysqlflexible_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -763,7 +764,7 @@ def test_local_mysqlflexible_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + def test_local_postgres_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -815,7 +816,7 @@ def test_local_postgres_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + def test_local_sql_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -866,7 +867,7 @@ def test_local_sql_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + def test_local_storageblob_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -962,7 +963,7 @@ def test_local_storageblob_keyvault_ref(self): for conn in self.cmd('connection list -g {}'.format(resource_group)).get_output_in_json(): self.cmd('connection delete --id {} --yes'.format(conn.get('id'))) - @record_only() + def test_local_storagequeue_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -1007,7 +1008,7 @@ def test_local_storagequeue_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + def test_local_storagefile_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -1052,7 +1053,7 @@ def test_local_storagefile_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + def test_local_storagetable_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), @@ -1097,7 +1098,7 @@ def test_local_storagetable_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) - @record_only() + def test_local_confluentkafka_e2e(self): self.kwargs.update({ 'subscription': get_subscription_id(self.cli_ctx), From 948ef968afd95732f89e27fe700dc92abe725173 Mon Sep 17 00:00:00 2001 From: xiaofanzhou Date: Tue, 20 Dec 2022 10:17:11 +0800 Subject: [PATCH 09/19] remove enable_pg_extension --- .../command_modules/serviceconnector/_credential_free.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py index ad638b97611..dc9e32b950b 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py @@ -411,16 +411,7 @@ def __init__(self, cmd, target_id, target_type, auth_type, connection_name): self.host = self.db_server + self.endpoint self.dbname = target_segments.get('child_name_1') - def enable_pg_extension(self): - try: - run_cli_cmd('az postgres flexible-server parameter set -g {} -s {} --subscription {} --name azure.extensions --value uuid-ossp'.format( - self.resource_group, self.db_server, self.subscription)) - except Exception as e: # pylint: disable=broad-except - logger.warning(e) - def enable_target_aad_auth(self): - self.enable_pg_extension() - run_cli_cmd('az postgres flexible-server update -g {} -n {} --subscription {} --active-directory-auth Enabled'.format( self.resource_group, self.db_server, self.subscription)) From 9d883b19634d18e41a8904751da79c64f2dc3ee4 Mon Sep 17 00:00:00 2001 From: xiaofanzhou Date: Tue, 20 Dec 2022 10:35:28 +0800 Subject: [PATCH 10/19] update pyodbc version --- src/azure-cli/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index f46f1c39c75..f0a1204df49 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -145,7 +145,7 @@ 'PyGithub~=1.38', 'PyMySQL~=1.0.2', 'PyNaCl~=1.5.0', - 'pyodbc~=4.0.35', + 'pyodbc==4.0.35', 'scp~=0.13.2', 'semver==2.13.0', 'six>=1.10.0', # six is still used by countless extensions From 0d6b0bcbeae869ac3c5cb05c28a5db658d58430c Mon Sep 17 00:00:00 2001 From: xiaofanzhou Date: Tue, 20 Dec 2022 10:53:04 +0800 Subject: [PATCH 11/19] remove pyodbc from setup --- src/azure-cli/setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index f0a1204df49..df59a7f6a19 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -145,7 +145,6 @@ 'PyGithub~=1.38', 'PyMySQL~=1.0.2', 'PyNaCl~=1.5.0', - 'pyodbc==4.0.35', 'scp~=0.13.2', 'semver==2.13.0', 'six>=1.10.0', # six is still used by countless extensions From c54554fea823c01774a36e2baac9d1703a080cd7 Mon Sep 17 00:00:00 2001 From: xiaofanzhou Date: Tue, 20 Dec 2022 12:28:53 +0800 Subject: [PATCH 12/19] update dependency of pyodbc --- Dockerfile | 2 +- src/azure-cli/setup.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7d106e320cd..64eecd02cbf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,7 +39,7 @@ LABEL maintainer="Microsoft" \ # Once cryptography is bumped to the latest version, openssl1.1-compat should be removed and openssl1.1-compat-dev # should be replaced by openssl-dev. RUN apk add --no-cache bash openssh ca-certificates jq curl openssl openssl1.1-compat perl git zip \ - && apk add --no-cache --virtual .build-deps gcc make openssl1.1-compat-dev libffi-dev musl-dev linux-headers \ + && apk add --no-cache --virtual .build-deps gcc make openssl1.1-compat-dev libffi-dev musl-dev linux-headers build-base unixodbc-dev freetds-dev \ && apk add --no-cache libintl icu-libs libc6-compat \ && apk add --no-cache bash-completion \ && update-ca-certificates diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index df59a7f6a19..f0a1204df49 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -145,6 +145,7 @@ 'PyGithub~=1.38', 'PyMySQL~=1.0.2', 'PyNaCl~=1.5.0', + 'pyodbc==4.0.35', 'scp~=0.13.2', 'semver==2.13.0', 'six>=1.10.0', # six is still used by countless extensions From e23fffd6ecdd25511be37021b4f17f6463893ba3 Mon Sep 17 00:00:00 2001 From: xiaofanzhou Date: Wed, 21 Dec 2022 13:00:58 +0800 Subject: [PATCH 13/19] fix credential free --- .../serviceconnector/_credential_free.py | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py index dc9e32b950b..4c91df64a45 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py @@ -245,12 +245,13 @@ def create_aad_user_in_mysql(self, connection_kwargs, query_list): connection = pymysql.connect(**connection_kwargs) cursor = connection.cursor() for q in query_list: - try: - logger.debug(q) - cursor.execute(q) - except Exception as e: # pylint: disable=broad-except - logger.warning( - "Query %s, error: %s", q, str(e)) + if q: + try: + logger.debug(q) + cursor.execute(q) + except Exception as e: # pylint: disable=broad-except + logger.warning( + "Query %s, error: %s", q, str(e)) except pymysql.Error as e: raise AzureConnectionError("Fail to connect mysql. " + str(e)) if cursor is not None: @@ -273,6 +274,9 @@ def get_connection_string(self): } def get_create_query(self, client_id): + # Don't create aad user for user account because it will cause breakdown on mysql + if self.auth_type == PasswordlessIdentity[AUTH_TYPE.UserAccount]: + return [] return [ "SET aad_auth_validate_oids_in_tenant = OFF;", "DROP USER IF EXISTS '{}'@'%';".format(self.aad_username), @@ -362,7 +366,7 @@ def create_aad_user_in_sql(self, connection_args, query_list): 'ODBC Driver 17 for SQL Server', 'ODBC Driver 18 for SQL Server']] if not drivers: raise CLIInternalError( - "Please manually install odbc 17/18 for SQL server, reference: https://docs.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver16") + "Please manually install odbc 17/18 for SQL server, reference: https://docs.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server/") try: with pyodbc.connect(connection_args.get("connection_string").format(driver=drivers[0]), attrs_before=connection_args.get("attrs_before")) as conn: with conn.cursor() as cursor: @@ -594,7 +598,7 @@ def get_create_query(self, client_id): return [ 'SET aad_validate_oids_in_tenant = off;', # 'drop role IF EXISTS "{0}";'.format(self.aad_username), - "CREATE ROLE {0} WITH LOGIN PASSWORD '{1}' IN ROLE azure_ad_user;".format( + "CREATE ROLE \"{0}\" WITH LOGIN PASSWORD '{1}' IN ROLE azure_ad_user;".format( self.aad_username, client_id) if self.auth_type == PasswordlessIdentity[AUTH_TYPE.SystemIdentity] else 'CREATE ROLE "{}" WITH LOGIN IN ROLE azure_ad_user;'.format( self.login_username), From 576f1d19456f1cd52a2d7ad3abc7c7d05fa9176a Mon Sep 17 00:00:00 2001 From: xiaofanzhou Date: Wed, 21 Dec 2022 13:22:28 +0800 Subject: [PATCH 14/19] add test and update help --- .../command_modules/serviceconnector/_help.py | 2 +- ...ocal_connection_preview_configuration.yaml | 75 +++++++++++++++++++ .../latest/test_local_connection_scenario.py | 17 +++++ 3 files changed, 93 insertions(+), 1 deletion(-) create mode 100644 src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_connection_preview_configuration.yaml diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py index 5d5a71b3396..a5240fd35a2 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py @@ -411,7 +411,7 @@ def get_source_display_name(sourcename): source_display_name = 'Service Connector' helps['connection'] = """ type: group - short-summary: Commands to manage {} local connections + short-summary: Commands to manage {} local connections which allow local environment to connect Azure Resource. If you want to manage connection for compute service, please run 'az webapp/containerapp/spring connection' """.format(source_display_name) helps['connection list-support-types'] = """ diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_connection_preview_configuration.yaml b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_connection_preview_configuration.yaml new file mode 100644 index 00000000000..cf43e50c0d1 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/recordings/test_local_connection_preview_configuration.yaml @@ -0,0 +1,75 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - connection preview-configuration appconfig + Connection: + - keep-alive + ParameterSetName: + - --client-type + User-Agent: + - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/providers/Microsoft.ServiceLinker/configurationNames?api-version=2022-11-01-preview&$filter=TargetService%20eq%20%27Microsoft.AppConfiguration%2FconfigurationStores%27%20and%20ClientType%20eq%20%27dotnet%27 + response: + body: + string: '{"value": [{"properties": {"targetService": "MICROSOFT.APPCONFIGURATION/CONFIGURATIONSTORES", + "clientType": "dotnet", "authType": "systemAssignedIdentity", "names": [{"value": + "AZURE_APPCONFIGURATION_ENDPOINT", "description": "App Configuration endpoint"}, + {"value": "AZURE_APPCONFIGURATION_SCOPE", "description": "scope for getting + token"}]}}, {"properties": {"targetService": "MICROSOFT.APPCONFIGURATION/CONFIGURATIONSTORES", + "clientType": "dotnet", "authType": "userAssignedIdentity", "names": [{"value": + "AZURE_APPCONFIGURATION_ENDPOINT", "description": "App Configuration endpoint"}, + {"value": "AZURE_APPCONFIGURATION_CLIENTID", "description": "User Identity + client id"}, {"value": "AZURE_APPCONFIGURATION_SCOPE", "description": "scope + for getting token"}]}}, {"properties": {"targetService": "MICROSOFT.APPCONFIGURATION/CONFIGURATIONSTORES", + "clientType": "dotnet", "authType": "servicePrincipalSecret", "names": [{"value": + "AZURE_APPCONFIGURATION_ENDPOINT", "description": "App Configuration endpoint"}, + {"value": "AZURE_APPCONFIGURATION_CLIENTSECRET", "description": "Service Principal + client secret"}, {"value": "AZURE_APPCONFIGURATION_CLIENTID", "description": + "Service Principal client id"}, {"value": "AZURE_APPCONFIGURATION_TENANTID", + "description": "Service Principal tenant id"}, {"value": "AZURE_APPCONFIGURATION_SCOPE", + "description": "scope for getting token"}]}}, {"properties": {"targetService": + "MICROSOFT.APPCONFIGURATION/CONFIGURATIONSTORES", "clientType": "dotnet", + "authType": "secret", "names": [{"value": "AZURE_APPCONFIGURATION_CONNECTIONSTRING", + "description": "connection string"}]}}, {"properties": {"targetService": "MICROSOFT.APPCONFIGURATION/CONFIGURATIONSTORES", + "clientType": "dotnet", "authType": "accessKey", "names": [{"value": "AZURE_APPCONFIGURATION_CONNECTIONSTRING", + "description": "connection string"}]}}, {"properties": {"targetService": "MICROSOFT.APPCONFIGURATION/CONFIGURATIONSTORES", + "clientType": "dotnet", "authType": "userAccount", "names": [{"value": "AZURE_APPCONFIGURATION_ENDPOINT", + "description": "App Configuration endpoint"}, {"value": "AZURE_APPCONFIGURATION_SCOPE", + "description": "scope for getting token"}]}}]}' + headers: + cache-control: + - no-cache + content-length: + - '2173' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 21 Dec 2022 05:19:32 GMT + expires: + - '-1' + mise-correlation-id: + - 16329c95-e5d6-4bc1-9105-6b5c139133bc + 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/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_local_connection_scenario.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_local_connection_scenario.py index 20a0f300d39..02ed7215ad3 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_local_connection_scenario.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/tests/latest/test_local_connection_scenario.py @@ -1141,6 +1141,23 @@ def test_local_confluentkafka_e2e(self): # delete connection self.cmd('connection delete --id {} --yes'.format(connection_id)) + def test_local_connection_list_support_types(self): + self.cmd( + 'connection list-support-types'.format(resource_group), + checks=[ + self.check('length(@)', 23), + ] + ).get_output_in_json() + + def test_local_connection_preview_configuration(self): + self.cmd( + 'connection preview-configuration appconfig --client-type dotnet', + checks=[ + self.check('length(@)', 6), + ] + ).get_output_in_json() + + @unittest.skip('Keyvault reference not supported') def test_local_confluentkafka_keyvault_ref(self): self.kwargs.update({ From 7759f3dc4f1ea0f5c83f471e1a904454edf405ee Mon Sep 17 00:00:00 2001 From: xiaofanzhou Date: Wed, 21 Dec 2022 13:39:00 +0800 Subject: [PATCH 15/19] update help file --- .../azure/cli/command_modules/serviceconnector/_help.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py index a5240fd35a2..9a5a9e5a36b 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_help.py @@ -458,11 +458,8 @@ def get_source_display_name(sourcename): helps['connection generate-configuration'] = """ type: command - short-summary: Generate configurations of a {source_display_name} local connection. + short-summary: Generate configurations of a {source_display_name} local connection. The result should be put to application configuration file or set as environment variables. examples: - - name: Generate a connection's local configurations interactively - text: |- - az connection generate-configuration - name: Generate a connection's local configurations by connection name text: |- az connection generate-configuration -g resource_group --connection MyConnection From 63a45b8c64ef8505dad4e2bc311af6982ebe6b23 Mon Sep 17 00:00:00 2001 From: xiaofanzhou Date: Wed, 21 Dec 2022 20:50:18 +0800 Subject: [PATCH 16/19] update credential free to create local users --- .../serviceconnector/_credential_free.py | 84 ++++++++++--------- 1 file changed, 45 insertions(+), 39 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py index 4c91df64a45..74b2892f4d3 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py @@ -26,7 +26,7 @@ logger = get_logger(__name__) -PasswordlessIdentity = { +AUTHTYPES = { AUTH_TYPE.SystemIdentity: 'systemAssignedIdentity', AUTH_TYPE.UserAccount: 'userAccount' } @@ -37,7 +37,7 @@ # For other linker, ignore the steps def enable_mi_for_db_linker(cmd, source_id, target_id, auth_info, client_type, connection_name): # return if connection is not for db mi - if auth_info['auth_type'] not in {PasswordlessIdentity[AUTH_TYPE.SystemIdentity], PasswordlessIdentity[AUTH_TYPE.UserAccount]}: + if auth_info['auth_type'] not in {AUTHTYPES[AUTH_TYPE.SystemIdentity], AUTHTYPES[AUTH_TYPE.UserAccount]}: return source_type = get_source_resource_name(cmd) @@ -59,18 +59,15 @@ def enable_mi_for_db_linker(cmd, source_id, target_id, auth_info, client_type, c raise Exception( "No object id for user {}".format(target_handler.login_username)) - client_id = None - if source_type == RESOURCE.Local: - client_id = user_object_id - identity_name = target_handler.login_username - else: + target_handler.user_object_id = user_object_id + if source_type != RESOURCE.Local: # enable source mi source_object_id = source_handler.get_identity_pid() - + target_handler.identity_object_id = source_object_id identity_info = run_cli_cmd( 'az ad sp show --id {}'.format(source_object_id), 15, 10) - client_id = identity_info.get('appId') - identity_name = identity_info.get('displayName') + target_handler.identity_client_id = identity_info.get('appId') + target_handler.identity_name = identity_info.get('displayName') # enable target aad authentication and set login user as db aad admin target_handler.enable_target_aad_auth() @@ -78,7 +75,7 @@ def enable_mi_for_db_linker(cmd, source_id, target_id, auth_info, client_type, c user_object_id, mysql_identity_id=auth_info.get('mysql-identity-id')) # create an aad user in db - target_handler.create_aad_user(identity_name, client_id) + target_handler.create_aad_user() return target_handler.get_auth_config(user_object_id) @@ -106,8 +103,12 @@ class TargetHandler: login_username = "" endpoint = "" aad_username = "" + user_object_id = "" auth_type = "" + identity_name = "" + identity_client_id = "" + identity_object_id = "" def __init__(self, cmd, target_id, target_type, auth_type, connection_name): self.profile = Profile(cli_ctx=cmd.cli_ctx) @@ -122,10 +123,7 @@ def __init__(self, cmd, target_id, target_type, auth_type, connection_name): self.auth_type = auth_type self.login_username = run_cli_cmd( 'az account show').get("user").get("name") - if auth_type == PasswordlessIdentity[AUTH_TYPE.UserAccount]: - self.aad_username = self.login_username - else: - self.aad_username = "aad_" + connection_name + self.aad_username = "aad_" + connection_name def enable_target_aad_auth(self): return @@ -136,17 +134,17 @@ def set_user_admin(self, user_object_id, **kwargs): def set_target_firewall(self, add_new_rule, ip_name): return - def create_aad_user(self, identity_name, client_id): + def create_aad_user(self): return def get_auth_config(self, user_object_id): - if self.auth_type == PasswordlessIdentity[AUTH_TYPE.UserAccount]: + if self.auth_type == AUTHTYPES[AUTH_TYPE.UserAccount]: return { 'auth_type': self.auth_type, 'username': self.aad_username, 'principal_id': user_object_id } - if self.auth_type == PasswordlessIdentity[AUTH_TYPE.SystemIdentity]: + if self.auth_type == AUTHTYPES[AUTH_TYPE.SystemIdentity]: return { 'auth_type': self.auth_type, 'username': self.aad_username, @@ -180,7 +178,7 @@ def set_user_admin(self, user_object_id, **kwargs): if mysql_identity_id is None: raise ValidationError( "Provide '{} mysql-identity-id=xx' to set {} as AAD administrator.".format( - '--system-identity' if self.auth_type == PasswordlessIdentity[AUTH_TYPE.SystemIdentity] else '--user-account', self.login_username)) + '--system-identity' if self.auth_type == AUTHTYPES[AUTH_TYPE.SystemIdentity] else '--user-account', self.login_username)) mysql_umi = run_cli_cmd( 'az mysql flexible-server identity list -g {} -s {} --subscription {}'.format(self.resource_group, self.server, self.subscription)) if (not mysql_umi) or (not mysql_umi.get("userAssignedIdentities")) or mysql_identity_id not in mysql_umi.get("userAssignedIdentities"): @@ -189,8 +187,8 @@ def set_user_admin(self, user_object_id, **kwargs): run_cli_cmd('az mysql flexible-server ad-admin create -g {} -s {} --subscription {} -u {} -i {} --identity {}'.format( self.resource_group, self.server, self.subscription, self.login_username, user_object_id, mysql_identity_id)) - def create_aad_user(self, identity_name, client_id): - query_list = self.get_create_query(client_id) + def create_aad_user(self): + query_list = self.get_create_query() connection_kwargs = self.get_connection_string() ip_name = None try: @@ -273,10 +271,10 @@ def get_connection_string(self): 'autocommit': True } - def get_create_query(self, client_id): - # Don't create aad user for user account because it will cause breakdown on mysql - if self.auth_type == PasswordlessIdentity[AUTH_TYPE.UserAccount]: - return [] + def get_create_query(self): + client_id = self.identity_client_id + if self.auth_type == AUTHTYPES[AUTH_TYPE.UserAccount]: + client_id = self.user_object_id return [ "SET aad_auth_validate_oids_in_tenant = OFF;", "DROP USER IF EXISTS '{}'@'%';".format(self.aad_username), @@ -299,6 +297,10 @@ def __init__(self, cmd, target_id, target_type, auth_type, connection_name): target_segments = parse_resource_id(target_id) self.server = target_segments.get('name') self.dbname = target_segments.get('child_name_1') + if self.auth_type == AUTHTYPES[AUTH_TYPE.SystemIdentity]: + self.aad_username = self.identity_name + if self.auth_type == AUTHTYPES[AUTH_TYPE.UserAccount]: + self.aad_username = self.login_username def set_user_admin(self, user_object_id, **kwargs): # pylint: disable=not-an-iterable @@ -311,10 +313,9 @@ def set_user_admin(self, user_object_id, **kwargs): run_cli_cmd('az sql server ad-admin create -g {} --server-name {} --display-name {} --object-id {} --subscription {}'.format( self.resource_group, self.server, self.login_username, user_object_id, self.subscription)).get('objectId') - def create_aad_user(self, identity_name, client_id): - self.aad_username = identity_name + def create_aad_user(self): - query_list = self.get_create_query(client_id) + query_list = self.get_create_query() connection_args = self.get_connection_string() ip_name = None try: @@ -391,7 +392,7 @@ def get_connection_string(self): self.server + self.endpoint + ';database=' + self.dbname + ';' return {'connection_string': conn_string, 'attrs_before': {SQL_COPT_SS_ACCESS_TOKEN: token_struct}} - def get_create_query(self, client_id): + def get_create_query(self): role_q = "CREATE USER \"{}\" FROM EXTERNAL PROVIDER;".format( self.aad_username) grant_q = "GRANT CONTROL ON DATABASE::{} TO \"{}\";".format( @@ -430,10 +431,10 @@ def set_user_admin(self, user_object_id, **kwargs): run_cli_cmd('az postgres flexible-server ad-admin create -u {} -i {} -g {} -s {} --subscription {}'.format( self.login_username, user_object_id, self.resource_group, self.db_server, self.subscription)) - def create_aad_user(self, identity_name, client_id): + def create_aad_user(self): # self.aad_user = identity_name or self.aad_user - query_list = self.get_create_query(client_id) + query_list = self.get_create_query() connection_string = self.get_connection_string() ip_name = None try: @@ -525,11 +526,16 @@ def get_connection_string(self): self.host, self.login_username, password) return conn_string - def get_create_query(self, client_id): + def get_create_query(self): + object_type = 'service' + object_id = self.identity_object_id + if self.auth_type == AUTHTYPES[AUTH_TYPE.UserAccount]: + object_id = self.user_object_id + object_type = 'user' return [ # 'drop role IF EXISTS "{0}";'.format(self.aad_username), - "select * from pgaadauth_create_principal_with_oid('{0}', '{1}', 'service', false, false);".format( - self.aad_username, client_id) if self.auth_type == PasswordlessIdentity[AUTH_TYPE.SystemIdentity] else '', + "select * from pgaadauth_create_principal_with_oid('{0}', '{1}', '{2}', false, false);".format( + self.aad_username, object_id, object_type), 'GRANT ALL PRIVILEGES ON DATABASE "{0}" TO "{1}";'.format( self.dbname, self.aad_username), 'GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO "{}";'.format( @@ -593,15 +599,15 @@ def get_connection_string(self): self.host, self.login_username + '@' + self.db_server, password) return conn_string - def get_create_query(self, client_id): - + def get_create_query(self): + client_id = self.identity_client_id + if self.auth_type == AUTHTYPES[AUTH_TYPE.UserAccount]: + client_id = self.user_object_id return [ 'SET aad_validate_oids_in_tenant = off;', # 'drop role IF EXISTS "{0}";'.format(self.aad_username), "CREATE ROLE \"{0}\" WITH LOGIN PASSWORD '{1}' IN ROLE azure_ad_user;".format( - self.aad_username, client_id) if self.auth_type == PasswordlessIdentity[AUTH_TYPE.SystemIdentity] else - 'CREATE ROLE "{}" WITH LOGIN IN ROLE azure_ad_user;'.format( - self.login_username), + self.aad_username, client_id), 'GRANT ALL PRIVILEGES ON DATABASE "{0}" TO "{1}";'.format( self.dbname, self.aad_username), 'GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO "{}";'.format( From 40e533ea34dc44b4f1ec11cbd4e34c48284ec977 Mon Sep 17 00:00:00 2001 From: xiaofanzhou Date: Thu, 22 Dec 2022 10:34:59 +0800 Subject: [PATCH 17/19] update postgres --- .../serviceconnector/_credential_free.py | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py index 74b2892f4d3..f36a7f4fd69 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py @@ -93,25 +93,25 @@ def getTargetHandler(cmd, target_id, target_type, auth_type, client_type, connec class TargetHandler: - target_id = "" - target_type = "" - profile = None cmd = None + auth_type = "" + tenant_id = "" subscription = "" resource_group = "" - login_username = "" + target_id = "" + target_type = "" endpoint = "" - aad_username = "" + + login_username = "" user_object_id = "" + aad_username = "" - auth_type = "" identity_name = "" identity_client_id = "" identity_object_id = "" def __init__(self, cmd, target_id, target_type, auth_type, connection_name): - self.profile = Profile(cli_ctx=cmd.cli_ctx) self.cmd = cmd self.target_id = target_id self.target_type = target_type @@ -432,8 +432,6 @@ def set_user_admin(self, user_object_id, **kwargs): self.login_username, user_object_id, self.resource_group, self.db_server, self.subscription)) def create_aad_user(self): - # self.aad_user = identity_name or self.aad_user - query_list = self.get_create_query() connection_string = self.get_connection_string() ip_name = None @@ -595,8 +593,8 @@ def get_connection_string(self): 'az account get-access-token --resource-type oss-rdbms').get('accessToken') # extension functions require the extension to be available, which is the case for postgres (default) database. - conn_string = "host={} user={} dbname=postgres password={} sslmode=require".format( - self.host, self.login_username + '@' + self.db_server, password) + conn_string = "host={} user={} dbname={} password={} sslmode=require".format( + self.host, self.login_username + '@' + self.db_server, self.dbname, password) return conn_string def get_create_query(self): From 6a97ad1d6631ce75ea9741f5e4b25fdcb9a37644 Mon Sep 17 00:00:00 2001 From: xiaofanzhou Date: Thu, 22 Dec 2022 13:40:05 +0800 Subject: [PATCH 18/19] fix lint and remove pyodbc dependency --- .../cli/command_modules/serviceconnector/_credential_free.py | 2 +- src/azure-cli/requirements.py3.Darwin.txt | 1 - src/azure-cli/requirements.py3.Linux.txt | 1 - src/azure-cli/setup.py | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py index f36a7f4fd69..3b5035e34b8 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py @@ -102,7 +102,7 @@ class TargetHandler: target_id = "" target_type = "" endpoint = "" - + login_username = "" user_object_id = "" aad_username = "" diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index e7fc77ff57c..6b438ebabee 100644 --- a/src/azure-cli/requirements.py3.Darwin.txt +++ b/src/azure-cli/requirements.py3.Darwin.txt @@ -124,7 +124,6 @@ PyGithub==1.55 PyJWT==2.4.0 PyMySQL==1.0.2 PyNaCl==1.5.0 -pyodbc==4.0.35 pyOpenSSL==19.0.0 python-dateutil==2.8.0 requests-oauthlib==1.2.0 diff --git a/src/azure-cli/requirements.py3.Linux.txt b/src/azure-cli/requirements.py3.Linux.txt index 2ff398c3d92..df26e725dec 100644 --- a/src/azure-cli/requirements.py3.Linux.txt +++ b/src/azure-cli/requirements.py3.Linux.txt @@ -125,7 +125,6 @@ PyGithub==1.55 PyJWT==2.4.0 PyMySQL==1.0.2 PyNaCl==1.5.0 -pyodbc==4.0.35 pyOpenSSL==19.0.0 python-dateutil==2.8.0 requests-oauthlib==1.2.0 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index f0a1204df49..df59a7f6a19 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -145,7 +145,6 @@ 'PyGithub~=1.38', 'PyMySQL~=1.0.2', 'PyNaCl~=1.5.0', - 'pyodbc==4.0.35', 'scp~=0.13.2', 'semver==2.13.0', 'six>=1.10.0', # six is still used by countless extensions From 91e47781200b8809ebf2ec4f1a2986a9186519c5 Mon Sep 17 00:00:00 2001 From: xiaofanzhou Date: Thu, 22 Dec 2022 14:37:40 +0800 Subject: [PATCH 19/19] update --- Dockerfile | 2 +- .../cli/command_modules/serviceconnector/_credential_free.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 64eecd02cbf..7d106e320cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,7 +39,7 @@ LABEL maintainer="Microsoft" \ # Once cryptography is bumped to the latest version, openssl1.1-compat should be removed and openssl1.1-compat-dev # should be replaced by openssl-dev. RUN apk add --no-cache bash openssh ca-certificates jq curl openssl openssl1.1-compat perl git zip \ - && apk add --no-cache --virtual .build-deps gcc make openssl1.1-compat-dev libffi-dev musl-dev linux-headers build-base unixodbc-dev freetds-dev \ + && apk add --no-cache --virtual .build-deps gcc make openssl1.1-compat-dev libffi-dev musl-dev linux-headers \ && apk add --no-cache libintl icu-libs libc6-compat \ && apk add --no-cache bash-completion \ && update-ca-certificates diff --git a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py index 3b5035e34b8..0d0df751aa3 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_credential_free.py @@ -373,6 +373,7 @@ def create_aad_user_in_sql(self, connection_args, query_list): with conn.cursor() as cursor: for execution_query in query_list: try: + logger.debug(execution_query) cursor.execute(execution_query) except pyodbc.ProgrammingError as e: logger.warning(e)