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 fe17cf99ef8..656868842eb 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/_params.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/_params.py @@ -32,6 +32,7 @@ ) from ._addon_factory import AddonFactory from knack.arguments import CLIArgumentType +from .action import AddCustomizedKeys def add_source_resource_block(context, source, enable_id=True, validate_source_id=False): @@ -147,6 +148,12 @@ def add_client_type_argument(context, source, target): help='The client type used on the {}'.format(source.value)) +def add_customized_keys_argument(context): + context.argument('customized_keys', options_list=['--customized-keys'], action=AddCustomizedKeys, nargs='*', + help='The customized keys used to change default configuration names. Key is the original ' + 'name, value is the customized name.') + + def add_target_type_argument(context, source): TARGET_TYPES = [ elem.value for elem in SUPPORTED_AUTH_TYPE.get(source).keys()] @@ -254,6 +261,7 @@ def load_arguments(self, _): # pylint: disable=too-many-statements add_secret_store_argument(c) add_vnet_block(c, target) add_connection_string_argument(c, source, target) + add_customized_keys_argument(c) with self.argument_context('{} connection update {}'.format(source.value, target.value)) as c: add_client_type_argument(c, source, target) add_connection_name_argument(c, source) @@ -262,6 +270,7 @@ def load_arguments(self, _): # pylint: disable=too-many-statements add_secret_store_argument(c) add_vnet_block(c, target) add_connection_string_argument(c, source, target) + add_customized_keys_argument(c) # special target resource: independent implementation target = RESOURCE.ConfluentKafka @@ -270,11 +279,13 @@ def load_arguments(self, _): # pylint: disable=too-many-statements add_source_resource_block(c, source, enable_id=False) add_confluent_kafka_argument(c) add_secret_store_argument(c) + add_customized_keys_argument(c) with self.argument_context('{} connection update {}'.format(source.value, target.value)) as c: add_client_type_argument(c, source, target) add_source_resource_block(c, source, enable_id=False) add_confluent_kafka_argument(c) add_secret_store_argument(c) + add_customized_keys_argument(c) # local connection with self.argument_context('connection list') as c: @@ -312,12 +323,14 @@ def load_arguments(self, _): # pylint: disable=too-many-statements add_secret_store_argument(c) add_vnet_block(c, target) add_local_connection_block(c) + add_customized_keys_argument(c) with self.argument_context('connection update {}'.format(target.value)) as c: add_client_type_argument(c, source, target) add_auth_block(c, source, target) add_secret_store_argument(c) add_vnet_block(c, target) add_local_connection_block(c) + add_customized_keys_argument(c) # special target resource: independent implementation target = RESOURCE.ConfluentKafka @@ -326,11 +339,13 @@ def load_arguments(self, _): # pylint: disable=too-many-statements add_confluent_kafka_argument(c) add_secret_store_argument(c) add_local_connection_block(c, show_id=False) + add_customized_keys_argument(c) with self.argument_context('connection update {}'.format(target.value)) as c: add_client_type_argument(c, source, target) add_confluent_kafka_argument(c) add_secret_store_argument(c) add_local_connection_block(c, show_id=False) + add_customized_keys_argument(c) 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/action.py b/src/azure-cli/azure/cli/command_modules/serviceconnector/action.py index 7d2c147dc10..a3c66de2bdc 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/action.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/action.py @@ -8,6 +8,22 @@ from azure.cli.core.azclierror import ValidationError +class AddCustomizedKeys(argparse.Action): + def __call__(self, parser, namespace, values, option_string=None): + action = self.get_action(values, option_string) + namespace.customized_keys = action + + def get_action(self, values, option_string): # pylint: disable=no-self-use + try: + properties = defaultdict(list) + for (k, v) in (x.split('=', 1) for x in values): + properties[k] = v + properties = dict(properties) + return properties + except ValueError: + raise ValidationError('Usage error: {} [KEY=VALUE ...]'.format(option_string)) + + class AddSecretAuthInfo(argparse.Action): def __call__(self, parser, namespace, values, option_string=None): action = self.get_action(values, option_string) 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 e3968ea22a5..8e2bcc93753 100644 --- a/src/azure-cli/azure/cli/command_modules/serviceconnector/custom.py +++ b/src/azure-cli/azure/cli/command_modules/serviceconnector/custom.py @@ -289,6 +289,7 @@ def connection_create(cmd, client, # pylint: disable=too-many-locals,too-many-s service_endpoint=None, private_endpoint=None, store_in_connection_string=False, + customized_keys=None, new_addon=False, no_wait=False, cluster=None, scope=None, enable_csi=False, # Resource.KubernetesCluster site=None, # Resource.WebApp @@ -300,7 +301,8 @@ def connection_create(cmd, client, # pylint: disable=too-many-locals,too-many-s config_store=None, # Resource.AppConfig namespace=None, # Resource.EventHub webpubsub=None, # Resource.WebPubSub - signalr=None): # Resource.SignalR + signalr=None, # Resource.SignalR + ): auth_info = get_cloud_conn_auth_info(secret_auth_info, secret_auth_info_auto, user_identity_auth_info, system_identity_auth_info, service_principal_auth_info_secret, new_addon) @@ -319,7 +321,8 @@ def connection_create(cmd, client, # pylint: disable=too-many-locals,too-many-s private_endpoint, store_in_connection_string, new_addon, no_wait, - cluster, scope, enable_csi,) + cluster, scope, enable_csi, + customized_keys=customized_keys) raise CLIInternalError("Fail to install `serviceconnector-passwordless` extension. Please manually install it" " with `az extension add --name serviceconnector-passwordless --upgrade`" " and rerun the command") @@ -336,9 +339,11 @@ def connection_create(cmd, client, # pylint: disable=too-many-locals,too-many-s new_addon, no_wait, # Resource.KubernetesCluster cluster, scope, enable_csi, + customized_keys=customized_keys, ) +# The function is used in extension, new feature must be added in the end for backward compatibility def connection_create_func(cmd, client, # pylint: disable=too-many-locals,too-many-statements connection_name=None, client_type=None, source_resource_group=None, source_id=None, @@ -351,8 +356,7 @@ def connection_create_func(cmd, client, # pylint: disable=too-many-locals,too-m private_endpoint=None, store_in_connection_string=False, new_addon=False, no_wait=False, - # Resource.KubernetesCluster - cluster=None, scope=None, enable_csi=False, + cluster=None, scope=None, enable_csi=False, # Resource.KubernetesCluster site=None, # Resource.WebApp spring=None, app=None, deployment='default', # Resource.SpringCloud # Resource.*Postgres, Resource.*Sql* @@ -363,8 +367,11 @@ def connection_create_func(cmd, client, # pylint: disable=too-many-locals,too-m config_store=None, # Resource.AppConfig namespace=None, # Resource.EventHub webpubsub=None, # Resource.WebPubSub - signalr=None, - enable_mi_for_db_linker=None): # Resource.SignalR + signalr=None, # Resource.SignalR + enable_mi_for_db_linker=None, + customized_keys=None, + **kwargs, + ): if not source_id: raise RequiredArgumentMissingError(err_msg.format('--source-id')) @@ -390,7 +397,10 @@ def connection_create_func(cmd, client, # pylint: disable=too-many-locals,too-m 'key_vault_id': key_vault_id, }, 'client_type': client_type, - 'scope': scope + 'scope': scope, + 'configurationInfo': { + 'customizedKeys': customized_keys + } } # HACK: set user token to work around OBO @@ -465,9 +475,9 @@ def local_connection_create(cmd, client, # pylint: disable=too-many-locals,too- secret_auth_info=None, secret_auth_info_auto=None, user_account_auth_info=None, # new auth info service_principal_auth_info_secret=None, + customized_keys=None, no_wait=False, - # Resource.*Postgres, Resource.*Sql* - server=None, database=None, + server=None, database=None, # Resource.*Postgres, Resource.*Sql* vault=None, # Resource.KeyVault account=None, # Resource.Storage* key_space=None, graph=None, table=None, # Resource.Cosmos*, @@ -490,7 +500,8 @@ def local_connection_create(cmd, client, # pylint: disable=too-many-locals,too- secret_auth_info, secret_auth_info_auto, user_account_auth_info, # new auth info service_principal_auth_info_secret, - no_wait,) + no_wait, + customized_keys=customized_keys) raise CLIInternalError("Fail to install `serviceconnector-passwordless` extension. Please manually install it" " with `az extension add --name serviceconnector-passwordless --upgrade`" " and rerun the command") @@ -503,9 +514,11 @@ def local_connection_create(cmd, client, # pylint: disable=too-many-locals,too- secret_auth_info, secret_auth_info_auto, user_account_auth_info, # new auth info service_principal_auth_info_secret, - no_wait) + no_wait, + customized_keys=customized_keys) +# The function is used in extension, new feature must be added in the end for backward compatibility def local_connection_create_func(cmd, client, # pylint: disable=too-many-locals,too-many-statements resource_group_name, connection_name=None, @@ -525,8 +538,10 @@ def local_connection_create_func(cmd, client, # pylint: disable=too-many-locals namespace=None, # Resource.EventHub webpubsub=None, # Resource.WebPubSub signalr=None, # Resource.SignalR - enable_mi_for_db_linker=None): - + enable_mi_for_db_linker=None, + customized_keys=None, + **kwargs, + ): auth_info = get_local_conn_auth_info(secret_auth_info, secret_auth_info_auto, user_account_auth_info, service_principal_auth_info_secret) parameters = { @@ -540,6 +555,9 @@ def local_connection_create_func(cmd, client, # pylint: disable=too-many-locals 'firewall_rules': { 'caller_client_iP': 'true' } + }, + 'configurationInfo': { + 'customizedKeys': customized_keys } } @@ -563,7 +581,7 @@ def local_connection_create_func(cmd, client, # pylint: disable=too-many-locals parameters=parameters) -def connection_update(cmd, client, # pylint: disable=too-many-locals +def connection_update(cmd, client, # pylint: disable=too-many-locals, too-many-branches connection_name=None, client_type=None, source_resource_group=None, source_id=None, indentifier=None, secret_auth_info=None, secret_auth_info_auto=None, @@ -577,7 +595,9 @@ def connection_update(cmd, client, # pylint: disable=too-many-locals scope=None, cluster=None, enable_csi=False, # Resource.Kubernetes site=None, # Resource.WebApp - spring=None, app=None, deployment='default'): # Resource.SpringCloud + spring=None, app=None, deployment='default', # Resource.SpringCloud + customized_keys=None, + ): linker = todict(client.get(resource_uri=source_id, linker_name=connection_name)) @@ -621,6 +641,8 @@ def connection_update(cmd, client, # pylint: disable=too-many-locals else: logger.warning('client_type is not dotnet, ignore "--config-connstr"') + if linker.get('configurationInfo') and linker.get('configurationInfo').get('customizedKeys'): + customized_keys = customized_keys or linker.get('configurationInfo').get('customizedKeys') parameters = { 'target_service': linker.get('targetService'), 'auth_info': auth_info, @@ -629,7 +651,10 @@ def connection_update(cmd, client, # pylint: disable=too-many-locals }, 'client_type': client_type, # scope can be updated in container app while cannot be updated in aks due to some limitations - 'scope': scope or linker.get('scope') + 'scope': scope or linker.get('scope'), + 'configurationInfo': { + 'customizedKeys': customized_keys + } } # HACK: set user token to work around OBO @@ -675,7 +700,9 @@ def local_connection_update(cmd, client, # pylint: disable=too-many-locals secret_auth_info=None, secret_auth_info_auto=None, user_account_auth_info=None, # new auth info service_principal_auth_info_secret=None, - no_wait=False): + no_wait=False, + customized_keys=None, + ): linker = todict(client.get(subscription_id=get_subscription_id(cmd.cli_ctx), resource_group_name=resource_group_name, @@ -711,6 +738,8 @@ def local_connection_update(cmd, client, # pylint: disable=too-many-locals 'Either client type or auth info should be specified to update') client_type = client_type or linker.get('clientType') + if linker.get('configurationInfo') and linker.get('configurationInfo').get('customizedKeys'): + customized_keys = customized_keys or linker.get('configurationInfo').get('customizedKeys') parameters = { 'target_service': linker.get('targetService'), @@ -720,6 +749,9 @@ def local_connection_update(cmd, client, # pylint: disable=too-many-locals 'firewall_rules': { 'caller_client_iP': 'true' } + }, + 'configurationInfo': { + 'customizedKeys': customized_keys } } @@ -742,7 +774,8 @@ def local_connection_create_kafka(cmd, client, # pylint: disable=too-many-local schema_secret, connection_name=None, location=None, - client_type=None): + client_type=None, + customized_keys=None): from ._transformers import transform_linker_properties # validation @@ -773,6 +806,9 @@ def local_connection_create_kafka(cmd, client, # pylint: disable=too-many-local 'caller_client_iP': 'true' } }, + 'configurationInfo': { + 'customizedKeys': customized_keys + }, } logger.warning('Start creating a connection for bootstrap server ...') server_linker = client.begin_create_or_update( @@ -806,6 +842,9 @@ def local_connection_create_kafka(cmd, client, # pylint: disable=too-many-local 'caller_client_iP': 'true' } }, + 'configurationInfo': { + 'customizedKeys': customized_keys + }, } logger.warning('Start creating a connection for schema registry ...') registry_linker = client.begin_create_or_update( @@ -834,7 +873,8 @@ def local_connection_update_kafka(cmd, client, # pylint: disable=too-many-local schema_registry=None, schema_key=None, schema_secret=None, - client_type=None): + client_type=None, + customized_keys=None): # use the suffix to decide the connection type if connection_name.endswith('_schema'): # the schema registry connection @@ -848,6 +888,9 @@ def local_connection_update_kafka(cmd, client, # pylint: disable=too-many-local resource_group_name=resource_group_name, location=location, connector_name=connection_name)) + if server_linker.get('configurationInfo') and server_linker.get('configurationInfo').get('customizedKeys'): + customized_keys = customized_keys or server_linker.get('configurationInfo').get('customizedKeys') + parameters = { 'targetService': server_linker.get('targetService'), 'auth_info': { @@ -861,7 +904,10 @@ def local_connection_update_kafka(cmd, client, # pylint: disable=too-many-local 'firewall_rules': { 'caller_client_iP': 'true' } - } + }, + 'configurationInfo': { + 'customizedKeys': customized_keys + }, } if schema_registry: parameters['targetService'] = { @@ -879,6 +925,9 @@ def local_connection_update_kafka(cmd, client, # pylint: disable=too-many-local resource_group_name=resource_group_name, location=location, connector_name=connection_name)) + if schema_linker.get('configurationInfo') and schema_linker.get('configurationInfo').get('customizedKeys'): + customized_keys = customized_keys or schema_linker.get('configurationInfo').get('customizedKeys') + parameters = { 'targetService': schema_linker.get('targetService'), 'auth_info': { @@ -892,6 +941,9 @@ def local_connection_update_kafka(cmd, client, # pylint: disable=too-many-local 'caller_client_iP': 'true' } }, + 'configurationInfo': { + 'customizedKeys': customized_keys + }, } if bootstrap_server: parameters['targetService'] = { @@ -918,6 +970,7 @@ def connection_create_kafka(cmd, client, # pylint: disable=too-many-locals client_type=None, source_resource_group=None, source_id=None, + customized_keys=None, cluster=None, scope=None, # Resource.Kubernetes site=None, # Resource.WebApp deployment='default', @@ -953,7 +1006,10 @@ def connection_create_kafka(cmd, client, # pylint: disable=too-many-locals 'key_vault_id': key_vault_id, }, 'client_type': client_type, - 'scope': scope + 'scope': scope, + 'configurationInfo': { + 'customizedKeys': customized_keys + }, } logger.warning('Start creating a connection for bootstrap server ...') server_linker = client.begin_create_or_update(resource_uri=source_id, @@ -1009,6 +1065,7 @@ def connection_update_kafka(cmd, client, # pylint: disable=too-many-locals client_type=None, source_resource_group=None, source_id=None, + customized_keys=None, cluster=None, site=None, # Resource.WebApp deployment='default', @@ -1029,6 +1086,9 @@ def connection_update_kafka(cmd, client, # pylint: disable=too-many-locals client = set_user_token_header(client, cmd.cli_ctx) from ._utils import create_key_vault_reference_connection_if_not_exist create_key_vault_reference_connection_if_not_exist(cmd, client, source_id, key_vault_id) + if server_linker.get('configurationInfo') and server_linker.get('configurationInfo').get('customizedKeys'): + customized_keys = customized_keys or server_linker.get('configurationInfo').get('customizedKeys') + parameters = { 'targetService': server_linker.get('targetService'), 'auth_info': { @@ -1041,7 +1101,10 @@ def connection_update_kafka(cmd, client, # pylint: disable=too-many-locals }, 'client_type': client_type or server_linker.get('clientType'), # scope does not support update due to aks solution's limitation - 'scope': server_linker.get('scope') + 'scope': server_linker.get('scope'), + 'configurationInfo': { + 'customizedKeys': customized_keys + }, } if schema_registry: parameters['targetService'] = { @@ -1062,6 +1125,9 @@ def connection_update_kafka(cmd, client, # pylint: disable=too-many-locals client = set_user_token_header(client, cmd.cli_ctx) from ._utils import create_key_vault_reference_connection_if_not_exist create_key_vault_reference_connection_if_not_exist(cmd, client, source_id, key_vault_id) + if schema_linker.get('configurationInfo') and schema_linker.get('configurationInfo').get('customizedKeys'): + customized_keys = customized_keys or schema_linker.get('configurationInfo').get('customizedKeys') + parameters = { 'targetService': schema_linker.get('targetService'), 'auth_info': { @@ -1073,6 +1139,9 @@ def connection_update_kafka(cmd, client, # pylint: disable=too-many-locals 'key_vault_id': key_vault_id, }, 'client_type': client_type or schema_linker.get('clientType'), + 'configurationInfo': { + 'customizedKeys': customized_keys + }, } if bootstrap_server: parameters['targetService'] = { 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 3c844f4ac0f..c1dbb3a59f6 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,9 +11,9 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --user-account --client-type + - -g --connection --target-id --user-account --client-type --customized-keys User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.4 (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 @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 07:26:16 GMT + - Mon, 20 Feb 2023 06:58:09 GMT expires: - '-1' pragma: @@ -48,7 +48,8 @@ interactions: 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": "userAccount", "principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff"}, "clientType": "python", "publicNetworkSolution": {"firewallRules": {"callerClientIP": - "true"}}}}' + "true"}}, "configurationInfo": {"customizedKeys": {"AZURE_APPCONFIGURATION_ENDPOINT": + "test_endpoint"}}}}' headers: Accept: - application/json @@ -59,13 +60,13 @@ interactions: Connection: - keep-alive Content-Length: - - '448' + - '543' Content-Type: - application/json ParameterSetName: - - -g --connection --target-id --user-account --client-type + - -g --connection --target-id --user-account --client-type --customized-keys User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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 @@ -74,33 +75,35 @@ 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-14T07:26:22.1205324Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T07:26:22.1205324Z"}, + "User", "createdAt": "2023-02-20T06:33:05.183072Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T06:58:13.6101449Z"}, "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", + "callerClientIP": "true"}, "deleteOrUpdateBehavior": null, "action": null}, + "configurationInfo": {"customizedKeys": {"AZURE_APPCONFIGURATION_ENDPOINT": + "test_endpoint"}, "additionalConfigurations": null, "deleteOrUpdateBehavior": + null, "action": null, "daprProperties": 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": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", "roles": null, "userName": null, "authType": - "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "python", - "scope": null, "vNetSolution": null, "secretStore": null}}' + "userAccount", "deleteOrUpdateBehavior": null}, "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/023ab451-7ce8-4603-99b5-8717511bfe36*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fc2bb7b3-e7d9-45ad-a3f6-e13eaa05684e*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1248' + - '1407' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 07:26:22 GMT + - Mon, 20 Feb 2023 06:58:14 GMT etag: - - '"5c00e4db-0000-0100-0000-63997a9e0000"' + - '"5200dc88-0000-0100-0000-63f31a070000"' expires: - '-1' mise-correlation-id: - - a0cde267-8a36-426c-b9ea-62fbce3073f4 + - 1baf680d-5263-4a89-b333-d7bf447a850c pragma: - no-cache strict-transport-security: @@ -126,19 +129,19 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --user-account --client-type + - -g --connection --target-id --user-account --client-type --customized-keys User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (Windows-10-10.0.22621-SP0) method: GET - 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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fc2bb7b3-e7d9-45ad-a3f6-e13eaa05684e*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview response: body: - 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", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fc2bb7b3-e7d9-45ad-a3f6-e13eaa05684e*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", + "name": "fc2bb7b3-e7d9-45ad-a3f6-e13eaa05684e*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-14T07:26:22.4350171Z", "endTime": - "2022-12-14T07:26:26.5461737Z", "properties": {"Message": ""}}' + "status": "Succeeded", "startTime": "2023-02-20T06:58:14.7054766Z", "endTime": + "2023-02-20T06:58:18.7818806Z", "properties": {"Message": ""}}' headers: cache-control: - no-cache @@ -147,9 +150,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 07:26:53 GMT + - Mon, 20 Feb 2023 06:58:45 GMT etag: - - '"1000c003-0000-0100-0000-63997aa20000"' + - '"06019dc3-0000-0100-0000-63f31a0a0000"' expires: - '-1' pragma: @@ -177,9 +180,9 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g --connection --target-id --user-account --client-type + - -g --connection --target-id --user-account --client-type --customized-keys User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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 @@ -188,14 +191,14 @@ 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-14T07:26:22.1205324Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T07:26:22.1205324Z"}, + "User", "createdAt": "2023-02-20T06:33:05.183072Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T06:58:13.6101449Z"}, "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", + "true"}}, "configurationInfo": {"customizedKeys": {"AZURE_APPCONFIGURATION_ENDPOINT": + "test_endpoint"}}, "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": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", - "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": - "python"}}' + "authType": "userAccount"}, "clientType": "python"}}' headers: cache-control: - no-cache @@ -204,9 +207,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 07:26:53 GMT + - Mon, 20 Feb 2023 06:58:45 GMT etag: - - '"5c0012dc-0000-0100-0000-63997aa20000"' + - '"5200de88-0000-0100-0000-63f31a0a0000"' expires: - '-1' pragma: @@ -238,7 +241,7 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.4 (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 @@ -255,7 +258,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 07:26:59 GMT + - Mon, 20 Feb 2023 06:58:49 GMT expires: - '-1' pragma: @@ -283,7 +286,7 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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 @@ -292,14 +295,14 @@ 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-14T07:26:22.1205324Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T07:26:22.1205324Z"}, + "User", "createdAt": "2023-02-20T06:33:05.183072Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T06:58:13.6101449Z"}, "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", + "true"}}, "configurationInfo": {"customizedKeys": {"AZURE_APPCONFIGURATION_ENDPOINT": + "test_endpoint"}}, "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": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", - "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": - "python"}}]}' + "authType": "userAccount"}, "clientType": "python"}}]}' headers: cache-control: - no-cache @@ -308,7 +311,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 07:27:00 GMT + - Mon, 20 Feb 2023 06:58:51 GMT expires: - '-1' pragma: @@ -340,7 +343,7 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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 @@ -349,14 +352,14 @@ 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-14T07:26:22.1205324Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T07:26:22.1205324Z"}, + "User", "createdAt": "2023-02-20T06:33:05.183072Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T06:58:13.6101449Z"}, "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", + "true"}}, "configurationInfo": {"customizedKeys": {"AZURE_APPCONFIGURATION_ENDPOINT": + "test_endpoint"}}, "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": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", - "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": - "python"}}' + "authType": "userAccount"}, "clientType": "python"}}' headers: cache-control: - no-cache @@ -365,9 +368,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 07:27:02 GMT + - Mon, 20 Feb 2023 06:58:53 GMT etag: - - '"5c0012dc-0000-0100-0000-63997aa20000"' + - '"5200de88-0000-0100-0000-63f31a0a0000"' expires: - '-1' pragma: @@ -387,10 +390,10 @@ 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": "userAccount", "principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", - "deleteOrUpdateBehavior": "Default"}, "clientType": "dotnet", "publicNetworkSolution": - {"deleteOrUpdateBehavior": "Default", "action": "enable", "firewallRules": {"callerClientIP": - "true"}}}}' + "authInfo": {"authType": "userAccount", "principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff"}, + "clientType": "dotnet", "publicNetworkSolution": {"firewallRules": {"callerClientIP": + "true"}}, "configurationInfo": {"customizedKeys": {"AZURE_APPCONFIGURATION_ENDPOINT": + "test_endpoint"}}}}' headers: Accept: - application/json @@ -401,13 +404,13 @@ interactions: Connection: - keep-alive Content-Length: - - '542' + - '543' 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 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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 @@ -416,33 +419,35 @@ 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-14T07:26:22.1205324Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T07:27:04.1089534Z"}, + "User", "createdAt": "2023-02-20T06:33:05.183072Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T06:58:54.1487436Z"}, "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", + "callerClientIP": "true"}, "deleteOrUpdateBehavior": null, "action": null}, + "configurationInfo": {"customizedKeys": {"AZURE_APPCONFIGURATION_ENDPOINT": + "test_endpoint"}, "additionalConfigurations": null, "deleteOrUpdateBehavior": + null, "action": null, "daprProperties": 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": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", "roles": null, "userName": null, "authType": - "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": "dotnet", - "scope": null, "vNetSolution": null, "secretStore": null}}' + "userAccount", "deleteOrUpdateBehavior": null}, "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/c4e69547-cff3-4b96-87f3-2039fd6a99e0*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2ca2a2a4-9ae3-4c9c-a953-1a5d8165ac1b*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1248' + - '1407' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 07:27:04 GMT + - Mon, 20 Feb 2023 06:58:54 GMT etag: - - '"5c0022df-0000-0100-0000-63997ac90000"' + - '"5200eb88-0000-0100-0000-63f31a2e0000"' expires: - '-1' mise-correlation-id: - - aff5bdbc-d2ac-4e63-8319-45d63c02f03b + - 143198c9-c919-453e-bb84-d49714cc17f9 pragma: - no-cache strict-transport-security: @@ -470,17 +475,17 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (Windows-10-10.0.22621-SP0) method: GET - 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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2ca2a2a4-9ae3-4c9c-a953-1a5d8165ac1b*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview response: body: - 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", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/2ca2a2a4-9ae3-4c9c-a953-1a5d8165ac1b*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", + "name": "2ca2a2a4-9ae3-4c9c-a953-1a5d8165ac1b*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-14T07:27:05.0208745Z", "endTime": - "2022-12-14T07:27:08.5592425Z", "properties": {"Message": ""}}' + "status": "Succeeded", "startTime": "2023-02-20T06:58:54.5224512Z", "endTime": + "2023-02-20T06:58:59.9968627Z", "properties": {"Message": ""}}' headers: cache-control: - no-cache @@ -489,9 +494,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 07:27:36 GMT + - Mon, 20 Feb 2023 06:59:25 GMT etag: - - '"10009804-0000-0100-0000-63997acc0000"' + - '"060111c5-0000-0100-0000-63f31a330000"' expires: - '-1' pragma: @@ -521,7 +526,7 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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 @@ -530,14 +535,14 @@ 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-14T07:26:22.1205324Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T07:27:04.1089534Z"}, + "User", "createdAt": "2023-02-20T06:33:05.183072Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T06:58:54.1487436Z"}, "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", + "true"}}, "configurationInfo": {"customizedKeys": {"AZURE_APPCONFIGURATION_ENDPOINT": + "test_endpoint"}}, "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": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", - "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": - "dotnet"}}' + "authType": "userAccount"}, "clientType": "dotnet"}}' headers: cache-control: - no-cache @@ -546,9 +551,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 07:27:37 GMT + - Mon, 20 Feb 2023 06:59:25 GMT etag: - - '"5c006fdf-0000-0100-0000-63997acc0000"' + - '"5200f188-0000-0100-0000-63f31a340000"' expires: - '-1' pragma: @@ -584,27 +589,26 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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_ENDPOINT", "value": - "https://servicelinker-app-configuration.azconfig.io"}]}' + string: '{"configurations": [{"name": "test_endpoint", "value": "https://servicelinker-app-configuration.azconfig.io"}]}' headers: cache-control: - no-cache content-length: - - '129' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 07:27:42 GMT + - Mon, 20 Feb 2023 06:59:31 GMT expires: - '-1' mise-correlation-id: - - 0ba173ec-4494-464c-895e-de20e40bf762 + - e3cf3c69-0fe0-467a-8aa0-306d59cc5d79 pragma: - no-cache strict-transport-security: @@ -638,7 +642,7 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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 @@ -647,7 +651,7 @@ interactions: string: 'null' headers: azure-asyncoperation: - - 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 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e62d5f97-fdda-415c-b0cc-8ac5b954a3bf*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -655,13 +659,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 07:27:44 GMT + - Mon, 20 Feb 2023 06:59:32 GMT expires: - '-1' location: - - 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 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e62d5f97-fdda-415c-b0cc-8ac5b954a3bf*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview mise-correlation-id: - - a6b09f6e-6941-4ff2-9ab6-05417c36613c + - 03f46723-7c9a-42b1-a712-180869748de1 pragma: - no-cache strict-transport-security: @@ -671,7 +675,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -689,26 +693,26 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (Windows-10-10.0.22621-SP0) method: GET - 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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e62d5f97-fdda-415c-b0cc-8ac5b954a3bf*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview response: body: - 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", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e62d5f97-fdda-415c-b0cc-8ac5b954a3bf*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", + "name": "e62d5f97-fdda-415c-b0cc-8ac5b954a3bf*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-14T07:27:44.3505236Z", "endTime": - "2022-12-14T07:27:47.3158734Z", "properties": {"Message": "{\"ConnectionName\":\"testconn1\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2023-02-20T06:59:33.1760817Z", "endTime": + "2023-02-20T06:59:36.0503949Z", "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},{\"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}", + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2023-02-20T06:59:34.4308083Z\",\"ReportEndTimeUtc\":\"2023-02-20T06:59:34.9188947Z\",\"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"}, {"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": + "description": null, "result": "success"}], "reportStartTimeUtc": "2023-02-20T06:59:34.4308083Z", + "reportEndTimeUtc": "2023-02-20T06:59:34.9188947Z", "sourceId": null, "targetId": null, "authType": "userAccount"}}' headers: cache-control: @@ -718,9 +722,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 07:28:15 GMT + - Mon, 20 Feb 2023 07:00:04 GMT etag: - - '"10007c05-0000-0100-0000-63997af30000"' + - '"060156c6-0000-0100-0000-63f31a580000"' expires: - '-1' pragma: @@ -750,26 +754,26 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (Windows-10-10.0.22621-SP0) method: GET - 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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e62d5f97-fdda-415c-b0cc-8ac5b954a3bf*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E?api-version=2021-01-01-privatepreview response: body: - 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", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e62d5f97-fdda-415c-b0cc-8ac5b954a3bf*A4E2AFA9E4376F9B823E70EF044F2BAB0A7A3585E34C30D8E4D15DB50BBEA35E", + "name": "e62d5f97-fdda-415c-b0cc-8ac5b954a3bf*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-14T07:27:44.3505236Z", "endTime": - "2022-12-14T07:27:47.3158734Z", "properties": {"Message": "{\"ConnectionName\":\"testconn1\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + "status": "Succeeded", "startTime": "2023-02-20T06:59:33.1760817Z", "endTime": + "2023-02-20T06:59:36.0503949Z", "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},{\"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}", + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2023-02-20T06:59:34.4308083Z\",\"ReportEndTimeUtc\":\"2023-02-20T06:59:34.9188947Z\",\"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"}, {"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": + "description": null, "result": "success"}], "reportStartTimeUtc": "2023-02-20T06:59:34.4308083Z", + "reportEndTimeUtc": "2023-02-20T06:59:34.9188947Z", "sourceId": null, "targetId": null, "authType": "userAccount"}}' headers: cache-control: @@ -779,9 +783,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 07:28:15 GMT + - Mon, 20 Feb 2023 07:00:04 GMT etag: - - '"10007c05-0000-0100-0000-63997af30000"' + - '"060156c6-0000-0100-0000-63f31a580000"' expires: - '-1' pragma: @@ -811,7 +815,7 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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 @@ -820,14 +824,14 @@ 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-14T07:26:22.1205324Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", - "lastModifiedByType": "User", "lastModifiedAt": "2022-12-14T07:27:04.1089534Z"}, + "User", "createdAt": "2023-02-20T06:33:05.183072Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T06:58:54.1487436Z"}, "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", + "true"}}, "configurationInfo": {"customizedKeys": {"AZURE_APPCONFIGURATION_ENDPOINT": + "test_endpoint"}}, "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": {"principalId": "b0a9d3c6-3387-4067-9f03-39808e7291ff", - "authType": "userAccount", "deleteOrUpdateBehavior": "Default"}, "clientType": - "dotnet"}}' + "authType": "userAccount"}, "clientType": "dotnet"}}' headers: cache-control: - no-cache @@ -836,9 +840,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 07:28:17 GMT + - Mon, 20 Feb 2023 07:00:05 GMT etag: - - '"5c006fdf-0000-0100-0000-63997acc0000"' + - '"5200f188-0000-0100-0000-63f31a340000"' expires: - '-1' pragma: @@ -872,7 +876,7 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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 @@ -885,7 +889,7 @@ interactions: content-length: - '0' date: - - Wed, 14 Dec 2022 07:28:23 GMT + - Mon, 20 Feb 2023 07:00:10 GMT expires: - '-1' pragma: 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 index 87f9b344b4d..b54a66f74c3 100644 --- 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 @@ -14,7 +14,7 @@ interactions: - -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 + - AZURECLI/2.45.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.4 (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 @@ -31,7 +31,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:12:55 GMT + - Mon, 20 Feb 2023 07:07:55 GMT expires: - '-1' pragma: @@ -50,7 +50,7 @@ interactions: "xxx.eastus.azure.confluent.cloud:9092"}, "authInfo": {"authType": "secret", "name": "Name", "secretInfo": {"secretType": "rawValue", "value": "Secret"}}, "clientType": "python", "publicNetworkSolution": {"firewallRules": {"callerClientIP": - "true"}}}}' + "true"}}, "configurationInfo": {}}}' headers: Accept: - application/json @@ -61,14 +61,14 @@ interactions: Connection: - keep-alive Content-Length: - - '333' + - '358' 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 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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 @@ -77,32 +77,33 @@ interactions: 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"}, + "User", "createdAt": "2023-02-20T07:03:11.2969435Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:07:56.1158658Z"}, "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}}' + "callerClientIP": "true"}, "deleteOrUpdateBehavior": null, "action": null}, + "configurationInfo": {"customizedKeys": null, "additionalConfigurations": + null, "deleteOrUpdateBehavior": null, "action": null, "daprProperties": 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 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/aac80391-ba72-4481-87df-8e4d0e5e4f06*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1018' + - '1135' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:12:58 GMT + - Mon, 20 Feb 2023 07:07:57 GMT etag: - - '"58009df5-0000-0100-0000-63993f3a0000"' + - '"5200d38a-0000-0100-0000-63f31c4d0000"' expires: - '-1' mise-correlation-id: - - ab1f963a-c30c-41ef-88bd-b09c1cd5708e + - a0ead070-1b00-449b-9da7-96f0c8ff1f9e pragma: - no-cache strict-transport-security: @@ -112,7 +113,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -131,17 +132,17 @@ interactions: - -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 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (Windows-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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/aac80391-ba72-4481-87df-8e4d0e5e4f06*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", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/aac80391-ba72-4481-87df-8e4d0e5e4f06*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA", + "name": "aac80391-ba72-4481-87df-8e4d0e5e4f06*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": ""}}' + "status": "Succeeded", "startTime": "2023-02-20T07:07:57.0739063Z", "endTime": + "2023-02-20T07:08:00.2564531Z", "properties": {"Message": ""}}' headers: cache-control: - no-cache @@ -150,9 +151,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:13:28 GMT + - Mon, 20 Feb 2023 07:08:27 GMT etag: - - '"0f00bc62-0000-0100-0000-63993f3c0000"' + - '"060190dd-0000-0100-0000-63f31c500000"' expires: - '-1' pragma: @@ -183,7 +184,7 @@ interactions: - -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 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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 @@ -192,24 +193,24 @@ interactions: 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"}, + "User", "createdAt": "2023-02-20T07:03:11.2969435Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:07:56.1158658Z"}, "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"}}' + "true"}}, "configurationInfo": {}, "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' + - '884' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:13:29 GMT + - Mon, 20 Feb 2023 07:08:28 GMT etag: - - '"5800d9f5-0000-0100-0000-63993f3c0000"' + - '"5200d58a-0000-0100-0000-63f31c500000"' expires: - '-1' pragma: @@ -232,7 +233,7 @@ interactions: "https://xxx.eastus.azure.confluent.cloud"}, "authInfo": {"authType": "secret", "name": "Name", "secretInfo": {"secretType": "rawValue", "value": "Secret"}}, "clientType": "python", "publicNetworkSolution": {"firewallRules": {"callerClientIP": - "true"}}}}' + "true"}}, "configurationInfo": {}}}' headers: Accept: - application/json @@ -243,14 +244,14 @@ interactions: Connection: - keep-alive Content-Length: - - '335' + - '360' 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 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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 @@ -259,32 +260,33 @@ interactions: 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"}, + "User", "createdAt": "2023-02-20T07:03:46.5315238Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:08:29.7601634Z"}, "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}}' + "callerClientIP": "true"}, "deleteOrUpdateBehavior": null, "action": null}, + "configurationInfo": {"customizedKeys": null, "additionalConfigurations": + null, "deleteOrUpdateBehavior": null, "action": null, "daprProperties": 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 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/27d45a4f-a855-4de5-93c6-239ecc3c947a*86E582AF7D6C701042909B1BBA7618BCF0AB3D2DF0DDCDEBF5C5B89B4541EB02?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1034' + - '1151' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:13:29 GMT + - Mon, 20 Feb 2023 07:08:29 GMT etag: - - '"5800fbf7-0000-0100-0000-63993f5a0000"' + - '"5200e68a-0000-0100-0000-63f31c6e0000"' expires: - '-1' mise-correlation-id: - - 564f9d59-d7ae-455f-b7df-92c1f12da96c + - 3dbd4c52-b7ab-4252-824d-6b790bb666c3 pragma: - no-cache strict-transport-security: @@ -294,7 +296,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 201 message: Created @@ -313,17 +315,17 @@ interactions: - -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 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (Windows-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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/27d45a4f-a855-4de5-93c6-239ecc3c947a*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", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/27d45a4f-a855-4de5-93c6-239ecc3c947a*86E582AF7D6C701042909B1BBA7618BCF0AB3D2DF0DDCDEBF5C5B89B4541EB02", + "name": "27d45a4f-a855-4de5-93c6-239ecc3c947a*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": ""}}' + "status": "Succeeded", "startTime": "2023-02-20T07:08:29.9875439Z", "endTime": + "2023-02-20T07:08:32.8566689Z", "properties": {"Message": ""}}' headers: cache-control: - no-cache @@ -332,9 +334,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:14:01 GMT + - Mon, 20 Feb 2023 07:09:01 GMT etag: - - '"0f00ef62-0000-0100-0000-63993f5d0000"' + - '"0601adde-0000-0100-0000-63f31c700000"' expires: - '-1' pragma: @@ -365,7 +367,7 @@ interactions: - -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 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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 @@ -374,24 +376,24 @@ interactions: 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"}, + "User", "createdAt": "2023-02-20T07:03:46.5315238Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:08:29.7601634Z"}, "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"}}' + "true"}}, "configurationInfo": {}, "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' + - '900' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:14:01 GMT + - Mon, 20 Feb 2023 07:09:01 GMT etag: - - '"58002af8-0000-0100-0000-63993f5d0000"' + - '"5200ea8a-0000-0100-0000-63f31c700000"' expires: - '-1' pragma: @@ -423,7 +425,7 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.4 (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 @@ -440,7 +442,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:14:04 GMT + - Mon, 20 Feb 2023 07:09:05 GMT expires: - '-1' pragma: @@ -468,7 +470,7 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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 @@ -477,32 +479,31 @@ interactions: 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"}, + "User", "createdAt": "2023-02-20T07:03:11.2969435Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:07:56.1158658Z"}, "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", + "true"}}, "configurationInfo": {}, "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"}, + "User", "createdAt": "2023-02-20T07:03:46.5315238Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:08:29.7601634Z"}, "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"}}]}' + "true"}}, "configurationInfo": {}, "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' + - '1799' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:14:06 GMT + - Mon, 20 Feb 2023 07:09:06 GMT expires: - '-1' pragma: @@ -532,9 +533,9 @@ interactions: Connection: - keep-alive ParameterSetName: - - --connection --client-type --kafka-secret + - -g --connection --client-type --kafka-secret --customized-keys User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-azure-mgmt-resource/21.1.0b1 Python/3.9.4 (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 @@ -551,7 +552,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:14:06 GMT + - Mon, 20 Feb 2023 07:09:06 GMT expires: - '-1' pragma: @@ -577,9 +578,9 @@ interactions: Connection: - keep-alive ParameterSetName: - - --connection --client-type --kafka-secret + - -g --connection --client-type --kafka-secret --customized-keys User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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 @@ -588,24 +589,24 @@ interactions: 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"}, + "User", "createdAt": "2023-02-20T07:03:11.2969435Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:07:56.1158658Z"}, "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"}}' + "true"}}, "configurationInfo": {}, "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' + - '884' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:14:08 GMT + - Mon, 20 Feb 2023 07:09:08 GMT etag: - - '"5800d9f5-0000-0100-0000-63993f3c0000"' + - '"5200d58a-0000-0100-0000-63f31c500000"' expires: - '-1' pragma: @@ -626,8 +627,9 @@ interactions: - 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"}}}}' + "name": "Name"}, "clientType": "dotnet", "publicNetworkSolution": {"firewallRules": + {"callerClientIP": "true"}}, "configurationInfo": {"customizedKeys": {"CONFLUENTCLOUD_KAFKA_BOOTSTRAPSERVER": + "test_server"}}}}' headers: Accept: - application/json @@ -638,13 +640,13 @@ interactions: Connection: - keep-alive Content-Length: - - '329' + - '370' Content-Type: - application/json ParameterSetName: - - --connection --client-type --kafka-secret + - -g --connection --client-type --kafka-secret --customized-keys User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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 @@ -653,31 +655,34 @@ interactions: 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"}, + "User", "createdAt": "2023-02-20T07:03:11.2969435Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:09:09.3404133Z"}, "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}}' + "callerClientIP": "true"}, "deleteOrUpdateBehavior": null, "action": null}, + "configurationInfo": {"customizedKeys": {"CONFLUENTCLOUD_KAFKA_BOOTSTRAPSERVER": + "test_server"}, "additionalConfigurations": null, "deleteOrUpdateBehavior": + null, "action": null, "daprProperties": 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 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7396e8db-8500-49fe-8b93-08675b683950*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '995' + - '1164' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:14:09 GMT + - Mon, 20 Feb 2023 07:09:09 GMT etag: - - '"5800e6fa-0000-0100-0000-63993f810000"' + - '"5200268b-0000-0100-0000-63f31c950000"' expires: - '-1' mise-correlation-id: - - 0f4f3585-4c43-49d1-8b1c-7ecbb5e45d13 + - e52b7054-bf44-431b-a8cd-deedf5644b26 pragma: - no-cache strict-transport-security: @@ -687,7 +692,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -703,19 +708,19 @@ interactions: Connection: - keep-alive ParameterSetName: - - --connection --client-type --kafka-secret + - -g --connection --client-type --kafka-secret --customized-keys User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (Windows-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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7396e8db-8500-49fe-8b93-08675b683950*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", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/7396e8db-8500-49fe-8b93-08675b683950*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA", + "name": "7396e8db-8500-49fe-8b93-08675b683950*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": ""}}' + "status": "Succeeded", "startTime": "2023-02-20T07:09:09.6216884Z", "endTime": + "2023-02-20T07:09:12.1287242Z", "properties": {"Message": ""}}' headers: cache-control: - no-cache @@ -724,9 +729,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:14:40 GMT + - Mon, 20 Feb 2023 07:09:40 GMT etag: - - '"0f002463-0000-0100-0000-63993f840000"' + - '"060112e0-0000-0100-0000-63f31c980000"' expires: - '-1' pragma: @@ -754,9 +759,9 @@ interactions: Connection: - keep-alive ParameterSetName: - - --connection --client-type --kafka-secret + - -g --connection --client-type --kafka-secret --customized-keys User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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 @@ -765,24 +770,24 @@ interactions: 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"}, + "User", "createdAt": "2023-02-20T07:03:11.2969435Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:09:09.3404133Z"}, "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"}}' + "true"}}, "configurationInfo": {"customizedKeys": {"CONFLUENTCLOUD_KAFKA_BOOTSTRAPSERVER": + "test_server"}}, "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' + - '915' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:14:40 GMT + - Mon, 20 Feb 2023 07:09:41 GMT etag: - - '"580037fb-0000-0100-0000-63993f840000"' + - '"5200288b-0000-0100-0000-63f31c980000"' expires: - '-1' pragma: @@ -818,28 +823,27 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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"}]}' + string: '{"configurations": [{"name": "test_server", "value": "xxx.eastus.azure.confluent.cloud:9092"}, + {"name": "CONFLUENTCLOUD_KAFKA_SASLUSERNAME", "value": "Name"}]}' headers: cache-control: - no-cache content-length: - - '184' + - '159' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:14:43 GMT + - Mon, 20 Feb 2023 07:09:43 GMT expires: - '-1' mise-correlation-id: - - 005b54f9-bc13-4246-ad0f-a116b2f3bc79 + - 658f73f9-4ae9-4595-b6db-25088b311e01 pragma: - no-cache strict-transport-security: @@ -853,7 +857,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -873,7 +877,7 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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 @@ -882,7 +886,7 @@ interactions: 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 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/afbb4d07-63d9-4169-adf2-af93800cde37*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -890,13 +894,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:14:44 GMT + - Mon, 20 Feb 2023 07:09:45 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 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/afbb4d07-63d9-4169-adf2-af93800cde37*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA?api-version=2021-01-01-privatepreview mise-correlation-id: - - 07f23c60-84c8-4317-a64a-f9b4c983a83e + - 0c62e1a1-004a-415f-8486-8dee21db7ee9 pragma: - no-cache strict-transport-security: @@ -924,34 +928,34 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (Windows-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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/afbb4d07-63d9-4169-adf2-af93800cde37*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", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/afbb4d07-63d9-4169-adf2-af93800cde37*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA", + "name": "afbb4d07-63d9-4169-adf2-af93800cde37*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}", + "status": "Succeeded", "startTime": "2023-02-20T07:09:45.0989648Z", "endTime": + "2023-02-20T07:09:47.7203113Z", "properties": {"Message": "{\"ConnectionName\":\"testconn27\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2023-02-20T07:09:46.5302195Z\",\"ReportEndTimeUtc\":\"2023-02-20T07:09:46.5347704Z\",\"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": + "success"}], "reportStartTimeUtc": "2023-02-20T07:09:46.5302195Z", "reportEndTimeUtc": + "2023-02-20T07:09:46.5347704Z", "sourceId": null, "targetId": null, "authType": "secret"}}' headers: cache-control: - no-cache content-length: - - '1338' + - '1340' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:15:16 GMT + - Mon, 20 Feb 2023 07:10:16 GMT etag: - - '"0f006963-0000-0100-0000-63993fa70000"' + - '"0601ace1-0000-0100-0000-63f31cbb0000"' expires: - '-1' pragma: @@ -981,34 +985,34 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (Windows-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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/afbb4d07-63d9-4169-adf2-af93800cde37*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", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/afbb4d07-63d9-4169-adf2-af93800cde37*11D3B1F42AD89CD6F3F999DAB981D2106E6B006BECF427E5C29D7B2C46F8AAFA", + "name": "afbb4d07-63d9-4169-adf2-af93800cde37*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}", + "status": "Succeeded", "startTime": "2023-02-20T07:09:45.0989648Z", "endTime": + "2023-02-20T07:09:47.7203113Z", "properties": {"Message": "{\"ConnectionName\":\"testconn27\",\"IsConnectionAvailable\":true,\"ValidationDetail\":[{\"Name\":\"The + target existence is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2023-02-20T07:09:46.5302195Z\",\"ReportEndTimeUtc\":\"2023-02-20T07:09:46.5347704Z\",\"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": + "success"}], "reportStartTimeUtc": "2023-02-20T07:09:46.5302195Z", "reportEndTimeUtc": + "2023-02-20T07:09:46.5347704Z", "sourceId": null, "targetId": null, "authType": "secret"}}' headers: cache-control: - no-cache content-length: - - '1338' + - '1340' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:15:16 GMT + - Mon, 20 Feb 2023 07:10:16 GMT etag: - - '"0f006963-0000-0100-0000-63993fa70000"' + - '"0601ace1-0000-0100-0000-63f31cbb0000"' expires: - '-1' pragma: @@ -1038,7 +1042,7 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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 @@ -1047,24 +1051,24 @@ interactions: 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"}, + "User", "createdAt": "2023-02-20T07:03:11.2969435Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:09:09.3404133Z"}, "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"}}' + "true"}}, "configurationInfo": {"customizedKeys": {"CONFLUENTCLOUD_KAFKA_BOOTSTRAPSERVER": + "test_server"}}, "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' + - '915' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 03:15:17 GMT + - Mon, 20 Feb 2023 07:10:17 GMT etag: - - '"580037fb-0000-0100-0000-63993f840000"' + - '"5200288b-0000-0100-0000-63f31c980000"' expires: - '-1' pragma: @@ -1098,7 +1102,7 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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 @@ -1111,7 +1115,7 @@ interactions: content-length: - '0' date: - - Wed, 14 Dec 2022 03:15:22 GMT + - Mon, 20 Feb 2023 07:10:25 GMT expires: - '-1' pragma: 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 3d63c87ba2c..fb1f19e40b9 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 @@ -2,7 +2,8 @@ interactions: - 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": "systemAssignedIdentity"}, "clientType": "python", - "secretStore": {}}}' + "secretStore": {}, "configurationInfo": {"customizedKeys": {"AZURE_APPCONFIGURATION_ENDPOINT": + "test_endpoint"}}}}' headers: Accept: - application/json @@ -13,13 +14,13 @@ interactions: Connection: - keep-alive Content-Length: - - '351' + - '446' Content-Type: - application/json ParameterSetName: - - --connection --source-id --target-id --system-identity --client-type + - --connection --source-id --target-id --system-identity --client-type --customized-keys User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -28,31 +29,33 @@ interactions: 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": "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"}, + "2023-02-20T07:21:37.1724848Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:21:37.1724848Z"}, "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}, "vNetSolution": null, "clientType": "python", "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": - null, "configurationInfo": null}}' + null, "configurationInfo": {"customizedKeys": {"AZURE_APPCONFIGURATION_ENDPOINT": + "test_endpoint"}, "additionalConfigurations": null, "deleteOrUpdateBehavior": + null, "action": null, "daprProperties": null}}}' headers: azure-asyncoperation: - - 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 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/61a4fc59-1608-4b48-bfc1-45fc453f6b45*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1154' + - '1323' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:36:14 GMT + - Mon, 20 Feb 2023 07:21:37 GMT etag: - - '"34006fea-0000-0100-0000-63998afe0000"' + - '"3a0019d7-0000-0100-0000-63f31f820000"' expires: - '-1' mise-correlation-id: - - 99846bec-e064-48ed-9fb7-bc0835eeb62f + - 8e6aa1ac-748a-483f-9fc4-2f8241990585 pragma: - no-cache strict-transport-security: @@ -78,19 +81,69 @@ interactions: Connection: - keep-alive ParameterSetName: - - --connection --source-id --target-id --system-identity --client-type + - --connection --source-id --target-id --system-identity --client-type --customized-keys User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (Windows-10-10.0.22621-SP0) method: GET - 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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/61a4fc59-1608-4b48-bfc1-45fc453f6b45*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2021-01-01-privatepreview response: body: - 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", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/61a4fc59-1608-4b48-bfc1-45fc453f6b45*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", + "name": "61a4fc59-1608-4b48-bfc1-45fc453f6b45*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:36:13.8830812Z", "endTime": - "2022-12-14T08:36:20.6273437Z", "properties": {"Message": ""}}' + "status": "Accepted", "startTime": "2023-02-20T07:21:38.4114237Z"}' + headers: + cache-control: + - no-cache + content-length: + - '633' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 20 Feb 2023 07:22:09 GMT + etag: + - '"07013607-0000-0100-0000-63f31f820000"' + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - 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 appconfig + Connection: + - keep-alive + ParameterSetName: + - --connection --source-id --target-id --system-identity --client-type --customized-keys + User-Agent: + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 + (Windows-10-10.0.22621-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/61a4fc59-1608-4b48-bfc1-45fc453f6b45*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2021-01-01-privatepreview + response: + body: + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/61a4fc59-1608-4b48-bfc1-45fc453f6b45*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", + "name": "61a4fc59-1608-4b48-bfc1-45fc453f6b45*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": "2023-02-20T07:21:38.4114237Z", "endTime": + "2023-02-20T07:22:20.5835962Z", "properties": {"Message": ""}}' headers: cache-control: - no-cache @@ -99,9 +152,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:36:45 GMT + - Mon, 20 Feb 2023 07:22:39 GMT etag: - - '"1000244d-0000-0100-0000-63998b040000"' + - '"0701de09-0000-0100-0000-63f31fac0000"' expires: - '-1' pragma: @@ -129,9 +182,9 @@ interactions: Connection: - keep-alive ParameterSetName: - - --connection --source-id --target-id --system-identity --client-type + - --connection --source-id --target-id --system-identity --client-type --customized-keys User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -140,29 +193,31 @@ interactions: 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": "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", + "2023-02-20T07:21:37.1724848Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:21:37.1724848Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": {"customizedKeys": + {"AZURE_APPCONFIGURATION_ENDPOINT": "test_endpoint"}, "additionalConfigurations": + null, "deleteOrUpdateBehavior": null, "action": null, "daprProperties": 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": + null}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '1155' + - '1324' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:36:45 GMT + - Mon, 20 Feb 2023 07:22:40 GMT etag: - - '"3400d7ea-0000-0100-0000-63998b040000"' + - '"3a00e1d7-0000-0100-0000-63f31fac0000"' expires: - '-1' mise-correlation-id: - - 132763f4-7e16-44dc-ab7b-d79bff78b191 + - 5e1d9de0-11e0-4c97-b6bc-5646229efbc5 pragma: - no-cache strict-transport-security: @@ -192,7 +247,7 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -201,27 +256,29 @@ interactions: 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", "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", + "2023-02-20T07:21:37.1724848Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:21:37.1724848Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": {"customizedKeys": + {"AZURE_APPCONFIGURATION_ENDPOINT": "test_endpoint"}, "additionalConfigurations": + null, "deleteOrUpdateBehavior": null, "action": null, "daprProperties": 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": + null}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}]}' headers: cache-control: - no-cache content-length: - - '1168' + - '1337' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:36:55 GMT + - Mon, 20 Feb 2023 07:22:48 GMT expires: - '-1' mise-correlation-id: - - e917f893-88f9-441f-950d-50ce6b7bd105 + - b4d7f52d-7a89-4c41-8ffb-9ac7c95ed4fb pragma: - no-cache strict-transport-security: @@ -251,7 +308,7 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -260,29 +317,31 @@ interactions: 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": "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", + "2023-02-20T07:21:37.1724848Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:21:37.1724848Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": {"customizedKeys": + {"AZURE_APPCONFIGURATION_ENDPOINT": "test_endpoint"}, "additionalConfigurations": + null, "deleteOrUpdateBehavior": null, "action": null, "daprProperties": 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": + null}, "clientType": "python", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '1155' + - '1324' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:36:57 GMT + - Mon, 20 Feb 2023 07:22:50 GMT etag: - - '"3400d7ea-0000-0100-0000-63998b040000"' + - '"3a00e1d7-0000-0100-0000-63f31fac0000"' expires: - '-1' mise-correlation-id: - - 6f8fb843-fef4-4761-8ec5-578e91bfbe2b + - 775e7ab3-5116-4f4c-b9f9-1dbe31dca0a0 pragma: - no-cache strict-transport-security: @@ -301,7 +360,8 @@ interactions: - 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": "systemAssignedIdentity"}, "clientType": "dotnet", - "secretStore": {}}}' + "secretStore": {}, "configurationInfo": {"customizedKeys": {"AZURE_APPCONFIGURATION_ENDPOINT": + "test_endpoint"}}}}' headers: Accept: - application/json @@ -312,13 +372,13 @@ interactions: Connection: - keep-alive Content-Length: - - '351' + - '446' 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 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -327,31 +387,33 @@ interactions: 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": "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"}, + "2023-02-20T07:21:37.1724848Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:22:51.5924764Z"}, "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}, "vNetSolution": null, "clientType": "dotnet", "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}, "scope": null, "publicNetworkSolution": - null, "configurationInfo": null}}' + null, "configurationInfo": {"customizedKeys": {"AZURE_APPCONFIGURATION_ENDPOINT": + "test_endpoint"}, "additionalConfigurations": null, "deleteOrUpdateBehavior": + null, "action": null, "daprProperties": null}}}' headers: azure-asyncoperation: - - 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 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe55614b-cdca-4725-a98f-d107e181cb2f*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '1154' + - '1323' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:36:59 GMT + - Mon, 20 Feb 2023 07:22:53 GMT etag: - - '"340088ed-0000-0100-0000-63998b2b0000"' + - '"3a0060d8-0000-0100-0000-63f31fcd0000"' expires: - '-1' mise-correlation-id: - - 80652c46-f2fc-41d5-9852-757174de2dfd + - 4dc83e30-c541-427d-890e-27d9dff5a531 pragma: - no-cache strict-transport-security: @@ -379,17 +441,17 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (Windows-10-10.0.22621-SP0) method: GET - 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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe55614b-cdca-4725-a98f-d107e181cb2f*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2021-01-01-privatepreview response: body: - 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", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fe55614b-cdca-4725-a98f-d107e181cb2f*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", + "name": "fe55614b-cdca-4725-a98f-d107e181cb2f*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:36:59.4095372Z", "endTime": - "2022-12-14T08:37:05.4060327Z", "properties": {"Message": ""}}' + "status": "Succeeded", "startTime": "2023-02-20T07:22:53.3116898Z", "endTime": + "2023-02-20T07:23:00.3188472Z", "properties": {"Message": ""}}' headers: cache-control: - no-cache @@ -398,9 +460,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:37:30 GMT + - Mon, 20 Feb 2023 07:23:24 GMT etag: - - '"1000104e-0000-0100-0000-63998b310000"' + - '"0701410c-0000-0100-0000-63f31fd40000"' expires: - '-1' pragma: @@ -430,7 +492,7 @@ interactions: ParameterSetName: - --id --client-type User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -439,29 +501,31 @@ interactions: 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": "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", + "2023-02-20T07:21:37.1724848Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:22:51.5924764Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": {"customizedKeys": + {"AZURE_APPCONFIGURATION_ENDPOINT": "test_endpoint"}, "additionalConfigurations": + null, "deleteOrUpdateBehavior": null, "action": null, "daprProperties": 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": + null}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '1155' + - '1324' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:37:30 GMT + - Mon, 20 Feb 2023 07:23:25 GMT etag: - - '"3400fded-0000-0100-0000-63998b310000"' + - '"3a0085d8-0000-0100-0000-63f31fd40000"' expires: - '-1' mise-correlation-id: - - 908edc1d-72f4-4863-b3b6-6644049706c2 + - 9f30f5f6-3875-47f9-a987-6222713f5ef0 pragma: - no-cache strict-transport-security: @@ -493,27 +557,26 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview response: body: - string: '{"configurations": [{"name": "AZURE_APPCONFIGURATION_ENDPOINT", "value": - "https://servicelinker-app-configuration.azconfig.io"}]}' + string: '{"configurations": [{"name": "test_endpoint", "value": "https://servicelinker-app-configuration.azconfig.io"}]}' headers: cache-control: - no-cache content-length: - - '129' + - '111' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:37:36 GMT + - Mon, 20 Feb 2023 07:23:33 GMT expires: - '-1' mise-correlation-id: - - df60fe1f-9612-4b0b-9967-1e87da321608 + - d666563a-5804-4640-8138-ba4bdb432102 pragma: - no-cache strict-transport-security: @@ -527,7 +590,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -545,7 +608,7 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -554,29 +617,31 @@ interactions: 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": "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", + "2023-02-20T07:21:37.1724848Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:22:51.5924764Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": {"customizedKeys": + {"AZURE_APPCONFIGURATION_ENDPOINT": "test_endpoint"}, "additionalConfigurations": + null, "deleteOrUpdateBehavior": null, "action": null, "daprProperties": 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": + null}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '1155' + - '1324' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:37:38 GMT + - Mon, 20 Feb 2023 07:23:35 GMT etag: - - '"3400fded-0000-0100-0000-63998b310000"' + - '"3a0085d8-0000-0100-0000-63f31fd40000"' expires: - '-1' mise-correlation-id: - - 83ee436c-6142-4b90-8065-6e41546c3ea3 + - d6754dc0-322f-48bc-b085-7b3424d06112 pragma: - no-cache strict-transport-security: @@ -608,7 +673,7 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -617,7 +682,7 @@ interactions: string: 'null' headers: azure-asyncoperation: - - 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 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8029a75b-a842-43c8-8b8c-dee97bcd1481*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -625,13 +690,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:37:38 GMT + - Mon, 20 Feb 2023 07:23:36 GMT expires: - '-1' location: - - 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 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8029a75b-a842-43c8-8b8c-dee97bcd1481*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2021-01-01-privatepreview mise-correlation-id: - - 164b0c93-84da-48d1-a664-f8641c47e20e + - a45c7694-e291-4be6-aa4e-ee60115ef8ef pragma: - no-cache strict-transport-security: @@ -659,22 +724,22 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (Windows-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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8029a75b-a842-43c8-8b8c-dee97bcd1481*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", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8029a75b-a842-43c8-8b8c-dee97bcd1481*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", + "name": "8029a75b-a842-43c8-8b8c-dee97bcd1481*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 + "status": "Succeeded", "startTime": "2023-02-20T07:23:37.1210327Z", "endTime": + "2023-02-20T07:23:40.7513906Z", "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}", + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2023-02-20T07:23:38.4562289Z\",\"ReportEndTimeUtc\":\"2023-02-20T07:23:39.625755Z\",\"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": @@ -682,19 +747,19 @@ interactions: "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", + "2023-02-20T07:23:38.4562289Z", "reportEndTimeUtc": "2023-02-20T07:23:39.625755Z", "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' headers: cache-control: - no-cache content-length: - - '2101' + - '2099' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:38:10 GMT + - Mon, 20 Feb 2023 07:24:08 GMT etag: - - '"1000f94e-0000-0100-0000-63998b570000"' + - '"0701470e-0000-0100-0000-63f31ffc0000"' expires: - '-1' pragma: @@ -724,22 +789,22 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (Windows-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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8029a75b-a842-43c8-8b8c-dee97bcd1481*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", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/8029a75b-a842-43c8-8b8c-dee97bcd1481*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", + "name": "8029a75b-a842-43c8-8b8c-dee97bcd1481*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 + "status": "Succeeded", "startTime": "2023-02-20T07:23:37.1210327Z", "endTime": + "2023-02-20T07:23:40.7513906Z", "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}", + identity permission is validated\",\"Description\":null,\"Result\":0}],\"ReportStartTimeUtc\":\"2023-02-20T07:23:38.4562289Z\",\"ReportEndTimeUtc\":\"2023-02-20T07:23:39.625755Z\",\"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": @@ -747,19 +812,19 @@ interactions: "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", + "2023-02-20T07:23:38.4562289Z", "reportEndTimeUtc": "2023-02-20T07:23:39.625755Z", "sourceId": null, "targetId": null, "authType": "systemAssignedIdentity"}}' headers: cache-control: - no-cache content-length: - - '2101' + - '2099' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:38:10 GMT + - Mon, 20 Feb 2023 07:24:08 GMT etag: - - '"1000f94e-0000-0100-0000-63998b570000"' + - '"0701470e-0000-0100-0000-63f31ffc0000"' expires: - '-1' pragma: @@ -789,7 +854,7 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -798,29 +863,31 @@ interactions: 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": "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", + "2023-02-20T07:21:37.1724848Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:22:51.5924764Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": {"customizedKeys": + {"AZURE_APPCONFIGURATION_ENDPOINT": "test_endpoint"}, "additionalConfigurations": + null, "deleteOrUpdateBehavior": null, "action": null, "daprProperties": 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": + null}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '1155' + - '1324' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:38:12 GMT + - Mon, 20 Feb 2023 07:24:10 GMT etag: - - '"3400fded-0000-0100-0000-63998b310000"' + - '"3a0085d8-0000-0100-0000-63f31fd40000"' expires: - '-1' mise-correlation-id: - - 489df767-7e1b-4c1d-9026-ec5d2c8fe1ac + - adc4cbdc-5561-48f7-a727-f1820342f5a6 pragma: - no-cache strict-transport-security: @@ -852,7 +919,7 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -861,7 +928,7 @@ interactions: string: 'null' headers: azure-asyncoperation: - - 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 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e164d2d8-0d7c-4a63-8a91-23e357df800c*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -869,15 +936,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:38:22 GMT + - Mon, 20 Feb 2023 07:24:20 GMT etag: - - '"34009cf3-0000-0100-0000-63998b7e0000"' + - '"3a00c2d9-0000-0100-0000-63f320240000"' expires: - '-1' location: - - 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 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e164d2d8-0d7c-4a63-8a91-23e357df800c*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2021-01-01-privatepreview mise-correlation-id: - - 8db9bfa4-f0f8-4533-906a-7bf79546fc0e + - 6701f67b-e88a-4549-82a4-596c3ccf20fc pragma: - no-cache strict-transport-security: @@ -905,28 +972,28 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (Windows-10-10.0.22621-SP0) method: GET - 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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e164d2d8-0d7c-4a63-8a91-23e357df800c*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C?api-version=2021-01-01-privatepreview response: body: - 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", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/e164d2d8-0d7c-4a63-8a91-23e357df800c*B22D1BF0F49AC649997150ED375181592C599234B0CECEE608F725EDA66E202C", + "name": "e164d2d8-0d7c-4a63-8a91-23e357df800c*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:38:22.4238131Z", "endTime": - "2022-12-14T08:38:27.413431Z", "properties": null}' + "status": "Succeeded", "startTime": "2023-02-20T07:24:20.6519355Z", "endTime": + "2023-02-20T07:24:25.7569025Z", "properties": null}' headers: cache-control: - no-cache content-length: - - '696' + - '697' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:38:52 GMT + - Mon, 20 Feb 2023 07:24:51 GMT etag: - - '"10002e50-0000-0100-0000-63998b830000"' + - '"0701f610-0000-0100-0000-63f320290000"' 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 5ce47f2bf60..78b6ebefe6d 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 @@ -3,7 +3,7 @@ interactions: body: '{"properties": {"targetService": {"type": "ConfluentBootstrapServer", "endpoint": "xxx.eastus.azure.confluent.cloud:9092"}, "authInfo": {"authType": "secret", "name": "Name", "secretInfo": {"secretType": "rawValue", "value": "Secret"}}, - "clientType": "python", "secretStore": {}}}' + "clientType": "python", "secretStore": {}, "configurationInfo": {}}}' headers: Accept: - application/json @@ -14,14 +14,14 @@ interactions: Connection: - keep-alive Content-Length: - - '280' + - '305' Content-Type: - application/json ParameterSetName: - --connection --source-id --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 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -30,31 +30,32 @@ interactions: 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": "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"}, + "2023-02-20T07:17:20.0315935Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:17:20.0315935Z"}, "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}}' + null, "configurationInfo": {"customizedKeys": null, "additionalConfigurations": + null, "deleteOrUpdateBehavior": null, "action": null, "daprProperties": null}}}' headers: azure-asyncoperation: - - 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 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/be2e6b58-5702-435c-b1bb-7c8c865a47b9*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '965' + - '1091' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:38:56 GMT + - Mon, 20 Feb 2023 07:17:21 GMT etag: - - '"3400f4f5-0000-0100-0000-63998ba00000"' + - '"3a00a5d2-0000-0100-0000-63f31e810000"' expires: - '-1' mise-correlation-id: - - d3b5e41c-790c-4067-a803-f93f00fd518b + - ab680589-fe0a-4231-b423-48a81e9d2950 pragma: - no-cache strict-transport-security: @@ -83,17 +84,17 @@ interactions: - --connection --source-id --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 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (Windows-10-10.0.22621-SP0) method: GET - 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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/be2e6b58-5702-435c-b1bb-7c8c865a47b9*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2021-01-01-privatepreview response: body: - 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", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/be2e6b58-5702-435c-b1bb-7c8c865a47b9*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", + "name": "be2e6b58-5702-435c-b1bb-7c8c865a47b9*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:38:56.5899711Z", "endTime": - "2022-12-14T08:39:01.9402285Z", "properties": {"Message": ""}}' + "status": "Succeeded", "startTime": "2023-02-20T07:17:21.2606249Z", "endTime": + "2023-02-20T07:17:26.0863852Z", "properties": {"Message": ""}}' headers: cache-control: - no-cache @@ -102,9 +103,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:39:27 GMT + - Mon, 20 Feb 2023 07:17:51 GMT etag: - - '"10002d51-0000-0100-0000-63998ba50000"' + - '"060198f9-0000-0100-0000-63f31e860000"' expires: - '-1' pragma: @@ -135,7 +136,7 @@ interactions: - --connection --source-id --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 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -144,29 +145,30 @@ interactions: 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": "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, "keyVaultSecretName": - null}}}' + "2023-02-20T07:17:20.0315935Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:17:20.0315935Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": {"customizedKeys": + null, "additionalConfigurations": null, "deleteOrUpdateBehavior": null, "action": + null, "daprProperties": 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, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '966' + - '1092' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:39:28 GMT + - Mon, 20 Feb 2023 07:17:52 GMT etag: - - '"340051f6-0000-0100-0000-63998ba50000"' + - '"3a00bed2-0000-0100-0000-63f31e860000"' expires: - '-1' mise-correlation-id: - - 83bff460-6919-4105-bbde-55e61ef4b68c + - c2aa2392-6f64-4fae-a4ed-39c133642707 pragma: - no-cache strict-transport-security: @@ -204,7 +206,7 @@ interactions: - --connection --source-id --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 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -214,7 +216,7 @@ interactions: "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"}, + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:17:53.4688546Z"}, "properties": {"provisioningState": "Accepted", "targetService": {"endpoint": "https://xxx.eastus.azure.confluent.cloud", "type": "ConfluentSchemaRegistry"}, "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": @@ -223,7 +225,7 @@ interactions: null, "configurationInfo": null}}' headers: azure-asyncoperation: - - 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 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/89845450-b72f-4585-a0fd-9c2278dccd7b*B57182BA5988C3A1561A6FA2B596D239ED4EEEE3830B5FF74B5303074A8F9735?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -231,13 +233,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:39:29 GMT + - Mon, 20 Feb 2023 07:17:53 GMT etag: - - '"340045f8-0000-0100-0000-63998bc20000"' + - '"3a0032d3-0000-0100-0000-63f31ea20000"' expires: - '-1' mise-correlation-id: - - e3fd1f55-9148-4d01-a031-cff5e8939e26 + - 86ea7c10-c9d4-437e-9890-6c9e121e357d pragma: - no-cache strict-transport-security: @@ -266,17 +268,17 @@ interactions: - --connection --source-id --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 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (Windows-10-10.0.22621-SP0) method: GET - 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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/89845450-b72f-4585-a0fd-9c2278dccd7b*B57182BA5988C3A1561A6FA2B596D239ED4EEEE3830B5FF74B5303074A8F9735?api-version=2021-01-01-privatepreview response: body: - 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", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/89845450-b72f-4585-a0fd-9c2278dccd7b*B57182BA5988C3A1561A6FA2B596D239ED4EEEE3830B5FF74B5303074A8F9735", + "name": "89845450-b72f-4585-a0fd-9c2278dccd7b*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-12-14T08:39:29.8970972Z", "endTime": - "2022-12-14T08:39:35.0973627Z", "properties": {"Message": ""}}' + "status": "Succeeded", "startTime": "2023-02-20T07:17:53.9380217Z", "endTime": + "2023-02-20T07:17:58.7101556Z", "properties": {"Message": ""}}' headers: cache-control: - no-cache @@ -285,9 +287,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:40:01 GMT + - Mon, 20 Feb 2023 07:18:24 GMT etag: - - '"1000ff51-0000-0100-0000-63998bc70000"' + - '"06013afb-0000-0100-0000-63f31ea60000"' expires: - '-1' pragma: @@ -318,7 +320,7 @@ interactions: - --connection --source-id --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 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -328,7 +330,7 @@ interactions: "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"}, + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:17:53.4688546Z"}, "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": "Succeeded", "targetService": {"endpoint": "https://xxx.eastus.azure.confluent.cloud", "type": "ConfluentSchemaRegistry"}, "authInfo": {"name": "Name", "secretInfo": @@ -343,13 +345,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:40:02 GMT + - Mon, 20 Feb 2023 07:18:24 GMT etag: - - '"340099f8-0000-0100-0000-63998bc70000"' + - '"3a0048d3-0000-0100-0000-63f31ea60000"' expires: - '-1' mise-correlation-id: - - f7e421c3-4c0c-44b1-99b1-19d0e851139f + - 5015046f-4bcb-4683-af5f-85bcc5924d8a pragma: - no-cache strict-transport-security: @@ -379,7 +381,7 @@ interactions: ParameterSetName: - --source-id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -388,18 +390,19 @@ interactions: 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", "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, "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", + "2023-02-20T07:17:20.0315935Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:17:20.0315935Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": {"customizedKeys": + null, "additionalConfigurations": null, "deleteOrUpdateBehavior": null, "action": + null, "daprProperties": 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, "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"}, + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:17:53.4688546Z"}, "properties": {"publicNetworkSolution": null, "configurationInfo": null, "provisioningState": "Succeeded", "targetService": {"endpoint": "https://xxx.eastus.azure.confluent.cloud", "type": "ConfluentSchemaRegistry"}, "authInfo": {"name": "Name", "secretInfo": @@ -410,15 +413,15 @@ interactions: cache-control: - no-cache content-length: - - '1956' + - '2082' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:40:21 GMT + - Mon, 20 Feb 2023 07:18:37 GMT expires: - '-1' mise-correlation-id: - - 55d2d833-cc7e-466e-8d4c-565a824ff572 + - 28f58172-b410-41d9-a094-6c33642f4895 pragma: - no-cache strict-transport-security: @@ -446,9 +449,9 @@ interactions: Connection: - keep-alive ParameterSetName: - - --connection --source-id --client-type --kafka-secret + - --connection --source-id --client-type --kafka-secret --customized-keys User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -457,29 +460,30 @@ interactions: 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": "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, "keyVaultSecretName": - null}}}' + "2023-02-20T07:17:20.0315935Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:17:20.0315935Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": {"customizedKeys": + null, "additionalConfigurations": null, "deleteOrUpdateBehavior": null, "action": + null, "daprProperties": 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, "keyVaultSecretName": null}}}' headers: cache-control: - no-cache content-length: - - '966' + - '1092' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:40:22 GMT + - Mon, 20 Feb 2023 07:18:39 GMT etag: - - '"340051f6-0000-0100-0000-63998ba50000"' + - '"3a00bed2-0000-0100-0000-63f31e860000"' expires: - '-1' mise-correlation-id: - - c6024e0b-e5ad-42aa-ba21-efaaf9a01d8f + - 5f811e05-5568-44a2-a4c0-7832ed4f14ae pragma: - no-cache strict-transport-security: @@ -498,7 +502,8 @@ interactions: - request: body: '{"properties": {"targetService": {"type": "ConfluentBootstrapServer", "endpoint": "xxx.eastus.azure.confluent.cloud:9092"}, "authInfo": {"authType": "secret", - "name": "Name"}, "clientType": "dotnet", "secretStore": {}}}' + "name": "Name"}, "clientType": "dotnet", "secretStore": {}, "configurationInfo": + {"customizedKeys": {"CONFLUENTCLOUD_KAFKA_BOOTSTRAPSERVER": "test_server"}}}}' headers: Accept: - application/json @@ -509,13 +514,13 @@ interactions: Connection: - keep-alive Content-Length: - - '219' + - '317' Content-Type: - application/json ParameterSetName: - - --connection --source-id --client-type --kafka-secret + - --connection --source-id --client-type --kafka-secret --customized-keys User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -524,31 +529,33 @@ interactions: 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": "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"}, + "2023-02-20T07:17:20.0315935Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:18:40.1151744Z"}, "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}}' + {"customizedKeys": {"CONFLUENTCLOUD_KAFKA_BOOTSTRAPSERVER": "test_server"}, + "additionalConfigurations": null, "deleteOrUpdateBehavior": null, "action": + null, "daprProperties": null}}}' headers: azure-asyncoperation: - - 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 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fa2f4dab-1216-4401-85a4-740e51cd71a7*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: - - '943' + - '1120' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:40:23 GMT + - Mon, 20 Feb 2023 07:18:40 GMT etag: - - '"3400cbfb-0000-0100-0000-63998bf80000"' + - '"3a000ad4-0000-0100-0000-63f31ed00000"' expires: - '-1' mise-correlation-id: - - dd3e56e0-c016-4040-a16e-54b4d300b074 + - 60d91c6f-fc54-45d4-8fcf-73e37cf30aea pragma: - no-cache strict-transport-security: @@ -574,30 +581,30 @@ interactions: Connection: - keep-alive ParameterSetName: - - --connection --source-id --client-type --kafka-secret + - --connection --source-id --client-type --kafka-secret --customized-keys User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (Windows-10-10.0.22621-SP0) method: GET - 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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fa2f4dab-1216-4401-85a4-740e51cd71a7*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2021-01-01-privatepreview response: body: - 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", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/fa2f4dab-1216-4401-85a4-740e51cd71a7*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", + "name": "fa2f4dab-1216-4401-85a4-740e51cd71a7*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:40:24.0619918Z", "endTime": - "2022-12-14T08:40:31.141149Z", "properties": {"Message": ""}}' + "status": "Succeeded", "startTime": "2023-02-20T07:18:40.7545628Z", "endTime": + "2023-02-20T07:18:45.3540662Z", "properties": {"Message": ""}}' headers: cache-control: - no-cache content-length: - - '706' + - '707' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:40:54 GMT + - Mon, 20 Feb 2023 07:19:11 GMT etag: - - '"10001c53-0000-0100-0000-63998bff0000"' + - '"0601ecfd-0000-0100-0000-63f31ed50000"' expires: - '-1' pragma: @@ -625,9 +632,9 @@ interactions: Connection: - keep-alive ParameterSetName: - - --connection --source-id --client-type --kafka-secret + - --connection --source-id --client-type --kafka-secret --customized-keys User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -636,10 +643,12 @@ interactions: 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": "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", + "2023-02-20T07:17:20.0315935Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:18:40.1151744Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": {"customizedKeys": + {"CONFLUENTCLOUD_KAFKA_BOOTSTRAPSERVER": "test_server"}, "additionalConfigurations": + null, "deleteOrUpdateBehavior": null, "action": null, "daprProperties": null}, + "provisioningState": "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null, "keyVaultSecretName": @@ -648,17 +657,17 @@ interactions: cache-control: - no-cache content-length: - - '966' + - '1143' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:40:55 GMT + - Mon, 20 Feb 2023 07:19:12 GMT etag: - - '"340041fc-0000-0100-0000-63998bff0000"' + - '"3a0023d4-0000-0100-0000-63f31ed50000"' expires: - '-1' mise-correlation-id: - - a5af99dd-a4cd-4a22-8143-fddba506902b + - 8d6a5c95-d34f-4da5-aad4-90b2d461e745 pragma: - no-cache strict-transport-security: @@ -690,28 +699,27 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview response: body: - string: '{"configurations": [{"name": "CONFLUENTCLOUD_KAFKA_BOOTSTRAPSERVER", - "value": "xxx.eastus.azure.confluent.cloud:9092"}, {"name": "CONFLUENTCLOUD_KAFKA_SASLUSERNAME", - "value": "Name"}]}' + string: '{"configurations": [{"name": "test_server", "value": "xxx.eastus.azure.confluent.cloud:9092"}, + {"name": "CONFLUENTCLOUD_KAFKA_SASLUSERNAME", "value": "Name"}]}' headers: cache-control: - no-cache content-length: - - '184' + - '159' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:40:58 GMT + - Mon, 20 Feb 2023 07:19:14 GMT expires: - '-1' mise-correlation-id: - - 153fd9a8-6b77-44fc-a8f6-73cf39014836 + - c1acd6fd-c5e2-4ba8-84d1-964c94527001 pragma: - no-cache strict-transport-security: @@ -725,7 +733,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -743,7 +751,7 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -752,10 +760,12 @@ interactions: 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": "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", + "2023-02-20T07:17:20.0315935Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:18:40.1151744Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": {"customizedKeys": + {"CONFLUENTCLOUD_KAFKA_BOOTSTRAPSERVER": "test_server"}, "additionalConfigurations": + null, "deleteOrUpdateBehavior": null, "action": null, "daprProperties": null}, + "provisioningState": "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null, "keyVaultSecretName": @@ -764,17 +774,17 @@ interactions: cache-control: - no-cache content-length: - - '966' + - '1143' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:41:01 GMT + - Mon, 20 Feb 2023 07:19:16 GMT etag: - - '"340041fc-0000-0100-0000-63998bff0000"' + - '"3a0023d4-0000-0100-0000-63f31ed50000"' expires: - '-1' mise-correlation-id: - - bebb68f5-f98c-44a7-8233-a68e20c5c03d + - 50efacd9-ad98-4ff5-9b5f-c802c87c2900 pragma: - no-cache strict-transport-security: @@ -806,7 +816,7 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -815,7 +825,7 @@ interactions: string: 'null' headers: azure-asyncoperation: - - 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 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3b4e5e9b-7836-4d55-990a-00ca353f2003*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -823,13 +833,13 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:41:02 GMT + - Mon, 20 Feb 2023 07:19:17 GMT expires: - '-1' location: - - 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 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3b4e5e9b-7836-4d55-990a-00ca353f2003*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2021-01-01-privatepreview mise-correlation-id: - - f8e63caa-8fd9-451a-9784-96a9c6183e45 + - a79f5d55-b16a-4e87-bd81-34bc87626d35 pragma: - no-cache strict-transport-security: @@ -839,7 +849,7 @@ interactions: x-ms-providerhub-traffic: - 'True' x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -857,26 +867,26 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (Windows-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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3b4e5e9b-7836-4d55-990a-00ca353f2003*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", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3b4e5e9b-7836-4d55-990a-00ca353f2003*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", + "name": "3b4e5e9b-7836-4d55-990a-00ca353f2003*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 + "status": "Succeeded", "startTime": "2023-02-20T07:19:17.6904449Z", "endTime": + "2023-02-20T07:19:20.5785517Z", "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}", + api-keys secret is changed\",\"Result\":1}],\"ReportStartTimeUtc\":\"2023-02-20T07:19:18.9847911Z\",\"ReportEndTimeUtc\":\"2023-02-20T07:19:19.4749675Z\",\"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": + "reportStartTimeUtc": "2023-02-20T07:19:18.9847911Z", "reportEndTimeUtc": + "2023-02-20T07:19:19.4749675Z", "sourceId": null, "targetId": null, "authType": "secret"}}' headers: cache-control: @@ -886,9 +896,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:41:32 GMT + - Mon, 20 Feb 2023 07:19:49 GMT etag: - - '"1000cb53-0000-0100-0000-63998c210000"' + - '"0601b8ff-0000-0100-0000-63f31ef80000"' expires: - '-1' pragma: @@ -918,26 +928,26 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (Windows-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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3b4e5e9b-7836-4d55-990a-00ca353f2003*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", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/3b4e5e9b-7836-4d55-990a-00ca353f2003*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", + "name": "3b4e5e9b-7836-4d55-990a-00ca353f2003*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 + "status": "Succeeded", "startTime": "2023-02-20T07:19:17.6904449Z", "endTime": + "2023-02-20T07:19:20.5785517Z", "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}", + api-keys secret is changed\",\"Result\":1}],\"ReportStartTimeUtc\":\"2023-02-20T07:19:18.9847911Z\",\"ReportEndTimeUtc\":\"2023-02-20T07:19:19.4749675Z\",\"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": + "reportStartTimeUtc": "2023-02-20T07:19:18.9847911Z", "reportEndTimeUtc": + "2023-02-20T07:19:19.4749675Z", "sourceId": null, "targetId": null, "authType": "secret"}}' headers: cache-control: @@ -947,9 +957,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:41:33 GMT + - Mon, 20 Feb 2023 07:19:49 GMT etag: - - '"1000cb53-0000-0100-0000-63998c210000"' + - '"0601b8ff-0000-0100-0000-63f31ef80000"' expires: - '-1' pragma: @@ -979,7 +989,7 @@ interactions: ParameterSetName: - --id User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -988,10 +998,12 @@ interactions: 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": "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", + "2023-02-20T07:17:20.0315935Z", "lastModifiedBy": "xiaofanzhou@microsoft.com", + "lastModifiedByType": "User", "lastModifiedAt": "2023-02-20T07:18:40.1151744Z"}, + "properties": {"publicNetworkSolution": null, "configurationInfo": {"customizedKeys": + {"CONFLUENTCLOUD_KAFKA_BOOTSTRAPSERVER": "test_server"}, "additionalConfigurations": + null, "deleteOrUpdateBehavior": null, "action": null, "daprProperties": null}, + "provisioningState": "Succeeded", "targetService": {"endpoint": "xxx.eastus.azure.confluent.cloud:9092", "type": "ConfluentBootstrapServer"}, "authInfo": {"name": "Name", "secretInfo": {"secretType": "rawValue"}, "authType": "secret"}, "clientType": "dotnet", "scope": null, "vNetSolution": null, "secretStore": {"keyVaultId": null, "keyVaultSecretName": @@ -1000,17 +1012,17 @@ interactions: cache-control: - no-cache content-length: - - '966' + - '1143' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:41:35 GMT + - Mon, 20 Feb 2023 07:19:51 GMT etag: - - '"340041fc-0000-0100-0000-63998bff0000"' + - '"3a0023d4-0000-0100-0000-63f31ed50000"' expires: - '-1' mise-correlation-id: - - 8248314a-36e4-41c7-b904-d831a7f366d7 + - e42e17b9-6d40-40b1-86bd-af71c6e82b3e pragma: - no-cache strict-transport-security: @@ -1042,7 +1054,7 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (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-11-01-preview @@ -1051,7 +1063,7 @@ interactions: string: 'null' headers: azure-asyncoperation: - - 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 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bc774bf8-9981-4591-9220-e526e7854002*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2021-01-01-privatepreview cache-control: - no-cache content-length: @@ -1059,15 +1071,15 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:41:44 GMT + - Mon, 20 Feb 2023 07:19:59 GMT etag: - - '"3500f700-0000-0100-0000-63998c480000"' + - '"3a0066d5-0000-0100-0000-63f31f200000"' expires: - '-1' location: - - 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 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bc774bf8-9981-4591-9220-e526e7854002*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2021-01-01-privatepreview mise-correlation-id: - - 2a27f2de-2a7b-4b5f-9453-d457fbec82ed + - aa400d8f-2794-400e-86ad-71e8cf8ce491 pragma: - no-cache strict-transport-security: @@ -1095,28 +1107,28 @@ interactions: ParameterSetName: - --id --yes User-Agent: - - AZURECLI/2.43.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.8.8 + - AZURECLI/2.45.0 (PIP) azsdk-python-mgmt-servicelinker/1.2.0b1 Python/3.9.4 (Windows-10-10.0.22621-SP0) method: GET - 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 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bc774bf8-9981-4591-9220-e526e7854002*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C?api-version=2021-01-01-privatepreview response: body: - 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", + string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ServiceLinker/locations/EASTUS/operationStatuses/bc774bf8-9981-4591-9220-e526e7854002*9887C5AAC7B00E59759F8101142E918AF02389009398EC03D6BE5D72A5C93A8C", + "name": "bc774bf8-9981-4591-9220-e526e7854002*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:44.5553895Z", "endTime": - "2022-12-14T08:41:49.6345536Z", "properties": null}' + "status": "Succeeded", "startTime": "2023-02-20T07:20:00.065269Z", "endTime": + "2023-02-20T07:20:20.6385589Z", "properties": null}' headers: cache-control: - no-cache content-length: - - '696' + - '695' content-type: - application/json; charset=utf-8 date: - - Wed, 14 Dec 2022 08:42:15 GMT + - Mon, 20 Feb 2023 07:20:31 GMT etag: - - '"1000b254-0000-0100-0000-63998c4d0000"' + - '"0701e602-0000-0100-0000-63f31f340000"' 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 02ed7215ad3..7987ef27f05 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 @@ -45,7 +45,7 @@ def test_local_appconfig_e2e(self): # create connection self.cmd('connection create appconfig -g {} --connection {} --target-id {} ' - '--user-account --client-type python'.format(resource_group, name, target_id)) + '--user-account --client-type python --customized-keys AZURE_APPCONFIGURATION_ENDPOINT=test_endpoint'.format(resource_group, name, target_id)) # list connection connections = self.cmd( @@ -62,8 +62,8 @@ def test_local_appconfig_e2e(self): 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)) - + configs = self.cmd('connection generate-configuration --id {}'.format(connection_id)).get_output_in_json() + self.assertTrue(any(x.get('name') == 'test_endpoint' for x in configs.get('configurations'))) # validate connection self.cmd('connection validate --id {}'.format(connection_id)) @@ -1112,7 +1112,7 @@ def test_local_confluentkafka_e2e(self): 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)) + '--client-type python '.format(resource_group, name)) # list connection connections = self.cmd( @@ -1125,13 +1125,13 @@ def test_local_confluentkafka_e2e(self): connection_id = connections[0].get('id') # update connection - self.cmd('connection update confluent-cloud --connection {} ' - '--client-type dotnet --kafka-secret Secret'.format(name), + self.cmd('connection update confluent-cloud -g {} --connection {} ' + '--client-type dotnet --kafka-secret Secret --customized-keys CONFLUENTCLOUD_KAFKA_BOOTSTRAPSERVER=test_server'.format(resource_group, name), checks=[self.check('clientType', 'dotnet')]) # generate configuration - self.cmd('connection generate-configuration --id {}'.format(connection_id)) - + configs = self.cmd('connection generate-configuration --id {}'.format(connection_id)).get_output_in_json() + self.assertTrue(any(x.get('name') == 'test_server' for x in configs.get('configurations'))) # validate connection self.cmd('connection validate --id {}'.format(connection_id)) 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 868745fa14c..d19cc23b68c 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 @@ -43,7 +43,7 @@ def test_webapp_appconfig_e2e(self): # create connection self.cmd('webapp connection create appconfig --connection {} --source-id {} --target-id {} ' - '--system-identity --client-type python'.format(name, source_id, target_id)) + '--system-identity --client-type python --customized-keys AZURE_APPCONFIGURATION_ENDPOINT=test_endpoint'.format(name, source_id, target_id)) # list connection connections = self.cmd( @@ -61,8 +61,9 @@ def test_webapp_appconfig_e2e(self): checks = [ self.check('clientType', 'dotnet') ]) # list configuration - self.cmd('webapp connection list-configuration --id {}'.format(connection_id)) - + configs = self.cmd('webapp connection list-configuration --id {}'.format(connection_id)).get_output_in_json() + self.assertTrue(any(x.get('name') == 'test_endpoint' for x in configs.get('configurations'))) + # validate connection self.cmd('webapp connection validate --id {}'.format(connection_id)) @@ -1353,12 +1354,12 @@ def test_webapp_confluentkafka_e2e(self): # update connection self.cmd('webapp connection update confluent-cloud --connection {} ' - '--source-id {} --client-type dotnet --kafka-secret Secret'.format(name, source_id), + '--source-id {} --client-type dotnet --kafka-secret Secret --customized-keys CONFLUENTCLOUD_KAFKA_BOOTSTRAPSERVER=test_server'.format(name, source_id), checks = [ self.check('clientType', 'dotnet') ]) # list configuration - self.cmd('webapp connection list-configuration --id {}'.format(connection_id)) - + configs = self.cmd('webapp connection list-configuration --id {}'.format(connection_id)).get_output_in_json() + self.assertTrue(any(x.get('name') == 'test_server' for x in configs.get('configurations'))) # validate connection self.cmd('webapp connection validate --id {}'.format(connection_id))