diff --git a/linter_exclusions.yml b/linter_exclusions.yml index 00049d771f4..17f4037ad10 100644 --- a/linter_exclusions.yml +++ b/linter_exclusions.yml @@ -438,6 +438,16 @@ databox job mark-devices-shipped: deliver_package_details: rule_exclusions: - option_length_too_long +databricks access-connector create: + parameters: + user_assigned_identities: + rule_exclusions: + - option_length_too_long +databricks access-connector update: + parameters: + user_assigned_identities: + rule_exclusions: + - option_length_too_long databricks workspace create: parameters: managed_resource_group: @@ -446,6 +456,20 @@ databricks workspace create: require_infrastructure_encryption: rule_exclusions: - option_length_too_long + default_storage_firewall: + rule_exclusions: + - option_length_too_long + enhanced_security_compliance: + rule_exclusions: + - option_length_too_long +databricks workspace update: + parameters: + default_storage_firewall: + rule_exclusions: + - option_length_too_long + enhanced_security_compliance: + rule_exclusions: + - option_length_too_long databricks workspace vnet-peering create: parameters: allow_forwarded_traffic: diff --git a/src/databricks/HISTORY.rst b/src/databricks/HISTORY.rst index 477e92f1556..553e0937a74 100644 --- a/src/databricks/HISTORY.rst +++ b/src/databricks/HISTORY.rst @@ -2,6 +2,13 @@ Release History =============== +1.0.0 ++++++ +az databricks workspace create/update: Add --access-connector to associate an Access Connector Resource with workspace. +az databricks workspace create/update: Add --default-storage-firewall to set default storage firewall configuration information on workspace. +az databricks workspace create/update: Add --enhanced-security-compliance to enable the Enhanced Security and Compliance on workspace. +az databricks workspace delete: Add --force-deletion to delete all data on Uc enabled workspace. + 0.10.2 +++++ * az databricks workspace create/update: Add --disk-key-auto-rotation to enable the latest key version should be automatically. diff --git a/src/databricks/azext_databricks/aaz/latest/__init__.py b/src/databricks/azext_databricks/aaz/latest/__init__.py index 5757aea3175..f6acc11aa4e 100644 --- a/src/databricks/azext_databricks/aaz/latest/__init__.py +++ b/src/databricks/azext_databricks/aaz/latest/__init__.py @@ -4,3 +4,7 @@ # # Code generated by aaz-dev-tools # -------------------------------------------------------------------------------------------- + +# pylint: skip-file +# flake8: noqa + diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_create.py b/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_create.py index 3a825f4a0af..52ad64a9a9a 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_create.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_create.py @@ -19,15 +19,12 @@ class Create(AAZCommand): :example: Create a databricks accessConnector az databricks access-connector create --resource-group MyResourceGroup --name MyAccessConnector --location westus --identity-type SystemAssigned - - :example: Create a databricks accessConnector with identities - az databricks access-connector create --resource-group MyResourceGroup --name MyAccessConnector --location westus --identity-type UserAssigned --user-assigned-identities {"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}":{}} """ _aaz_info = { - "version": "2022-10-01-preview", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/accessconnectors/{}", "2022-10-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/accessconnectors/{}", "2024-05-01"], ] } @@ -176,7 +173,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2022-10-01-preview", + "api-version", "2024-05-01", required=True, ), } @@ -292,6 +289,13 @@ def _build_schema_on_200_201(cls): serialized_name="provisioningState", flags={"read_only": True}, ) + properties.refered_by = AAZListType( + serialized_name="referedBy", + flags={"read_only": True}, + ) + + refered_by = cls._schema_on_200_201.properties.refered_by + refered_by.Element = AAZStrType() system_data = cls._schema_on_200_201.system_data system_data.created_at = AAZStrType( diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_delete.py b/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_delete.py index 7664aafc6e4..53e14229615 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_delete.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_delete.py @@ -22,9 +22,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2022-10-01-preview", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/accessconnectors/{}", "2022-10-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/accessconnectors/{}", "2024-05-01"], ] } @@ -146,7 +146,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2022-10-01-preview", + "api-version", "2024-05-01", required=True, ), } diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_list.py b/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_list.py index 27d6788e895..d240e3150ff 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_list.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_list.py @@ -25,13 +25,15 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2022-10-01-preview", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/providers/microsoft.databricks/accessconnectors", "2022-10-01-preview"], - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/accessconnectors", "2022-10-01-preview"], + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.databricks/accessconnectors", "2024-05-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/accessconnectors", "2024-05-01"], ] } + AZ_SUPPORT_PAGINATION = True + def _handler(self, command_args): super()._handler(command_args) return self.build_paging(self._execute_operations, self._output) @@ -117,7 +119,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2022-10-01-preview", + "api-version", "2024-05-01", required=True, ), } @@ -213,6 +215,13 @@ def _build_schema_on_200(cls): serialized_name="provisioningState", flags={"read_only": True}, ) + properties.refered_by = AAZListType( + serialized_name="referedBy", + flags={"read_only": True}, + ) + + refered_by = cls._schema_on_200.value.Element.properties.refered_by + refered_by.Element = AAZStrType() system_data = cls._schema_on_200.value.Element.system_data system_data.created_at = AAZStrType( @@ -279,7 +288,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2022-10-01-preview", + "api-version", "2024-05-01", required=True, ), } @@ -375,6 +384,13 @@ def _build_schema_on_200(cls): serialized_name="provisioningState", flags={"read_only": True}, ) + properties.refered_by = AAZListType( + serialized_name="referedBy", + flags={"read_only": True}, + ) + + refered_by = cls._schema_on_200.value.Element.properties.refered_by + refered_by.Element = AAZStrType() system_data = cls._schema_on_200.value.Element.system_data system_data.created_at = AAZStrType( diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_show.py b/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_show.py index 5ecc8c56dea..56ac8edb238 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_show.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2022-10-01-preview", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/accessconnectors/{}", "2022-10-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/accessconnectors/{}", "2024-05-01"], ] } @@ -124,7 +124,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2022-10-01-preview", + "api-version", "2024-05-01", required=True, ), } @@ -211,6 +211,13 @@ def _build_schema_on_200(cls): serialized_name="provisioningState", flags={"read_only": True}, ) + properties.refered_by = AAZListType( + serialized_name="referedBy", + flags={"read_only": True}, + ) + + refered_by = cls._schema_on_200.properties.refered_by + refered_by.Element = AAZStrType() system_data = cls._schema_on_200.system_data system_data.created_at = AAZStrType( diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_update.py b/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_update.py index 825ff4c2e87..0be34e2bb2d 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_update.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_update.py @@ -19,15 +19,12 @@ class Update(AAZCommand): :example: Update a databricks accessConnector az databricks access-connector update --resource-group MyResourceGroup --name MyAccessConnector --location westus --identity-type SystemAssigned - - :example: Update a databricks accessConnector with identities - az databricks access-connector update --resource-group MyResourceGroup --name MyAccessConnector --identity-type UserAssigned --user-assigned-identities {"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}":{}} """ _aaz_info = { - "version": "2022-10-01-preview", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/accessconnectors/{}", "2022-10-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/accessconnectors/{}", "2024-05-01"], ] } @@ -174,7 +171,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2022-10-01-preview", + "api-version", "2024-05-01", required=True, ), } @@ -273,7 +270,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2022-10-01-preview", + "api-version", "2024-05-01", required=True, ), } @@ -433,6 +430,13 @@ def _build_schema_access_connector_read(cls, _schema): serialized_name="provisioningState", flags={"read_only": True}, ) + properties.refered_by = AAZListType( + serialized_name="referedBy", + flags={"read_only": True}, + ) + + refered_by = _schema_access_connector_read.properties.refered_by + refered_by.Element = AAZStrType() system_data = _schema_access_connector_read.system_data system_data.created_at = AAZStrType( diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_wait.py b/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_wait.py index 25a68471f66..6cba626a90a 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_wait.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/access_connector/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/accessconnectors/{}", "2022-10-01-preview"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/accessconnectors/{}", "2024-05-01"], ] } @@ -120,7 +120,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2022-10-01-preview", + "api-version", "2024-05-01", required=True, ), } @@ -207,6 +207,13 @@ def _build_schema_on_200(cls): serialized_name="provisioningState", flags={"read_only": True}, ) + properties.refered_by = AAZListType( + serialized_name="referedBy", + flags={"read_only": True}, + ) + + refered_by = cls._schema_on_200.properties.refered_by + refered_by.Element = AAZStrType() system_data = cls._schema_on_200.system_data system_data.created_at = AAZStrType( diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_create.py b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_create.py index 6cea09a1331..eb3769ca65f 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_create.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_create.py @@ -25,9 +25,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2023-02-01", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}", "2023-02-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}", "2024-05-01"], ] } @@ -180,6 +180,99 @@ def _build_arguments_schema(cls, *args, **kwargs): # define Arg Group "Properties" + _args_schema = cls._args_schema + _args_schema.access_connector = AAZObjectArg( + options=["--access-connector"], + arg_group="Properties", + help="Access Connector Resource that is going to be associated with Databricks Workspace", + ) + _args_schema.default_catalog = AAZObjectArg( + options=["--default-catalog"], + arg_group="Properties", + help="Properties for Default Catalog configuration during workspace creation.", + ) + _args_schema.default_storage_firewall = AAZStrArg( + options=["--default-storage-firewall"], + arg_group="Properties", + help="Gets or Sets Default Storage Firewall configuration information", + enum={"Disabled": "Disabled", "Enabled": "Enabled"}, + ) + _args_schema.enhanced_security_compliance = AAZObjectArg( + options=["--enhanced-security-compliance"], + arg_group="Properties", + help="Contains settings related to the Enhanced Security and Compliance Add-On.", + ) + + access_connector = cls._args_schema.access_connector + access_connector.id = AAZResourceIdArg( + options=["id"], + help="The resource ID of Azure Databricks Access Connector Resource.", + required=True, + ) + access_connector.identity_type = AAZStrArg( + options=["identity-type"], + help="The identity type of the Access Connector Resource.", + required=True, + enum={"SystemAssigned": "SystemAssigned", "UserAssigned": "UserAssigned"}, + ) + access_connector.user_assigned_identity_id = AAZResourceIdArg( + options=["user-assigned-identity-id"], + help="The resource ID of the User Assigned Identity associated with the Access Connector Resource. This is required for type 'UserAssigned' and not valid for type 'SystemAssigned'.", + ) + + default_catalog = cls._args_schema.default_catalog + default_catalog.initial_name = AAZStrArg( + options=["initial-name"], + help="Specifies the initial Name of default catalog. If not specified, the name of the workspace will be used.", + ) + default_catalog.initial_type = AAZStrArg( + options=["initial-type"], + help="Defines the initial type of the default catalog. Possible values (case-insensitive): HiveMetastore, UnityCatalog", + default="HiveMetastore", + enum={"HiveMetastore": "HiveMetastore", "UnityCatalog": "UnityCatalog"}, + ) + + enhanced_security_compliance = cls._args_schema.enhanced_security_compliance + enhanced_security_compliance.automatic_cluster_update = AAZObjectArg( + options=["automatic-cluster-update"], + help="Status of automated cluster updates feature.", + ) + enhanced_security_compliance.compliance_security_profile = AAZObjectArg( + options=["compliance-security-profile"], + help="Status of Compliance Security Profile feature.", + ) + enhanced_security_compliance.enhanced_security_monitoring = AAZObjectArg( + options=["enhanced-security-monitoring"], + help="Status of Enhanced Security Monitoring feature.", + ) + + automatic_cluster_update = cls._args_schema.enhanced_security_compliance.automatic_cluster_update + automatic_cluster_update.value = AAZStrArg( + options=["value"], + enum={"Disabled": "Disabled", "Enabled": "Enabled"}, + ) + + compliance_security_profile = cls._args_schema.enhanced_security_compliance.compliance_security_profile + compliance_security_profile.compliance_standards = AAZListArg( + options=["compliance-standards"], + help="Compliance standards associated with the workspace.", + ) + compliance_security_profile.value = AAZStrArg( + options=["value"], + enum={"Disabled": "Disabled", "Enabled": "Enabled"}, + ) + + compliance_standards = cls._args_schema.enhanced_security_compliance.compliance_security_profile.compliance_standards + compliance_standards.Element = AAZStrArg( + enum={"HIPAA": "HIPAA", "NONE": "NONE", "PCI_DSS": "PCI_DSS"}, + ) + + enhanced_security_monitoring = cls._args_schema.enhanced_security_compliance.enhanced_security_monitoring + enhanced_security_monitoring.value = AAZStrArg( + options=["value"], + enum={"Disabled": "Disabled", "Enabled": "Enabled"}, + ) + # define Arg Group "Sku" return cls._args_schema @@ -283,7 +376,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } @@ -315,12 +408,27 @@ def content(self): properties = _builder.get(".properties") if properties is not None: + properties.set_prop("accessConnector", AAZObjectType, ".access_connector") + properties.set_prop("defaultCatalog", AAZObjectType, ".default_catalog") + properties.set_prop("defaultStorageFirewall", AAZStrType, ".default_storage_firewall") properties.set_prop("encryption", AAZObjectType) + properties.set_prop("enhancedSecurityCompliance", AAZObjectType, ".enhanced_security_compliance") properties.set_prop("managedResourceGroupId", AAZStrType, ".managed_resource_group", typ_kwargs={"flags": {"required": True}}) properties.set_prop("parameters", AAZObjectType) properties.set_prop("publicNetworkAccess", AAZStrType, ".public_network_access") properties.set_prop("requiredNsgRules", AAZStrType, ".required_nsg_rules") + access_connector = _builder.get(".properties.accessConnector") + if access_connector is not None: + access_connector.set_prop("id", AAZStrType, ".id", typ_kwargs={"flags": {"required": True}}) + access_connector.set_prop("identityType", AAZStrType, ".identity_type", typ_kwargs={"flags": {"required": True}}) + access_connector.set_prop("userAssignedIdentityId", AAZStrType, ".user_assigned_identity_id") + + default_catalog = _builder.get(".properties.defaultCatalog") + if default_catalog is not None: + default_catalog.set_prop("initialName", AAZStrType, ".initial_name") + default_catalog.set_prop("initialType", AAZStrType, ".initial_type") + encryption = _builder.get(".properties.encryption") if encryption is not None: encryption.set_prop("entities", AAZObjectType, ".", typ_kwargs={"flags": {"required": True}}) @@ -353,6 +461,29 @@ def content(self): key_vault_properties.set_prop("keyVaultUri", AAZStrType, ".managed_services_key_vault", typ_kwargs={"flags": {"required": True}}) key_vault_properties.set_prop("keyVersion", AAZStrType, ".managed_services_key_version", typ_kwargs={"flags": {"required": True}}) + enhanced_security_compliance = _builder.get(".properties.enhancedSecurityCompliance") + if enhanced_security_compliance is not None: + enhanced_security_compliance.set_prop("automaticClusterUpdate", AAZObjectType, ".automatic_cluster_update") + enhanced_security_compliance.set_prop("complianceSecurityProfile", AAZObjectType, ".compliance_security_profile") + enhanced_security_compliance.set_prop("enhancedSecurityMonitoring", AAZObjectType, ".enhanced_security_monitoring") + + automatic_cluster_update = _builder.get(".properties.enhancedSecurityCompliance.automaticClusterUpdate") + if automatic_cluster_update is not None: + automatic_cluster_update.set_prop("value", AAZStrType, ".value") + + compliance_security_profile = _builder.get(".properties.enhancedSecurityCompliance.complianceSecurityProfile") + if compliance_security_profile is not None: + compliance_security_profile.set_prop("complianceStandards", AAZListType, ".compliance_standards") + compliance_security_profile.set_prop("value", AAZStrType, ".value") + + compliance_standards = _builder.get(".properties.enhancedSecurityCompliance.complianceSecurityProfile.complianceStandards") + if compliance_standards is not None: + compliance_standards.set_elements(AAZStrType, ".") + + enhanced_security_monitoring = _builder.get(".properties.enhancedSecurityCompliance.enhancedSecurityMonitoring") + if enhanced_security_monitoring is not None: + enhanced_security_monitoring.set_prop("value", AAZStrType, ".value") + parameters = _builder.get(".properties.parameters") if parameters is not None: parameters.set_prop("customPrivateSubnetName", AAZObjectType) @@ -437,6 +568,9 @@ def _build_schema_on_200_201(cls): ) properties = cls._schema_on_200_201.properties + properties.access_connector = AAZObjectType( + serialized_name="accessConnector", + ) properties.authorizations = AAZListType() properties.created_by = AAZObjectType( serialized_name="createdBy", @@ -446,11 +580,24 @@ def _build_schema_on_200_201(cls): serialized_name="createdDateTime", flags={"read_only": True}, ) + properties.default_catalog = AAZObjectType( + serialized_name="defaultCatalog", + ) + properties.default_storage_firewall = AAZStrType( + serialized_name="defaultStorageFirewall", + ) properties.disk_encryption_set_id = AAZStrType( serialized_name="diskEncryptionSetId", flags={"read_only": True}, ) properties.encryption = AAZObjectType() + properties.enhanced_security_compliance = AAZObjectType( + serialized_name="enhancedSecurityCompliance", + ) + properties.is_uc_enabled = AAZBoolType( + serialized_name="isUcEnabled", + flags={"read_only": True}, + ) properties.managed_disk_identity = AAZObjectType( serialized_name="managedDiskIdentity", ) @@ -494,6 +641,18 @@ def _build_schema_on_200_201(cls): flags={"read_only": True}, ) + access_connector = cls._schema_on_200_201.properties.access_connector + access_connector.id = AAZStrType( + flags={"required": True}, + ) + access_connector.identity_type = AAZStrType( + serialized_name="identityType", + flags={"required": True}, + ) + access_connector.user_assigned_identity_id = AAZStrType( + serialized_name="userAssignedIdentityId", + ) + authorizations = cls._schema_on_200_201.properties.authorizations authorizations.Element = AAZObjectType() @@ -507,6 +666,14 @@ def _build_schema_on_200_201(cls): flags={"required": True}, ) + default_catalog = cls._schema_on_200_201.properties.default_catalog + default_catalog.initial_name = AAZStrType( + serialized_name="initialName", + ) + default_catalog.initial_type = AAZStrType( + serialized_name="initialType", + ) + encryption = cls._schema_on_200_201.properties.encryption encryption.entities = AAZObjectType( flags={"required": True}, @@ -570,6 +737,32 @@ def _build_schema_on_200_201(cls): flags={"required": True}, ) + enhanced_security_compliance = cls._schema_on_200_201.properties.enhanced_security_compliance + enhanced_security_compliance.automatic_cluster_update = AAZObjectType( + serialized_name="automaticClusterUpdate", + ) + enhanced_security_compliance.compliance_security_profile = AAZObjectType( + serialized_name="complianceSecurityProfile", + ) + enhanced_security_compliance.enhanced_security_monitoring = AAZObjectType( + serialized_name="enhancedSecurityMonitoring", + ) + + automatic_cluster_update = cls._schema_on_200_201.properties.enhanced_security_compliance.automatic_cluster_update + automatic_cluster_update.value = AAZStrType() + + compliance_security_profile = cls._schema_on_200_201.properties.enhanced_security_compliance.compliance_security_profile + compliance_security_profile.compliance_standards = AAZListType( + serialized_name="complianceStandards", + ) + compliance_security_profile.value = AAZStrType() + + compliance_standards = cls._schema_on_200_201.properties.enhanced_security_compliance.compliance_security_profile.compliance_standards + compliance_standards.Element = AAZStrType() + + enhanced_security_monitoring = cls._schema_on_200_201.properties.enhanced_security_compliance.enhanced_security_monitoring + enhanced_security_monitoring.value = AAZStrType() + parameters = cls._schema_on_200_201.properties.parameters parameters.aml_workspace_id = AAZObjectType( serialized_name="amlWorkspaceId", @@ -590,7 +783,6 @@ def _build_schema_on_200_201(cls): parameters.enable_no_public_ip = AAZObjectType( serialized_name="enableNoPublicIp", ) - _CreateHelper._build_schema_workspace_custom_boolean_parameter_read(parameters.enable_no_public_ip) parameters.encryption = AAZObjectType() parameters.load_balancer_backend_pool_name = AAZObjectType( serialized_name="loadBalancerBackendPoolName", @@ -618,6 +810,7 @@ def _build_schema_on_200_201(cls): _CreateHelper._build_schema_workspace_custom_boolean_parameter_read(parameters.require_infrastructure_encryption) parameters.resource_tags = AAZObjectType( serialized_name="resourceTags", + flags={"read_only": True}, ) parameters.storage_account_name = AAZObjectType( serialized_name="storageAccountName", @@ -632,6 +825,14 @@ def _build_schema_on_200_201(cls): ) _CreateHelper._build_schema_workspace_custom_string_parameter_read(parameters.vnet_address_prefix) + enable_no_public_ip = cls._schema_on_200_201.properties.parameters.enable_no_public_ip + enable_no_public_ip.type = AAZStrType( + flags={"read_only": True}, + ) + enable_no_public_ip.value = AAZBoolType( + flags={"required": True}, + ) + encryption = cls._schema_on_200_201.properties.parameters.encryption encryption.type = AAZStrType( flags={"read_only": True}, @@ -652,6 +853,9 @@ def _build_schema_on_200_201(cls): resource_tags.type = AAZStrType( flags={"read_only": True}, ) + resource_tags.value = AAZFreeFormDictType( + flags={"required": True}, + ) private_endpoint_connections = cls._schema_on_200_201.properties.private_endpoint_connections private_endpoint_connections.Element = AAZObjectType() diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_delete.py b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_delete.py index 8e8be46391a..829b4aea2f4 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_delete.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_delete.py @@ -23,9 +23,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2023-02-01", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}", "2023-02-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}", "2024-05-01"], ] } @@ -59,6 +59,11 @@ def _build_arguments_schema(cls, *args, **kwargs): min_length=3, ), ) + _args_schema.force_deletion = AAZBoolArg( + options=["--force-deletion"], + help="Optional parameter to retain default unity catalog data. By default the data will retained if Uc is enabled on the workspace.", + default=False, + ) return cls._args_schema def _execute_operations(self): @@ -147,7 +152,10 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "forceDeletion", self.ctx.args.force_deletion, + ), + **self.serialize_query_param( + "api-version", "2024-05-01", required=True, ), } diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_list.py b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_list.py index 3b9a9ed7c92..65ea2d475ba 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_list.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_list.py @@ -25,13 +25,15 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-02-01", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/providers/microsoft.databricks/workspaces", "2023-02-01"], - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces", "2023-02-01"], + ["mgmt-plane", "/subscriptions/{}/providers/microsoft.databricks/workspaces", "2024-05-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces", "2024-05-01"], ] } + AZ_SUPPORT_PAGINATION = True + def _handler(self, command_args): super()._handler(command_args) return self.build_paging(self._execute_operations, self._output) @@ -117,7 +119,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } @@ -182,6 +184,9 @@ def _build_schema_on_200(cls): ) properties = cls._schema_on_200.value.Element.properties + properties.access_connector = AAZObjectType( + serialized_name="accessConnector", + ) properties.authorizations = AAZListType() properties.created_by = AAZObjectType( serialized_name="createdBy", @@ -191,11 +196,24 @@ def _build_schema_on_200(cls): serialized_name="createdDateTime", flags={"read_only": True}, ) + properties.default_catalog = AAZObjectType( + serialized_name="defaultCatalog", + ) + properties.default_storage_firewall = AAZStrType( + serialized_name="defaultStorageFirewall", + ) properties.disk_encryption_set_id = AAZStrType( serialized_name="diskEncryptionSetId", flags={"read_only": True}, ) properties.encryption = AAZObjectType() + properties.enhanced_security_compliance = AAZObjectType( + serialized_name="enhancedSecurityCompliance", + ) + properties.is_uc_enabled = AAZBoolType( + serialized_name="isUcEnabled", + flags={"read_only": True}, + ) properties.managed_disk_identity = AAZObjectType( serialized_name="managedDiskIdentity", ) @@ -239,6 +257,18 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) + access_connector = cls._schema_on_200.value.Element.properties.access_connector + access_connector.id = AAZStrType( + flags={"required": True}, + ) + access_connector.identity_type = AAZStrType( + serialized_name="identityType", + flags={"required": True}, + ) + access_connector.user_assigned_identity_id = AAZStrType( + serialized_name="userAssignedIdentityId", + ) + authorizations = cls._schema_on_200.value.Element.properties.authorizations authorizations.Element = AAZObjectType() @@ -252,6 +282,14 @@ def _build_schema_on_200(cls): flags={"required": True}, ) + default_catalog = cls._schema_on_200.value.Element.properties.default_catalog + default_catalog.initial_name = AAZStrType( + serialized_name="initialName", + ) + default_catalog.initial_type = AAZStrType( + serialized_name="initialType", + ) + encryption = cls._schema_on_200.value.Element.properties.encryption encryption.entities = AAZObjectType( flags={"required": True}, @@ -315,6 +353,32 @@ def _build_schema_on_200(cls): flags={"required": True}, ) + enhanced_security_compliance = cls._schema_on_200.value.Element.properties.enhanced_security_compliance + enhanced_security_compliance.automatic_cluster_update = AAZObjectType( + serialized_name="automaticClusterUpdate", + ) + enhanced_security_compliance.compliance_security_profile = AAZObjectType( + serialized_name="complianceSecurityProfile", + ) + enhanced_security_compliance.enhanced_security_monitoring = AAZObjectType( + serialized_name="enhancedSecurityMonitoring", + ) + + automatic_cluster_update = cls._schema_on_200.value.Element.properties.enhanced_security_compliance.automatic_cluster_update + automatic_cluster_update.value = AAZStrType() + + compliance_security_profile = cls._schema_on_200.value.Element.properties.enhanced_security_compliance.compliance_security_profile + compliance_security_profile.compliance_standards = AAZListType( + serialized_name="complianceStandards", + ) + compliance_security_profile.value = AAZStrType() + + compliance_standards = cls._schema_on_200.value.Element.properties.enhanced_security_compliance.compliance_security_profile.compliance_standards + compliance_standards.Element = AAZStrType() + + enhanced_security_monitoring = cls._schema_on_200.value.Element.properties.enhanced_security_compliance.enhanced_security_monitoring + enhanced_security_monitoring.value = AAZStrType() + parameters = cls._schema_on_200.value.Element.properties.parameters parameters.aml_workspace_id = AAZObjectType( serialized_name="amlWorkspaceId", @@ -335,7 +399,6 @@ def _build_schema_on_200(cls): parameters.enable_no_public_ip = AAZObjectType( serialized_name="enableNoPublicIp", ) - _ListHelper._build_schema_workspace_custom_boolean_parameter_read(parameters.enable_no_public_ip) parameters.encryption = AAZObjectType() parameters.load_balancer_backend_pool_name = AAZObjectType( serialized_name="loadBalancerBackendPoolName", @@ -363,6 +426,7 @@ def _build_schema_on_200(cls): _ListHelper._build_schema_workspace_custom_boolean_parameter_read(parameters.require_infrastructure_encryption) parameters.resource_tags = AAZObjectType( serialized_name="resourceTags", + flags={"read_only": True}, ) parameters.storage_account_name = AAZObjectType( serialized_name="storageAccountName", @@ -377,6 +441,14 @@ def _build_schema_on_200(cls): ) _ListHelper._build_schema_workspace_custom_string_parameter_read(parameters.vnet_address_prefix) + enable_no_public_ip = cls._schema_on_200.value.Element.properties.parameters.enable_no_public_ip + enable_no_public_ip.type = AAZStrType( + flags={"read_only": True}, + ) + enable_no_public_ip.value = AAZBoolType( + flags={"required": True}, + ) + encryption = cls._schema_on_200.value.Element.properties.parameters.encryption encryption.type = AAZStrType( flags={"read_only": True}, @@ -397,6 +469,9 @@ def _build_schema_on_200(cls): resource_tags.type = AAZStrType( flags={"read_only": True}, ) + resource_tags.value = AAZFreeFormDictType( + flags={"required": True}, + ) private_endpoint_connections = cls._schema_on_200.value.Element.properties.private_endpoint_connections private_endpoint_connections.Element = AAZObjectType() @@ -519,7 +594,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } @@ -584,6 +659,9 @@ def _build_schema_on_200(cls): ) properties = cls._schema_on_200.value.Element.properties + properties.access_connector = AAZObjectType( + serialized_name="accessConnector", + ) properties.authorizations = AAZListType() properties.created_by = AAZObjectType( serialized_name="createdBy", @@ -593,11 +671,24 @@ def _build_schema_on_200(cls): serialized_name="createdDateTime", flags={"read_only": True}, ) + properties.default_catalog = AAZObjectType( + serialized_name="defaultCatalog", + ) + properties.default_storage_firewall = AAZStrType( + serialized_name="defaultStorageFirewall", + ) properties.disk_encryption_set_id = AAZStrType( serialized_name="diskEncryptionSetId", flags={"read_only": True}, ) properties.encryption = AAZObjectType() + properties.enhanced_security_compliance = AAZObjectType( + serialized_name="enhancedSecurityCompliance", + ) + properties.is_uc_enabled = AAZBoolType( + serialized_name="isUcEnabled", + flags={"read_only": True}, + ) properties.managed_disk_identity = AAZObjectType( serialized_name="managedDiskIdentity", ) @@ -641,6 +732,18 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) + access_connector = cls._schema_on_200.value.Element.properties.access_connector + access_connector.id = AAZStrType( + flags={"required": True}, + ) + access_connector.identity_type = AAZStrType( + serialized_name="identityType", + flags={"required": True}, + ) + access_connector.user_assigned_identity_id = AAZStrType( + serialized_name="userAssignedIdentityId", + ) + authorizations = cls._schema_on_200.value.Element.properties.authorizations authorizations.Element = AAZObjectType() @@ -654,6 +757,14 @@ def _build_schema_on_200(cls): flags={"required": True}, ) + default_catalog = cls._schema_on_200.value.Element.properties.default_catalog + default_catalog.initial_name = AAZStrType( + serialized_name="initialName", + ) + default_catalog.initial_type = AAZStrType( + serialized_name="initialType", + ) + encryption = cls._schema_on_200.value.Element.properties.encryption encryption.entities = AAZObjectType( flags={"required": True}, @@ -717,6 +828,32 @@ def _build_schema_on_200(cls): flags={"required": True}, ) + enhanced_security_compliance = cls._schema_on_200.value.Element.properties.enhanced_security_compliance + enhanced_security_compliance.automatic_cluster_update = AAZObjectType( + serialized_name="automaticClusterUpdate", + ) + enhanced_security_compliance.compliance_security_profile = AAZObjectType( + serialized_name="complianceSecurityProfile", + ) + enhanced_security_compliance.enhanced_security_monitoring = AAZObjectType( + serialized_name="enhancedSecurityMonitoring", + ) + + automatic_cluster_update = cls._schema_on_200.value.Element.properties.enhanced_security_compliance.automatic_cluster_update + automatic_cluster_update.value = AAZStrType() + + compliance_security_profile = cls._schema_on_200.value.Element.properties.enhanced_security_compliance.compliance_security_profile + compliance_security_profile.compliance_standards = AAZListType( + serialized_name="complianceStandards", + ) + compliance_security_profile.value = AAZStrType() + + compliance_standards = cls._schema_on_200.value.Element.properties.enhanced_security_compliance.compliance_security_profile.compliance_standards + compliance_standards.Element = AAZStrType() + + enhanced_security_monitoring = cls._schema_on_200.value.Element.properties.enhanced_security_compliance.enhanced_security_monitoring + enhanced_security_monitoring.value = AAZStrType() + parameters = cls._schema_on_200.value.Element.properties.parameters parameters.aml_workspace_id = AAZObjectType( serialized_name="amlWorkspaceId", @@ -737,7 +874,6 @@ def _build_schema_on_200(cls): parameters.enable_no_public_ip = AAZObjectType( serialized_name="enableNoPublicIp", ) - _ListHelper._build_schema_workspace_custom_boolean_parameter_read(parameters.enable_no_public_ip) parameters.encryption = AAZObjectType() parameters.load_balancer_backend_pool_name = AAZObjectType( serialized_name="loadBalancerBackendPoolName", @@ -765,6 +901,7 @@ def _build_schema_on_200(cls): _ListHelper._build_schema_workspace_custom_boolean_parameter_read(parameters.require_infrastructure_encryption) parameters.resource_tags = AAZObjectType( serialized_name="resourceTags", + flags={"read_only": True}, ) parameters.storage_account_name = AAZObjectType( serialized_name="storageAccountName", @@ -779,6 +916,14 @@ def _build_schema_on_200(cls): ) _ListHelper._build_schema_workspace_custom_string_parameter_read(parameters.vnet_address_prefix) + enable_no_public_ip = cls._schema_on_200.value.Element.properties.parameters.enable_no_public_ip + enable_no_public_ip.type = AAZStrType( + flags={"read_only": True}, + ) + enable_no_public_ip.value = AAZBoolType( + flags={"required": True}, + ) + encryption = cls._schema_on_200.value.Element.properties.parameters.encryption encryption.type = AAZStrType( flags={"read_only": True}, @@ -799,6 +944,9 @@ def _build_schema_on_200(cls): resource_tags.type = AAZStrType( flags={"read_only": True}, ) + resource_tags.value = AAZFreeFormDictType( + flags={"required": True}, + ) private_endpoint_connections = cls._schema_on_200.value.Element.properties.private_endpoint_connections private_endpoint_connections.Element = AAZObjectType() diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_show.py b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_show.py index 92205adf812..a8fb391d5c0 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_show.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-02-01", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}", "2023-02-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}", "2024-05-01"], ] } @@ -124,7 +124,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } @@ -180,6 +180,9 @@ def _build_schema_on_200(cls): ) properties = cls._schema_on_200.properties + properties.access_connector = AAZObjectType( + serialized_name="accessConnector", + ) properties.authorizations = AAZListType() properties.created_by = AAZObjectType( serialized_name="createdBy", @@ -189,11 +192,24 @@ def _build_schema_on_200(cls): serialized_name="createdDateTime", flags={"read_only": True}, ) + properties.default_catalog = AAZObjectType( + serialized_name="defaultCatalog", + ) + properties.default_storage_firewall = AAZStrType( + serialized_name="defaultStorageFirewall", + ) properties.disk_encryption_set_id = AAZStrType( serialized_name="diskEncryptionSetId", flags={"read_only": True}, ) properties.encryption = AAZObjectType() + properties.enhanced_security_compliance = AAZObjectType( + serialized_name="enhancedSecurityCompliance", + ) + properties.is_uc_enabled = AAZBoolType( + serialized_name="isUcEnabled", + flags={"read_only": True}, + ) properties.managed_disk_identity = AAZObjectType( serialized_name="managedDiskIdentity", ) @@ -237,6 +253,18 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) + access_connector = cls._schema_on_200.properties.access_connector + access_connector.id = AAZStrType( + flags={"required": True}, + ) + access_connector.identity_type = AAZStrType( + serialized_name="identityType", + flags={"required": True}, + ) + access_connector.user_assigned_identity_id = AAZStrType( + serialized_name="userAssignedIdentityId", + ) + authorizations = cls._schema_on_200.properties.authorizations authorizations.Element = AAZObjectType() @@ -250,6 +278,14 @@ def _build_schema_on_200(cls): flags={"required": True}, ) + default_catalog = cls._schema_on_200.properties.default_catalog + default_catalog.initial_name = AAZStrType( + serialized_name="initialName", + ) + default_catalog.initial_type = AAZStrType( + serialized_name="initialType", + ) + encryption = cls._schema_on_200.properties.encryption encryption.entities = AAZObjectType( flags={"required": True}, @@ -313,6 +349,32 @@ def _build_schema_on_200(cls): flags={"required": True}, ) + enhanced_security_compliance = cls._schema_on_200.properties.enhanced_security_compliance + enhanced_security_compliance.automatic_cluster_update = AAZObjectType( + serialized_name="automaticClusterUpdate", + ) + enhanced_security_compliance.compliance_security_profile = AAZObjectType( + serialized_name="complianceSecurityProfile", + ) + enhanced_security_compliance.enhanced_security_monitoring = AAZObjectType( + serialized_name="enhancedSecurityMonitoring", + ) + + automatic_cluster_update = cls._schema_on_200.properties.enhanced_security_compliance.automatic_cluster_update + automatic_cluster_update.value = AAZStrType() + + compliance_security_profile = cls._schema_on_200.properties.enhanced_security_compliance.compliance_security_profile + compliance_security_profile.compliance_standards = AAZListType( + serialized_name="complianceStandards", + ) + compliance_security_profile.value = AAZStrType() + + compliance_standards = cls._schema_on_200.properties.enhanced_security_compliance.compliance_security_profile.compliance_standards + compliance_standards.Element = AAZStrType() + + enhanced_security_monitoring = cls._schema_on_200.properties.enhanced_security_compliance.enhanced_security_monitoring + enhanced_security_monitoring.value = AAZStrType() + parameters = cls._schema_on_200.properties.parameters parameters.aml_workspace_id = AAZObjectType( serialized_name="amlWorkspaceId", @@ -333,7 +395,6 @@ def _build_schema_on_200(cls): parameters.enable_no_public_ip = AAZObjectType( serialized_name="enableNoPublicIp", ) - _ShowHelper._build_schema_workspace_custom_boolean_parameter_read(parameters.enable_no_public_ip) parameters.encryption = AAZObjectType() parameters.load_balancer_backend_pool_name = AAZObjectType( serialized_name="loadBalancerBackendPoolName", @@ -361,6 +422,7 @@ def _build_schema_on_200(cls): _ShowHelper._build_schema_workspace_custom_boolean_parameter_read(parameters.require_infrastructure_encryption) parameters.resource_tags = AAZObjectType( serialized_name="resourceTags", + flags={"read_only": True}, ) parameters.storage_account_name = AAZObjectType( serialized_name="storageAccountName", @@ -375,6 +437,14 @@ def _build_schema_on_200(cls): ) _ShowHelper._build_schema_workspace_custom_string_parameter_read(parameters.vnet_address_prefix) + enable_no_public_ip = cls._schema_on_200.properties.parameters.enable_no_public_ip + enable_no_public_ip.type = AAZStrType( + flags={"read_only": True}, + ) + enable_no_public_ip.value = AAZBoolType( + flags={"required": True}, + ) + encryption = cls._schema_on_200.properties.parameters.encryption encryption.type = AAZStrType( flags={"read_only": True}, @@ -395,6 +465,9 @@ def _build_schema_on_200(cls): resource_tags.type = AAZStrType( flags={"read_only": True}, ) + resource_tags.value = AAZFreeFormDictType( + flags={"required": True}, + ) private_endpoint_connections = cls._schema_on_200.properties.private_endpoint_connections private_endpoint_connections.Element = AAZObjectType() diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_update.py b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_update.py index e4afc22206c..66a86d796e7 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_update.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_update.py @@ -34,9 +34,9 @@ class Update(AAZCommand): """ _aaz_info = { - "version": "2023-02-01", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}", "2023-02-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}", "2024-05-01"], ] } @@ -200,6 +200,111 @@ def _build_arguments_schema(cls, *args, **kwargs): # define Arg Group "Properties" + _args_schema = cls._args_schema + _args_schema.access_connector = AAZObjectArg( + options=["--access-connector"], + arg_group="Properties", + help="Access Connector Resource that is going to be associated with Databricks Workspace", + nullable=True, + ) + _args_schema.default_catalog = AAZObjectArg( + options=["--default-catalog"], + arg_group="Properties", + help="Properties for Default Catalog configuration during workspace creation.", + nullable=True, + ) + _args_schema.default_storage_firewall = AAZStrArg( + options=["--default-storage-firewall"], + arg_group="Properties", + help="Gets or Sets Default Storage Firewall configuration information", + nullable=True, + enum={"Disabled": "Disabled", "Enabled": "Enabled"}, + ) + _args_schema.enhanced_security_compliance = AAZObjectArg( + options=["--enhanced-security-compliance"], + arg_group="Properties", + help="Contains settings related to the Enhanced Security and Compliance Add-On.", + nullable=True, + ) + + access_connector = cls._args_schema.access_connector + access_connector.id = AAZResourceIdArg( + options=["id"], + help="The resource ID of Azure Databricks Access Connector Resource.", + ) + access_connector.identity_type = AAZStrArg( + options=["identity-type"], + help="The identity type of the Access Connector Resource.", + enum={"SystemAssigned": "SystemAssigned", "UserAssigned": "UserAssigned"}, + ) + access_connector.user_assigned_identity_id = AAZResourceIdArg( + options=["user-assigned-identity-id"], + help="The resource ID of the User Assigned Identity associated with the Access Connector Resource. This is required for type 'UserAssigned' and not valid for type 'SystemAssigned'.", + nullable=True, + ) + + default_catalog = cls._args_schema.default_catalog + default_catalog.initial_name = AAZStrArg( + options=["initial-name"], + help="Specifies the initial Name of default catalog. If not specified, the name of the workspace will be used.", + nullable=True, + ) + default_catalog.initial_type = AAZStrArg( + options=["initial-type"], + help="Defines the initial type of the default catalog. Possible values (case-insensitive): HiveMetastore, UnityCatalog", + nullable=True, + enum={"HiveMetastore": "HiveMetastore", "UnityCatalog": "UnityCatalog"}, + ) + + enhanced_security_compliance = cls._args_schema.enhanced_security_compliance + enhanced_security_compliance.automatic_cluster_update = AAZObjectArg( + options=["automatic-cluster-update"], + help="Status of automated cluster updates feature.", + nullable=True, + ) + enhanced_security_compliance.compliance_security_profile = AAZObjectArg( + options=["compliance-security-profile"], + help="Status of Compliance Security Profile feature.", + nullable=True, + ) + enhanced_security_compliance.enhanced_security_monitoring = AAZObjectArg( + options=["enhanced-security-monitoring"], + help="Status of Enhanced Security Monitoring feature.", + nullable=True, + ) + + automatic_cluster_update = cls._args_schema.enhanced_security_compliance.automatic_cluster_update + automatic_cluster_update.value = AAZStrArg( + options=["value"], + nullable=True, + enum={"Disabled": "Disabled", "Enabled": "Enabled"}, + ) + + compliance_security_profile = cls._args_schema.enhanced_security_compliance.compliance_security_profile + compliance_security_profile.compliance_standards = AAZListArg( + options=["compliance-standards"], + help="Compliance standards associated with the workspace.", + nullable=True, + ) + compliance_security_profile.value = AAZStrArg( + options=["value"], + nullable=True, + enum={"Disabled": "Disabled", "Enabled": "Enabled"}, + ) + + compliance_standards = cls._args_schema.enhanced_security_compliance.compliance_security_profile.compliance_standards + compliance_standards.Element = AAZStrArg( + nullable=True, + enum={"HIPAA": "HIPAA", "NONE": "NONE", "PCI_DSS": "PCI_DSS"}, + ) + + enhanced_security_monitoring = cls._args_schema.enhanced_security_compliance.enhanced_security_monitoring + enhanced_security_monitoring.value = AAZStrArg( + options=["value"], + nullable=True, + enum={"Disabled": "Disabled", "Enabled": "Enabled"}, + ) + # define Arg Group "Sku" return cls._args_schema @@ -321,7 +426,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } @@ -420,7 +525,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } @@ -484,11 +589,26 @@ def _update_instance(self, instance): properties = _builder.get(".properties") if properties is not None: + properties.set_prop("accessConnector", AAZObjectType, ".access_connector") + properties.set_prop("defaultCatalog", AAZObjectType, ".default_catalog") + properties.set_prop("defaultStorageFirewall", AAZStrType, ".default_storage_firewall") properties.set_prop("encryption", AAZObjectType) + properties.set_prop("enhancedSecurityCompliance", AAZObjectType, ".enhanced_security_compliance") properties.set_prop("parameters", AAZObjectType) properties.set_prop("publicNetworkAccess", AAZStrType, ".public_network_access") properties.set_prop("requiredNsgRules", AAZStrType, ".required_nsg_rules") + access_connector = _builder.get(".properties.accessConnector") + if access_connector is not None: + access_connector.set_prop("id", AAZStrType, ".id", typ_kwargs={"flags": {"required": True}}) + access_connector.set_prop("identityType", AAZStrType, ".identity_type", typ_kwargs={"flags": {"required": True}}) + access_connector.set_prop("userAssignedIdentityId", AAZStrType, ".user_assigned_identity_id") + + default_catalog = _builder.get(".properties.defaultCatalog") + if default_catalog is not None: + default_catalog.set_prop("initialName", AAZStrType, ".initial_name") + default_catalog.set_prop("initialType", AAZStrType, ".initial_type") + encryption = _builder.get(".properties.encryption") if encryption is not None: encryption.set_prop("entities", AAZObjectType, ".", typ_kwargs={"flags": {"required": True}}) @@ -521,6 +641,29 @@ def _update_instance(self, instance): key_vault_properties.set_prop("keyVaultUri", AAZStrType, ".managed_services_key_vault", typ_kwargs={"flags": {"required": True}}) key_vault_properties.set_prop("keyVersion", AAZStrType, ".managed_services_key_version", typ_kwargs={"flags": {"required": True}}) + enhanced_security_compliance = _builder.get(".properties.enhancedSecurityCompliance") + if enhanced_security_compliance is not None: + enhanced_security_compliance.set_prop("automaticClusterUpdate", AAZObjectType, ".automatic_cluster_update") + enhanced_security_compliance.set_prop("complianceSecurityProfile", AAZObjectType, ".compliance_security_profile") + enhanced_security_compliance.set_prop("enhancedSecurityMonitoring", AAZObjectType, ".enhanced_security_monitoring") + + automatic_cluster_update = _builder.get(".properties.enhancedSecurityCompliance.automaticClusterUpdate") + if automatic_cluster_update is not None: + automatic_cluster_update.set_prop("value", AAZStrType, ".value") + + compliance_security_profile = _builder.get(".properties.enhancedSecurityCompliance.complianceSecurityProfile") + if compliance_security_profile is not None: + compliance_security_profile.set_prop("complianceStandards", AAZListType, ".compliance_standards") + compliance_security_profile.set_prop("value", AAZStrType, ".value") + + compliance_standards = _builder.get(".properties.enhancedSecurityCompliance.complianceSecurityProfile.complianceStandards") + if compliance_standards is not None: + compliance_standards.set_elements(AAZStrType, ".") + + enhanced_security_monitoring = _builder.get(".properties.enhancedSecurityCompliance.enhancedSecurityMonitoring") + if enhanced_security_monitoring is not None: + enhanced_security_monitoring.set_prop("value", AAZStrType, ".value") + parameters = _builder.get(".properties.parameters") if parameters is not None: parameters.set_prop("enableNoPublicIp", AAZObjectType) @@ -727,6 +870,9 @@ def _build_schema_workspace_read(cls, _schema): ) properties = _schema_workspace_read.properties + properties.access_connector = AAZObjectType( + serialized_name="accessConnector", + ) properties.authorizations = AAZListType() properties.created_by = AAZObjectType( serialized_name="createdBy", @@ -736,11 +882,24 @@ def _build_schema_workspace_read(cls, _schema): serialized_name="createdDateTime", flags={"read_only": True}, ) + properties.default_catalog = AAZObjectType( + serialized_name="defaultCatalog", + ) + properties.default_storage_firewall = AAZStrType( + serialized_name="defaultStorageFirewall", + ) properties.disk_encryption_set_id = AAZStrType( serialized_name="diskEncryptionSetId", flags={"read_only": True}, ) properties.encryption = AAZObjectType() + properties.enhanced_security_compliance = AAZObjectType( + serialized_name="enhancedSecurityCompliance", + ) + properties.is_uc_enabled = AAZBoolType( + serialized_name="isUcEnabled", + flags={"read_only": True}, + ) properties.managed_disk_identity = AAZObjectType( serialized_name="managedDiskIdentity", ) @@ -784,6 +943,18 @@ def _build_schema_workspace_read(cls, _schema): flags={"read_only": True}, ) + access_connector = _schema_workspace_read.properties.access_connector + access_connector.id = AAZStrType( + flags={"required": True}, + ) + access_connector.identity_type = AAZStrType( + serialized_name="identityType", + flags={"required": True}, + ) + access_connector.user_assigned_identity_id = AAZStrType( + serialized_name="userAssignedIdentityId", + ) + authorizations = _schema_workspace_read.properties.authorizations authorizations.Element = AAZObjectType() @@ -797,6 +968,14 @@ def _build_schema_workspace_read(cls, _schema): flags={"required": True}, ) + default_catalog = _schema_workspace_read.properties.default_catalog + default_catalog.initial_name = AAZStrType( + serialized_name="initialName", + ) + default_catalog.initial_type = AAZStrType( + serialized_name="initialType", + ) + encryption = _schema_workspace_read.properties.encryption encryption.entities = AAZObjectType( flags={"required": True}, @@ -860,6 +1039,32 @@ def _build_schema_workspace_read(cls, _schema): flags={"required": True}, ) + enhanced_security_compliance = _schema_workspace_read.properties.enhanced_security_compliance + enhanced_security_compliance.automatic_cluster_update = AAZObjectType( + serialized_name="automaticClusterUpdate", + ) + enhanced_security_compliance.compliance_security_profile = AAZObjectType( + serialized_name="complianceSecurityProfile", + ) + enhanced_security_compliance.enhanced_security_monitoring = AAZObjectType( + serialized_name="enhancedSecurityMonitoring", + ) + + automatic_cluster_update = _schema_workspace_read.properties.enhanced_security_compliance.automatic_cluster_update + automatic_cluster_update.value = AAZStrType() + + compliance_security_profile = _schema_workspace_read.properties.enhanced_security_compliance.compliance_security_profile + compliance_security_profile.compliance_standards = AAZListType( + serialized_name="complianceStandards", + ) + compliance_security_profile.value = AAZStrType() + + compliance_standards = _schema_workspace_read.properties.enhanced_security_compliance.compliance_security_profile.compliance_standards + compliance_standards.Element = AAZStrType() + + enhanced_security_monitoring = _schema_workspace_read.properties.enhanced_security_compliance.enhanced_security_monitoring + enhanced_security_monitoring.value = AAZStrType() + parameters = _schema_workspace_read.properties.parameters parameters.aml_workspace_id = AAZObjectType( serialized_name="amlWorkspaceId", @@ -880,7 +1085,6 @@ def _build_schema_workspace_read(cls, _schema): parameters.enable_no_public_ip = AAZObjectType( serialized_name="enableNoPublicIp", ) - cls._build_schema_workspace_custom_boolean_parameter_read(parameters.enable_no_public_ip) parameters.encryption = AAZObjectType() parameters.load_balancer_backend_pool_name = AAZObjectType( serialized_name="loadBalancerBackendPoolName", @@ -908,6 +1112,7 @@ def _build_schema_workspace_read(cls, _schema): cls._build_schema_workspace_custom_boolean_parameter_read(parameters.require_infrastructure_encryption) parameters.resource_tags = AAZObjectType( serialized_name="resourceTags", + flags={"read_only": True}, ) parameters.storage_account_name = AAZObjectType( serialized_name="storageAccountName", @@ -922,6 +1127,14 @@ def _build_schema_workspace_read(cls, _schema): ) cls._build_schema_workspace_custom_string_parameter_read(parameters.vnet_address_prefix) + enable_no_public_ip = _schema_workspace_read.properties.parameters.enable_no_public_ip + enable_no_public_ip.type = AAZStrType( + flags={"read_only": True}, + ) + enable_no_public_ip.value = AAZBoolType( + flags={"required": True}, + ) + encryption = _schema_workspace_read.properties.parameters.encryption encryption.type = AAZStrType( flags={"read_only": True}, @@ -942,6 +1155,9 @@ def _build_schema_workspace_read(cls, _schema): resource_tags.type = AAZStrType( flags={"read_only": True}, ) + resource_tags.value = AAZFreeFormDictType( + flags={"required": True}, + ) private_endpoint_connections = _schema_workspace_read.properties.private_endpoint_connections private_endpoint_connections.Element = AAZObjectType() diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_wait.py b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_wait.py index 94f6a66eed6..22d7bc3aaad 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_wait.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}", "2023-02-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}", "2024-05-01"], ] } @@ -120,7 +120,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } @@ -176,6 +176,9 @@ def _build_schema_on_200(cls): ) properties = cls._schema_on_200.properties + properties.access_connector = AAZObjectType( + serialized_name="accessConnector", + ) properties.authorizations = AAZListType() properties.created_by = AAZObjectType( serialized_name="createdBy", @@ -185,11 +188,24 @@ def _build_schema_on_200(cls): serialized_name="createdDateTime", flags={"read_only": True}, ) + properties.default_catalog = AAZObjectType( + serialized_name="defaultCatalog", + ) + properties.default_storage_firewall = AAZStrType( + serialized_name="defaultStorageFirewall", + ) properties.disk_encryption_set_id = AAZStrType( serialized_name="diskEncryptionSetId", flags={"read_only": True}, ) properties.encryption = AAZObjectType() + properties.enhanced_security_compliance = AAZObjectType( + serialized_name="enhancedSecurityCompliance", + ) + properties.is_uc_enabled = AAZBoolType( + serialized_name="isUcEnabled", + flags={"read_only": True}, + ) properties.managed_disk_identity = AAZObjectType( serialized_name="managedDiskIdentity", ) @@ -233,6 +249,18 @@ def _build_schema_on_200(cls): flags={"read_only": True}, ) + access_connector = cls._schema_on_200.properties.access_connector + access_connector.id = AAZStrType( + flags={"required": True}, + ) + access_connector.identity_type = AAZStrType( + serialized_name="identityType", + flags={"required": True}, + ) + access_connector.user_assigned_identity_id = AAZStrType( + serialized_name="userAssignedIdentityId", + ) + authorizations = cls._schema_on_200.properties.authorizations authorizations.Element = AAZObjectType() @@ -246,6 +274,14 @@ def _build_schema_on_200(cls): flags={"required": True}, ) + default_catalog = cls._schema_on_200.properties.default_catalog + default_catalog.initial_name = AAZStrType( + serialized_name="initialName", + ) + default_catalog.initial_type = AAZStrType( + serialized_name="initialType", + ) + encryption = cls._schema_on_200.properties.encryption encryption.entities = AAZObjectType( flags={"required": True}, @@ -309,6 +345,32 @@ def _build_schema_on_200(cls): flags={"required": True}, ) + enhanced_security_compliance = cls._schema_on_200.properties.enhanced_security_compliance + enhanced_security_compliance.automatic_cluster_update = AAZObjectType( + serialized_name="automaticClusterUpdate", + ) + enhanced_security_compliance.compliance_security_profile = AAZObjectType( + serialized_name="complianceSecurityProfile", + ) + enhanced_security_compliance.enhanced_security_monitoring = AAZObjectType( + serialized_name="enhancedSecurityMonitoring", + ) + + automatic_cluster_update = cls._schema_on_200.properties.enhanced_security_compliance.automatic_cluster_update + automatic_cluster_update.value = AAZStrType() + + compliance_security_profile = cls._schema_on_200.properties.enhanced_security_compliance.compliance_security_profile + compliance_security_profile.compliance_standards = AAZListType( + serialized_name="complianceStandards", + ) + compliance_security_profile.value = AAZStrType() + + compliance_standards = cls._schema_on_200.properties.enhanced_security_compliance.compliance_security_profile.compliance_standards + compliance_standards.Element = AAZStrType() + + enhanced_security_monitoring = cls._schema_on_200.properties.enhanced_security_compliance.enhanced_security_monitoring + enhanced_security_monitoring.value = AAZStrType() + parameters = cls._schema_on_200.properties.parameters parameters.aml_workspace_id = AAZObjectType( serialized_name="amlWorkspaceId", @@ -329,7 +391,6 @@ def _build_schema_on_200(cls): parameters.enable_no_public_ip = AAZObjectType( serialized_name="enableNoPublicIp", ) - _WaitHelper._build_schema_workspace_custom_boolean_parameter_read(parameters.enable_no_public_ip) parameters.encryption = AAZObjectType() parameters.load_balancer_backend_pool_name = AAZObjectType( serialized_name="loadBalancerBackendPoolName", @@ -357,6 +418,7 @@ def _build_schema_on_200(cls): _WaitHelper._build_schema_workspace_custom_boolean_parameter_read(parameters.require_infrastructure_encryption) parameters.resource_tags = AAZObjectType( serialized_name="resourceTags", + flags={"read_only": True}, ) parameters.storage_account_name = AAZObjectType( serialized_name="storageAccountName", @@ -371,6 +433,14 @@ def _build_schema_on_200(cls): ) _WaitHelper._build_schema_workspace_custom_string_parameter_read(parameters.vnet_address_prefix) + enable_no_public_ip = cls._schema_on_200.properties.parameters.enable_no_public_ip + enable_no_public_ip.type = AAZStrType( + flags={"read_only": True}, + ) + enable_no_public_ip.value = AAZBoolType( + flags={"required": True}, + ) + encryption = cls._schema_on_200.properties.parameters.encryption encryption.type = AAZStrType( flags={"read_only": True}, @@ -391,6 +461,9 @@ def _build_schema_on_200(cls): resource_tags.type = AAZStrType( flags={"read_only": True}, ) + resource_tags.value = AAZFreeFormDictType( + flags={"required": True}, + ) private_endpoint_connections = cls._schema_on_200.properties.private_endpoint_connections private_endpoint_connections.Element = AAZObjectType() diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/outbound_endpoint/_list.py b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/outbound_endpoint/_list.py index 5f69d5c8652..2c7d4480dfe 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/outbound_endpoint/_list.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/outbound_endpoint/_list.py @@ -19,9 +19,9 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-02-01", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/outboundnetworkdependenciesendpoints", "2023-02-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/outboundnetworkdependenciesendpoints", "2024-05-01"], ] } @@ -120,7 +120,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_create.py b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_create.py index 9dca20b63db..6dca303bda0 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_create.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_create.py @@ -19,9 +19,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2023-02-01", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/privateendpointconnections/{}", "2023-02-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/privateendpointconnections/{}", "2024-05-01"], ] } @@ -183,7 +183,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_delete.py b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_delete.py index d626f362255..4c0163dfd18 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_delete.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_delete.py @@ -19,9 +19,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2023-02-01", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/privateendpointconnections/{}", "2023-02-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/privateendpointconnections/{}", "2024-05-01"], ] } @@ -153,7 +153,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_list.py b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_list.py index e225510ce4b..bfeee418674 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_list.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_list.py @@ -19,12 +19,14 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-02-01", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/privateendpointconnections", "2023-02-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/privateendpointconnections", "2024-05-01"], ] } + AZ_SUPPORT_PAGINATION = True + def _handler(self, command_args): super()._handler(command_args) return self.build_paging(self._execute_operations, self._output) @@ -120,7 +122,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_show.py b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_show.py index 5c821b32695..8a0581be5bc 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_show.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_show.py @@ -19,9 +19,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-02-01", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/privateendpointconnections/{}", "2023-02-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/privateendpointconnections/{}", "2024-05-01"], ] } @@ -131,7 +131,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_update.py b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_update.py index 3fbca57873c..8f6cf7e9c41 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_update.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_update.py @@ -19,9 +19,9 @@ class Update(AAZCommand): """ _aaz_info = { - "version": "2023-02-01", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/privateendpointconnections/{}", "2023-02-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/privateendpointconnections/{}", "2024-05-01"], ] } @@ -188,7 +188,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } @@ -291,7 +291,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_wait.py b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_wait.py index 1cd755dcb77..37b1b4cbd9f 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_wait.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_endpoint_connection/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/privateendpointconnections/{}", "2023-02-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/privateendpointconnections/{}", "2024-05-01"], ] } @@ -130,7 +130,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_link_resource/_list.py b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_link_resource/_list.py index 8376770921c..f8de39124a3 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_link_resource/_list.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_link_resource/_list.py @@ -19,12 +19,14 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-02-01", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/privatelinkresources", "2023-02-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/privatelinkresources", "2024-05-01"], ] } + AZ_SUPPORT_PAGINATION = True + def _handler(self, command_args): super()._handler(command_args) return self.build_paging(self._execute_operations, self._output) @@ -120,7 +122,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_link_resource/_show.py b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_link_resource/_show.py index 849ada10718..f1fd7318413 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_link_resource/_show.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/private_link_resource/_show.py @@ -19,9 +19,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-02-01", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/privatelinkresources/{}", "2023-02-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/privatelinkresources/{}", "2024-05-01"], ] } @@ -131,7 +131,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_create.py b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_create.py index 9ac685f0908..6a4adeef740 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_create.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_create.py @@ -22,9 +22,9 @@ class Create(AAZCommand): """ _aaz_info = { - "version": "2023-02-01", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/virtualnetworkpeerings/{}", "2023-02-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/virtualnetworkpeerings/{}", "2024-05-01"], ] } @@ -192,7 +192,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_delete.py b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_delete.py index ee9784adfb4..7c78f26c65a 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_delete.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_delete.py @@ -22,9 +22,9 @@ class Delete(AAZCommand): """ _aaz_info = { - "version": "2023-02-01", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/virtualnetworkpeerings/{}", "2023-02-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/virtualnetworkpeerings/{}", "2024-05-01"], ] } @@ -156,7 +156,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_list.py b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_list.py index e61508d8ab2..55e547e7293 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_list.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_list.py @@ -22,12 +22,14 @@ class List(AAZCommand): """ _aaz_info = { - "version": "2023-02-01", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/virtualnetworkpeerings", "2023-02-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/virtualnetworkpeerings", "2024-05-01"], ] } + AZ_SUPPORT_PAGINATION = True + def _handler(self, command_args): super()._handler(command_args) return self.build_paging(self._execute_operations, self._output) @@ -123,7 +125,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_show.py b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_show.py index f7a1fe2cd99..990060dac25 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_show.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_show.py @@ -22,9 +22,9 @@ class Show(AAZCommand): """ _aaz_info = { - "version": "2023-02-01", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/virtualnetworkpeerings/{}", "2023-02-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/virtualnetworkpeerings/{}", "2024-05-01"], ] } @@ -136,7 +136,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_update.py b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_update.py index 3e03f41a4a7..3252e296062 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_update.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_update.py @@ -22,9 +22,9 @@ class Update(AAZCommand): """ _aaz_info = { - "version": "2023-02-01", + "version": "2024-05-01", "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/virtualnetworkpeerings/{}", "2023-02-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/virtualnetworkpeerings/{}", "2024-05-01"], ] } @@ -200,7 +200,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } @@ -306,7 +306,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } diff --git a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_wait.py b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_wait.py index 9f418ebda13..9b80c408a29 100644 --- a/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_wait.py +++ b/src/databricks/azext_databricks/aaz/latest/databricks/workspace/vnet_peering/_wait.py @@ -20,7 +20,7 @@ class Wait(AAZWaitCommand): _aaz_info = { "resources": [ - ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/virtualnetworkpeerings/{}", "2023-02-01"], + ["mgmt-plane", "/subscriptions/{}/resourcegroups/{}/providers/microsoft.databricks/workspaces/{}/virtualnetworkpeerings/{}", "2024-05-01"], ] } @@ -132,7 +132,7 @@ def url_parameters(self): def query_parameters(self): parameters = { **self.serialize_query_param( - "api-version", "2023-02-01", + "api-version", "2024-05-01", required=True, ), } diff --git a/src/databricks/azext_databricks/azext_metadata.json b/src/databricks/azext_databricks/azext_metadata.json index a90205356c0..34f7fac3fed 100644 --- a/src/databricks/azext_databricks/azext_metadata.json +++ b/src/databricks/azext_databricks/azext_metadata.json @@ -1,3 +1,3 @@ -{ - "azext.minCliCoreVersion": "2.45.0" +{ + "azext.minCliCoreVersion": "2.57.0" } \ No newline at end of file diff --git a/src/databricks/azext_databricks/commands.py b/src/databricks/azext_databricks/commands.py index fc8c2080262..f856d99e8ea 100644 --- a/src/databricks/azext_databricks/commands.py +++ b/src/databricks/azext_databricks/commands.py @@ -6,9 +6,6 @@ # pylint: disable=too-many-lines # pylint: disable=too-many-statements -from azure.cli.core.commands import CliCommandType - - def load_command_table(self, _): with self.command_group('databricks workspace'): diff --git a/src/databricks/azext_databricks/custom.py b/src/databricks/azext_databricks/custom.py index 744e7e5c0b7..f929d170515 100644 --- a/src/databricks/azext_databricks/custom.py +++ b/src/databricks/azext_databricks/custom.py @@ -23,6 +23,7 @@ def id_generator(size=13, chars=string.ascii_lowercase + string.digits): class DatabricksWorkspaceCreate(_DatabricksWorkspaceCreate): @classmethod + # pylint: disable=protected-access def _build_arguments_schema(cls, *args, **kwargs): from azure.cli.core.aaz import AAZResourceIdArgFormat args_schema = super()._build_arguments_schema(*args, **kwargs) @@ -36,7 +37,7 @@ def _build_arguments_schema(cls, *args, **kwargs): def pre_operations(self): from msrestazure.tools import is_valid_resource_id, resource_id - """Parse managed resource_group which can be either resource group name or id, generate a randomized name if not provided""" + # """Parse managed resource_group which can be either resource group name or id, generate a randomized name if not provided""" args = self.ctx.args subscription_id = self.ctx.subscription_id workspace_name = args.name.to_serialized_data() @@ -61,6 +62,7 @@ def pre_operations(self): class DatabricksWorkspaceUpdate(_DatabricksWorkspaceUpdate): @classmethod + # pylint: disable=protected-access def _build_arguments_schema(cls, *args, **kwargs): args_schema = super()._build_arguments_schema(*args, **kwargs) args_schema.disk_key_source._registered = False @@ -78,6 +80,7 @@ def pre_operations(self): class WorkspaceVnetPeeringCreate(_WorkspaceVnetPeeringCreate): @classmethod + # pylint: disable=protected-access def _build_arguments_schema(cls, *args, **kwargs): from azure.cli.core.aaz import AAZResourceIdArgFormat args_schema = super()._build_arguments_schema(*args, **kwargs) diff --git a/src/databricks/azext_databricks/tests/latest/recordings/test_access_connector.yaml b/src/databricks/azext_databricks/tests/latest/recordings/test_access_connector.yaml index 165ff28f149..0692abcfc38 100644 --- a/src/databricks/azext_databricks/tests/latest/recordings/test_access_connector.yaml +++ b/src/databricks/azext_databricks/tests/latest/recordings/test_access_connector.yaml @@ -19,7 +19,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2022-10-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector","name":"my-test-access-connector","type":"Microsoft.Databricks/accessConnectors","location":"westus","identity":{"principalId":"cd6e35bd-b885-428b-b088-8f80111b8045","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded"},"systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2023-03-15T01:38:36.9500447+00:00","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-15T01:38:36.9500447+00:00"}}' @@ -63,7 +63,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2022-10-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector","name":"my-test-access-connector","type":"Microsoft.Databricks/accessConnectors","location":"westus","identity":{"principalId":"cd6e35bd-b885-428b-b088-8f80111b8045","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","type":"SystemAssigned"},"properties":{"provisioningState":"Succeeded"},"systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2023-03-15T01:38:36.9500447+00:00","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-15T01:38:36.9500447+00:00"}}' @@ -116,7 +116,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2022-10-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector","name":"my-test-access-connector","type":"Microsoft.Databricks/accessConnectors","location":"westus","identity":{"type":"None"},"tags":{"key":"value"},"properties":{"provisioningState":"Succeeded"},"systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2023-03-15T01:38:36.9500447+00:00","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-15T01:38:41.6954616+00:00"}}' @@ -164,7 +164,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors?api-version=2022-10-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors?api-version=2024-05-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector","name":"my-test-access-connector","type":"Microsoft.Databricks/accessConnectors","location":"westus","identity":{"type":"None"},"tags":{"key":"value"},"properties":{"provisioningState":"Succeeded"},"systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2023-03-15T01:38:36.9500447+00:00","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-15T01:38:41.6954616+00:00"}}]}' @@ -212,7 +212,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2022-10-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector","name":"my-test-access-connector","type":"Microsoft.Databricks/accessConnectors","location":"westus","identity":{"type":"None"},"tags":{"key":"value"},"properties":{"provisioningState":"Succeeded"},"systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2023-03-15T01:38:36.9500447+00:00","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-15T01:38:41.6954616+00:00"}}' @@ -262,7 +262,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2022-10-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2024-05-01 response: body: string: '' diff --git a/src/databricks/azext_databricks/tests/latest/recordings/test_access_connector_v2.yaml b/src/databricks/azext_databricks/tests/latest/recordings/test_access_connector_v2.yaml index 31f481cdb9a..c859c53aa81 100644 --- a/src/databricks/azext_databricks/tests/latest/recordings/test_access_connector_v2.yaml +++ b/src/databricks/azext_databricks/tests/latest/recordings/test_access_connector_v2.yaml @@ -110,7 +110,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2022-10-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector","name":"my-test-access-connector","type":"Microsoft.Databricks/accessConnectors","location":"westus","identity":{"userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_access_connector000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-test-identity":{"principalId":"8bbf1ae3-d775-4e2a-bffc-469340428102","clientId":"2383fa67-01c5-4f09-83ae-7a0b22013e3d"}},"type":"UserAssigned"},"properties":{"provisioningState":"Succeeded"},"systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2023-03-24T07:29:51.1679197+00:00","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-24T07:29:51.1679197+00:00"}}' @@ -156,7 +156,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2022-10-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2024-05-01 response: body: string: '' @@ -202,7 +202,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2022-10-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector","name":"my-test-access-connector","type":"Microsoft.Databricks/accessConnectors","location":"westus","identity":{"type":"None"},"properties":{"provisioningState":"Succeeded"},"systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2023-03-24T07:30:02.4492261+00:00","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-24T07:30:02.4492261+00:00"}}' @@ -246,7 +246,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2022-10-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector","name":"my-test-access-connector","type":"Microsoft.Databricks/accessConnectors","location":"westus","identity":{"type":"None"},"properties":{"provisioningState":"Succeeded"},"systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2023-03-24T07:30:02.4492261+00:00","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-24T07:30:02.4492261+00:00"}}' @@ -299,7 +299,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2022-10-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector","name":"my-test-access-connector","type":"Microsoft.Databricks/accessConnectors","location":"westus","identity":{"userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_access_connector000001/providers/Microsoft.ManagedIdentity/userAssignedIdentities/my-test-identity":{"principalId":"8bbf1ae3-d775-4e2a-bffc-469340428102","clientId":"2383fa67-01c5-4f09-83ae-7a0b22013e3d"}},"type":"UserAssigned"},"properties":{"provisioningState":"Succeeded"},"systemData":{"createdBy":"v-taoxuzeng@microsoft.com","createdByType":"User","createdAt":"2023-03-24T07:30:02.4492261+00:00","lastModifiedBy":"v-taoxuzeng@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2023-03-24T07:30:07.3067099+00:00"}}' @@ -349,7 +349,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2022-10-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_access_connector000001/providers/Microsoft.Databricks/accessConnectors/my-test-access-connector?api-version=2024-05-01 response: body: string: '' diff --git a/src/databricks/azext_databricks/tests/latest/recordings/test_databricks.yaml b/src/databricks/azext_databricks/tests/latest/recordings/test_databricks.yaml index 9da38cb3a7b..7e467950184 100644 --- a/src/databricks/azext_databricks/tests/latest/recordings/test_databricks.yaml +++ b/src/databricks/azext_databricks/tests/latest/recordings/test_databricks.yaml @@ -21,7 +21,7 @@ interactions: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-my-test-workspace-dydj16hrsmnmy","provisioningState":"Accepted","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"createdDateTime":"2023-03-28T23:44:49.2099325Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace","name":"my-test-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"eastus"}' @@ -520,7 +520,7 @@ interactions: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-my-test-workspace-dydj16hrsmnmy","parameters":{"enableFedRampCertification":{"type":"Bool","value":false},"enableNoPublicIp":{"type":"Bool","value":true},"natGatewayName":{"type":"String","value":"nat-gateway"},"prepareEncryption":{"type":"Bool","value":false},"publicIpName":{"type":"String","value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"type":"Bool","value":false},"resourceTags":{"type":"Object","value":{"application":"databricks","databricks-environment":"true"}},"storageAccountName":{"type":"String","value":"dbstorageqreynae4475sc"},"storageAccountSkuName":{"type":"String","value":"Standard_GRS"},"vnetAddressPrefix":{"type":"String","value":"10.139"}},"provisioningState":"Succeeded","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"workspaceId":"478134717476299","workspaceUrl":"adb-478134717476299.19.azuredatabricks.net","createdDateTime":"2023-03-28T23:44:49.2099325Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace","name":"my-test-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"eastus"}' @@ -574,7 +574,7 @@ interactions: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-custom-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-custom-workspace?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/custom-managed-rg","provisioningState":"Accepted","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"createdDateTime":"2023-03-28T23:47:22.8974965Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-custom-workspace","name":"my-custom-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"standard"},"location":"westus","tags":{"env":"dev"}}' @@ -1073,7 +1073,7 @@ interactions: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-custom-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-custom-workspace?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/custom-managed-rg","parameters":{"enableFedRampCertification":{"type":"Bool","value":false},"enableNoPublicIp":{"type":"Bool","value":false},"natGatewayName":{"type":"String","value":"nat-gateway"},"prepareEncryption":{"type":"Bool","value":false},"publicIpName":{"type":"String","value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"type":"Bool","value":false},"resourceTags":{"type":"Object","value":{"application":"databricks","databricks-environment":"true","env":"dev"}},"storageAccountName":{"type":"String","value":"dbstoragekdp7jidvgdcuc"},"storageAccountSkuName":{"type":"String","value":"Standard_GRS"},"vnetAddressPrefix":{"type":"String","value":"10.139"}},"provisioningState":"Succeeded","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"workspaceId":"2155277698924075","workspaceUrl":"adb-2155277698924075.15.azuredatabricks.net","createdDateTime":"2023-03-28T23:47:22.8974965Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-custom-workspace","name":"my-custom-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"standard"},"location":"westus","tags":{"env":"dev"}}' @@ -1122,7 +1122,7 @@ interactions: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-my-test-workspace-dydj16hrsmnmy","parameters":{"enableFedRampCertification":{"type":"Bool","value":false},"enableNoPublicIp":{"type":"Bool","value":true},"natGatewayName":{"type":"String","value":"nat-gateway"},"prepareEncryption":{"type":"Bool","value":false},"publicIpName":{"type":"String","value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"type":"Bool","value":false},"resourceTags":{"type":"Object","value":{"application":"databricks","databricks-environment":"true"}},"storageAccountName":{"type":"String","value":"dbstorageqreynae4475sc"},"storageAccountSkuName":{"type":"String","value":"Standard_GRS"},"vnetAddressPrefix":{"type":"String","value":"10.139"}},"provisioningState":"Succeeded","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"workspaceId":"478134717476299","workspaceUrl":"adb-478134717476299.19.azuredatabricks.net","createdDateTime":"2023-03-28T23:44:49.2099325Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace","name":"my-test-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"eastus"}' @@ -1183,7 +1183,7 @@ interactions: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-my-test-workspace-dydj16hrsmnmy","parameters":{"enableNoPublicIp":{"value":true},"natGatewayName":{"value":"nat-gateway"},"prepareEncryption":{"value":true},"publicIpName":{"value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"value":false},"storageAccountName":{"value":"dbstorageqreynae4475sc"},"storageAccountSkuName":{"value":"Standard_GRS"},"vnetAddressPrefix":{"value":"10.139"}},"provisioningState":"Updating","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{},"updatedBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"createdDateTime":"2023-03-28T23:49:56.3148459Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace","name":"my-test-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"eastus","tags":{"type":"test","env":"dev"}}' @@ -1367,7 +1367,7 @@ interactions: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-my-test-workspace-dydj16hrsmnmy","parameters":{"enableFedRampCertification":{"type":"Bool","value":false},"enableNoPublicIp":{"type":"Bool","value":true},"natGatewayName":{"type":"String","value":"nat-gateway"},"prepareEncryption":{"type":"Bool","value":true},"publicIpName":{"type":"String","value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"type":"Bool","value":false},"resourceTags":{"type":"Object","value":{"application":"databricks","databricks-environment":"true"}},"storageAccountName":{"type":"String","value":"dbstorageqreynae4475sc"},"storageAccountSkuName":{"type":"String","value":"Standard_GRS"},"vnetAddressPrefix":{"type":"String","value":"10.139"}},"provisioningState":"Succeeded","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"workspaceId":"478134717476299","workspaceUrl":"adb-478134717476299.19.azuredatabricks.net","createdDateTime":"2023-03-28T23:44:49.2099325Z","storageAccountIdentity":{"principalId":"ec5e4fea-42ae-48a9-988f-78605902a956","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","type":"SystemAssigned"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace","name":"my-test-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"eastus","tags":{"type":"test","env":"dev"}}' @@ -1765,7 +1765,7 @@ interactions: - azsdk-python-keyvault-keys/4.8.0b2 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 method: POST - uri: https://clitest000002.vault.azure.net/keys/testkey/create?api-version=7.4-preview.1 + uri: https://clitest000002.vault.azure.net/keys/testkey/create?api-version=7.5-preview.1 response: body: string: '{"error":{"code":"Unauthorized","message":"AKV10000: Request is missing @@ -1816,7 +1816,7 @@ interactions: - azsdk-python-keyvault-keys/4.8.0b2 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 method: POST - uri: https://clitest000002.vault.azure.net/keys/testkey/create?api-version=7.4-preview.1 + uri: https://clitest000002.vault.azure.net/keys/testkey/create?api-version=7.5-preview.1 response: body: string: '{"key":{"kid":"https://clitest000002.vault.azure.net/keys/testkey/d26e591ddc2d4756b8ed6c1d6b9f676c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"2sqQZOKPuoF29poXXaokJvMsw2DOEnrlmjbIoZlICW2Vco0DUaduUMrnvcrKD5_XrKbFgNHe9hyPih8NRqVP5ioFk81lDqhmAym5Xu9znItM8AMwkNLXuM7aaamzG7kFqy2UrF_0rR2xN_cuKK8GexUq7ROCtpSh5kc4rs0FfeDhmUiZQHBxqWZy4sgjREwt85EUx8xbiwm8lii4t6-vQpdfL0R93-WITmKYxrnogNLH2edQCiZ4RDYoO2Ka-n0z8uNL8f8RYNdbrBj3BqNfGFyitJFWH7o8OVuXpMsPYQCoZvLSyrKxgvqfdAnIEI6-9-RT3QHSpfqxIskIfP-eJQ","e":"AQAB"},"attributes":{"enabled":true,"created":1680047446,"updated":1680047446,"recoveryLevel":"CustomizedRecoverable","recoverableDays":7,"exportable":false}}' @@ -1863,7 +1863,7 @@ interactions: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-my-test-workspace-dydj16hrsmnmy","parameters":{"enableFedRampCertification":{"type":"Bool","value":false},"enableNoPublicIp":{"type":"Bool","value":true},"natGatewayName":{"type":"String","value":"nat-gateway"},"prepareEncryption":{"type":"Bool","value":true},"publicIpName":{"type":"String","value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"type":"Bool","value":false},"resourceTags":{"type":"Object","value":{"application":"databricks","databricks-environment":"true"}},"storageAccountName":{"type":"String","value":"dbstorageqreynae4475sc"},"storageAccountSkuName":{"type":"String","value":"Standard_GRS"},"vnetAddressPrefix":{"type":"String","value":"10.139"}},"provisioningState":"Succeeded","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"workspaceId":"478134717476299","workspaceUrl":"adb-478134717476299.19.azuredatabricks.net","createdDateTime":"2023-03-28T23:44:49.2099325Z","storageAccountIdentity":{"principalId":"ec5e4fea-42ae-48a9-988f-78605902a956","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","type":"SystemAssigned"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace","name":"my-test-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"eastus","tags":{"type":"test","env":"dev"}}' @@ -1927,7 +1927,7 @@ interactions: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-my-test-workspace-dydj16hrsmnmy","parameters":{"enableNoPublicIp":{"value":true},"encryption":{"value":{"KeyName":"testkey","keySource":"Microsoft.Keyvault","keyvaulturi":"https://clitest000002.vault.azure.net/","keyversion":"d26e591ddc2d4756b8ed6c1d6b9f676c"}},"natGatewayName":{"value":"nat-gateway"},"prepareEncryption":{"value":true},"publicIpName":{"value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"value":false},"storageAccountName":{"value":"dbstorageqreynae4475sc"},"storageAccountSkuName":{"value":"Standard_GRS"},"vnetAddressPrefix":{"value":"10.139"}},"provisioningState":"Updating","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{},"updatedBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"createdDateTime":"2023-03-28T23:50:47.0055876Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace","name":"my-test-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"eastus","tags":{"type":"test","env":"dev"}}' @@ -2111,7 +2111,7 @@ interactions: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-my-test-workspace-dydj16hrsmnmy","parameters":{"enableFedRampCertification":{"type":"Bool","value":false},"enableNoPublicIp":{"type":"Bool","value":true},"natGatewayName":{"type":"String","value":"nat-gateway"},"prepareEncryption":{"type":"Bool","value":true},"publicIpName":{"type":"String","value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"type":"Bool","value":false},"resourceTags":{"type":"Object","value":{"application":"databricks","databricks-environment":"true"}},"storageAccountName":{"type":"String","value":"dbstorageqreynae4475sc"},"storageAccountSkuName":{"type":"String","value":"Standard_GRS"},"vnetAddressPrefix":{"type":"String","value":"10.139"},"encryption":{"type":"Object","value":{"keySource":"Microsoft.Keyvault","keyvaulturi":"https://clitest000002.vault.azure.net/","KeyName":"testkey","keyversion":"d26e591ddc2d4756b8ed6c1d6b9f676c"}}},"provisioningState":"Succeeded","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"workspaceId":"478134717476299","workspaceUrl":"adb-478134717476299.19.azuredatabricks.net","createdDateTime":"2023-03-28T23:44:49.2099325Z","storageAccountIdentity":{"principalId":"ec5e4fea-42ae-48a9-988f-78605902a956","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","type":"SystemAssigned"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace","name":"my-test-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"eastus","tags":{"type":"test","env":"dev"}}' @@ -2160,7 +2160,7 @@ interactions: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-my-test-workspace-dydj16hrsmnmy","parameters":{"enableFedRampCertification":{"type":"Bool","value":false},"enableNoPublicIp":{"type":"Bool","value":true},"natGatewayName":{"type":"String","value":"nat-gateway"},"prepareEncryption":{"type":"Bool","value":true},"publicIpName":{"type":"String","value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"type":"Bool","value":false},"resourceTags":{"type":"Object","value":{"application":"databricks","databricks-environment":"true"}},"storageAccountName":{"type":"String","value":"dbstorageqreynae4475sc"},"storageAccountSkuName":{"type":"String","value":"Standard_GRS"},"vnetAddressPrefix":{"type":"String","value":"10.139"},"encryption":{"type":"Object","value":{"keySource":"Microsoft.Keyvault","keyvaulturi":"https://clitest000002.vault.azure.net/","KeyName":"testkey","keyversion":"d26e591ddc2d4756b8ed6c1d6b9f676c"}}},"provisioningState":"Succeeded","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"workspaceId":"478134717476299","workspaceUrl":"adb-478134717476299.19.azuredatabricks.net","createdDateTime":"2023-03-28T23:44:49.2099325Z","storageAccountIdentity":{"principalId":"ec5e4fea-42ae-48a9-988f-78605902a956","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","type":"SystemAssigned"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace","name":"my-test-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"eastus","tags":{"type":"test","env":"dev"}}' @@ -2224,7 +2224,7 @@ interactions: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-my-test-workspace-dydj16hrsmnmy","parameters":{"enableNoPublicIp":{"value":true},"encryption":{"value":{"KeyName":"testkey","keySource":"Default","keyvaulturi":"https://clitest000002.vault.azure.net/","keyversion":"d26e591ddc2d4756b8ed6c1d6b9f676c"}},"natGatewayName":{"value":"nat-gateway"},"prepareEncryption":{"value":true},"publicIpName":{"value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"value":false},"storageAccountName":{"value":"dbstorageqreynae4475sc"},"storageAccountSkuName":{"value":"Standard_GRS"},"vnetAddressPrefix":{"value":"10.139"}},"provisioningState":"Updating","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{},"updatedBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"createdDateTime":"2023-03-28T23:51:35.3850774Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace","name":"my-test-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"eastus","tags":{"type":"test","env":"dev"}}' @@ -2408,7 +2408,7 @@ interactions: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-my-test-workspace-dydj16hrsmnmy","parameters":{"enableFedRampCertification":{"type":"Bool","value":false},"enableNoPublicIp":{"type":"Bool","value":true},"natGatewayName":{"type":"String","value":"nat-gateway"},"prepareEncryption":{"type":"Bool","value":true},"publicIpName":{"type":"String","value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"type":"Bool","value":false},"resourceTags":{"type":"Object","value":{"application":"databricks","databricks-environment":"true"}},"storageAccountName":{"type":"String","value":"dbstorageqreynae4475sc"},"storageAccountSkuName":{"type":"String","value":"Standard_GRS"},"vnetAddressPrefix":{"type":"String","value":"10.139"},"encryption":{"type":"Object","value":{"keySource":"Default"}}},"provisioningState":"Succeeded","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"workspaceId":"478134717476299","workspaceUrl":"adb-478134717476299.19.azuredatabricks.net","createdDateTime":"2023-03-28T23:44:49.2099325Z","storageAccountIdentity":{"principalId":"ec5e4fea-42ae-48a9-988f-78605902a956","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","type":"SystemAssigned"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace","name":"my-test-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"eastus","tags":{"type":"test","env":"dev"}}' @@ -2457,7 +2457,7 @@ interactions: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-my-test-workspace-dydj16hrsmnmy","parameters":{"enableFedRampCertification":{"type":"Bool","value":false},"enableNoPublicIp":{"type":"Bool","value":true},"natGatewayName":{"type":"String","value":"nat-gateway"},"prepareEncryption":{"type":"Bool","value":true},"publicIpName":{"type":"String","value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"type":"Bool","value":false},"resourceTags":{"type":"Object","value":{"application":"databricks","databricks-environment":"true"}},"storageAccountName":{"type":"String","value":"dbstorageqreynae4475sc"},"storageAccountSkuName":{"type":"String","value":"Standard_GRS"},"vnetAddressPrefix":{"type":"String","value":"10.139"},"encryption":{"type":"Object","value":{"keySource":"Default"}}},"provisioningState":"Succeeded","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"workspaceId":"478134717476299","workspaceUrl":"adb-478134717476299.19.azuredatabricks.net","createdDateTime":"2023-03-28T23:44:49.2099325Z","storageAccountIdentity":{"principalId":"ec5e4fea-42ae-48a9-988f-78605902a956","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","type":"SystemAssigned"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace","name":"my-test-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"eastus","tags":{"type":"test","env":"dev"}}' @@ -2506,7 +2506,7 @@ interactions: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-my-test-workspace-dydj16hrsmnmy","parameters":{"enableFedRampCertification":{"type":"Bool","value":false},"enableNoPublicIp":{"type":"Bool","value":true},"natGatewayName":{"type":"String","value":"nat-gateway"},"prepareEncryption":{"type":"Bool","value":true},"publicIpName":{"type":"String","value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"type":"Bool","value":false},"resourceTags":{"type":"Object","value":{"application":"databricks","databricks-environment":"true"}},"storageAccountName":{"type":"String","value":"dbstorageqreynae4475sc"},"storageAccountSkuName":{"type":"String","value":"Standard_GRS"},"vnetAddressPrefix":{"type":"String","value":"10.139"},"encryption":{"type":"Object","value":{"keySource":"Default"}}},"provisioningState":"Succeeded","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"workspaceId":"478134717476299","workspaceUrl":"adb-478134717476299.19.azuredatabricks.net","createdDateTime":"2023-03-28T23:44:49.2099325Z","storageAccountIdentity":{"principalId":"ec5e4fea-42ae-48a9-988f-78605902a956","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","type":"SystemAssigned"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace","name":"my-test-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"eastus","tags":{"type":"test","env":"dev"}}' @@ -2555,7 +2555,7 @@ interactions: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces?api-version=2024-05-01 response: body: string: '{"value":[{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/custom-managed-rg","parameters":{"enableFedRampCertification":{"type":"Bool","value":false},"enableNoPublicIp":{"type":"Bool","value":false},"natGatewayName":{"type":"String","value":"nat-gateway"},"prepareEncryption":{"type":"Bool","value":false},"publicIpName":{"type":"String","value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"type":"Bool","value":false},"resourceTags":{"type":"Object","value":{"application":"databricks","databricks-environment":"true","env":"dev"}},"storageAccountName":{"type":"String","value":"dbstoragekdp7jidvgdcuc"},"storageAccountSkuName":{"type":"String","value":"Standard_GRS"},"vnetAddressPrefix":{"type":"String","value":"10.139"}},"provisioningState":"Succeeded","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"workspaceId":"2155277698924075","workspaceUrl":"adb-2155277698924075.15.azuredatabricks.net","createdDateTime":"2023-03-28T23:47:22.8974965Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-custom-workspace","name":"my-custom-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"standard"},"location":"westus","tags":{"env":"dev"}},{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-my-test-workspace-dydj16hrsmnmy","parameters":{"enableFedRampCertification":{"type":"Bool","value":false},"enableNoPublicIp":{"type":"Bool","value":true},"natGatewayName":{"type":"String","value":"nat-gateway"},"prepareEncryption":{"type":"Bool","value":true},"publicIpName":{"type":"String","value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"type":"Bool","value":false},"resourceTags":{"type":"Object","value":{"application":"databricks","databricks-environment":"true"}},"storageAccountName":{"type":"String","value":"dbstorageqreynae4475sc"},"storageAccountSkuName":{"type":"String","value":"Standard_GRS"},"vnetAddressPrefix":{"type":"String","value":"10.139"},"encryption":{"type":"Object","value":{"keySource":"Default"}}},"provisioningState":"Succeeded","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"6b30bdc6-696a-46fb-82d7-739c2fb147b7","puid":"10032001DE188A0E","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"workspaceId":"478134717476299","workspaceUrl":"adb-478134717476299.19.azuredatabricks.net","createdDateTime":"2023-03-28T23:44:49.2099325Z","storageAccountIdentity":{"principalId":"ec5e4fea-42ae-48a9-988f-78605902a956","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","type":"SystemAssigned"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace","name":"my-test-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"eastus","tags":{"type":"test","env":"dev"}}]}' @@ -2605,7 +2605,7 @@ interactions: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?forceDeletion=false&api-version=2024-05-01 response: body: string: '' @@ -3149,7 +3149,7 @@ interactions: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.10.10 (Linux-5.15.0-1034-azure-x86_64-with-glibc2.31) VSTS_7b238909-6802-4b65-b90d-184bca47f458_build_261_0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-custom-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks000001/providers/Microsoft.Databricks/workspaces/my-custom-workspace?forceDeletion=false&api-version=2024-05-01 response: body: string: '' diff --git a/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_create_v1.yaml b/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_create_v1.yaml index f096ce98aeb..14dac5d5d05 100644 --- a/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_create_v1.yaml +++ b/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_create_v1.yaml @@ -24,7 +24,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_create_v1000001/providers/Microsoft.Databricks/workspaces/workspace000002?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_create_v1000001/providers/Microsoft.Databricks/workspaces/workspace000002?api-version=2024-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"encryption\": {\r\n \"entities\": @@ -518,7 +518,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_create_v1000001/providers/Microsoft.Databricks/workspaces/workspace000002?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_create_v1000001/providers/Microsoft.Databricks/workspaces/workspace000002?api-version=2024-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"encryption\": {\r\n \"entities\": @@ -602,7 +602,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_create_v1000001/providers/Microsoft.Databricks/workspaces/workspace000002?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_create_v1000001/providers/Microsoft.Databricks/workspaces/workspace000002?forceDeletion=false&api-version=2024-05-01 response: body: string: '' diff --git a/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_create_v2.yaml b/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_create_v2.yaml index cf1d4423b86..6668cbb37fa 100644 --- a/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_create_v2.yaml +++ b/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_create_v2.yaml @@ -179,7 +179,7 @@ interactions: User-Agent: - azsdk-python-keyvault-keys/4.8.0b2 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: POST - uri: https://clitest000002.vault.azure.net/keys/testkey/create?api-version=7.4-preview.1 + uri: https://clitest000002.vault.azure.net/keys/testkey/create?api-version=7.5-preview.1 response: body: string: '{"error":{"code":"Unauthorized","message":"AKV10000: Request is missing @@ -229,7 +229,7 @@ interactions: User-Agent: - azsdk-python-keyvault-keys/4.8.0b2 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: POST - uri: https://clitest000002.vault.azure.net/keys/testkey/create?api-version=7.4-preview.1 + uri: https://clitest000002.vault.azure.net/keys/testkey/create?api-version=7.5-preview.1 response: body: string: '{"key":{"kid":"https://clitest000002.vault.azure.net/keys/testkey/9cc96bd7ef49422fbc35b368934b927e","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"yCjjxnr52iQUoInsmMthqIOHaOnfq2jQQKpp0u_T74SdZbPdTVCmma4EMsh6eUwpM1WjcyS6C45eVwRKvE-J6jsMlF5yo9pQ48TWg2t9SADz09Ych5rmyHuGKRwCOM9fXQQmgFmcsbVbkaPe0gZ6RS6-LHV4fUwdFmEHIJ9OrhHHqjTv8Y_FF17Ho4Zj72-Rmn27WhXx2cWiUswrJPxYp1jnHbqE29RtNA4YBn8a0FOG3MB6M1Fiu2CB5KH3J389ZMxmFdpO9ELsyoVCh115e5CdD7IVFxC-TN0Hv1fzn6M-2oAIY7PaHm7T1lpKioTProFmsDoB0ZulXprtYiZOHQ","e":"AQAB"},"attributes":{"enabled":true,"created":1685429820,"updated":1685429820,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7,"exportable":false}}' @@ -284,7 +284,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_create_v2000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_create_v2000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2024-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"encryption\": {\r\n \"entities\": @@ -777,7 +777,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_create_v2000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_create_v2000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2024-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"encryption\": {\r\n \"entities\": @@ -858,7 +858,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_create_v2000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_create_v2000001/providers/Microsoft.Databricks/workspaces/workspace000003?forceDeletion=false&api-version=2024-05-01 response: body: string: '' diff --git a/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_update.yaml b/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_update.yaml index 8fb928a61b5..57e1567065b 100644 --- a/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_update.yaml +++ b/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_update.yaml @@ -21,7 +21,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-workspace000003-77m3zxru2y38q","provisioningState":"Accepted","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"createdDateTime":"2023-05-23T08:27:36.9338351Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update000001/providers/Microsoft.Databricks/workspaces/workspace000003","name":"workspace000003","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"eastus"}' @@ -509,7 +509,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-workspace000003-77m3zxru2y38q","parameters":{"enableFedRampCertification":{"type":"Bool","value":false},"enableNoPublicIp":{"type":"Bool","value":true},"natGatewayName":{"type":"String","value":"nat-gateway"},"prepareEncryption":{"type":"Bool","value":true},"publicIpName":{"type":"String","value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"type":"Bool","value":false},"resourceTags":{"type":"Object","value":{"application":"databricks","databricks-environment":"true"}},"storageAccountName":{"type":"String","value":"dbstoragekuwsq7b47fp2m"},"storageAccountSkuName":{"type":"String","value":"Standard_GRS"},"vnetAddressPrefix":{"type":"String","value":"10.139"}},"provisioningState":"Succeeded","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"workspaceId":"98935514584607","workspaceUrl":"adb-98935514584607.7.azuredatabricks.net","createdDateTime":"2023-05-23T08:27:36.9338351Z","storageAccountIdentity":{"principalId":"13fdc96e-1ee6-4c8d-a923-95f964d16129","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","type":"SystemAssigned"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update000001/providers/Microsoft.Databricks/workspaces/workspace000003","name":"workspace000003","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"eastus"}' @@ -558,7 +558,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-workspace000003-77m3zxru2y38q","parameters":{"enableFedRampCertification":{"type":"Bool","value":false},"enableNoPublicIp":{"type":"Bool","value":true},"natGatewayName":{"type":"String","value":"nat-gateway"},"prepareEncryption":{"type":"Bool","value":true},"publicIpName":{"type":"String","value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"type":"Bool","value":false},"resourceTags":{"type":"Object","value":{"application":"databricks","databricks-environment":"true"}},"storageAccountName":{"type":"String","value":"dbstoragekuwsq7b47fp2m"},"storageAccountSkuName":{"type":"String","value":"Standard_GRS"},"vnetAddressPrefix":{"type":"String","value":"10.139"}},"provisioningState":"Succeeded","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"workspaceId":"98935514584607","workspaceUrl":"adb-98935514584607.7.azuredatabricks.net","createdDateTime":"2023-05-23T08:27:36.9338351Z","storageAccountIdentity":{"principalId":"13fdc96e-1ee6-4c8d-a923-95f964d16129","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","type":"SystemAssigned"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update000001/providers/Microsoft.Databricks/workspaces/workspace000003","name":"workspace000003","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"eastus"}' @@ -622,7 +622,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2024-05-01 response: body: string: '{"properties":{"encryption":{"entities":{"managedDisk":{"keySource":"Microsoft.Keyvault","keyVaultProperties":{"keyVaultUri":"https://test-vault-name.vault.azure.net/","keyName":"test-cmk-key","keyVersion":"00000000000000000000000000000000"},"rotationToLatestKeyVersionEnabled":true}}},"managedDiskIdentity":{},"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-workspace000003-77m3zxru2y38q","parameters":{"enableNoPublicIp":{"value":true},"natGatewayName":{"value":"nat-gateway"},"prepareEncryption":{"value":true},"publicIpName":{"value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"value":false},"storageAccountName":{"value":"dbstoragekuwsq7b47fp2m"},"storageAccountSkuName":{"value":"Standard_GRS"},"vnetAddressPrefix":{"value":"10.139"}},"provisioningState":"Updating","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{},"updatedBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"createdDateTime":"2023-05-23T08:29:59.9509059Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update000001/providers/Microsoft.Databricks/workspaces/workspace000003","name":"workspace000003","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"eastus"}' @@ -851,7 +851,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2024-05-01 response: body: string: '{"properties":{"encryption":{"entities":{"managedDisk":{"keySource":"Microsoft.Keyvault","keyVaultProperties":{"keyVaultUri":"https://test-vault-name.vault.azure.net/","keyName":"test-cmk-key","keyVersion":"00000000000000000000000000000000"},"rotationToLatestKeyVersionEnabled":true}}},"diskEncryptionSetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-workspace000003-77m3zxru2y38q/providers/Microsoft.Compute/diskEncryptionSets/dbdiskencryptionseteb79b056f6632","managedDiskIdentity":{"principalId":"685a0314-b433-403e-9998-6e75e1d1023b","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","type":"SystemAssigned"},"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-workspace000003-77m3zxru2y38q","parameters":{"enableFedRampCertification":{"type":"Bool","value":false},"enableNoPublicIp":{"type":"Bool","value":true},"natGatewayName":{"type":"String","value":"nat-gateway"},"prepareEncryption":{"type":"Bool","value":true},"publicIpName":{"type":"String","value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"type":"Bool","value":false},"resourceTags":{"type":"Object","value":{"application":"databricks","databricks-environment":"true"}},"storageAccountName":{"type":"String","value":"dbstoragekuwsq7b47fp2m"},"storageAccountSkuName":{"type":"String","value":"Standard_GRS"},"vnetAddressPrefix":{"type":"String","value":"10.139"}},"provisioningState":"Succeeded","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"workspaceId":"98935514584607","workspaceUrl":"adb-98935514584607.7.azuredatabricks.net","createdDateTime":"2023-05-23T08:27:36.9338351Z","storageAccountIdentity":{"principalId":"13fdc96e-1ee6-4c8d-a923-95f964d16129","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","type":"SystemAssigned"}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update000001/providers/Microsoft.Databricks/workspaces/workspace000003","name":"workspace000003","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"eastus"}' diff --git a/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_update_v1.yaml b/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_update_v1.yaml index 175008bdc79..cb7ba549468 100644 --- a/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_update_v1.yaml +++ b/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_update_v1.yaml @@ -21,7 +21,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v1000001/providers/Microsoft.Databricks/workspaces/workspace000002?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v1000001/providers/Microsoft.Databricks/workspaces/workspace000002?api-version=2024-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"managedResourceGroupId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-workspace000002-eexfxqua9hhp9\",\r\n @@ -498,7 +498,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v1000001/providers/Microsoft.Databricks/workspaces/workspace000002?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v1000001/providers/Microsoft.Databricks/workspaces/workspace000002?api-version=2024-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"managedResourceGroupId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-workspace000002-eexfxqua9hhp9\",\r\n @@ -576,7 +576,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v1000001/providers/Microsoft.Databricks/workspaces/workspace000002?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v1000001/providers/Microsoft.Databricks/workspaces/workspace000002?api-version=2024-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"managedResourceGroupId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-workspace000002-eexfxqua9hhp9\",\r\n @@ -669,7 +669,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v1000001/providers/Microsoft.Databricks/workspaces/workspace000002?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v1000001/providers/Microsoft.Databricks/workspaces/workspace000002?api-version=2024-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"encryption\": {\r\n \"entities\": @@ -869,7 +869,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v1000001/providers/Microsoft.Databricks/workspaces/workspace000002?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v1000001/providers/Microsoft.Databricks/workspaces/workspace000002?api-version=2024-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"encryption\": {\r\n \"entities\": @@ -956,7 +956,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v1000001/providers/Microsoft.Databricks/workspaces/workspace000002?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v1000001/providers/Microsoft.Databricks/workspaces/workspace000002?forceDeletion=false&api-version=2024-05-01 response: body: string: '' diff --git a/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_update_v2.yaml b/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_update_v2.yaml index 5622599e657..a7854510b0a 100644 --- a/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_update_v2.yaml +++ b/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_update_v2.yaml @@ -21,7 +21,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v2000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v2000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2024-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"managedResourceGroupId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-workspace000003-g03s5wey9jig5\",\r\n @@ -498,7 +498,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v2000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v2000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2024-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"managedResourceGroupId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-workspace000003-g03s5wey9jig5\",\r\n @@ -739,7 +739,7 @@ interactions: User-Agent: - azsdk-python-keyvault-keys/4.8.0b2 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: POST - uri: https://clitest000002.vault.azure.net/keys/testkey/create?api-version=7.4-preview.1 + uri: https://clitest000002.vault.azure.net/keys/testkey/create?api-version=7.5-preview.1 response: body: string: '{"error":{"code":"Unauthorized","message":"AKV10000: Request is missing @@ -789,7 +789,7 @@ interactions: User-Agent: - azsdk-python-keyvault-keys/4.8.0b2 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: POST - uri: https://clitest000002.vault.azure.net/keys/testkey/create?api-version=7.4-preview.1 + uri: https://clitest000002.vault.azure.net/keys/testkey/create?api-version=7.5-preview.1 response: body: string: '{"key":{"kid":"https://clitest000002.vault.azure.net/keys/testkey/059e5fe3f37943e5a413636daf054b94","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"nz_RnGZusju0lR6ltRNC4JinfsU5qYO70iR2MSvj1vEN9FWhLTtUS9dZ59yYd59ZFgzWUSsFUUtOVkNhKf5XDCI3kcXj19_1jZDgquZQGh_BR3b4slWIVCHDCaBfTkfBpw9kok5YnrGABjkVDV_8PFff9Z3Xrf99RNOGKYsKbE9IXg5bq-Yj7IMR4FsTw5x5a3tl5aYT0kuBtmjGwUtgwQWZYZVudV0mNYFJrE5hp3doa_xwHIiejMFiJ817PTUYmGitO88LrlICrmR2hpPOwvYR6npOW-oi-ZG1Gwv1ucHQoY6-78q2wJxNaVhX-A9BN2kSCx7VCQc8K764grn-iQ","e":"AQAB"},"attributes":{"enabled":true,"created":1685504479,"updated":1685504479,"recoveryLevel":"CustomizedRecoverable+Purgeable","recoverableDays":7,"exportable":false}}' @@ -836,7 +836,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v2000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v2000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2024-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"managedResourceGroupId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-workspace000003-g03s5wey9jig5\",\r\n @@ -929,7 +929,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v2000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v2000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2024-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"encryption\": {\r\n \"entities\": @@ -1128,7 +1128,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v2000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v2000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2024-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"encryption\": {\r\n \"entities\": @@ -1212,7 +1212,7 @@ interactions: User-Agent: - AZURECLI/2.49.0 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v2000001/providers/Microsoft.Databricks/workspaces/workspace000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_update_v2000001/providers/Microsoft.Databricks/workspaces/workspace000003?forceDeletion=false&api-version=2024-05-01 response: body: string: '' diff --git a/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_v1.yaml b/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_v1.yaml index 1799b3b7c45..9baaeb57edf 100644 --- a/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_v1.yaml +++ b/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_v1.yaml @@ -21,7 +21,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v1000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v1000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2024-05-01 response: body: string: '{"properties":{"publicNetworkAccess":"Enabled","requiredNsgRules":"AllRules","managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-my-test-workspace-o2iubggeyrr2w","provisioningState":"Accepted","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"createdDateTime":"2023-03-15T01:38:37.2645394Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v1000001/providers/Microsoft.Databricks/workspaces/my-test-workspace","name":"my-test-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"westus"}' @@ -509,7 +509,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v1000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v1000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2024-05-01 response: body: string: '{"properties":{"publicNetworkAccess":"Enabled","requiredNsgRules":"AllRules","managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-my-test-workspace-o2iubggeyrr2w","parameters":{"enableFedRampCertification":{"type":"Bool","value":false},"enableNoPublicIp":{"type":"Bool","value":false},"natGatewayName":{"type":"String","value":"nat-gateway"},"prepareEncryption":{"type":"Bool","value":false},"publicIpName":{"type":"String","value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"type":"Bool","value":false},"resourceTags":{"type":"Object","value":{"application":"databricks","databricks-environment":"true"}},"storageAccountName":{"type":"String","value":"dbstoragevuu5x4znhsdaw"},"storageAccountSkuName":{"type":"String","value":"Standard_GRS"},"vnetAddressPrefix":{"type":"String","value":"10.139"}},"provisioningState":"Succeeded","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"workspaceId":"7524832344392314","workspaceUrl":"adb-7524832344392314.14.azuredatabricks.net","createdDateTime":"2023-03-15T01:38:37.2645394Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v1000001/providers/Microsoft.Databricks/workspaces/my-test-workspace","name":"my-test-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"westus"}' @@ -557,7 +557,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v1000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v1000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2024-05-01 response: body: string: '{"properties":{"publicNetworkAccess":"Enabled","requiredNsgRules":"AllRules","managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-my-test-workspace-o2iubggeyrr2w","parameters":{"enableFedRampCertification":{"type":"Bool","value":false},"enableNoPublicIp":{"type":"Bool","value":false},"natGatewayName":{"type":"String","value":"nat-gateway"},"prepareEncryption":{"type":"Bool","value":false},"publicIpName":{"type":"String","value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"type":"Bool","value":false},"resourceTags":{"type":"Object","value":{"application":"databricks","databricks-environment":"true"}},"storageAccountName":{"type":"String","value":"dbstoragevuu5x4znhsdaw"},"storageAccountSkuName":{"type":"String","value":"Standard_GRS"},"vnetAddressPrefix":{"type":"String","value":"10.139"}},"provisioningState":"Succeeded","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"workspaceId":"7524832344392314","workspaceUrl":"adb-7524832344392314.14.azuredatabricks.net","createdDateTime":"2023-03-15T01:38:37.2645394Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v1000001/providers/Microsoft.Databricks/workspaces/my-test-workspace","name":"my-test-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"westus"}' @@ -618,7 +618,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v1000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v1000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2024-05-01 response: body: string: '{"properties":{"publicNetworkAccess":"Enabled","requiredNsgRules":"AllRules","managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-my-test-workspace-o2iubggeyrr2w","parameters":{"enableNoPublicIp":{"value":false},"natGatewayName":{"value":"nat-gateway"},"prepareEncryption":{"value":false},"publicIpName":{"value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"value":false},"storageAccountName":{"value":"dbstoragevuu5x4znhsdaw"},"storageAccountSkuName":{"value":"Standard_GRS"},"vnetAddressPrefix":{"value":"10.139"}},"provisioningState":"Updating","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{},"updatedBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"createdDateTime":"2023-03-15T01:41:15.2892946Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v1000001/providers/Microsoft.Databricks/workspaces/my-test-workspace","name":"my-test-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"standard"},"location":"westus"}' @@ -798,7 +798,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v1000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v1000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2024-05-01 response: body: string: '{"properties":{"publicNetworkAccess":"Enabled","requiredNsgRules":"AllRules","managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-my-test-workspace-o2iubggeyrr2w","parameters":{"enableFedRampCertification":{"type":"Bool","value":false},"enableNoPublicIp":{"type":"Bool","value":false},"natGatewayName":{"type":"String","value":"nat-gateway"},"prepareEncryption":{"type":"Bool","value":false},"publicIpName":{"type":"String","value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"type":"Bool","value":false},"resourceTags":{"type":"Object","value":{"application":"databricks","databricks-environment":"true"}},"storageAccountName":{"type":"String","value":"dbstoragevuu5x4znhsdaw"},"storageAccountSkuName":{"type":"String","value":"Standard_GRS"},"vnetAddressPrefix":{"type":"String","value":"10.139"}},"provisioningState":"Succeeded","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"workspaceId":"7524832344392314","workspaceUrl":"adb-7524832344392314.14.azuredatabricks.net","createdDateTime":"2023-03-15T01:38:37.2645394Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v1000001/providers/Microsoft.Databricks/workspaces/my-test-workspace","name":"my-test-workspace","type":"Microsoft.Databricks/workspaces","sku":{"name":"standard"},"location":"westus"}' @@ -848,7 +848,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v1000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v1000001/providers/Microsoft.Databricks/workspaces/my-test-workspace?forceDeletion=false&api-version=2024-05-01 response: body: string: '' diff --git a/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_v2.yaml b/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_v2.yaml index 8eecb5113b1..df811272fb9 100644 --- a/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_v2.yaml +++ b/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_v2.yaml @@ -145,7 +145,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/d99e67c1-ad80-4df1-9ab4-aa3f7cbae4eb?api-version=2022-01-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/d99e67c1-ad80-4df1-9ab4-aa3f7cbae4eb?api-version=2024-05-01 cache-control: - no-cache content-length: @@ -188,7 +188,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/d99e67c1-ad80-4df1-9ab4-aa3f7cbae4eb?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/d99e67c1-ad80-4df1-9ab4-aa3f7cbae4eb?api-version=2024-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -384,7 +384,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/d1a0ca48-2cf4-46c0-9595-39dd70b8d11f?api-version=2022-01-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/d1a0ca48-2cf4-46c0-9595-39dd70b8d11f?api-version=2024-05-01 cache-control: - no-cache content-length: @@ -427,7 +427,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/d1a0ca48-2cf4-46c0-9595-39dd70b8d11f?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/d1a0ca48-2cf4-46c0-9595-39dd70b8d11f?api-version=2024-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -542,7 +542,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/private-subnet?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/private-subnet?api-version=2023-11-01 response: body: string: "{\r\n \"name\": \"private-subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/private-subnet\",\r\n @@ -565,7 +565,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/e85acacb-3d4e-4131-881b-9dfa7adb5437?api-version=2022-01-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/e85acacb-3d4e-4131-881b-9dfa7adb5437?api-version=2024-05-01 cache-control: - no-cache content-length: @@ -609,7 +609,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/e85acacb-3d4e-4131-881b-9dfa7adb5437?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/e85acacb-3d4e-4131-881b-9dfa7adb5437?api-version=2024-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -659,7 +659,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/private-subnet?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/private-subnet?api-version=2023-11-01 response: body: string: "{\r\n \"name\": \"private-subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/private-subnet\",\r\n @@ -733,7 +733,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/public-subnet?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/public-subnet?api-version=2023-11-01 response: body: string: "{\r\n \"name\": \"public-subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/public-subnet\",\r\n @@ -756,7 +756,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/8bf84643-da14-403d-8986-75788cd15c63?api-version=2022-01-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/8bf84643-da14-403d-8986-75788cd15c63?api-version=2024-05-01 cache-control: - no-cache content-length: @@ -800,7 +800,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/8bf84643-da14-403d-8986-75788cd15c63?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/8bf84643-da14-403d-8986-75788cd15c63?api-version=2024-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -850,7 +850,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/public-subnet?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/public-subnet?api-version=2023-11-01 response: body: string: "{\r\n \"name\": \"public-subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/public-subnet\",\r\n @@ -923,7 +923,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/subnet000005?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/subnet000005?api-version=2023-11-01 response: body: string: "{\r\n \"name\": \"subnet000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/subnet000005\",\r\n @@ -937,7 +937,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/453e99c8-7b80-4666-8fd3-ba4a8783aff3?api-version=2022-01-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/453e99c8-7b80-4666-8fd3-ba4a8783aff3?api-version=2024-05-01 cache-control: - no-cache content-length: @@ -981,7 +981,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/453e99c8-7b80-4666-8fd3-ba4a8783aff3?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/453e99c8-7b80-4666-8fd3-ba4a8783aff3?api-version=2024-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1031,7 +1031,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/subnet000005?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/subnet000005?api-version=2023-11-01 response: body: string: "{\r\n \"name\": \"subnet000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/subnet000005\",\r\n @@ -1095,7 +1095,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-wn000002-wz66q4q0wf9qt","provisioningState":"Accepted","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"createdDateTime":"2023-03-24T07:10:39.1574067Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002","name":"wn000002","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"eastus2euap"}' @@ -1627,7 +1627,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-wn000002-wz66q4q0wf9qt","parameters":{"customPrivateSubnetName":{"type":"String","value":"private-subnet"},"customPublicSubnetName":{"type":"String","value":"public-subnet"},"customVirtualNetworkId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/virtualNetworks/vnet000003"},"enableFedRampCertification":{"type":"Bool","value":false},"enableNoPublicIp":{"type":"Bool","value":false},"natGatewayName":{"type":"String","value":"nat-gateway"},"prepareEncryption":{"type":"Bool","value":false},"publicIpName":{"type":"String","value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"type":"Bool","value":false},"resourceTags":{"type":"Object","value":{"application":"databricks","databricks-environment":"true"}},"storageAccountName":{"type":"String","value":"dbstorageci3jgik4pxwkq"},"storageAccountSkuName":{"type":"String","value":"Standard_GRS"},"vnetAddressPrefix":{"type":"String","value":"10.139"}},"provisioningState":"Succeeded","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"workspaceId":"3322984037724831","workspaceUrl":"adb-3322984037724831.11.azuredatabricks.net","createdDateTime":"2023-03-24T07:10:39.1574067Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002","name":"wn000002","type":"Microsoft.Databricks/workspaces","sku":{"name":"premium"},"location":"eastus2euap"}' @@ -1675,7 +1675,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateLinkResources?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateLinkResources?api-version=2024-05-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateLinkResources/databricks_ui_api","name":"databricks_ui_api","type":"Microsoft.Databricks/workspaces/privateLinkResources","properties":{"groupId":"databricks_ui_api","displayName":"databricks_ui_api","requiredMembers":["databricks_ui_api"],"requiredZoneNames":["privatelink.azuredatabricks.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateLinkResources/browser_authentication","name":"browser_authentication","type":"Microsoft.Databricks/workspaces/privateLinkResources","properties":{"groupId":"browser_authentication","displayName":"browser_authentication","requiredMembers":["eastus2euap"],"requiredZoneNames":["privatelink.azuredatabricks.net"]}}]}' @@ -1721,7 +1721,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateLinkResources/databricks_ui_api?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateLinkResources/databricks_ui_api?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateLinkResources/databricks_ui_api","name":"databricks_ui_api","type":"Microsoft.Databricks/workspaces/privateLinkResources","properties":{"groupId":"databricks_ui_api","displayName":"databricks_ui_api","requiredMembers":["databricks_ui_api"],"requiredZoneNames":["privatelink.azuredatabricks.net"]}}' @@ -1801,7 +1801,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/ee2f2a94-60dd-430a-a1a9-1630152f682d?api-version=2022-01-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/ee2f2a94-60dd-430a-a1a9-1630152f682d?api-version=2024-05-01 cache-control: - no-cache content-length: @@ -1845,7 +1845,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/ee2f2a94-60dd-430a-a1a9-1630152f682d?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/ee2f2a94-60dd-430a-a1a9-1630152f682d?api-version=2024-05-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1895,7 +1895,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/ee2f2a94-60dd-430a-a1a9-1630152f682d?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/ee2f2a94-60dd-430a-a1a9-1630152f682d?api-version=2024-05-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1945,7 +1945,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/ee2f2a94-60dd-430a-a1a9-1630152f682d?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/ee2f2a94-60dd-430a-a1a9-1630152f682d?api-version=2024-05-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1995,7 +1995,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/ee2f2a94-60dd-430a-a1a9-1630152f682d?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/ee2f2a94-60dd-430a-a1a9-1630152f682d?api-version=2024-05-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2045,7 +2045,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/ee2f2a94-60dd-430a-a1a9-1630152f682d?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/ee2f2a94-60dd-430a-a1a9-1630152f682d?api-version=2024-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -2171,7 +2171,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateEndpointConnections/npe000006?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateEndpointConnections/npe000006?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateEndpointConnections/npe000006","name":"npe000006","type":"Microsoft.Databricks/workspaces/privateEndpointConnections","properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/privateEndpoints/npe000006"},"groupIds":["databricks_ui_api"],"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Updating"}}' @@ -2397,7 +2397,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateEndpointConnections/npe000006?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateEndpointConnections/npe000006?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateEndpointConnections/npe000006","name":"npe000006","type":"Microsoft.Databricks/workspaces/privateEndpointConnections","properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/privateEndpoints/npe000006"},"groupIds":["databricks_ui_api"],"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejected @@ -2444,7 +2444,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateEndpointConnections?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateEndpointConnections?api-version=2024-05-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateEndpointConnections/npe000006","name":"npe000006","type":"Microsoft.Databricks/workspaces/privateEndpointConnections","properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/privateEndpoints/npe000006"},"groupIds":["databricks_ui_api"],"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejected @@ -2491,7 +2491,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateEndpointConnections/npe000006?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateEndpointConnections/npe000006?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateEndpointConnections/npe000006","name":"npe000006","type":"Microsoft.Databricks/workspaces/privateEndpointConnections","properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/privateEndpoints/npe000006"},"groupIds":["databricks_ui_api"],"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejected @@ -2540,7 +2540,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateEndpointConnections/npe000006?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateEndpointConnections/npe000006?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/privateEndpointConnections/npe000006","name":"npe000006","type":"Microsoft.Databricks/workspaces/privateEndpointConnections","properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Network/privateEndpoints/npe000006"},"groupIds":["databricks_ui_api"],"privateLinkServiceConnectionState":{"status":"Rejected","description":"Rejected @@ -2767,7 +2767,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/outboundNetworkDependenciesEndpoints?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002/outboundNetworkDependenciesEndpoints?api-version=2024-05-01 response: body: string: '[{"category":"Webapp","endpoints":[{"endpointDetails":[{"ipAddress":"40.70.58.221/32","port":443},{"ipAddress":"20.41.4.113/32","port":443}]}]},{"category":"Control @@ -2820,7 +2820,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.8.1 (Windows-10-10.0.22000-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v2000001/providers/Microsoft.Databricks/workspaces/wn000002?forceDeletion=false&api-version=2024-05-01 response: body: string: '' diff --git a/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_v3.yaml b/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_v3.yaml index bf63ad6a0c2..df33faa9697 100644 --- a/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_v3.yaml +++ b/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_v3.yaml @@ -145,7 +145,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/6840e96c-7dfe-46a3-a46d-99cebeb89e50?api-version=2022-01-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/6840e96c-7dfe-46a3-a46d-99cebeb89e50?api-version=2024-05-01 cache-control: - no-cache content-length: @@ -188,7 +188,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/6840e96c-7dfe-46a3-a46d-99cebeb89e50?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/6840e96c-7dfe-46a3-a46d-99cebeb89e50?api-version=2024-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -384,7 +384,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/a6471a09-8f06-4ea7-b39c-a4e9b6409efa?api-version=2022-01-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/a6471a09-8f06-4ea7-b39c-a4e9b6409efa?api-version=2024-05-01 cache-control: - no-cache content-length: @@ -427,7 +427,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/a6471a09-8f06-4ea7-b39c-a4e9b6409efa?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/a6471a09-8f06-4ea7-b39c-a4e9b6409efa?api-version=2024-05-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -476,7 +476,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/a6471a09-8f06-4ea7-b39c-a4e9b6409efa?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/a6471a09-8f06-4ea7-b39c-a4e9b6409efa?api-version=2024-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -591,7 +591,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/private-subnet?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/private-subnet?api-version=2023-11-01 response: body: string: "{\r\n \"name\": \"private-subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/private-subnet\",\r\n @@ -614,7 +614,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/43f1893e-12a3-45c8-828c-d529542a68a4?api-version=2022-01-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/43f1893e-12a3-45c8-828c-d529542a68a4?api-version=2024-05-01 cache-control: - no-cache content-length: @@ -658,7 +658,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/43f1893e-12a3-45c8-828c-d529542a68a4?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/43f1893e-12a3-45c8-828c-d529542a68a4?api-version=2024-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -708,7 +708,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/private-subnet?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/private-subnet?api-version=2023-11-01 response: body: string: "{\r\n \"name\": \"private-subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/private-subnet\",\r\n @@ -782,7 +782,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/public-subnet?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/public-subnet?api-version=2023-11-01 response: body: string: "{\r\n \"name\": \"public-subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/public-subnet\",\r\n @@ -805,7 +805,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/e67c9800-561f-4337-addb-90c232216627?api-version=2022-01-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/e67c9800-561f-4337-addb-90c232216627?api-version=2024-05-01 cache-control: - no-cache content-length: @@ -849,7 +849,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/e67c9800-561f-4337-addb-90c232216627?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/e67c9800-561f-4337-addb-90c232216627?api-version=2024-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -899,7 +899,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/public-subnet?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/public-subnet?api-version=2023-11-01 response: body: string: "{\r\n \"name\": \"public-subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/public-subnet\",\r\n @@ -972,7 +972,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/subnet000004?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/subnet000004?api-version=2023-11-01 response: body: string: "{\r\n \"name\": \"subnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/subnet000004\",\r\n @@ -986,7 +986,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/99a47e08-653e-4f81-859f-a35b9898004a?api-version=2022-01-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/99a47e08-653e-4f81-859f-a35b9898004a?api-version=2024-05-01 cache-control: - no-cache content-length: @@ -1030,7 +1030,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/99a47e08-653e-4f81-859f-a35b9898004a?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/99a47e08-653e-4f81-859f-a35b9898004a?api-version=2024-05-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1080,7 +1080,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/subnet000004?api-version=2022-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/subnet000004?api-version=2023-11-01 response: body: string: "{\r\n \"name\": \"subnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Network/virtualNetworks/vnet000003/subnets/subnet000004\",\r\n @@ -1144,7 +1144,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Databricks/workspaces/wn000002?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Databricks/workspaces/wn000002?api-version=2024-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"managedResourceGroupId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-wn000002-xpeqqxtuy4zqr\",\r\n @@ -2167,7 +2167,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Databricks/workspaces/wn000002?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Databricks/workspaces/wn000002?api-version=2024-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"managedResourceGroupId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-wn000002-xpeqqxtuy4zqr\",\r\n @@ -2245,7 +2245,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Databricks/workspaces/wn000002?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Databricks/workspaces/wn000002?api-version=2024-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"managedResourceGroupId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-wn000002-xpeqqxtuy4zqr\",\r\n @@ -2338,7 +2338,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Databricks/workspaces/wn000002?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Databricks/workspaces/wn000002?api-version=2024-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"publicNetworkAccess\": \"Disabled\",\r\n @@ -4424,7 +4424,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Databricks/workspaces/wn000002?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Databricks/workspaces/wn000002?api-version=2024-05-01 response: body: string: "{\r\n \"properties\": {\r\n \"publicNetworkAccess\": \"Disabled\",\r\n @@ -4506,7 +4506,7 @@ interactions: User-Agent: - AZURECLI/2.48.1 (AAZ) azsdk-python-core/1.26.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Databricks/workspaces/wn000002?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_v3000001/providers/Microsoft.Databricks/workspaces/wn000002?forceDeletion=false&api-version=2024-05-01 response: body: string: '' diff --git a/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_vnet_peering.yaml b/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_vnet_peering.yaml index 9ef5736a4c2..4365124b448 100644 --- a/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_vnet_peering.yaml +++ b/src/databricks/azext_databricks/tests/latest/recordings/test_databricks_vnet_peering.yaml @@ -190,7 +190,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-databricks000002-fuyf4ssbg05af","provisioningState":"Accepted","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"createdDateTime":"2023-03-15T01:39:11.4059485Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002","name":"databricks000002","type":"Microsoft.Databricks/workspaces","sku":{"name":"standard"},"location":"westus"}' @@ -678,7 +678,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002?api-version=2024-05-01 response: body: string: '{"properties":{"managedResourceGroupId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-databricks000002-fuyf4ssbg05af","parameters":{"enableFedRampCertification":{"type":"Bool","value":false},"enableNoPublicIp":{"type":"Bool","value":false},"natGatewayName":{"type":"String","value":"nat-gateway"},"prepareEncryption":{"type":"Bool","value":false},"publicIpName":{"type":"String","value":"nat-gw-public-ip"},"requireInfrastructureEncryption":{"type":"Bool","value":false},"resourceTags":{"type":"Object","value":{"application":"databricks","databricks-environment":"true"}},"storageAccountName":{"type":"String","value":"dbstoragernaw7u4ms2euw"},"storageAccountSkuName":{"type":"String","value":"Standard_GRS"},"vnetAddressPrefix":{"type":"String","value":"10.139"}},"provisioningState":"Succeeded","authorizations":[{"principalId":"9a74af6f-d153-4348-988a-e2672920bee9","roleDefinitionId":"8e3af657-a8ff-443c-a75c-2fe8c4bcb635"}],"createdBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"updatedBy":{"oid":"674368bb-7eaa-4100-aef7-138f65f50648","puid":"10032001C021F1B6","applicationId":"04b07795-8ddb-461a-bbee-02f9e1bf7b46"},"workspaceId":"2589639318157245","workspaceUrl":"adb-2589639318157245.5.azuredatabricks.net","createdDateTime":"2023-03-15T01:39:11.4059485Z"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002","name":"databricks000002","type":"Microsoft.Databricks/workspaces","sku":{"name":"standard"},"location":"westus"}' @@ -730,7 +730,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003","name":"peering000003","properties":{"allowVirtualNetworkAccess":true,"allowForwardedTraffic":false,"allowGatewayTransit":false,"useRemoteGateways":false,"remoteVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Network/virtualNetworks/vnet000005"},"remoteAddressSpace":{"addressPrefixes":["10.0.0.0/16"]},"databricksVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-databricks000002-fuyf4ssbg05af/providers/Microsoft.Network/virtualNetworks/workers-vnet"},"databricksAddressSpace":{"addressPrefixes":["10.139.0.0/16"]},"peeringState":"Initiated","provisioningState":"Updating"}} @@ -782,7 +782,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003","name":"peering000003","properties":{"allowVirtualNetworkAccess":true,"allowForwardedTraffic":false,"allowGatewayTransit":false,"useRemoteGateways":false,"remoteVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Network/virtualNetworks/vnet000005"},"remoteAddressSpace":{"addressPrefixes":["10.0.0.0/16"]},"databricksVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-databricks000002-fuyf4ssbg05af/providers/Microsoft.Network/virtualNetworks/workers-vnet"},"databricksAddressSpace":{"addressPrefixes":["10.139.0.0/16"]},"peeringState":"Initiated","provisioningState":"Succeeded"}} @@ -834,7 +834,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2024-05-01 response: body: string: '"" @@ -937,7 +937,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003","name":"peering000003","properties":{"allowVirtualNetworkAccess":true,"allowForwardedTraffic":false,"allowGatewayTransit":false,"useRemoteGateways":false,"remoteVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Network/virtualNetworks/vnet000005"},"remoteAddressSpace":{"addressPrefixes":["10.0.0.0/16"]},"databricksVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-databricks000002-fuyf4ssbg05af/providers/Microsoft.Network/virtualNetworks/workers-vnet"},"databricksAddressSpace":{"addressPrefixes":["10.139.0.0/16"]},"peeringState":"Initiated","provisioningState":"Updating"}} @@ -989,7 +989,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003","name":"peering000003","properties":{"allowVirtualNetworkAccess":true,"allowForwardedTraffic":false,"allowGatewayTransit":false,"useRemoteGateways":false,"remoteVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Network/virtualNetworks/vnet000005"},"remoteAddressSpace":{"addressPrefixes":["10.0.0.0/16"]},"databricksVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-databricks000002-fuyf4ssbg05af/providers/Microsoft.Network/virtualNetworks/workers-vnet"},"databricksAddressSpace":{"addressPrefixes":["10.139.0.0/16"]},"peeringState":"Initiated","provisioningState":"Succeeded"}} @@ -1039,7 +1039,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings?api-version=2024-05-01 response: body: string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003","name":"peering000003","properties":{"allowVirtualNetworkAccess":true,"allowForwardedTraffic":false,"allowGatewayTransit":false,"useRemoteGateways":false,"remoteVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Network/virtualNetworks/vnet000005"},"remoteAddressSpace":{"addressPrefixes":["10.0.0.0/16"]},"databricksVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-databricks000002-fuyf4ssbg05af/providers/Microsoft.Network/virtualNetworks/workers-vnet"},"databricksAddressSpace":{"addressPrefixes":["10.139.0.0/16"]},"peeringState":"Initiated","provisioningState":"Succeeded"}}]} @@ -1089,7 +1089,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003","name":"peering000003","properties":{"allowVirtualNetworkAccess":true,"allowForwardedTraffic":false,"allowGatewayTransit":false,"useRemoteGateways":false,"remoteVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Network/virtualNetworks/vnet000005"},"remoteAddressSpace":{"addressPrefixes":["10.0.0.0/16"]},"databricksVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-databricks000002-fuyf4ssbg05af/providers/Microsoft.Network/virtualNetworks/workers-vnet"},"databricksAddressSpace":{"addressPrefixes":["10.139.0.0/16"]},"peeringState":"Initiated","provisioningState":"Succeeded"}} @@ -1139,7 +1139,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003","name":"peering000003","properties":{"allowVirtualNetworkAccess":true,"allowForwardedTraffic":false,"allowGatewayTransit":false,"useRemoteGateways":false,"remoteVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Network/virtualNetworks/vnet000005"},"remoteAddressSpace":{"addressPrefixes":["10.0.0.0/16"]},"databricksVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-databricks000002-fuyf4ssbg05af/providers/Microsoft.Network/virtualNetworks/workers-vnet"},"databricksAddressSpace":{"addressPrefixes":["10.139.0.0/16"]},"peeringState":"Initiated","provisioningState":"Succeeded"}} @@ -1198,7 +1198,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003","name":"peering000003","properties":{"allowVirtualNetworkAccess":false,"allowForwardedTraffic":false,"allowGatewayTransit":true,"useRemoteGateways":false,"remoteVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Network/virtualNetworks/vnet000005"},"remoteAddressSpace":{"addressPrefixes":["10.0.0.0/16"]},"databricksVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-databricks000002-fuyf4ssbg05af/providers/Microsoft.Network/virtualNetworks/workers-vnet"},"databricksAddressSpace":{"addressPrefixes":["10.139.0.0/16"]},"peeringState":"Initiated","provisioningState":"Updating"}} @@ -1250,7 +1250,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003","name":"peering000003","properties":{"allowVirtualNetworkAccess":false,"allowForwardedTraffic":false,"allowGatewayTransit":true,"useRemoteGateways":false,"remoteVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Network/virtualNetworks/vnet000005"},"remoteAddressSpace":{"addressPrefixes":["10.0.0.0/16"]},"databricksVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-databricks000002-fuyf4ssbg05af/providers/Microsoft.Network/virtualNetworks/workers-vnet"},"databricksAddressSpace":{"addressPrefixes":["10.139.0.0/16"]},"peeringState":"Initiated","provisioningState":"Succeeded"}} @@ -1300,7 +1300,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003","name":"peering000003","properties":{"allowVirtualNetworkAccess":false,"allowForwardedTraffic":false,"allowGatewayTransit":true,"useRemoteGateways":false,"remoteVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Network/virtualNetworks/vnet000005"},"remoteAddressSpace":{"addressPrefixes":["10.0.0.0/16"]},"databricksVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-databricks000002-fuyf4ssbg05af/providers/Microsoft.Network/virtualNetworks/workers-vnet"},"databricksAddressSpace":{"addressPrefixes":["10.139.0.0/16"]},"peeringState":"Initiated","provisioningState":"Succeeded"}} @@ -1359,7 +1359,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003","name":"peering000003","properties":{"allowVirtualNetworkAccess":false,"allowForwardedTraffic":false,"allowGatewayTransit":false,"useRemoteGateways":false,"remoteVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Network/virtualNetworks/vnet000005"},"remoteAddressSpace":{"addressPrefixes":["10.0.0.0/16"]},"databricksVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-databricks000002-fuyf4ssbg05af/providers/Microsoft.Network/virtualNetworks/workers-vnet"},"databricksAddressSpace":{"addressPrefixes":["10.139.0.0/16"]},"peeringState":"Initiated","provisioningState":"Updating"}} @@ -1411,7 +1411,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003","name":"peering000003","properties":{"allowVirtualNetworkAccess":false,"allowForwardedTraffic":false,"allowGatewayTransit":false,"useRemoteGateways":false,"remoteVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Network/virtualNetworks/vnet000005"},"remoteAddressSpace":{"addressPrefixes":["10.0.0.0/16"]},"databricksVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-databricks000002-fuyf4ssbg05af/providers/Microsoft.Network/virtualNetworks/workers-vnet"},"databricksAddressSpace":{"addressPrefixes":["10.139.0.0/16"]},"peeringState":"Initiated","provisioningState":"Succeeded"}} @@ -1690,7 +1690,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003","name":"peering000003","properties":{"allowVirtualNetworkAccess":false,"allowForwardedTraffic":false,"allowGatewayTransit":false,"useRemoteGateways":false,"remoteVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Network/virtualNetworks/vnet000005"},"remoteAddressSpace":{"addressPrefixes":["10.0.0.0/16"]},"databricksVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-databricks000002-fuyf4ssbg05af/providers/Microsoft.Network/virtualNetworks/workers-vnet"},"databricksAddressSpace":{"addressPrefixes":["10.139.0.0/16"]},"peeringState":"Connected","provisioningState":"Succeeded"}} @@ -1940,7 +1940,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2024-05-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003","name":"peering000003","properties":{"allowVirtualNetworkAccess":false,"allowForwardedTraffic":false,"allowGatewayTransit":false,"useRemoteGateways":false,"remoteVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Network/virtualNetworks/vnet000005"},"remoteAddressSpace":{"addressPrefixes":["10.0.0.0/16"]},"databricksVirtualNetwork":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/databricks-rg-databricks000002-fuyf4ssbg05af/providers/Microsoft.Network/virtualNetworks/workers-vnet"},"databricksAddressSpace":{"addressPrefixes":["10.139.0.0/16"]},"peeringState":"Disconnected","provisioningState":"Succeeded"}} @@ -1992,7 +1992,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings/peering000003?api-version=2024-05-01 response: body: string: '"" @@ -2091,7 +2091,7 @@ interactions: User-Agent: - AZURECLI/2.46.0 (AAZ) azsdk-python-core/1.24.0 Python/3.9.5 (Windows-10-10.0.22621-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings?api-version=2023-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_databricks_vnet000001/providers/Microsoft.Databricks/workspaces/databricks000002/virtualNetworkPeerings?api-version=2024-05-01 response: body: string: '{"value":[]} diff --git a/src/databricks/setup.py b/src/databricks/setup.py index 99eaf5ae77b..ebf0a6f60c3 100644 --- a/src/databricks/setup.py +++ b/src/databricks/setup.py @@ -16,7 +16,7 @@ # TODO: Confirm this is the right version number you want and it matches your # HISTORY.rst entry. -VERSION = '0.10.2' +VERSION = '1.0.0' # The full list of classifiers is available at