From c846a37c7f90e22184f0fa78ea0376fba8e63d87 Mon Sep 17 00:00:00 2001 From: Haoling Dong <87355844+haolingdong-msft@users.noreply.github.com> Date: Wed, 15 Feb 2023 10:40:45 +0800 Subject: [PATCH] mgmt, upgrade cosmos to 2022-11 (#33500) * mgmt, upgrade cosmos to 2022-11 * api-spec.json update * Update tests and recordings * CHANGELOG update * CHANGELOG update * update other RP session records --- sdk/resourcemanager/api-specs.json | 2 +- .../azure-resourcemanager-cosmos/CHANGELOG.md | 8 +- .../azure-resourcemanager-cosmos/pom.xml | 1 + .../fluent/CassandraClustersClient.java | 26 +- .../fluent/CassandraDataCentersClient.java | 12 +- .../fluent/CassandraResourcesClient.java | 58 +- .../fluent/CosmosDBManagementClient.java | 35 + .../cosmos/fluent/DatabaseAccountsClient.java | 70 +- .../cosmos/fluent/GremlinResourcesClient.java | 214 ++- .../cosmos/fluent/LocationsClient.java | 10 +- .../cosmos/fluent/MongoDBResourcesClient.java | 86 +- .../fluent/NotebookWorkspacesClient.java | 28 +- .../PrivateEndpointConnectionsClient.java | 14 +- .../fluent/PrivateLinkResourcesClient.java | 12 +- .../RestorableDatabaseAccountsClient.java | 12 +- .../RestorableGremlinDatabasesClient.java | 64 + .../fluent/RestorableGremlinGraphsClient.java | 93 ++ .../RestorableGremlinResourcesClient.java | 86 ++ .../RestorableMongodbCollectionsClient.java | 13 +- .../fluent/RestorableSqlContainersClient.java | 8 +- .../RestorableTableResourcesClient.java | 82 ++ .../cosmos/fluent/RestorableTablesClient.java | 86 ++ .../cosmos/fluent/ServicesClient.java | 12 +- .../cosmos/fluent/SqlResourcesClient.java | 427 +++++- .../cosmos/fluent/TableResourcesClient.java | 157 +- .../fluent/models/BackupInformationInner.java | 4 + .../CassandraClusterPublicStatusInner.java | 4 + ...ssandraKeyspaceCreateUpdateProperties.java | 4 + .../CassandraKeyspaceGetProperties.java | 4 + .../CassandraKeyspaceGetResultsInner.java | 4 + .../CassandraTableCreateUpdateProperties.java | 4 + .../models/CassandraTableGetProperties.java | 4 + .../models/CassandraTableGetResultsInner.java | 4 + ...ntEncryptionKeyCreateUpdateProperties.java | 62 + .../ClientEncryptionKeyGetProperties.java | 54 + .../ClientEncryptionKeyGetResultsInner.java | 69 + .../fluent/models/ClusterResourceInner.java | 4 + .../fluent/models/CommandOutputInner.java | 4 + .../models/DataCenterResourceInner.java | 4 + ...DatabaseAccountCreateUpdateProperties.java | 30 + .../models/DatabaseAccountGetProperties.java | 34 + .../DatabaseAccountGetResultsInner.java | 30 + ...countListConnectionStringsResultInner.java | 4 + .../DatabaseAccountListKeysResultInner.java | 4 + ...aseAccountListReadOnlyKeysResultInner.java | 4 + .../DatabaseAccountUpdateProperties.java | 34 + ...GremlinDatabaseCreateUpdateProperties.java | 4 + .../models/GremlinDatabaseGetProperties.java | 4 + .../GremlinDatabaseGetResultsInner.java | 4 + .../GremlinGraphCreateUpdateProperties.java | 4 + .../models/GremlinGraphGetProperties.java | 4 + .../models/GremlinGraphGetResultsInner.java | 4 + .../fluent/models/LocationGetResultInner.java | 4 + .../fluent/models/MetricDefinitionInner.java | 4 + .../cosmos/fluent/models/MetricInner.java | 4 + ...ngoDBCollectionCreateUpdateProperties.java | 4 + .../MongoDBCollectionGetProperties.java | 4 + .../MongoDBCollectionGetResultsInner.java | 4 + ...MongoDBDatabaseCreateUpdateProperties.java | 4 + .../models/MongoDBDatabaseGetProperties.java | 4 + .../MongoDBDatabaseGetResultsInner.java | 4 + .../MongoRoleDefinitionGetResultsInner.java | 4 + .../models/MongoRoleDefinitionResource.java | 4 + .../MongoUserDefinitionGetResultsInner.java | 4 + .../models/MongoUserDefinitionResource.java | 4 + ...ookWorkspaceConnectionInfoResultInner.java | 4 + .../fluent/models/NotebookWorkspaceInner.java | 4 + .../models/NotebookWorkspaceProperties.java | 4 + .../cosmos/fluent/models/OperationInner.java | 4 + .../fluent/models/PartitionMetricInner.java | 4 + .../fluent/models/PartitionUsageInner.java | 4 + .../fluent/models/PercentileMetricInner.java | 4 + .../PrivateEndpointConnectionInner.java | 4 + .../PrivateEndpointConnectionProperties.java | 4 + .../models/PrivateLinkResourceInner.java | 4 + .../models/PrivateLinkResourceProperties.java | 4 + ...storableDatabaseAccountGetResultInner.java | 4 + .../RestorableDatabaseAccountProperties.java | 4 + ...storableGremlinDatabaseGetResultInner.java | 111 ++ .../RestorableGremlinDatabaseProperties.java | 54 + .../RestorableGremlinGraphGetResultInner.java | 111 ++ .../RestorableGremlinGraphProperties.java | 54 + ...torableGremlinResourcesGetResultInner.java | 122 ++ ...orableMongodbCollectionGetResultInner.java | 4 + ...RestorableMongodbCollectionProperties.java | 4 + ...storableMongodbDatabaseGetResultInner.java | 4 + .../RestorableMongodbDatabaseProperties.java | 4 + ...torableMongodbResourcesGetResultInner.java | 4 + .../RestorableSqlContainerGetResultInner.java | 4 + .../RestorableSqlContainerProperties.java | 4 + .../RestorableSqlDatabaseGetResultInner.java | 4 + .../RestorableSqlDatabaseProperties.java | 4 + .../RestorableSqlResourcesGetResultInner.java | 4 + .../models/RestorableTableGetResultInner.java | 111 ++ .../models/RestorableTableProperties.java | 54 + ...estorableTableResourcesGetResultInner.java | 69 + ...ServiceResourceCreateUpdateProperties.java | 4 + .../fluent/models/ServiceResourceInner.java | 4 + .../SqlContainerCreateUpdateProperties.java | 4 + .../models/SqlContainerGetProperties.java | 4 + .../models/SqlContainerGetResultsInner.java | 4 + .../SqlDatabaseCreateUpdateProperties.java | 4 + .../models/SqlDatabaseGetProperties.java | 4 + .../models/SqlDatabaseGetResultsInner.java | 4 + .../SqlRoleAssignmentGetResultsInner.java | 4 + .../models/SqlRoleAssignmentResource.java | 4 + .../SqlRoleDefinitionGetResultsInner.java | 4 + .../models/SqlRoleDefinitionResource.java | 4 + ...StoredProcedureCreateUpdateProperties.java | 4 + .../SqlStoredProcedureGetProperties.java | 4 + .../SqlStoredProcedureGetResultsInner.java | 4 + .../SqlTriggerCreateUpdateProperties.java | 4 + .../models/SqlTriggerGetProperties.java | 4 + .../models/SqlTriggerGetResultsInner.java | 4 + ...DefinedFunctionCreateUpdateProperties.java | 4 + .../SqlUserDefinedFunctionGetProperties.java | 4 + ...SqlUserDefinedFunctionGetResultsInner.java | 4 + .../models/TableCreateUpdateProperties.java | 4 + .../fluent/models/TableGetProperties.java | 4 + .../fluent/models/TableGetResultsInner.java | 4 + .../ThroughputSettingsGetProperties.java | 4 + .../ThroughputSettingsGetResultsInner.java | 4 + .../ThroughputSettingsUpdateProperties.java | 4 + .../cosmos/fluent/models/UsageInner.java | 4 + .../CassandraClustersClientImpl.java | 60 +- .../CassandraDataCentersClientImpl.java | 32 +- .../CassandraResourcesClientImpl.java | 151 +- .../CollectionPartitionRegionsClientImpl.java | 2 +- .../CollectionPartitionsClientImpl.java | 2 +- .../CollectionRegionsClientImpl.java | 2 +- .../implementation/CollectionsClientImpl.java | 2 +- .../CosmosDBManagementClientImpl.java | 72 +- .../DatabaseAccountRegionsClientImpl.java | 2 +- .../DatabaseAccountsClientImpl.java | 140 +- .../implementation/DatabasesClientImpl.java | 2 +- .../GremlinResourcesClientImpl.java | 543 ++++++- .../implementation/LocationsClientImpl.java | 16 +- .../MongoDBResourcesClientImpl.java | 223 +-- .../NotebookWorkspacesClientImpl.java | 62 +- .../implementation/OperationsClientImpl.java | 2 +- .../PartitionKeyRangeIdRegionsClientImpl.java | 2 +- .../PartitionKeyRangeIdsClientImpl.java | 2 +- .../PercentileSourceTargetsClientImpl.java | 2 +- .../PercentileTargetsClientImpl.java | 2 +- .../implementation/PercentilesClientImpl.java | 2 +- .../PrivateEndpointConnectionsClientImpl.java | 32 +- .../PrivateLinkResourcesClientImpl.java | 18 +- .../RestorableDatabaseAccountsClientImpl.java | 18 +- .../RestorableGremlinDatabasesClientImpl.java | 258 ++++ .../RestorableGremlinGraphsClientImpl.java | 325 ++++ .../RestorableGremlinResourcesClientImpl.java | 298 ++++ ...estorableMongodbCollectionsClientImpl.java | 61 +- .../RestorableMongodbDatabasesClientImpl.java | 2 +- .../RestorableMongodbResourcesClientImpl.java | 2 +- .../RestorableSqlContainersClientImpl.java | 22 +- .../RestorableSqlDatabasesClientImpl.java | 2 +- .../RestorableSqlResourcesClientImpl.java | 2 +- .../RestorableTableResourcesClientImpl.java | 290 ++++ .../RestorableTablesClientImpl.java | 295 ++++ .../implementation/ServicesClientImpl.java | 29 +- .../SqlResourcesClientImpl.java | 1309 ++++++++++++++--- .../TableResourcesClientImpl.java | 408 ++++- .../cosmos/models/AccountKeyMetadata.java | 4 + .../AnalyticalStorageConfiguration.java | 4 + .../models/AnalyticalStorageSchemaType.java | 9 + .../cosmos/models/ApiProperties.java | 4 + .../cosmos/models/ApiType.java | 9 + .../cosmos/models/ArmProxyResource.java | 4 + .../cosmos/models/ArmResourceProperties.java | 4 + .../cosmos/models/AuthenticationMethod.java | 9 + .../models/AutoUpgradePolicyResource.java | 4 + .../cosmos/models/AutoscaleSettings.java | 4 + .../models/AutoscaleSettingsResource.java | 4 + .../cosmos/models/BackupPolicy.java | 4 + .../models/BackupPolicyMigrationState.java | 4 + .../models/BackupPolicyMigrationStatus.java | 9 + .../cosmos/models/BackupPolicyType.java | 9 + .../models/BackupStorageRedundancy.java | 9 + .../cosmos/models/Capability.java | 4 + .../cosmos/models/Capacity.java | 4 + ...draClusterPublicStatusDataCentersItem.java | 4 + ...lusterPublicStatusDataCentersItemNode.java | 4 + ...ssandraKeyspaceCreateUpdateParameters.java | 4 + ...CassandraKeyspaceGetPropertiesOptions.java | 4 + ...assandraKeyspaceGetPropertiesResource.java | 4 + .../models/CassandraKeyspaceListResult.java | 4 + .../models/CassandraKeyspaceResource.java | 4 + .../cosmos/models/CassandraPartitionKey.java | 4 + .../cosmos/models/CassandraSchema.java | 4 + .../CassandraTableCreateUpdateParameters.java | 4 + .../CassandraTableGetPropertiesOptions.java | 4 + .../CassandraTableGetPropertiesResource.java | 4 + .../models/CassandraTableListResult.java | 4 + .../cosmos/models/CassandraTableResource.java | 4 + .../cosmos/models/Certificate.java | 4 + .../models/ClientEncryptionIncludedPath.java | 159 ++ ...ntEncryptionKeyCreateUpdateParameters.java | 75 + ...entEncryptionKeyGetPropertiesResource.java | 100 ++ .../models/ClientEncryptionKeyResource.java | 136 ++ .../ClientEncryptionKeysListResult.java | 44 + .../cosmos/models/ClientEncryptionPolicy.java | 91 ++ .../cosmos/models/ClusterKey.java | 4 + .../models/ClusterResourceProperties.java | 4 + .../resourcemanager/cosmos/models/Column.java | 4 + .../cosmos/models/CommandPostBody.java | 4 + .../cosmos/models/CompositePath.java | 4 + .../cosmos/models/CompositePathSortOrder.java | 9 + .../cosmos/models/ConflictResolutionMode.java | 9 + .../models/ConflictResolutionPolicy.java | 4 + .../cosmos/models/ConnectionError.java | 4 + .../cosmos/models/ConnectionState.java | 9 + .../cosmos/models/ConnectorOffer.java | 9 + .../cosmos/models/ConsistencyPolicy.java | 4 + .../cosmos/models/ContainerPartitionKey.java | 4 + .../models/ContinuousBackupInformation.java | 4 + .../ContinuousBackupRestoreLocation.java | 4 + .../models/ContinuousModeBackupPolicy.java | 4 + .../cosmos/models/CorsPolicy.java | 4 + .../cosmos/models/CreateMode.java | 9 + .../cosmos/models/CreateUpdateOptions.java | 4 + .../models/DataCenterResourceProperties.java | 4 + .../DataTransferRegionalServiceResource.java | 4 + ...DataTransferServiceResourceProperties.java | 4 + .../cosmos/models/DataType.java | 9 + .../DatabaseAccountConnectionString.java | 4 + ...DatabaseAccountCreateUpdateParameters.java | 29 + .../models/DatabaseAccountKeysMetadata.java | 4 + .../cosmos/models/DatabaseAccountKind.java | 9 + ...atabaseAccountRegenerateKeyParameters.java | 4 + .../DatabaseAccountUpdateParameters.java | 29 + .../models/DatabaseAccountsListResult.java | 4 + .../models/DatabaseRestoreResource.java | 4 + .../cosmos/models/ExcludedPath.java | 4 + .../models/ExtendedResourceProperties.java | 4 + .../cosmos/models/FailoverPolicies.java | 4 + .../cosmos/models/FailoverPolicy.java | 4 + ...raphApiComputeRegionalServiceResource.java | 4 + ...phApiComputeServiceResourceProperties.java | 4 + ...GremlinDatabaseCreateUpdateParameters.java | 4 + .../GremlinDatabaseGetPropertiesOptions.java | 4 + .../GremlinDatabaseGetPropertiesResource.java | 4 + .../models/GremlinDatabaseListResult.java | 4 + .../models/GremlinDatabaseResource.java | 4 + .../GremlinDatabaseRestoreResource.java | 77 + .../GremlinGraphCreateUpdateParameters.java | 4 + .../GremlinGraphGetPropertiesOptions.java | 4 + .../GremlinGraphGetPropertiesResource.java | 4 + .../cosmos/models/GremlinGraphListResult.java | 4 + .../cosmos/models/GremlinGraphResource.java | 4 + .../cosmos/models/IncludedPath.java | 4 + .../cosmos/models/IndexKind.java | 9 + .../cosmos/models/Indexes.java | 4 + .../cosmos/models/IndexingMode.java | 9 + .../cosmos/models/IndexingPolicy.java | 4 + .../cosmos/models/IpAddressOrRange.java | 4 + .../cosmos/models/KeyKind.java | 9 + .../cosmos/models/KeyWrapMetadata.java | 128 ++ .../cosmos/models/ListClusters.java | 4 + .../cosmos/models/ListDataCenters.java | 4 + .../cosmos/models/Location.java | 4 + .../cosmos/models/LocationListResult.java | 4 + .../cosmos/models/LocationProperties.java | 4 + ...ManagedCassandraArmResourceProperties.java | 4 + ...anagedCassandraManagedServiceIdentity.java | 4 + .../ManagedCassandraProvisioningState.java | 9 + .../models/ManagedCassandraReaperStatus.java | 4 + .../ManagedCassandraResourceIdentityType.java | 9 + .../cosmos/models/ManagedServiceIdentity.java | 4 + ...ServiceIdentityUserAssignedIdentities.java | 4 + ...edViewsBuilderRegionalServiceResource.java | 4 + ...ViewsBuilderServiceResourceProperties.java | 4 + .../cosmos/models/MetricAvailability.java | 4 + .../models/MetricDefinitionsListResult.java | 4 + .../cosmos/models/MetricListResult.java | 4 + .../cosmos/models/MetricName.java | 4 + .../cosmos/models/MetricValue.java | 4 + .../cosmos/models/MinimalTlsVersion.java | 53 + ...ngoDBCollectionCreateUpdateParameters.java | 4 + ...MongoDBCollectionGetPropertiesOptions.java | 4 + ...ongoDBCollectionGetPropertiesResource.java | 4 + .../models/MongoDBCollectionListResult.java | 4 + .../models/MongoDBCollectionResource.java | 4 + ...MongoDBDatabaseCreateUpdateParameters.java | 4 + .../MongoDBDatabaseGetPropertiesOptions.java | 4 + .../MongoDBDatabaseGetPropertiesResource.java | 4 + .../models/MongoDBDatabaseListResult.java | 4 + .../models/MongoDBDatabaseResource.java | 4 + .../cosmos/models/MongoIndex.java | 4 + .../cosmos/models/MongoIndexKeys.java | 4 + .../cosmos/models/MongoIndexOptions.java | 4 + ...oRoleDefinitionCreateUpdateParameters.java | 4 + .../models/MongoRoleDefinitionListResult.java | 4 + ...oUserDefinitionCreateUpdateParameters.java | 4 + .../models/MongoUserDefinitionListResult.java | 4 + .../cosmos/models/NodeState.java | 9 + ...tebookWorkspaceCreateUpdateParameters.java | 4 + .../models/NotebookWorkspaceListResult.java | 4 + .../cosmos/models/NotebookWorkspaceName.java | 9 + .../cosmos/models/OperationDisplay.java | 4 + .../cosmos/models/OperationListResult.java | 4 + .../cosmos/models/OperationType.java | 9 + .../cosmos/models/OptionsResource.java | 4 + .../cosmos/models/PartitionKind.java | 9 + .../models/PartitionMetricListResult.java | 4 + .../cosmos/models/PartitionUsagesResult.java | 4 + .../models/PercentileMetricListResult.java | 4 + .../cosmos/models/PercentileMetricValue.java | 4 + .../models/PeriodicModeBackupPolicy.java | 4 + .../cosmos/models/PeriodicModeProperties.java | 4 + .../cosmos/models/Permission.java | 4 + .../cosmos/models/PrimaryAggregationType.java | 9 + .../PrivateEndpointConnectionListResult.java | 4 + .../models/PrivateEndpointProperty.java | 4 + .../models/PrivateLinkResourceListResult.java | 4 + ...ateLinkServiceConnectionStateProperty.java | 4 + .../cosmos/models/Privilege.java | 4 + .../cosmos/models/PrivilegeResource.java | 4 + .../cosmos/models/PublicNetworkAccess.java | 9 + .../cosmos/models/RegionForOnlineOffline.java | 4 + .../models/RegionalServiceResource.java | 4 + .../RestorableDatabaseAccountsListResult.java | 4 + ...ableGremlinDatabasePropertiesResource.java | 99 ++ .../RestorableGremlinDatabasesListResult.java | 44 + ...torableGremlinGraphPropertiesResource.java | 99 ++ .../RestorableGremlinGraphsListResult.java | 44 + .../RestorableGremlinResourcesListResult.java | 44 + .../models/RestorableLocationResource.java | 4 + ...leMongodbCollectionPropertiesResource.java | 4 + ...estorableMongodbCollectionsListResult.java | 4 + ...ableMongodbDatabasePropertiesResource.java | 4 + .../RestorableMongodbDatabasesListResult.java | 4 + .../RestorableMongodbResourcesListResult.java | 4 + ...torableSqlContainerPropertiesResource.java | 4 + ...lContainerPropertiesResourceContainer.java | 12 + .../RestorableSqlContainersListResult.java | 4 + ...storableSqlDatabasePropertiesResource.java | 4 + ...SqlDatabasePropertiesResourceDatabase.java | 4 + .../RestorableSqlDatabasesListResult.java | 4 + .../RestorableSqlResourcesListResult.java | 4 + .../RestorableTablePropertiesResource.java | 99 ++ .../RestorableTableResourcesListResult.java | 44 + .../models/RestorableTablesListResult.java | 44 + .../cosmos/models/RestoreMode.java | 9 + .../cosmos/models/RestoreParameters.java | 60 + .../resourcemanager/cosmos/models/Role.java | 4 + .../cosmos/models/SeedNode.java | 4 + .../cosmos/models/ServerVersion.java | 9 + ...ServiceResourceCreateUpdateParameters.java | 4 + .../models/ServiceResourceListResult.java | 4 + .../models/ServiceResourceProperties.java | 4 + .../cosmos/models/ServiceSize.java | 9 + .../cosmos/models/ServiceStatus.java | 9 + .../cosmos/models/ServiceType.java | 9 + .../cosmos/models/SpatialSpec.java | 4 + .../cosmos/models/SpatialType.java | 9 + .../SqlContainerCreateUpdateParameters.java | 4 + .../SqlContainerGetPropertiesOptions.java | 4 + .../SqlContainerGetPropertiesResource.java | 11 + .../cosmos/models/SqlContainerListResult.java | 4 + .../cosmos/models/SqlContainerResource.java | 33 + .../SqlDatabaseCreateUpdateParameters.java | 4 + .../SqlDatabaseGetPropertiesOptions.java | 4 + .../SqlDatabaseGetPropertiesResource.java | 4 + .../cosmos/models/SqlDatabaseListResult.java | 4 + .../cosmos/models/SqlDatabaseResource.java | 4 + ...dicatedGatewayRegionalServiceResource.java | 4 + ...catedGatewayServiceResourceProperties.java | 4 + ...lRoleAssignmentCreateUpdateParameters.java | 4 + .../models/SqlRoleAssignmentListResult.java | 4 + ...lRoleDefinitionCreateUpdateParameters.java | 4 + .../models/SqlRoleDefinitionListResult.java | 4 + ...StoredProcedureCreateUpdateParameters.java | 4 + ...lStoredProcedureGetPropertiesResource.java | 4 + .../models/SqlStoredProcedureListResult.java | 4 + .../models/SqlStoredProcedureResource.java | 4 + .../SqlTriggerCreateUpdateParameters.java | 4 + .../SqlTriggerGetPropertiesResource.java | 4 + .../cosmos/models/SqlTriggerListResult.java | 4 + .../cosmos/models/SqlTriggerResource.java | 4 + ...DefinedFunctionCreateUpdateParameters.java | 4 + ...rDefinedFunctionGetPropertiesResource.java | 4 + .../SqlUserDefinedFunctionListResult.java | 4 + .../SqlUserDefinedFunctionResource.java | 4 + .../models/TableCreateUpdateParameters.java | 4 + .../models/TableGetPropertiesOptions.java | 4 + .../models/TableGetPropertiesResource.java | 4 + .../cosmos/models/TableListResult.java | 4 + .../cosmos/models/TableResource.java | 4 + .../models/ThroughputPolicyResource.java | 4 + ...roughputSettingsGetPropertiesResource.java | 4 + .../models/ThroughputSettingsResource.java | 4 + .../ThroughputSettingsUpdateParameters.java | 4 + .../cosmos/models/TriggerOperation.java | 9 + .../cosmos/models/TriggerType.java | 9 + .../cosmos/models/UniqueKey.java | 4 + .../cosmos/models/UniqueKeyPolicy.java | 4 + .../cosmos/models/UnitType.java | 9 + .../cosmos/models/UsagesResult.java | 4 + .../cosmos/models/VirtualNetworkRule.java | 4 + .../resourcemanager/cosmos/CosmosDBTests.java | 4 +- ...ts.canCreateCosmosDbAzureTableAccount.json | 404 ++--- ...sts.canCreateCosmosDbCassandraAccount.json | 402 ++--- ...Tests.canCreateCosmosDbMongoDBAccount.json | 386 ++--- ...osDBTests.canCreateCosmosDbSqlAccount.json | 242 +-- ...osDBTests.canCreateSqlPrivateEndpoint.json | 884 ++++++----- ...s.canUpdateCosmosDbCassandraConnector.json | 878 +++++------ ...teCosmosDBTableWithVirtualNetworkRule.json | 120 +- ...CreateCosmosDBWithEventualConsistency.json | 102 +- ...DBTests.testCreateCosmosDBWithIPRange.json | 84 +- ...sts.testCreateCosmosDBWithKindMongoDB.json | 94 +- .../CosmosDBTests.testManageHACosmosDB.json | 220 +-- ...sSampleTests.testManageEventHubEvents.json | 22 +- .../CassandraClustersCreateUpdateSamples.java | 7 +- .../CassandraClustersDeallocateSamples.java | 6 +- .../CassandraClustersDeleteSamples.java | 6 +- ...ndraClustersGetByResourceGroupSamples.java | 6 +- ...CassandraClustersInvokeCommandSamples.java | 5 +- ...draClustersListByResourceGroupSamples.java | 6 +- .../CassandraClustersListSamples.java | 11 +- .../CassandraClustersStartSamples.java | 6 +- .../CassandraClustersStatusSamples.java | 6 +- .../CassandraClustersUpdateSamples.java | 5 +- ...ssandraDataCentersCreateUpdateSamples.java | 8 +- .../CassandraDataCentersDeleteSamples.java | 6 +- .../CassandraDataCentersGetSamples.java | 6 +- .../CassandraDataCentersListSamples.java | 6 +- .../CassandraDataCentersUpdateSamples.java | 8 +- ...sCreateUpdateCassandraKeyspaceSamples.java | 5 +- ...rcesCreateUpdateCassandraTableSamples.java | 5 +- ...sourcesDeleteCassandraKeyspaceSamples.java | 6 +- ...aResourcesDeleteCassandraTableSamples.java | 6 +- ...aResourcesGetCassandraKeyspaceSamples.java | 6 +- ...GetCassandraKeyspaceThroughputSamples.java | 7 +- ...ndraResourcesGetCassandraTableSamples.java | 7 +- ...cesGetCassandraTableThroughputSamples.java | 7 +- ...esourcesListCassandraKeyspacesSamples.java | 6 +- ...raResourcesListCassandraTablesSamples.java | 6 +- ...teCassandraKeyspaceToAutoscaleSamples.java | 6 +- ...ndraKeyspaceToManualThroughputSamples.java | 7 +- ...grateCassandraTableToAutoscaleSamples.java | 7 +- ...ssandraTableToManualThroughputSamples.java | 7 +- ...ateCassandraKeyspaceThroughputSamples.java | 5 +- ...UpdateCassandraTableThroughputSamples.java | 5 +- ...ollectionListMetricDefinitionsSamples.java | 6 +- .../CollectionListMetricsSamples.java | 6 +- .../CollectionListUsagesSamples.java | 12 +- ...CollectionPartitionListMetricsSamples.java | 6 +- .../CollectionPartitionListUsagesSamples.java | 6 +- ...tionPartitionRegionListMetricsSamples.java | 6 +- .../CollectionRegionListMetricsSamples.java | 6 +- ...tabaseAccountRegionListMetricsSamples.java | 6 +- ...atabaseAccountsCheckNameExistsSamples.java | 6 +- ...DatabaseAccountsCreateOrUpdateSamples.java | 24 +- .../DatabaseAccountsDeleteSamples.java | 11 +- ...AccountsFailoverPriorityChangeSamples.java | 5 +- ...baseAccountsGetByResourceGroupSamples.java | 6 +- ...atabaseAccountsGetReadOnlyKeysSamples.java | 6 +- ...aseAccountsListByResourceGroupSamples.java | 6 +- ...eAccountsListConnectionStringsSamples.java | 10 +- .../DatabaseAccountsListKeysSamples.java | 6 +- ...eAccountsListMetricDefinitionsSamples.java | 6 +- .../DatabaseAccountsListMetricsSamples.java | 6 +- ...tabaseAccountsListReadOnlyKeysSamples.java | 6 +- .../DatabaseAccountsListSamples.java | 6 +- .../DatabaseAccountsListUsagesSamples.java | 6 +- .../DatabaseAccountsOfflineRegionSamples.java | 5 +- .../DatabaseAccountsOnlineRegionSamples.java | 5 +- .../DatabaseAccountsRegenerateKeySamples.java | 8 +- .../DatabaseAccountsUpdateSamples.java | 9 +- .../DatabaseListMetricDefinitionsSamples.java | 6 +- .../generated/DatabaseListMetricsSamples.java | 6 +- .../generated/DatabaseListUsagesSamples.java | 7 +- ...cesCreateUpdateGremlinDatabaseSamples.java | 5 +- ...ourcesCreateUpdateGremlinGraphSamples.java | 5 +- ...ResourcesDeleteGremlinDatabaseSamples.java | 6 +- ...linResourcesDeleteGremlinGraphSamples.java | 6 +- ...linResourcesGetGremlinDatabaseSamples.java | 6 +- ...esGetGremlinDatabaseThroughputSamples.java | 6 +- ...remlinResourcesGetGremlinGraphSamples.java | 7 +- ...urcesGetGremlinGraphThroughputSamples.java | 7 +- ...nResourcesListGremlinDatabasesSamples.java | 6 +- ...mlinResourcesListGremlinGraphsSamples.java | 6 +- ...rateGremlinDatabaseToAutoscaleSamples.java | 6 +- ...mlinDatabaseToManualThroughputSamples.java | 6 +- ...MigrateGremlinGraphToAutoscaleSamples.java | 7 +- ...GremlinGraphToManualThroughputSamples.java | 7 +- ...eveContinuousBackupInformationSamples.java | 33 + ...pdateGremlinDatabaseThroughputSamples.java | 5 +- ...esUpdateGremlinGraphThroughputSamples.java | 5 +- .../cosmos/generated/LocationsGetSamples.java | 11 +- .../generated/LocationsListSamples.java | 6 +- ...sCreateUpdateMongoDBCollectionSamples.java | 5 +- ...cesCreateUpdateMongoDBDatabaseSamples.java | 5 +- ...reateUpdateMongoRoleDefinitionSamples.java | 5 +- ...reateUpdateMongoUserDefinitionSamples.java | 7 +- ...sourcesDeleteMongoDBCollectionSamples.java | 6 +- ...ResourcesDeleteMongoDBDatabaseSamples.java | 6 +- ...urcesDeleteMongoRoleDefinitionSamples.java | 7 +- ...urcesDeleteMongoUserDefinitionSamples.java | 7 +- ...BResourcesGetMongoDBCollectionSamples.java | 7 +- ...GetMongoDBCollectionThroughputSamples.java | 7 +- ...oDBResourcesGetMongoDBDatabaseSamples.java | 6 +- ...esGetMongoDBDatabaseThroughputSamples.java | 6 +- ...esourcesGetMongoRoleDefinitionSamples.java | 6 +- ...esourcesGetMongoUserDefinitionSamples.java | 6 +- ...esourcesListMongoDBCollectionsSamples.java | 6 +- ...BResourcesListMongoDBDatabasesSamples.java | 6 +- ...ourcesListMongoRoleDefinitionsSamples.java | 6 +- ...ourcesListMongoUserDefinitionsSamples.java | 6 +- ...teMongoDBCollectionToAutoscaleSamples.java | 7 +- ...DBCollectionToManualThroughputSamples.java | 7 +- ...rateMongoDBDatabaseToAutoscaleSamples.java | 6 +- ...goDBDatabaseToManualThroughputSamples.java | 6 +- ...eveContinuousBackupInformationSamples.java | 5 +- ...ateMongoDBCollectionThroughputSamples.java | 5 +- ...pdateMongoDBDatabaseThroughputSamples.java | 5 +- ...tebookWorkspacesCreateOrUpdateSamples.java | 5 +- .../NotebookWorkspacesDeleteSamples.java | 5 +- .../NotebookWorkspacesGetSamples.java | 5 +- ...orkspacesListByDatabaseAccountSamples.java | 6 +- ...okWorkspacesListConnectionInfoSamples.java | 6 +- ...kWorkspacesRegenerateAuthTokenSamples.java | 5 +- .../NotebookWorkspacesStartSamples.java | 5 +- .../generated/OperationsListSamples.java | 6 +- ...PartitionKeyRangeIdListMetricsSamples.java | 6 +- ...ionKeyRangeIdRegionListMetricsSamples.java | 6 +- .../PercentileListMetricsSamples.java | 6 +- ...centileSourceTargetListMetricsSamples.java | 6 +- .../PercentileTargetListMetricsSamples.java | 6 +- ...pointConnectionsCreateOrUpdateSamples.java | 5 +- ...ivateEndpointConnectionsDeleteSamples.java | 6 +- .../PrivateEndpointConnectionsGetSamples.java | 6 +- ...nnectionsListByDatabaseAccountSamples.java | 6 +- .../PrivateLinkResourcesGetSamples.java | 6 +- ...ResourcesListByDatabaseAccountSamples.java | 6 +- ...eDatabaseAccountsGetByLocationSamples.java | 7 +- ...DatabaseAccountsListByLocationSamples.java | 6 +- ...RestorableDatabaseAccountsListSamples.java | 11 +- ...RestorableGremlinDatabasesListSamples.java | 25 + .../RestorableGremlinGraphsListSamples.java | 31 + ...RestorableGremlinResourcesListSamples.java | 30 + ...storableMongodbCollectionsListSamples.java | 12 +- ...RestorableMongodbDatabasesListSamples.java | 6 +- ...RestorableMongodbResourcesListSamples.java | 11 +- .../RestorableSqlContainersListSamples.java | 12 +- .../RestorableSqlDatabasesListSamples.java | 6 +- .../RestorableSqlResourcesListSamples.java | 11 +- .../RestorableTableResourcesListSamples.java | 30 + .../RestorableTablesListSamples.java | 25 + .../generated/ServiceCreateSamples.java | 17 +- .../generated/ServiceDeleteSamples.java | 18 +- .../cosmos/generated/ServiceGetSamples.java | 18 +- .../cosmos/generated/ServiceListSamples.java | 11 +- ...reateUpdateClientEncryptionKeySamples.java | 46 + ...ourcesCreateUpdateSqlContainerSamples.java | 20 +- ...sourcesCreateUpdateSqlDatabaseSamples.java | 5 +- ...sCreateUpdateSqlRoleAssignmentSamples.java | 5 +- ...sCreateUpdateSqlRoleDefinitionSamples.java | 5 +- ...CreateUpdateSqlStoredProcedureSamples.java | 5 +- ...esourcesCreateUpdateSqlTriggerSamples.java | 5 +- ...teUpdateSqlUserDefinedFunctionSamples.java | 5 +- ...SqlResourcesDeleteSqlContainerSamples.java | 6 +- .../SqlResourcesDeleteSqlDatabaseSamples.java | 6 +- ...sourcesDeleteSqlRoleAssignmentSamples.java | 7 +- ...sourcesDeleteSqlRoleDefinitionSamples.java | 7 +- ...ourcesDeleteSqlStoredProcedureSamples.java | 11 +- .../SqlResourcesDeleteSqlTriggerSamples.java | 7 +- ...esDeleteSqlUserDefinedFunctionSamples.java | 11 +- ...esourcesGetClientEncryptionKeySamples.java | 26 + .../SqlResourcesGetSqlContainerSamples.java | 7 +- ...urcesGetSqlContainerThroughputSamples.java | 7 +- .../SqlResourcesGetSqlDatabaseSamples.java | 6 +- ...ourcesGetSqlDatabaseThroughputSamples.java | 6 +- ...lResourcesGetSqlRoleAssignmentSamples.java | 6 +- ...lResourcesGetSqlRoleDefinitionSamples.java | 6 +- ...ResourcesGetSqlStoredProcedureSamples.java | 11 +- .../SqlResourcesGetSqlTriggerSamples.java | 7 +- ...urcesGetSqlUserDefinedFunctionSamples.java | 11 +- ...ourcesListClientEncryptionKeysSamples.java | 25 + .../SqlResourcesListSqlContainersSamples.java | 6 +- .../SqlResourcesListSqlDatabasesSamples.java | 6 +- ...esourcesListSqlRoleAssignmentsSamples.java | 6 +- ...esourcesListSqlRoleDefinitionsSamples.java | 6 +- ...sourcesListSqlStoredProceduresSamples.java | 7 +- .../SqlResourcesListSqlTriggersSamples.java | 6 +- ...cesListSqlUserDefinedFunctionsSamples.java | 7 +- ...MigrateSqlContainerToAutoscaleSamples.java | 7 +- ...SqlContainerToManualThroughputSamples.java | 7 +- ...sMigrateSqlDatabaseToAutoscaleSamples.java | 6 +- ...eSqlDatabaseToManualThroughputSamples.java | 6 +- ...eveContinuousBackupInformationSamples.java | 5 +- ...esUpdateSqlContainerThroughputSamples.java | 5 +- ...cesUpdateSqlDatabaseThroughputSamples.java | 5 +- ...ableResourcesCreateUpdateTableSamples.java | 5 +- .../TableResourcesDeleteTableSamples.java | 6 +- .../TableResourcesGetTableSamples.java | 6 +- ...bleResourcesGetTableThroughputSamples.java | 6 +- .../TableResourcesListTablesSamples.java | 6 +- ...sourcesMigrateTableToAutoscaleSamples.java | 6 +- ...MigrateTableToManualThroughputSamples.java | 6 +- ...eveContinuousBackupInformationSamples.java | 32 + ...ResourcesUpdateTableThroughputSamples.java | 5 +- ...zureResourceManagerTests.testCosmosDB.json | 140 +- ...teLinkTests.testPrivateEndpointCosmos.json | 56 +- 604 files changed, 11941 insertions(+), 3847 deletions(-) create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableGremlinDatabasesClient.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableGremlinGraphsClient.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableGremlinResourcesClient.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableTableResourcesClient.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableTablesClient.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ClientEncryptionKeyCreateUpdateProperties.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ClientEncryptionKeyGetProperties.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ClientEncryptionKeyGetResultsInner.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableGremlinDatabaseGetResultInner.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableGremlinDatabaseProperties.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableGremlinGraphGetResultInner.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableGremlinGraphProperties.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableGremlinResourcesGetResultInner.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableTableGetResultInner.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableTableProperties.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableTableResourcesGetResultInner.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableGremlinDatabasesClientImpl.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableGremlinGraphsClientImpl.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableGremlinResourcesClientImpl.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableTableResourcesClientImpl.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableTablesClientImpl.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionIncludedPath.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionKeyCreateUpdateParameters.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionKeyGetPropertiesResource.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionKeyResource.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionKeysListResult.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionPolicy.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseRestoreResource.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/KeyWrapMetadata.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MinimalTlsVersion.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableGremlinDatabasePropertiesResource.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableGremlinDatabasesListResult.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableGremlinGraphPropertiesResource.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableGremlinGraphsListResult.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableGremlinResourcesListResult.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableTablePropertiesResource.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableTableResourcesListResult.java create mode 100644 sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableTablesListResult.java create mode 100644 sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesRetrieveContinuousBackupInformationSamples.java create mode 100644 sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableGremlinDatabasesListSamples.java create mode 100644 sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableGremlinGraphsListSamples.java create mode 100644 sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableGremlinResourcesListSamples.java create mode 100644 sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableTableResourcesListSamples.java create mode 100644 sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableTablesListSamples.java create mode 100644 sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateClientEncryptionKeySamples.java create mode 100644 sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetClientEncryptionKeySamples.java create mode 100644 sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListClientEncryptionKeysSamples.java create mode 100644 sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesRetrieveContinuousBackupInformationSamples.java diff --git a/sdk/resourcemanager/api-specs.json b/sdk/resourcemanager/api-specs.json index f46fc3efafdb7..c6e20c6497a2d 100644 --- a/sdk/resourcemanager/api-specs.json +++ b/sdk/resourcemanager/api-specs.json @@ -83,7 +83,7 @@ "dir": "azure-resourcemanager-cosmos", "source": "specification/cosmos-db/resource-manager/readme.md", "package": "com.azure.resourcemanager.cosmos", - "args": "--tag=package-2022-08" + "args": "--tag=package-2022-11" }, "dns": { "dir": "azure-resourcemanager-dns", diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-cosmos/CHANGELOG.md index f317bb8fe5023..4564499abb8bc 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/CHANGELOG.md @@ -2,13 +2,11 @@ ## 2.24.0-beta.1 (Unreleased) -### Features Added - -### Breaking Changes +### Other Changes -### Bugs Fixed +#### Dependency Updates -### Other Changes +- Updated `api-version` to `2022-11-15`. ## 2.23.0 (2023-01-27) diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/pom.xml b/sdk/resourcemanager/azure-resourcemanager-cosmos/pom.xml index 0e4a00d464bda..f930a7e1b76be 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/pom.xml @@ -41,6 +41,7 @@ --add-exports com.azure.resourcemanager.resources/com.azure.resourcemanager.resources.fluentcore.arm.models.implementation=ALL-UNNAMED --add-opens com.azure.resourcemanager.cosmos/com.azure.resourcemanager.cosmos=ALL-UNNAMED + --add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CassandraClustersClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CassandraClustersClient.java index b231afb46e6f2..790f125ed7db7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CassandraClustersClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CassandraClustersClient.java @@ -131,28 +131,28 @@ Mono> getByResourceGroupWithResponseAsync( * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a managed Cassandra cluster. + * @return the properties of a managed Cassandra cluster along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - ClusterResourceInner getByResourceGroup(String resourceGroupName, String clusterName); + Response getByResourceGroupWithResponse( + String resourceGroupName, String clusterName, Context context); /** * Get the properties of a managed Cassandra cluster. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a managed Cassandra cluster along with {@link Response}. + * @return the properties of a managed Cassandra cluster. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getByResourceGroupWithResponse( - String resourceGroupName, String clusterName, Context context); + ClusterResourceInner getByResourceGroup(String resourceGroupName, String clusterName); /** * Deletes a managed Cassandra cluster. @@ -814,27 +814,27 @@ Mono> statusWithResponseAsync( * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the CPU, memory, and disk usage statistics for each Cassandra node in a cluster. + * @return the CPU, memory, and disk usage statistics for each Cassandra node in a cluster along with {@link + * Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - CassandraClusterPublicStatusInner status(String resourceGroupName, String clusterName); + Response statusWithResponse( + String resourceGroupName, String clusterName, Context context); /** * Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the CPU, memory, and disk usage statistics for each Cassandra node in a cluster along with {@link - * Response}. + * @return the CPU, memory, and disk usage statistics for each Cassandra node in a cluster. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response statusWithResponse( - String resourceGroupName, String clusterName, Context context); + CassandraClusterPublicStatusInner status(String resourceGroupName, String clusterName); } diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CassandraDataCentersClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CassandraDataCentersClient.java index 5968fed6b4039..0135874b34d6b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CassandraDataCentersClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CassandraDataCentersClient.java @@ -98,13 +98,15 @@ Mono> getWithResponseAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. * @param dataCenterName Data center name in a managed Cassandra cluster. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a managed Cassandra data center. + * @return the properties of a managed Cassandra data center along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - DataCenterResourceInner get(String resourceGroupName, String clusterName, String dataCenterName); + Response getWithResponse( + String resourceGroupName, String clusterName, String dataCenterName, Context context); /** * Get the properties of a managed Cassandra data center. @@ -112,15 +114,13 @@ Mono> getWithResponseAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. * @param dataCenterName Data center name in a managed Cassandra cluster. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a managed Cassandra data center along with {@link Response}. + * @return the properties of a managed Cassandra data center. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse( - String resourceGroupName, String clusterName, String dataCenterName, Context context); + DataCenterResourceInner get(String resourceGroupName, String clusterName, String dataCenterName); /** * Delete a managed Cassandra data center. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CassandraResourcesClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CassandraResourcesClient.java index e47cca8de21aa..fab44e245fa10 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CassandraResourcesClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CassandraResourcesClient.java @@ -109,14 +109,16 @@ Mono getCassandraKeyspaceAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param keyspaceName Cosmos DB keyspace name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. + * @return the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name along + * with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - CassandraKeyspaceGetResultsInner getCassandraKeyspace( - String resourceGroupName, String accountName, String keyspaceName); + Response getCassandraKeyspaceWithResponse( + String resourceGroupName, String accountName, String keyspaceName, Context context); /** * Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. @@ -124,16 +126,14 @@ CassandraKeyspaceGetResultsInner getCassandraKeyspace( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param keyspaceName Cosmos DB keyspace name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name along - * with {@link Response}. + * @return the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getCassandraKeyspaceWithResponse( - String resourceGroupName, String accountName, String keyspaceName, Context context); + CassandraKeyspaceGetResultsInner getCassandraKeyspace( + String resourceGroupName, String accountName, String keyspaceName); /** * Create or update an Azure Cosmos DB Cassandra keyspace. @@ -419,15 +419,16 @@ Mono getCassandraKeyspaceThroughputAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param keyspaceName Cosmos DB keyspace name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the - * provided name. + * provided name along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - ThroughputSettingsGetResultsInner getCassandraKeyspaceThroughput( - String resourceGroupName, String accountName, String keyspaceName); + Response getCassandraKeyspaceThroughputWithResponse( + String resourceGroupName, String accountName, String keyspaceName, Context context); /** * Gets the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the @@ -436,16 +437,15 @@ ThroughputSettingsGetResultsInner getCassandraKeyspaceThroughput( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param keyspaceName Cosmos DB keyspace name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the - * provided name along with {@link Response}. + * provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getCassandraKeyspaceThroughputWithResponse( - String resourceGroupName, String accountName, String keyspaceName, Context context); + ThroughputSettingsGetResultsInner getCassandraKeyspaceThroughput( + String resourceGroupName, String accountName, String keyspaceName); /** * Update RUs per second of an Azure Cosmos DB Cassandra Keyspace. @@ -906,14 +906,15 @@ Mono getCassandraTableAsync( * @param accountName Cosmos DB database account name. * @param keyspaceName Cosmos DB keyspace name. * @param tableName Cosmos DB table name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Cassandra table under an existing Azure Cosmos DB database account. + * @return the Cassandra table under an existing Azure Cosmos DB database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - CassandraTableGetResultsInner getCassandraTable( - String resourceGroupName, String accountName, String keyspaceName, String tableName); + Response getCassandraTableWithResponse( + String resourceGroupName, String accountName, String keyspaceName, String tableName, Context context); /** * Gets the Cassandra table under an existing Azure Cosmos DB database account. @@ -922,15 +923,14 @@ CassandraTableGetResultsInner getCassandraTable( * @param accountName Cosmos DB database account name. * @param keyspaceName Cosmos DB keyspace name. * @param tableName Cosmos DB table name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Cassandra table under an existing Azure Cosmos DB database account along with {@link Response}. + * @return the Cassandra table under an existing Azure Cosmos DB database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getCassandraTableWithResponse( - String resourceGroupName, String accountName, String keyspaceName, String tableName, Context context); + CassandraTableGetResultsInner getCassandraTable( + String resourceGroupName, String accountName, String keyspaceName, String tableName); /** * Create or update an Azure Cosmos DB Cassandra Table. @@ -1241,15 +1241,16 @@ Mono getCassandraTableThroughputAsync( * @param accountName Cosmos DB database account name. * @param keyspaceName Cosmos DB keyspace name. * @param tableName Cosmos DB table name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the - * provided name. + * provided name along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - ThroughputSettingsGetResultsInner getCassandraTableThroughput( - String resourceGroupName, String accountName, String keyspaceName, String tableName); + Response getCassandraTableThroughputWithResponse( + String resourceGroupName, String accountName, String keyspaceName, String tableName, Context context); /** * Gets the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the @@ -1259,16 +1260,15 @@ ThroughputSettingsGetResultsInner getCassandraTableThroughput( * @param accountName Cosmos DB database account name. * @param keyspaceName Cosmos DB keyspace name. * @param tableName Cosmos DB table name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the - * provided name along with {@link Response}. + * provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getCassandraTableThroughputWithResponse( - String resourceGroupName, String accountName, String keyspaceName, String tableName, Context context); + ThroughputSettingsGetResultsInner getCassandraTableThroughput( + String resourceGroupName, String accountName, String keyspaceName, String tableName); /** * Update RUs per second of an Azure Cosmos DB Cassandra table. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CosmosDBManagementClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CosmosDBManagementClient.java index 3a4a77dab4388..fc75b408cb6c1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CosmosDBManagementClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/CosmosDBManagementClient.java @@ -261,6 +261,41 @@ public interface CosmosDBManagementClient { */ RestorableMongodbResourcesClient getRestorableMongodbResources(); + /** + * Gets the RestorableGremlinDatabasesClient object to access its operations. + * + * @return the RestorableGremlinDatabasesClient object. + */ + RestorableGremlinDatabasesClient getRestorableGremlinDatabases(); + + /** + * Gets the RestorableGremlinGraphsClient object to access its operations. + * + * @return the RestorableGremlinGraphsClient object. + */ + RestorableGremlinGraphsClient getRestorableGremlinGraphs(); + + /** + * Gets the RestorableGremlinResourcesClient object to access its operations. + * + * @return the RestorableGremlinResourcesClient object. + */ + RestorableGremlinResourcesClient getRestorableGremlinResources(); + + /** + * Gets the RestorableTablesClient object to access its operations. + * + * @return the RestorableTablesClient object. + */ + RestorableTablesClient getRestorableTables(); + + /** + * Gets the RestorableTableResourcesClient object to access its operations. + * + * @return the RestorableTableResourcesClient object. + */ + RestorableTableResourcesClient getRestorableTableResources(); + /** * Gets the ServicesClient object to access its operations. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/DatabaseAccountsClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/DatabaseAccountsClient.java index 35f6b4b7f3db6..e412a5b193689 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/DatabaseAccountsClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/DatabaseAccountsClient.java @@ -69,28 +69,28 @@ Mono> getByResourceGroupWithResponseAsy * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB database account. + * @return an Azure Cosmos DB database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - DatabaseAccountGetResultsInner getByResourceGroup(String resourceGroupName, String accountName); + Response getByResourceGroupWithResponse( + String resourceGroupName, String accountName, Context context); /** * Retrieves the properties of an existing Azure Cosmos DB database account. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB database account along with {@link Response}. + * @return an Azure Cosmos DB database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getByResourceGroupWithResponse( - String resourceGroupName, String accountName, Context context); + DatabaseAccountGetResultsInner getByResourceGroup(String resourceGroupName, String accountName); /** * Updates the properties of an existing Azure Cosmos DB database account. @@ -642,28 +642,28 @@ Mono> listKeysWithResponseAsync( * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the access keys for the given database account. + * @return the access keys for the given database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - DatabaseAccountListKeysResultInner listKeys(String resourceGroupName, String accountName); + Response listKeysWithResponse( + String resourceGroupName, String accountName, Context context); /** * Lists the access keys for the specified Azure Cosmos DB database account. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the access keys for the given database account along with {@link Response}. + * @return the access keys for the given database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response listKeysWithResponse( - String resourceGroupName, String accountName, Context context); + DatabaseAccountListKeysResultInner listKeys(String resourceGroupName, String accountName); /** * Lists the connection strings for the specified Azure Cosmos DB database account. @@ -699,28 +699,28 @@ Mono listConnectionStringsAsync * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the connection strings for the given database account. + * @return the connection strings for the given database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - DatabaseAccountListConnectionStringsResultInner listConnectionStrings(String resourceGroupName, String accountName); + Response listConnectionStringsWithResponse( + String resourceGroupName, String accountName, Context context); /** * Lists the connection strings for the specified Azure Cosmos DB database account. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the connection strings for the given database account along with {@link Response}. + * @return the connection strings for the given database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response listConnectionStringsWithResponse( - String resourceGroupName, String accountName, Context context); + DatabaseAccountListConnectionStringsResultInner listConnectionStrings(String resourceGroupName, String accountName); /** * Offline the specified region for the specified Azure Cosmos DB database account. @@ -969,28 +969,28 @@ Mono> getReadOnlyKeysWithRe * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the read-only access keys for the given database account. + * @return the read-only access keys for the given database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - DatabaseAccountListReadOnlyKeysResultInner getReadOnlyKeys(String resourceGroupName, String accountName); + Response getReadOnlyKeysWithResponse( + String resourceGroupName, String accountName, Context context); /** * Lists the read-only access keys for the specified Azure Cosmos DB database account. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the read-only access keys for the given database account along with {@link Response}. + * @return the read-only access keys for the given database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getReadOnlyKeysWithResponse( - String resourceGroupName, String accountName, Context context); + DatabaseAccountListReadOnlyKeysResultInner getReadOnlyKeys(String resourceGroupName, String accountName); /** * Lists the read-only access keys for the specified Azure Cosmos DB database account. @@ -1026,28 +1026,28 @@ Mono listReadOnlyKeysAsync( * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the read-only access keys for the given database account. + * @return the read-only access keys for the given database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - DatabaseAccountListReadOnlyKeysResultInner listReadOnlyKeys(String resourceGroupName, String accountName); + Response listReadOnlyKeysWithResponse( + String resourceGroupName, String accountName, Context context); /** * Lists the read-only access keys for the specified Azure Cosmos DB database account. * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the read-only access keys for the given database account along with {@link Response}. + * @return the read-only access keys for the given database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response listReadOnlyKeysWithResponse( - String resourceGroupName, String accountName, Context context); + DatabaseAccountListReadOnlyKeysResultInner listReadOnlyKeys(String resourceGroupName, String accountName); /** * Regenerates an access key for the specified Azure Cosmos DB database account. @@ -1191,27 +1191,27 @@ void regenerateKey( * letters, numbers, and the '-' character, and must be between 3 and 50 characters. * * @param accountName Cosmos DB database account name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return whether resource exists. + * @return whether resource exists along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - boolean checkNameExists(String accountName); + Response checkNameExistsWithResponse(String accountName, Context context); /** * Checks that the Azure Cosmos DB account name already exists. A valid account name may contain only lowercase * letters, numbers, and the '-' character, and must be between 3 and 50 characters. * * @param accountName Cosmos DB database account name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return whether resource exists along with {@link Response}. + * @return whether resource exists. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response checkNameExistsWithResponse(String accountName, Context context); + boolean checkNameExists(String accountName); /** * Retrieves the metrics determined by the given filter for the given database account. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/GremlinResourcesClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/GremlinResourcesClient.java index d53f8398ca0b6..407dcac6a0db1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/GremlinResourcesClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/GremlinResourcesClient.java @@ -13,9 +13,11 @@ import com.azure.core.util.Context; import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; +import com.azure.resourcemanager.cosmos.fluent.models.BackupInformationInner; import com.azure.resourcemanager.cosmos.fluent.models.GremlinDatabaseGetResultsInner; import com.azure.resourcemanager.cosmos.fluent.models.GremlinGraphGetResultsInner; import com.azure.resourcemanager.cosmos.fluent.models.ThroughputSettingsGetResultsInner; +import com.azure.resourcemanager.cosmos.models.ContinuousBackupRestoreLocation; import com.azure.resourcemanager.cosmos.models.GremlinDatabaseCreateUpdateParameters; import com.azure.resourcemanager.cosmos.models.GremlinGraphCreateUpdateParameters; import com.azure.resourcemanager.cosmos.models.ThroughputSettingsUpdateParameters; @@ -107,14 +109,16 @@ Mono getGremlinDatabaseAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Gremlin databases under an existing Azure Cosmos DB database account with the provided name. + * @return the Gremlin databases under an existing Azure Cosmos DB database account with the provided name along + * with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - GremlinDatabaseGetResultsInner getGremlinDatabase( - String resourceGroupName, String accountName, String databaseName); + Response getGremlinDatabaseWithResponse( + String resourceGroupName, String accountName, String databaseName, Context context); /** * Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name. @@ -122,16 +126,14 @@ GremlinDatabaseGetResultsInner getGremlinDatabase( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Gremlin databases under an existing Azure Cosmos DB database account with the provided name along - * with {@link Response}. + * @return the Gremlin databases under an existing Azure Cosmos DB database account with the provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getGremlinDatabaseWithResponse( - String resourceGroupName, String accountName, String databaseName, Context context); + GremlinDatabaseGetResultsInner getGremlinDatabase( + String resourceGroupName, String accountName, String databaseName); /** * Create or update an Azure Cosmos DB Gremlin database. @@ -416,15 +418,16 @@ Mono getGremlinDatabaseThroughputAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the Gremlin database under an existing Azure Cosmos DB database account with the - * provided name. + * provided name along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - ThroughputSettingsGetResultsInner getGremlinDatabaseThroughput( - String resourceGroupName, String accountName, String databaseName); + Response getGremlinDatabaseThroughputWithResponse( + String resourceGroupName, String accountName, String databaseName, Context context); /** * Gets the RUs per second of the Gremlin database under an existing Azure Cosmos DB database account with the @@ -433,16 +436,15 @@ ThroughputSettingsGetResultsInner getGremlinDatabaseThroughput( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the Gremlin database under an existing Azure Cosmos DB database account with the - * provided name along with {@link Response}. + * provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getGremlinDatabaseThroughputWithResponse( - String resourceGroupName, String accountName, String databaseName, Context context); + ThroughputSettingsGetResultsInner getGremlinDatabaseThroughput( + String resourceGroupName, String accountName, String databaseName); /** * Update RUs per second of an Azure Cosmos DB Gremlin database. @@ -902,14 +904,15 @@ Mono getGremlinGraphAsync( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param graphName Cosmos DB graph name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Gremlin graph under an existing Azure Cosmos DB database account. + * @return the Gremlin graph under an existing Azure Cosmos DB database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - GremlinGraphGetResultsInner getGremlinGraph( - String resourceGroupName, String accountName, String databaseName, String graphName); + Response getGremlinGraphWithResponse( + String resourceGroupName, String accountName, String databaseName, String graphName, Context context); /** * Gets the Gremlin graph under an existing Azure Cosmos DB database account. @@ -918,15 +921,14 @@ GremlinGraphGetResultsInner getGremlinGraph( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param graphName Cosmos DB graph name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Gremlin graph under an existing Azure Cosmos DB database account along with {@link Response}. + * @return the Gremlin graph under an existing Azure Cosmos DB database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getGremlinGraphWithResponse( - String resourceGroupName, String accountName, String databaseName, String graphName, Context context); + GremlinGraphGetResultsInner getGremlinGraph( + String resourceGroupName, String accountName, String databaseName, String graphName); /** * Create or update an Azure Cosmos DB Gremlin graph. @@ -1231,14 +1233,16 @@ Mono getGremlinGraphThroughputAsync( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param graphName Cosmos DB graph name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name. + * @return the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name + * along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - ThroughputSettingsGetResultsInner getGremlinGraphThroughput( - String resourceGroupName, String accountName, String databaseName, String graphName); + Response getGremlinGraphThroughputWithResponse( + String resourceGroupName, String accountName, String databaseName, String graphName, Context context); /** * Gets the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name. @@ -1247,16 +1251,14 @@ ThroughputSettingsGetResultsInner getGremlinGraphThroughput( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param graphName Cosmos DB graph name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name - * along with {@link Response}. + * @return the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getGremlinGraphThroughputWithResponse( - String resourceGroupName, String accountName, String databaseName, String graphName, Context context); + ThroughputSettingsGetResultsInner getGremlinGraphThroughput( + String resourceGroupName, String accountName, String databaseName, String graphName); /** * Update RUs per second of an Azure Cosmos DB Gremlin graph. @@ -1648,4 +1650,156 @@ ThroughputSettingsGetResultsInner migrateGremlinGraphToManualThroughput( @ServiceMethod(returns = ReturnType.SINGLE) ThroughputSettingsGetResultsInner migrateGremlinGraphToManualThroughput( String resourceGroupName, String accountName, String databaseName, String graphName, Context context); + + /** + * Retrieves continuous backup information for a gremlin graph. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param graphName Cosmos DB graph name. + * @param location The name of the continuous backup restore location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return backup information of a resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> retrieveContinuousBackupInformationWithResponseAsync( + String resourceGroupName, + String accountName, + String databaseName, + String graphName, + ContinuousBackupRestoreLocation location); + + /** + * Retrieves continuous backup information for a gremlin graph. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param graphName Cosmos DB graph name. + * @param location The name of the continuous backup restore location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, BackupInformationInner> + beginRetrieveContinuousBackupInformationAsync( + String resourceGroupName, + String accountName, + String databaseName, + String graphName, + ContinuousBackupRestoreLocation location); + + /** + * Retrieves continuous backup information for a gremlin graph. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param graphName Cosmos DB graph name. + * @param location The name of the continuous backup restore location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, BackupInformationInner> beginRetrieveContinuousBackupInformation( + String resourceGroupName, + String accountName, + String databaseName, + String graphName, + ContinuousBackupRestoreLocation location); + + /** + * Retrieves continuous backup information for a gremlin graph. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param graphName Cosmos DB graph name. + * @param location The name of the continuous backup restore location. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, BackupInformationInner> beginRetrieveContinuousBackupInformation( + String resourceGroupName, + String accountName, + String databaseName, + String graphName, + ContinuousBackupRestoreLocation location, + Context context); + + /** + * Retrieves continuous backup information for a gremlin graph. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param graphName Cosmos DB graph name. + * @param location The name of the continuous backup restore location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return backup information of a resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono retrieveContinuousBackupInformationAsync( + String resourceGroupName, + String accountName, + String databaseName, + String graphName, + ContinuousBackupRestoreLocation location); + + /** + * Retrieves continuous backup information for a gremlin graph. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param graphName Cosmos DB graph name. + * @param location The name of the continuous backup restore location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + BackupInformationInner retrieveContinuousBackupInformation( + String resourceGroupName, + String accountName, + String databaseName, + String graphName, + ContinuousBackupRestoreLocation location); + + /** + * Retrieves continuous backup information for a gremlin graph. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param graphName Cosmos DB graph name. + * @param location The name of the continuous backup restore location. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + BackupInformationInner retrieveContinuousBackupInformation( + String resourceGroupName, + String accountName, + String databaseName, + String graphName, + ContinuousBackupRestoreLocation location, + Context context); } diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/LocationsClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/LocationsClient.java index 6b79ed46f1689..1f801dcd58fb2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/LocationsClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/LocationsClient.java @@ -79,24 +79,24 @@ public interface LocationsClient { * Get the properties of an existing Cosmos DB location. * * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of an existing Cosmos DB location. + * @return the properties of an existing Cosmos DB location along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - LocationGetResultInner get(String location); + Response getWithResponse(String location, Context context); /** * Get the properties of an existing Cosmos DB location. * * @param location Cosmos DB region, with spaces between words and each word capitalized. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of an existing Cosmos DB location along with {@link Response}. + * @return the properties of an existing Cosmos DB location. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse(String location, Context context); + LocationGetResultInner get(String location); } diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/MongoDBResourcesClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/MongoDBResourcesClient.java index 97c972477f465..e0d929d2f7e4b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/MongoDBResourcesClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/MongoDBResourcesClient.java @@ -113,14 +113,16 @@ Mono getMongoDBDatabaseAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. + * @return the MongoDB databases under an existing Azure Cosmos DB database account with the provided name along + * with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - MongoDBDatabaseGetResultsInner getMongoDBDatabase( - String resourceGroupName, String accountName, String databaseName); + Response getMongoDBDatabaseWithResponse( + String resourceGroupName, String accountName, String databaseName, Context context); /** * Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. @@ -128,16 +130,14 @@ MongoDBDatabaseGetResultsInner getMongoDBDatabase( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the MongoDB databases under an existing Azure Cosmos DB database account with the provided name along - * with {@link Response}. + * @return the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getMongoDBDatabaseWithResponse( - String resourceGroupName, String accountName, String databaseName, Context context); + MongoDBDatabaseGetResultsInner getMongoDBDatabase( + String resourceGroupName, String accountName, String databaseName); /** * Create or updates Azure Cosmos DB MongoDB database. @@ -422,15 +422,16 @@ Mono getMongoDBDatabaseThroughputAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the MongoDB database under an existing Azure Cosmos DB database account with the - * provided name. + * provided name along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - ThroughputSettingsGetResultsInner getMongoDBDatabaseThroughput( - String resourceGroupName, String accountName, String databaseName); + Response getMongoDBDatabaseThroughputWithResponse( + String resourceGroupName, String accountName, String databaseName, Context context); /** * Gets the RUs per second of the MongoDB database under an existing Azure Cosmos DB database account with the @@ -439,16 +440,15 @@ ThroughputSettingsGetResultsInner getMongoDBDatabaseThroughput( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the MongoDB database under an existing Azure Cosmos DB database account with the - * provided name along with {@link Response}. + * provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getMongoDBDatabaseThroughputWithResponse( - String resourceGroupName, String accountName, String databaseName, Context context); + ThroughputSettingsGetResultsInner getMongoDBDatabaseThroughput( + String resourceGroupName, String accountName, String databaseName); /** * Update RUs per second of the an Azure Cosmos DB MongoDB database. @@ -908,14 +908,15 @@ Mono getMongoDBCollectionAsync( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param collectionName Cosmos DB collection name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the MongoDB collection under an existing Azure Cosmos DB database account. + * @return the MongoDB collection under an existing Azure Cosmos DB database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - MongoDBCollectionGetResultsInner getMongoDBCollection( - String resourceGroupName, String accountName, String databaseName, String collectionName); + Response getMongoDBCollectionWithResponse( + String resourceGroupName, String accountName, String databaseName, String collectionName, Context context); /** * Gets the MongoDB collection under an existing Azure Cosmos DB database account. @@ -924,15 +925,14 @@ MongoDBCollectionGetResultsInner getMongoDBCollection( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param collectionName Cosmos DB collection name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the MongoDB collection under an existing Azure Cosmos DB database account along with {@link Response}. + * @return the MongoDB collection under an existing Azure Cosmos DB database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getMongoDBCollectionWithResponse( - String resourceGroupName, String accountName, String databaseName, String collectionName, Context context); + MongoDBCollectionGetResultsInner getMongoDBCollection( + String resourceGroupName, String accountName, String databaseName, String collectionName); /** * Create or update an Azure Cosmos DB MongoDB Collection. @@ -1245,15 +1245,16 @@ Mono getMongoDBCollectionThroughputAsync( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param collectionName Cosmos DB collection name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the MongoDB collection under an existing Azure Cosmos DB database account with the - * provided name. + * provided name along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - ThroughputSettingsGetResultsInner getMongoDBCollectionThroughput( - String resourceGroupName, String accountName, String databaseName, String collectionName); + Response getMongoDBCollectionThroughputWithResponse( + String resourceGroupName, String accountName, String databaseName, String collectionName, Context context); /** * Gets the RUs per second of the MongoDB collection under an existing Azure Cosmos DB database account with the @@ -1263,16 +1264,15 @@ ThroughputSettingsGetResultsInner getMongoDBCollectionThroughput( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param collectionName Cosmos DB collection name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the MongoDB collection under an existing Azure Cosmos DB database account with the - * provided name along with {@link Response}. + * provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getMongoDBCollectionThroughputWithResponse( - String resourceGroupName, String accountName, String databaseName, String collectionName, Context context); + ThroughputSettingsGetResultsInner getMongoDBCollectionThroughput( + String resourceGroupName, String accountName, String databaseName, String collectionName); /** * Update the RUs per second of an Azure Cosmos DB MongoDB collection. @@ -1709,14 +1709,15 @@ Mono getMongoRoleDefinitionAsync( * @param mongoRoleDefinitionId The ID for the Role Definition {dbName.roleName}. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB Mongo Role Definition. + * @return an Azure Cosmos DB Mongo Role Definition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - MongoRoleDefinitionGetResultsInner getMongoRoleDefinition( - String mongoRoleDefinitionId, String resourceGroupName, String accountName); + Response getMongoRoleDefinitionWithResponse( + String mongoRoleDefinitionId, String resourceGroupName, String accountName, Context context); /** * Retrieves the properties of an existing Azure Cosmos DB Mongo Role Definition with the given Id. @@ -1724,15 +1725,14 @@ MongoRoleDefinitionGetResultsInner getMongoRoleDefinition( * @param mongoRoleDefinitionId The ID for the Role Definition {dbName.roleName}. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB Mongo Role Definition along with {@link Response}. + * @return an Azure Cosmos DB Mongo Role Definition. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getMongoRoleDefinitionWithResponse( - String mongoRoleDefinitionId, String resourceGroupName, String accountName, Context context); + MongoRoleDefinitionGetResultsInner getMongoRoleDefinition( + String mongoRoleDefinitionId, String resourceGroupName, String accountName); /** * Creates or updates an Azure Cosmos DB Mongo Role Definition. @@ -2058,14 +2058,15 @@ Mono getMongoUserDefinitionAsync( * @param mongoUserDefinitionId The ID for the User Definition {dbName.userName}. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB User Definition. + * @return an Azure Cosmos DB User Definition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - MongoUserDefinitionGetResultsInner getMongoUserDefinition( - String mongoUserDefinitionId, String resourceGroupName, String accountName); + Response getMongoUserDefinitionWithResponse( + String mongoUserDefinitionId, String resourceGroupName, String accountName, Context context); /** * Retrieves the properties of an existing Azure Cosmos DB Mongo User Definition with the given Id. @@ -2073,15 +2074,14 @@ MongoUserDefinitionGetResultsInner getMongoUserDefinition( * @param mongoUserDefinitionId The ID for the User Definition {dbName.userName}. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB User Definition along with {@link Response}. + * @return an Azure Cosmos DB User Definition. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getMongoUserDefinitionWithResponse( - String mongoUserDefinitionId, String resourceGroupName, String accountName, Context context); + MongoUserDefinitionGetResultsInner getMongoUserDefinition( + String mongoUserDefinitionId, String resourceGroupName, String accountName); /** * Creates or updates an Azure Cosmos DB Mongo User Definition. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/NotebookWorkspacesClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/NotebookWorkspacesClient.java index 3b016e6ceacf7..323ac6169ab0d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/NotebookWorkspacesClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/NotebookWorkspacesClient.java @@ -104,14 +104,15 @@ Mono getAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param notebookWorkspaceName The name of the notebook workspace resource. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the notebook workspace for a Cosmos DB account. + * @return the notebook workspace for a Cosmos DB account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - NotebookWorkspaceInner get( - String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName); + Response getWithResponse( + String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, Context context); /** * Gets the notebook workspace for a Cosmos DB account. @@ -119,15 +120,14 @@ NotebookWorkspaceInner get( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param notebookWorkspaceName The name of the notebook workspace resource. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the notebook workspace for a Cosmos DB account along with {@link Response}. + * @return the notebook workspace for a Cosmos DB account. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse( - String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, Context context); + NotebookWorkspaceInner get( + String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName); /** * Creates the notebook workspace for a Cosmos DB account. @@ -406,14 +406,15 @@ Mono listConnectionInfoAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param notebookWorkspaceName The name of the notebook workspace resource. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the connection info for the given notebook workspace. + * @return the connection info for the given notebook workspace along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - NotebookWorkspaceConnectionInfoResultInner listConnectionInfo( - String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName); + Response listConnectionInfoWithResponse( + String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, Context context); /** * Retrieves the connection info for the notebook workspace. @@ -421,15 +422,14 @@ NotebookWorkspaceConnectionInfoResultInner listConnectionInfo( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param notebookWorkspaceName The name of the notebook workspace resource. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the connection info for the given notebook workspace along with {@link Response}. + * @return the connection info for the given notebook workspace. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response listConnectionInfoWithResponse( - String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, Context context); + NotebookWorkspaceConnectionInfoResultInner listConnectionInfo( + String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName); /** * Regenerates the auth token for the notebook workspace. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/PrivateEndpointConnectionsClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/PrivateEndpointConnectionsClient.java index 9b507869994c2..cab34ca9f22d1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/PrivateEndpointConnectionsClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/PrivateEndpointConnectionsClient.java @@ -97,14 +97,15 @@ Mono getAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param privateEndpointConnectionName The name of the private endpoint connection. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a private endpoint connection. + * @return a private endpoint connection along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - PrivateEndpointConnectionInner get( - String resourceGroupName, String accountName, String privateEndpointConnectionName); + Response getWithResponse( + String resourceGroupName, String accountName, String privateEndpointConnectionName, Context context); /** * Gets a private endpoint connection. @@ -112,15 +113,14 @@ PrivateEndpointConnectionInner get( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param privateEndpointConnectionName The name of the private endpoint connection. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a private endpoint connection along with {@link Response}. + * @return a private endpoint connection. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse( - String resourceGroupName, String accountName, String privateEndpointConnectionName, Context context); + PrivateEndpointConnectionInner get( + String resourceGroupName, String accountName, String privateEndpointConnectionName); /** * Approve or reject a private endpoint connection with a given name. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/PrivateLinkResourcesClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/PrivateLinkResourcesClient.java index 89d0c8ea2cee3..97185b3102339 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/PrivateLinkResourcesClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/PrivateLinkResourcesClient.java @@ -96,13 +96,15 @@ Mono> getWithResponseAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param groupName The name of the private link resource. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the private link resources that need to be created for a Cosmos DB account. + * @return the private link resources that need to be created for a Cosmos DB account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - PrivateLinkResourceInner get(String resourceGroupName, String accountName, String groupName); + Response getWithResponse( + String resourceGroupName, String accountName, String groupName, Context context); /** * Gets the private link resources that need to be created for a Cosmos DB account. @@ -110,13 +112,11 @@ Mono> getWithResponseAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param groupName The name of the private link resource. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the private link resources that need to be created for a Cosmos DB account along with {@link Response}. + * @return the private link resources that need to be created for a Cosmos DB account. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse( - String resourceGroupName, String accountName, String groupName, Context context); + PrivateLinkResourceInner get(String resourceGroupName, String accountName, String groupName); } diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableDatabaseAccountsClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableDatabaseAccountsClient.java index 7c66f2bf53405..1c07b84ba673b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableDatabaseAccountsClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableDatabaseAccountsClient.java @@ -132,13 +132,15 @@ Mono> getByLocationWithRespons * * @param location Cosmos DB region, with spaces between words and each word capitalized. * @param instanceId The instanceId GUID of a restorable database account. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a Azure Cosmos DB restorable database account. + * @return a Azure Cosmos DB restorable database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - RestorableDatabaseAccountGetResultInner getByLocation(String location, String instanceId); + Response getByLocationWithResponse( + String location, String instanceId, Context context); /** * Retrieves the properties of an existing Azure Cosmos DB restorable database account. This call requires @@ -146,13 +148,11 @@ Mono> getByLocationWithRespons * * @param location Cosmos DB region, with spaces between words and each word capitalized. * @param instanceId The instanceId GUID of a restorable database account. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a Azure Cosmos DB restorable database account along with {@link Response}. + * @return a Azure Cosmos DB restorable database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getByLocationWithResponse( - String location, String instanceId, Context context); + RestorableDatabaseAccountGetResultInner getByLocation(String location, String instanceId); } diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableGremlinDatabasesClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableGremlinDatabasesClient.java new file mode 100644 index 0000000000000..82338b370fe3a --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableGremlinDatabasesClient.java @@ -0,0 +1,64 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.fluent; + +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.util.Context; +import com.azure.resourcemanager.cosmos.fluent.models.RestorableGremlinDatabaseGetResultInner; + +/** An instance of this class provides access to all the operations defined in RestorableGremlinDatabasesClient. */ +public interface RestorableGremlinDatabasesClient { + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin databases under the restorable + * account. This helps in scenario where database was accidentally deleted to get the deletion time. This API + * requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Gremlin database events and their properties as paginated + * response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String location, String instanceId); + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin databases under the restorable + * account. This helps in scenario where database was accidentally deleted to get the deletion time. This API + * requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Gremlin database events and their properties as paginated + * response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String location, String instanceId); + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin databases under the restorable + * account. This helps in scenario where database was accidentally deleted to get the deletion time. This API + * requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Gremlin database events and their properties as paginated + * response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String location, String instanceId, Context context); +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableGremlinGraphsClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableGremlinGraphsClient.java new file mode 100644 index 0000000000000..fc31668127608 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableGremlinGraphsClient.java @@ -0,0 +1,93 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.fluent; + +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.util.Context; +import com.azure.resourcemanager.cosmos.fluent.models.RestorableGremlinGraphGetResultInner; + +/** An instance of this class provides access to all the operations defined in RestorableGremlinGraphsClient. */ +public interface RestorableGremlinGraphsClient { + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. + * This helps in scenario where container was accidentally deleted. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param restorableGremlinDatabaseRid The resource ID of the Gremlin database. + * @param startTime Restorable Gremlin graphs event feed start time. + * @param endTime Restorable Gremlin graphs event feed end time. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Gremlin graph events and their properties as paginated + * response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync( + String location, String instanceId, String restorableGremlinDatabaseRid, String startTime, String endTime); + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. + * This helps in scenario where container was accidentally deleted. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Gremlin graph events and their properties as paginated + * response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String location, String instanceId); + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. + * This helps in scenario where container was accidentally deleted. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Gremlin graph events and their properties as paginated + * response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String location, String instanceId); + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. + * This helps in scenario where container was accidentally deleted. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param restorableGremlinDatabaseRid The resource ID of the Gremlin database. + * @param startTime Restorable Gremlin graphs event feed start time. + * @param endTime Restorable Gremlin graphs event feed end time. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Gremlin graph events and their properties as paginated + * response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list( + String location, + String instanceId, + String restorableGremlinDatabaseRid, + String startTime, + String endTime, + Context context); +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableGremlinResourcesClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableGremlinResourcesClient.java new file mode 100644 index 0000000000000..8cfddf500a635 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableGremlinResourcesClient.java @@ -0,0 +1,86 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.fluent; + +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.util.Context; +import com.azure.resourcemanager.cosmos.fluent.models.RestorableGremlinResourcesGetResultInner; + +/** An instance of this class provides access to all the operations defined in RestorableGremlinResourcesClient. */ +public interface RestorableGremlinResourcesClient { + /** + * Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. + * This helps in scenarios to validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param restoreLocation The location where the restorable resources are located. + * @param restoreTimestampInUtc The timestamp when the restorable resources existed. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the restorable Gremlin resources as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync( + String location, String instanceId, String restoreLocation, String restoreTimestampInUtc); + + /** + * Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. + * This helps in scenarios to validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the restorable Gremlin resources as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String location, String instanceId); + + /** + * Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. + * This helps in scenarios to validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the restorable Gremlin resources as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String location, String instanceId); + + /** + * Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. + * This helps in scenarios to validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param restoreLocation The location where the restorable resources are located. + * @param restoreTimestampInUtc The timestamp when the restorable resources existed. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the restorable Gremlin resources as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list( + String location, String instanceId, String restoreLocation, String restoreTimestampInUtc, Context context); +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableMongodbCollectionsClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableMongodbCollectionsClient.java index 47d23b3876fa4..cfc5c577b33a2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableMongodbCollectionsClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableMongodbCollectionsClient.java @@ -21,6 +21,8 @@ public interface RestorableMongodbCollectionsClient { * @param location Cosmos DB region, with spaces between words and each word capitalized. * @param instanceId The instanceId GUID of a restorable database account. * @param restorableMongodbDatabaseRid The resource ID of the MongoDB database. + * @param startTime Restorable MongoDB collections event feed start time. + * @param endTime Restorable MongoDB collections event feed end time. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -29,7 +31,7 @@ public interface RestorableMongodbCollectionsClient { */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync( - String location, String instanceId, String restorableMongodbDatabaseRid); + String location, String instanceId, String restorableMongodbDatabaseRid, String startTime, String endTime); /** * Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB collections under a specific @@ -71,6 +73,8 @@ PagedFlux listAsync( * @param location Cosmos DB region, with spaces between words and each word capitalized. * @param instanceId The instanceId GUID of a restorable database account. * @param restorableMongodbDatabaseRid The resource ID of the MongoDB database. + * @param startTime Restorable MongoDB collections event feed start time. + * @param endTime Restorable MongoDB collections event feed end time. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. @@ -80,5 +84,10 @@ PagedFlux listAsync( */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list( - String location, String instanceId, String restorableMongodbDatabaseRid, Context context); + String location, + String instanceId, + String restorableMongodbDatabaseRid, + String startTime, + String endTime, + Context context); } diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableSqlContainersClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableSqlContainersClient.java index bb20e19abc26c..c807c2a4c5dbd 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableSqlContainersClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableSqlContainersClient.java @@ -21,8 +21,8 @@ public interface RestorableSqlContainersClient { * @param location Cosmos DB region, with spaces between words and each word capitalized. * @param instanceId The instanceId GUID of a restorable database account. * @param restorableSqlDatabaseRid The resource ID of the SQL database. - * @param startTime The snapshot create timestamp after which snapshots need to be listed. - * @param endTime The snapshot create timestamp before which snapshots need to be listed. + * @param startTime Restorable Sql containers event feed start time. + * @param endTime Restorable Sql containers event feed end time. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -73,8 +73,8 @@ PagedFlux listAsync( * @param location Cosmos DB region, with spaces between words and each word capitalized. * @param instanceId The instanceId GUID of a restorable database account. * @param restorableSqlDatabaseRid The resource ID of the SQL database. - * @param startTime The snapshot create timestamp after which snapshots need to be listed. - * @param endTime The snapshot create timestamp before which snapshots need to be listed. + * @param startTime Restorable Sql containers event feed start time. + * @param endTime Restorable Sql containers event feed end time. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableTableResourcesClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableTableResourcesClient.java new file mode 100644 index 0000000000000..699fbd915931f --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableTableResourcesClient.java @@ -0,0 +1,82 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.fluent; + +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.util.Context; +import com.azure.resourcemanager.cosmos.fluent.models.RestorableTableResourcesGetResultInner; + +/** An instance of this class provides access to all the operations defined in RestorableTableResourcesClient. */ +public interface RestorableTableResourcesClient { + /** + * Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to + * validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param restoreLocation The location where the restorable resources are located. + * @param restoreTimestampInUtc The timestamp when the restorable resources existed. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of restorable table names as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync( + String location, String instanceId, String restoreLocation, String restoreTimestampInUtc); + + /** + * Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to + * validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of restorable table names as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String location, String instanceId); + + /** + * Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to + * validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of restorable table names as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String location, String instanceId); + + /** + * Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to + * validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param restoreLocation The location where the restorable resources are located. + * @param restoreTimestampInUtc The timestamp when the restorable resources existed. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of restorable table names as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list( + String location, String instanceId, String restoreLocation, String restoreTimestampInUtc, Context context); +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableTablesClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableTablesClient.java new file mode 100644 index 0000000000000..8c31c227fa127 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/RestorableTablesClient.java @@ -0,0 +1,86 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.fluent; + +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.util.Context; +import com.azure.resourcemanager.cosmos.fluent.models.RestorableTableGetResultInner; + +/** An instance of this class provides access to all the operations defined in RestorableTablesClient. */ +public interface RestorableTablesClient { + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table + * was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + * permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param startTime Restorable Tables event feed start time. + * @param endTime Restorable Tables event feed end time. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Table events and their properties as paginated response + * with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync( + String location, String instanceId, String startTime, String endTime); + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table + * was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + * permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Table events and their properties as paginated response + * with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String location, String instanceId); + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table + * was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + * permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Table events and their properties as paginated response + * with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String location, String instanceId); + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table + * was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + * permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param startTime Restorable Tables event feed start time. + * @param endTime Restorable Tables event feed end time. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Table events and their properties as paginated response + * with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list( + String location, String instanceId, String startTime, String endTime, Context context); +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/ServicesClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/ServicesClient.java index 19ac6e451ab98..52d91ea1d3b75 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/ServicesClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/ServicesClient.java @@ -233,13 +233,15 @@ Mono> getWithResponseAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param serviceName Cosmos DB service name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the status of service. + * @return the status of service along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - ServiceResourceInner get(String resourceGroupName, String accountName, String serviceName); + Response getWithResponse( + String resourceGroupName, String accountName, String serviceName, Context context); /** * Gets the status of service. @@ -247,15 +249,13 @@ Mono> getWithResponseAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param serviceName Cosmos DB service name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the status of service along with {@link Response}. + * @return the status of service. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getWithResponse( - String resourceGroupName, String accountName, String serviceName, Context context); + ServiceResourceInner get(String resourceGroupName, String accountName, String serviceName); /** * Deletes service with the given serviceName. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/SqlResourcesClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/SqlResourcesClient.java index 4dc38d5bc5c13..2044c482de653 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/SqlResourcesClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/SqlResourcesClient.java @@ -14,6 +14,7 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.cosmos.fluent.models.BackupInformationInner; +import com.azure.resourcemanager.cosmos.fluent.models.ClientEncryptionKeyGetResultsInner; import com.azure.resourcemanager.cosmos.fluent.models.SqlContainerGetResultsInner; import com.azure.resourcemanager.cosmos.fluent.models.SqlDatabaseGetResultsInner; import com.azure.resourcemanager.cosmos.fluent.models.SqlRoleAssignmentGetResultsInner; @@ -22,6 +23,7 @@ import com.azure.resourcemanager.cosmos.fluent.models.SqlTriggerGetResultsInner; import com.azure.resourcemanager.cosmos.fluent.models.SqlUserDefinedFunctionGetResultsInner; import com.azure.resourcemanager.cosmos.fluent.models.ThroughputSettingsGetResultsInner; +import com.azure.resourcemanager.cosmos.models.ClientEncryptionKeyCreateUpdateParameters; import com.azure.resourcemanager.cosmos.models.ContinuousBackupRestoreLocation; import com.azure.resourcemanager.cosmos.models.SqlContainerCreateUpdateParameters; import com.azure.resourcemanager.cosmos.models.SqlDatabaseCreateUpdateParameters; @@ -119,13 +121,16 @@ Mono getSqlDatabaseAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SQL database under an existing Azure Cosmos DB database account with the provided name. + * @return the SQL database under an existing Azure Cosmos DB database account with the provided name along with + * {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - SqlDatabaseGetResultsInner getSqlDatabase(String resourceGroupName, String accountName, String databaseName); + Response getSqlDatabaseWithResponse( + String resourceGroupName, String accountName, String databaseName, Context context); /** * Gets the SQL database under an existing Azure Cosmos DB database account with the provided name. @@ -133,16 +138,13 @@ Mono getSqlDatabaseAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SQL database under an existing Azure Cosmos DB database account with the provided name along with - * {@link Response}. + * @return the SQL database under an existing Azure Cosmos DB database account with the provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getSqlDatabaseWithResponse( - String resourceGroupName, String accountName, String databaseName, Context context); + SqlDatabaseGetResultsInner getSqlDatabase(String resourceGroupName, String accountName, String databaseName); /** * Create or update an Azure Cosmos DB SQL database. @@ -424,15 +426,16 @@ Mono getSqlDatabaseThroughputAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the - * provided name. + * provided name along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - ThroughputSettingsGetResultsInner getSqlDatabaseThroughput( - String resourceGroupName, String accountName, String databaseName); + Response getSqlDatabaseThroughputWithResponse( + String resourceGroupName, String accountName, String databaseName, Context context); /** * Gets the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided @@ -441,16 +444,15 @@ ThroughputSettingsGetResultsInner getSqlDatabaseThroughput( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the - * provided name along with {@link Response}. + * provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getSqlDatabaseThroughputWithResponse( - String resourceGroupName, String accountName, String databaseName, Context context); + ThroughputSettingsGetResultsInner getSqlDatabaseThroughput( + String resourceGroupName, String accountName, String databaseName); /** * Update RUs per second of an Azure Cosmos DB SQL database. @@ -902,14 +904,15 @@ Mono getSqlContainerAsync( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param containerName Cosmos DB container name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SQL container under an existing Azure Cosmos DB database account. + * @return the SQL container under an existing Azure Cosmos DB database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - SqlContainerGetResultsInner getSqlContainer( - String resourceGroupName, String accountName, String databaseName, String containerName); + Response getSqlContainerWithResponse( + String resourceGroupName, String accountName, String databaseName, String containerName, Context context); /** * Gets the SQL container under an existing Azure Cosmos DB database account. @@ -918,15 +921,14 @@ SqlContainerGetResultsInner getSqlContainer( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param containerName Cosmos DB container name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SQL container under an existing Azure Cosmos DB database account along with {@link Response}. + * @return the SQL container under an existing Azure Cosmos DB database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getSqlContainerWithResponse( - String resourceGroupName, String accountName, String databaseName, String containerName, Context context); + SqlContainerGetResultsInner getSqlContainer( + String resourceGroupName, String accountName, String databaseName, String containerName); /** * Create or update an Azure Cosmos DB SQL container. @@ -1231,14 +1233,16 @@ Mono getSqlContainerThroughputAsync( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param containerName Cosmos DB container name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the RUs per second of the SQL container under an existing Azure Cosmos DB database account. + * @return the RUs per second of the SQL container under an existing Azure Cosmos DB database account along with + * {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - ThroughputSettingsGetResultsInner getSqlContainerThroughput( - String resourceGroupName, String accountName, String databaseName, String containerName); + Response getSqlContainerThroughputWithResponse( + String resourceGroupName, String accountName, String databaseName, String containerName, Context context); /** * Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account. @@ -1247,16 +1251,14 @@ ThroughputSettingsGetResultsInner getSqlContainerThroughput( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param containerName Cosmos DB container name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the RUs per second of the SQL container under an existing Azure Cosmos DB database account along with - * {@link Response}. + * @return the RUs per second of the SQL container under an existing Azure Cosmos DB database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getSqlContainerThroughputWithResponse( - String resourceGroupName, String accountName, String databaseName, String containerName, Context context); + ThroughputSettingsGetResultsInner getSqlContainerThroughput( + String resourceGroupName, String accountName, String databaseName, String containerName); /** * Update RUs per second of an Azure Cosmos DB SQL container. @@ -1649,6 +1651,287 @@ ThroughputSettingsGetResultsInner migrateSqlContainerToManualThroughput( ThroughputSettingsGetResultsInner migrateSqlContainerToManualThroughput( String resourceGroupName, String accountName, String databaseName, String containerName, Context context); + /** + * Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the client encryption keys and their properties as paginated + * response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listClientEncryptionKeysAsync( + String resourceGroupName, String accountName, String databaseName); + + /** + * Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the client encryption keys and their properties as paginated + * response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listClientEncryptionKeys( + String resourceGroupName, String accountName, String databaseName); + + /** + * Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the client encryption keys and their properties as paginated + * response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable listClientEncryptionKeys( + String resourceGroupName, String accountName, String databaseName, Context context); + + /** + * Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the ClientEncryptionKey under an existing Azure Cosmos DB SQL database along with {@link Response} on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getClientEncryptionKeyWithResponseAsync( + String resourceGroupName, String accountName, String databaseName, String clientEncryptionKeyName); + + /** + * Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the ClientEncryptionKey under an existing Azure Cosmos DB SQL database on successful completion of {@link + * Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getClientEncryptionKeyAsync( + String resourceGroupName, String accountName, String databaseName, String clientEncryptionKeyName); + + /** + * Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the ClientEncryptionKey under an existing Azure Cosmos DB SQL database along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getClientEncryptionKeyWithResponse( + String resourceGroupName, + String accountName, + String databaseName, + String clientEncryptionKeyName, + Context context); + + /** + * Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the ClientEncryptionKey under an existing Azure Cosmos DB SQL database. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + ClientEncryptionKeyGetResultsInner getClientEncryptionKey( + String resourceGroupName, String accountName, String databaseName, String clientEncryptionKeyName); + + /** + * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell + * (instead of directly). + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption key. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return client Encryption Key along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> createUpdateClientEncryptionKeyWithResponseAsync( + String resourceGroupName, + String accountName, + String databaseName, + String clientEncryptionKeyName, + ClientEncryptionKeyCreateUpdateParameters createUpdateClientEncryptionKeyParameters); + + /** + * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell + * (instead of directly). + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption key. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of client Encryption Key. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, ClientEncryptionKeyGetResultsInner> + beginCreateUpdateClientEncryptionKeyAsync( + String resourceGroupName, + String accountName, + String databaseName, + String clientEncryptionKeyName, + ClientEncryptionKeyCreateUpdateParameters createUpdateClientEncryptionKeyParameters); + + /** + * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell + * (instead of directly). + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption key. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of client Encryption Key. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, ClientEncryptionKeyGetResultsInner> + beginCreateUpdateClientEncryptionKey( + String resourceGroupName, + String accountName, + String databaseName, + String clientEncryptionKeyName, + ClientEncryptionKeyCreateUpdateParameters createUpdateClientEncryptionKeyParameters); + + /** + * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell + * (instead of directly). + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption key. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of client Encryption Key. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, ClientEncryptionKeyGetResultsInner> + beginCreateUpdateClientEncryptionKey( + String resourceGroupName, + String accountName, + String databaseName, + String clientEncryptionKeyName, + ClientEncryptionKeyCreateUpdateParameters createUpdateClientEncryptionKeyParameters, + Context context); + + /** + * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell + * (instead of directly). + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption key. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return client Encryption Key on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono createUpdateClientEncryptionKeyAsync( + String resourceGroupName, + String accountName, + String databaseName, + String clientEncryptionKeyName, + ClientEncryptionKeyCreateUpdateParameters createUpdateClientEncryptionKeyParameters); + + /** + * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell + * (instead of directly). + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption key. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return client Encryption Key. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + ClientEncryptionKeyGetResultsInner createUpdateClientEncryptionKey( + String resourceGroupName, + String accountName, + String databaseName, + String clientEncryptionKeyName, + ClientEncryptionKeyCreateUpdateParameters createUpdateClientEncryptionKeyParameters); + + /** + * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell + * (instead of directly). + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption key. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return client Encryption Key. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + ClientEncryptionKeyGetResultsInner createUpdateClientEncryptionKey( + String resourceGroupName, + String accountName, + String databaseName, + String clientEncryptionKeyName, + ClientEncryptionKeyCreateUpdateParameters createUpdateClientEncryptionKeyParameters, + Context context); + /** * Lists the SQL storedProcedure under an existing Azure Cosmos DB database account. * @@ -1753,18 +2036,20 @@ Mono getSqlStoredProcedureAsync( * @param databaseName Cosmos DB database name. * @param containerName Cosmos DB container name. * @param storedProcedureName Cosmos DB storedProcedure name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SQL storedProcedure under an existing Azure Cosmos DB database account. + * @return the SQL storedProcedure under an existing Azure Cosmos DB database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - SqlStoredProcedureGetResultsInner getSqlStoredProcedure( + Response getSqlStoredProcedureWithResponse( String resourceGroupName, String accountName, String databaseName, String containerName, - String storedProcedureName); + String storedProcedureName, + Context context); /** * Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. @@ -1774,20 +2059,18 @@ SqlStoredProcedureGetResultsInner getSqlStoredProcedure( * @param databaseName Cosmos DB database name. * @param containerName Cosmos DB container name. * @param storedProcedureName Cosmos DB storedProcedure name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SQL storedProcedure under an existing Azure Cosmos DB database account along with {@link Response}. + * @return the SQL storedProcedure under an existing Azure Cosmos DB database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getSqlStoredProcedureWithResponse( + SqlStoredProcedureGetResultsInner getSqlStoredProcedure( String resourceGroupName, String accountName, String databaseName, String containerName, - String storedProcedureName, - Context context); + String storedProcedureName); /** * Create or update an Azure Cosmos DB SQL storedProcedure. @@ -2210,18 +2493,21 @@ Mono getSqlUserDefinedFunctionAsync( * @param databaseName Cosmos DB database name. * @param containerName Cosmos DB container name. * @param userDefinedFunctionName Cosmos DB userDefinedFunction name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SQL userDefinedFunction under an existing Azure Cosmos DB database account. + * @return the SQL userDefinedFunction under an existing Azure Cosmos DB database account along with {@link + * Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - SqlUserDefinedFunctionGetResultsInner getSqlUserDefinedFunction( + Response getSqlUserDefinedFunctionWithResponse( String resourceGroupName, String accountName, String databaseName, String containerName, - String userDefinedFunctionName); + String userDefinedFunctionName, + Context context); /** * Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. @@ -2231,21 +2517,18 @@ SqlUserDefinedFunctionGetResultsInner getSqlUserDefinedFunction( * @param databaseName Cosmos DB database name. * @param containerName Cosmos DB container name. * @param userDefinedFunctionName Cosmos DB userDefinedFunction name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SQL userDefinedFunction under an existing Azure Cosmos DB database account along with {@link - * Response}. + * @return the SQL userDefinedFunction under an existing Azure Cosmos DB database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getSqlUserDefinedFunctionWithResponse( + SqlUserDefinedFunctionGetResultsInner getSqlUserDefinedFunction( String resourceGroupName, String accountName, String databaseName, String containerName, - String userDefinedFunctionName, - Context context); + String userDefinedFunctionName); /** * Create or update an Azure Cosmos DB SQL userDefinedFunction. @@ -2668,14 +2951,20 @@ Mono getSqlTriggerAsync( * @param databaseName Cosmos DB database name. * @param containerName Cosmos DB container name. * @param triggerName Cosmos DB trigger name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SQL trigger under an existing Azure Cosmos DB database account. + * @return the SQL trigger under an existing Azure Cosmos DB database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - SqlTriggerGetResultsInner getSqlTrigger( - String resourceGroupName, String accountName, String databaseName, String containerName, String triggerName); + Response getSqlTriggerWithResponse( + String resourceGroupName, + String accountName, + String databaseName, + String containerName, + String triggerName, + Context context); /** * Gets the SQL trigger under an existing Azure Cosmos DB database account. @@ -2685,20 +2974,14 @@ SqlTriggerGetResultsInner getSqlTrigger( * @param databaseName Cosmos DB database name. * @param containerName Cosmos DB container name. * @param triggerName Cosmos DB trigger name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SQL trigger under an existing Azure Cosmos DB database account along with {@link Response}. + * @return the SQL trigger under an existing Azure Cosmos DB database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getSqlTriggerWithResponse( - String resourceGroupName, - String accountName, - String databaseName, - String containerName, - String triggerName, - Context context); + SqlTriggerGetResultsInner getSqlTrigger( + String resourceGroupName, String accountName, String databaseName, String containerName, String triggerName); /** * Create or update an Azure Cosmos DB SQL trigger. @@ -3031,14 +3314,15 @@ Mono getSqlRoleDefinitionAsync( * @param roleDefinitionId The GUID for the Role Definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB SQL Role Definition. + * @return an Azure Cosmos DB SQL Role Definition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - SqlRoleDefinitionGetResultsInner getSqlRoleDefinition( - String roleDefinitionId, String resourceGroupName, String accountName); + Response getSqlRoleDefinitionWithResponse( + String roleDefinitionId, String resourceGroupName, String accountName, Context context); /** * Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. @@ -3046,15 +3330,14 @@ SqlRoleDefinitionGetResultsInner getSqlRoleDefinition( * @param roleDefinitionId The GUID for the Role Definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB SQL Role Definition along with {@link Response}. + * @return an Azure Cosmos DB SQL Role Definition. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getSqlRoleDefinitionWithResponse( - String roleDefinitionId, String resourceGroupName, String accountName, Context context); + SqlRoleDefinitionGetResultsInner getSqlRoleDefinition( + String roleDefinitionId, String resourceGroupName, String accountName); /** * Creates or updates an Azure Cosmos DB SQL Role Definition. @@ -3379,14 +3662,15 @@ Mono getSqlRoleAssignmentAsync( * @param roleAssignmentId The GUID for the Role Assignment. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB Role Assignment. + * @return an Azure Cosmos DB Role Assignment along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - SqlRoleAssignmentGetResultsInner getSqlRoleAssignment( - String roleAssignmentId, String resourceGroupName, String accountName); + Response getSqlRoleAssignmentWithResponse( + String roleAssignmentId, String resourceGroupName, String accountName, Context context); /** * Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. @@ -3394,15 +3678,14 @@ SqlRoleAssignmentGetResultsInner getSqlRoleAssignment( * @param roleAssignmentId The GUID for the Role Assignment. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB Role Assignment along with {@link Response}. + * @return an Azure Cosmos DB Role Assignment. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getSqlRoleAssignmentWithResponse( - String roleAssignmentId, String resourceGroupName, String accountName, Context context); + SqlRoleAssignmentGetResultsInner getSqlRoleAssignment( + String roleAssignmentId, String resourceGroupName, String accountName); /** * Creates or updates an Azure Cosmos DB SQL Role Assignment. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/TableResourcesClient.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/TableResourcesClient.java index bbdcae32e0d72..1628b370d22b7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/TableResourcesClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/TableResourcesClient.java @@ -13,8 +13,10 @@ import com.azure.core.util.Context; import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; +import com.azure.resourcemanager.cosmos.fluent.models.BackupInformationInner; import com.azure.resourcemanager.cosmos.fluent.models.TableGetResultsInner; import com.azure.resourcemanager.cosmos.fluent.models.ThroughputSettingsGetResultsInner; +import com.azure.resourcemanager.cosmos.models.ContinuousBackupRestoreLocation; import com.azure.resourcemanager.cosmos.models.TableCreateUpdateParameters; import com.azure.resourcemanager.cosmos.models.ThroughputSettingsUpdateParameters; import java.nio.ByteBuffer; @@ -103,13 +105,16 @@ Mono> getTableWithResponseAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param tableName Cosmos DB table name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Tables under an existing Azure Cosmos DB database account with the provided name. + * @return the Tables under an existing Azure Cosmos DB database account with the provided name along with {@link + * Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - TableGetResultsInner getTable(String resourceGroupName, String accountName, String tableName); + Response getTableWithResponse( + String resourceGroupName, String accountName, String tableName, Context context); /** * Gets the Tables under an existing Azure Cosmos DB database account with the provided name. @@ -117,16 +122,13 @@ Mono> getTableWithResponseAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param tableName Cosmos DB table name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Tables under an existing Azure Cosmos DB database account with the provided name along with {@link - * Response}. + * @return the Tables under an existing Azure Cosmos DB database account with the provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getTableWithResponse( - String resourceGroupName, String accountName, String tableName, Context context); + TableGetResultsInner getTable(String resourceGroupName, String accountName, String tableName); /** * Create or update an Azure Cosmos DB Table. @@ -404,15 +406,16 @@ Mono getTableThroughputAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param tableName Cosmos DB table name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided - * name. + * @return the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name + * along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - ThroughputSettingsGetResultsInner getTableThroughput( - String resourceGroupName, String accountName, String tableName); + Response getTableThroughputWithResponse( + String resourceGroupName, String accountName, String tableName, Context context); /** * Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name. @@ -420,16 +423,15 @@ ThroughputSettingsGetResultsInner getTableThroughput( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param tableName Cosmos DB table name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name - * along with {@link Response}. + * @return the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided + * name. */ @ServiceMethod(returns = ReturnType.SINGLE) - Response getTableThroughputWithResponse( - String resourceGroupName, String accountName, String tableName, Context context); + ThroughputSettingsGetResultsInner getTableThroughput( + String resourceGroupName, String accountName, String tableName); /** * Update RUs per second of an Azure Cosmos DB Table. @@ -788,4 +790,127 @@ ThroughputSettingsGetResultsInner migrateTableToManualThroughput( @ServiceMethod(returns = ReturnType.SINGLE) ThroughputSettingsGetResultsInner migrateTableToManualThroughput( String resourceGroupName, String accountName, String tableName, Context context); + + /** + * Retrieves continuous backup information for a table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param tableName Cosmos DB table name. + * @param location The name of the continuous backup restore location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return backup information of a resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> retrieveContinuousBackupInformationWithResponseAsync( + String resourceGroupName, String accountName, String tableName, ContinuousBackupRestoreLocation location); + + /** + * Retrieves continuous backup information for a table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param tableName Cosmos DB table name. + * @param location The name of the continuous backup restore location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, BackupInformationInner> + beginRetrieveContinuousBackupInformationAsync( + String resourceGroupName, String accountName, String tableName, ContinuousBackupRestoreLocation location); + + /** + * Retrieves continuous backup information for a table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param tableName Cosmos DB table name. + * @param location The name of the continuous backup restore location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, BackupInformationInner> beginRetrieveContinuousBackupInformation( + String resourceGroupName, String accountName, String tableName, ContinuousBackupRestoreLocation location); + + /** + * Retrieves continuous backup information for a table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param tableName Cosmos DB table name. + * @param location The name of the continuous backup restore location. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, BackupInformationInner> beginRetrieveContinuousBackupInformation( + String resourceGroupName, + String accountName, + String tableName, + ContinuousBackupRestoreLocation location, + Context context); + + /** + * Retrieves continuous backup information for a table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param tableName Cosmos DB table name. + * @param location The name of the continuous backup restore location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return backup information of a resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono retrieveContinuousBackupInformationAsync( + String resourceGroupName, String accountName, String tableName, ContinuousBackupRestoreLocation location); + + /** + * Retrieves continuous backup information for a table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param tableName Cosmos DB table name. + * @param location The name of the continuous backup restore location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + BackupInformationInner retrieveContinuousBackupInformation( + String resourceGroupName, String accountName, String tableName, ContinuousBackupRestoreLocation location); + + /** + * Retrieves continuous backup information for a table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param tableName Cosmos DB table name. + * @param location The name of the continuous backup restore location. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + BackupInformationInner retrieveContinuousBackupInformation( + String resourceGroupName, + String accountName, + String tableName, + ContinuousBackupRestoreLocation location, + Context context); } diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/BackupInformationInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/BackupInformationInner.java index 80a87ef610bf2..13a0ea8f6dfa4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/BackupInformationInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/BackupInformationInner.java @@ -17,6 +17,10 @@ public final class BackupInformationInner { @JsonProperty(value = "continuousBackupInformation", access = JsonProperty.Access.WRITE_ONLY) private ContinuousBackupInformation continuousBackupInformation; + /** Creates an instance of BackupInformationInner class. */ + public BackupInformationInner() { + } + /** * Get the continuousBackupInformation property: Information about the status of continuous backups. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraClusterPublicStatusInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraClusterPublicStatusInner.java index d90f117a20805..7a932996590a6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraClusterPublicStatusInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraClusterPublicStatusInner.java @@ -38,6 +38,10 @@ public final class CassandraClusterPublicStatusInner { @JsonProperty(value = "dataCenters") private List dataCenters; + /** Creates an instance of CassandraClusterPublicStatusInner class. */ + public CassandraClusterPublicStatusInner() { + } + /** * Get the etag property: The eTag property. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraKeyspaceCreateUpdateProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraKeyspaceCreateUpdateProperties.java index 92d1d26d46401..b7333bfb74e3a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraKeyspaceCreateUpdateProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraKeyspaceCreateUpdateProperties.java @@ -26,6 +26,10 @@ public final class CassandraKeyspaceCreateUpdateProperties { @JsonProperty(value = "options") private CreateUpdateOptions options; + /** Creates an instance of CassandraKeyspaceCreateUpdateProperties class. */ + public CassandraKeyspaceCreateUpdateProperties() { + } + /** * Get the resource property: The standard JSON format of a Cassandra keyspace. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraKeyspaceGetProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraKeyspaceGetProperties.java index 25cd6abe0b812..89ac8a427fcc9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraKeyspaceGetProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraKeyspaceGetProperties.java @@ -24,6 +24,10 @@ public final class CassandraKeyspaceGetProperties { @JsonProperty(value = "options") private CassandraKeyspaceGetPropertiesOptions options; + /** Creates an instance of CassandraKeyspaceGetProperties class. */ + public CassandraKeyspaceGetProperties() { + } + /** * Get the resource property: The resource property. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraKeyspaceGetResultsInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraKeyspaceGetResultsInner.java index c6b1374cce9e0..b66b0b4a33ec4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraKeyspaceGetResultsInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraKeyspaceGetResultsInner.java @@ -20,6 +20,10 @@ public final class CassandraKeyspaceGetResultsInner extends ArmResourcePropertie @JsonProperty(value = "properties") private CassandraKeyspaceGetProperties innerProperties; + /** Creates an instance of CassandraKeyspaceGetResultsInner class. */ + public CassandraKeyspaceGetResultsInner() { + } + /** * Get the innerProperties property: The properties of an Azure Cosmos DB Cassandra keyspace. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraTableCreateUpdateProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraTableCreateUpdateProperties.java index 62d4ae4f9eab6..42e70b69b3c6c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraTableCreateUpdateProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraTableCreateUpdateProperties.java @@ -26,6 +26,10 @@ public final class CassandraTableCreateUpdateProperties { @JsonProperty(value = "options") private CreateUpdateOptions options; + /** Creates an instance of CassandraTableCreateUpdateProperties class. */ + public CassandraTableCreateUpdateProperties() { + } + /** * Get the resource property: The standard JSON format of a Cassandra table. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraTableGetProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraTableGetProperties.java index a7928fd4b72b2..7c49509609b2b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraTableGetProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraTableGetProperties.java @@ -24,6 +24,10 @@ public final class CassandraTableGetProperties { @JsonProperty(value = "options") private CassandraTableGetPropertiesOptions options; + /** Creates an instance of CassandraTableGetProperties class. */ + public CassandraTableGetProperties() { + } + /** * Get the resource property: The resource property. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraTableGetResultsInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraTableGetResultsInner.java index c63249ea03a4b..521b5ab8c78f4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraTableGetResultsInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CassandraTableGetResultsInner.java @@ -20,6 +20,10 @@ public final class CassandraTableGetResultsInner extends ArmResourceProperties { @JsonProperty(value = "properties") private CassandraTableGetProperties innerProperties; + /** Creates an instance of CassandraTableGetResultsInner class. */ + public CassandraTableGetResultsInner() { + } + /** * Get the innerProperties property: The properties of an Azure Cosmos DB Cassandra table. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ClientEncryptionKeyCreateUpdateProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ClientEncryptionKeyCreateUpdateProperties.java new file mode 100644 index 0000000000000..8c6a82afe1e00 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ClientEncryptionKeyCreateUpdateProperties.java @@ -0,0 +1,62 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.fluent.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.util.logging.ClientLogger; +import com.azure.resourcemanager.cosmos.models.ClientEncryptionKeyResource; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** Properties to create and update ClientEncryptionKey. */ +@Fluent +public final class ClientEncryptionKeyCreateUpdateProperties { + /* + * The standard JSON format of a ClientEncryptionKey + */ + @JsonProperty(value = "resource", required = true) + private ClientEncryptionKeyResource resource; + + /** Creates an instance of ClientEncryptionKeyCreateUpdateProperties class. */ + public ClientEncryptionKeyCreateUpdateProperties() { + } + + /** + * Get the resource property: The standard JSON format of a ClientEncryptionKey. + * + * @return the resource value. + */ + public ClientEncryptionKeyResource resource() { + return this.resource; + } + + /** + * Set the resource property: The standard JSON format of a ClientEncryptionKey. + * + * @param resource the resource value to set. + * @return the ClientEncryptionKeyCreateUpdateProperties object itself. + */ + public ClientEncryptionKeyCreateUpdateProperties withResource(ClientEncryptionKeyResource resource) { + this.resource = resource; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (resource() == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + "Missing required property resource in model ClientEncryptionKeyCreateUpdateProperties")); + } else { + resource().validate(); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(ClientEncryptionKeyCreateUpdateProperties.class); +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ClientEncryptionKeyGetProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ClientEncryptionKeyGetProperties.java new file mode 100644 index 0000000000000..9e90b7d7a367f --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ClientEncryptionKeyGetProperties.java @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.fluent.models; + +import com.azure.core.annotation.Fluent; +import com.azure.resourcemanager.cosmos.models.ClientEncryptionKeyGetPropertiesResource; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The properties of a ClientEncryptionKey resource. */ +@Fluent +public final class ClientEncryptionKeyGetProperties { + /* + * The resource property. + */ + @JsonProperty(value = "resource") + private ClientEncryptionKeyGetPropertiesResource resource; + + /** Creates an instance of ClientEncryptionKeyGetProperties class. */ + public ClientEncryptionKeyGetProperties() { + } + + /** + * Get the resource property: The resource property. + * + * @return the resource value. + */ + public ClientEncryptionKeyGetPropertiesResource resource() { + return this.resource; + } + + /** + * Set the resource property: The resource property. + * + * @param resource the resource value to set. + * @return the ClientEncryptionKeyGetProperties object itself. + */ + public ClientEncryptionKeyGetProperties withResource(ClientEncryptionKeyGetPropertiesResource resource) { + this.resource = resource; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (resource() != null) { + resource().validate(); + } + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ClientEncryptionKeyGetResultsInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ClientEncryptionKeyGetResultsInner.java new file mode 100644 index 0000000000000..c8ae9011bf7be --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ClientEncryptionKeyGetResultsInner.java @@ -0,0 +1,69 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.fluent.models; + +import com.azure.core.annotation.Fluent; +import com.azure.resourcemanager.cosmos.models.ArmProxyResource; +import com.azure.resourcemanager.cosmos.models.ClientEncryptionKeyGetPropertiesResource; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** Client Encryption Key. */ +@Fluent +public final class ClientEncryptionKeyGetResultsInner extends ArmProxyResource { + /* + * The properties of a ClientEncryptionKey + */ + @JsonProperty(value = "properties") + private ClientEncryptionKeyGetProperties innerProperties; + + /** Creates an instance of ClientEncryptionKeyGetResultsInner class. */ + public ClientEncryptionKeyGetResultsInner() { + } + + /** + * Get the innerProperties property: The properties of a ClientEncryptionKey. + * + * @return the innerProperties value. + */ + private ClientEncryptionKeyGetProperties innerProperties() { + return this.innerProperties; + } + + /** + * Get the resource property: The resource property. + * + * @return the resource value. + */ + public ClientEncryptionKeyGetPropertiesResource resource() { + return this.innerProperties() == null ? null : this.innerProperties().resource(); + } + + /** + * Set the resource property: The resource property. + * + * @param resource the resource value to set. + * @return the ClientEncryptionKeyGetResultsInner object itself. + */ + public ClientEncryptionKeyGetResultsInner withResource(ClientEncryptionKeyGetPropertiesResource resource) { + if (this.innerProperties() == null) { + this.innerProperties = new ClientEncryptionKeyGetProperties(); + } + this.innerProperties().withResource(resource); + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + @Override + public void validate() { + super.validate(); + if (innerProperties() != null) { + innerProperties().validate(); + } + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ClusterResourceInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ClusterResourceInner.java index f589e193a1bbf..4bb6bf7e58b89 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ClusterResourceInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ClusterResourceInner.java @@ -20,6 +20,10 @@ public final class ClusterResourceInner extends ManagedCassandraArmResourcePrope @JsonProperty(value = "properties") private ClusterResourceProperties properties; + /** Creates an instance of ClusterResourceInner class. */ + public ClusterResourceInner() { + } + /** * Get the properties property: Properties of a managed Cassandra cluster. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CommandOutputInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CommandOutputInner.java index 807601544ecbd..910b316328958 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CommandOutputInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/CommandOutputInner.java @@ -16,6 +16,10 @@ public final class CommandOutputInner { @JsonProperty(value = "commandOutput") private String commandOutput; + /** Creates an instance of CommandOutputInner class. */ + public CommandOutputInner() { + } + /** * Get the commandOutput property: Output of the command. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DataCenterResourceInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DataCenterResourceInner.java index b4f74e4799763..69f210b5b0694 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DataCenterResourceInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DataCenterResourceInner.java @@ -18,6 +18,10 @@ public final class DataCenterResourceInner extends ArmProxyResource { @JsonProperty(value = "properties") private DataCenterResourceProperties properties; + /** Creates an instance of DataCenterResourceInner class. */ + public DataCenterResourceInner() { + } + /** * Get the properties property: Properties of a managed Cassandra data center. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountCreateUpdateProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountCreateUpdateProperties.java index 58f65729e0a4a..a288d83b24eb7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountCreateUpdateProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountCreateUpdateProperties.java @@ -18,6 +18,7 @@ import com.azure.resourcemanager.cosmos.models.DatabaseAccountKeysMetadata; import com.azure.resourcemanager.cosmos.models.IpAddressOrRange; import com.azure.resourcemanager.cosmos.models.Location; +import com.azure.resourcemanager.cosmos.models.MinimalTlsVersion; import com.azure.resourcemanager.cosmos.models.NetworkAclBypass; import com.azure.resourcemanager.cosmos.models.PublicNetworkAccess; import com.azure.resourcemanager.cosmos.models.RestoreParameters; @@ -206,6 +207,13 @@ public final class DatabaseAccountCreateUpdateProperties { @JsonProperty(value = "enablePartitionMerge") private Boolean enablePartitionMerge; + /* + * Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which + * only work with Tls 1.2. + */ + @JsonProperty(value = "minimalTlsVersion") + private MinimalTlsVersion minimalTlsVersion; + /** Creates an instance of DatabaseAccountCreateUpdateProperties class. */ public DatabaseAccountCreateUpdateProperties() { databaseAccountOfferType = "Standard"; @@ -808,6 +816,28 @@ public DatabaseAccountCreateUpdateProperties withEnablePartitionMerge(Boolean en return this; } + /** + * Get the minimalTlsVersion property: Indicates the minimum allowed Tls version. The default is Tls 1.0, except for + * Cassandra and Mongo API's, which only work with Tls 1.2. + * + * @return the minimalTlsVersion value. + */ + public MinimalTlsVersion minimalTlsVersion() { + return this.minimalTlsVersion; + } + + /** + * Set the minimalTlsVersion property: Indicates the minimum allowed Tls version. The default is Tls 1.0, except for + * Cassandra and Mongo API's, which only work with Tls 1.2. + * + * @param minimalTlsVersion the minimalTlsVersion value to set. + * @return the DatabaseAccountCreateUpdateProperties object itself. + */ + public DatabaseAccountCreateUpdateProperties withMinimalTlsVersion(MinimalTlsVersion minimalTlsVersion) { + this.minimalTlsVersion = minimalTlsVersion; + return this; + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountGetProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountGetProperties.java index d84320a0cf6f4..241d820d69a48 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountGetProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountGetProperties.java @@ -19,6 +19,7 @@ import com.azure.resourcemanager.cosmos.models.FailoverPolicy; import com.azure.resourcemanager.cosmos.models.IpAddressOrRange; import com.azure.resourcemanager.cosmos.models.Location; +import com.azure.resourcemanager.cosmos.models.MinimalTlsVersion; import com.azure.resourcemanager.cosmos.models.NetworkAclBypass; import com.azure.resourcemanager.cosmos.models.PublicNetworkAccess; import com.azure.resourcemanager.cosmos.models.RestoreParameters; @@ -253,6 +254,17 @@ public final class DatabaseAccountGetProperties { @JsonProperty(value = "enablePartitionMerge") private Boolean enablePartitionMerge; + /* + * Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which + * only work with Tls 1.2. + */ + @JsonProperty(value = "minimalTlsVersion") + private MinimalTlsVersion minimalTlsVersion; + + /** Creates an instance of DatabaseAccountGetProperties class. */ + public DatabaseAccountGetProperties() { + } + /** * Get the provisioningState property: The status of the Cosmos DB account at the time the operation was called. The * status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in @@ -893,6 +905,28 @@ public DatabaseAccountGetProperties withEnablePartitionMerge(Boolean enableParti return this; } + /** + * Get the minimalTlsVersion property: Indicates the minimum allowed Tls version. The default is Tls 1.0, except for + * Cassandra and Mongo API's, which only work with Tls 1.2. + * + * @return the minimalTlsVersion value. + */ + public MinimalTlsVersion minimalTlsVersion() { + return this.minimalTlsVersion; + } + + /** + * Set the minimalTlsVersion property: Indicates the minimum allowed Tls version. The default is Tls 1.0, except for + * Cassandra and Mongo API's, which only work with Tls 1.2. + * + * @param minimalTlsVersion the minimalTlsVersion value to set. + * @return the DatabaseAccountGetProperties object itself. + */ + public DatabaseAccountGetProperties withMinimalTlsVersion(MinimalTlsVersion minimalTlsVersion) { + this.minimalTlsVersion = minimalTlsVersion; + return this; + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountGetResultsInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountGetResultsInner.java index 52b5dc8b3f64d..fe259d68270f3 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountGetResultsInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountGetResultsInner.java @@ -23,6 +23,7 @@ import com.azure.resourcemanager.cosmos.models.IpAddressOrRange; import com.azure.resourcemanager.cosmos.models.Location; import com.azure.resourcemanager.cosmos.models.ManagedServiceIdentity; +import com.azure.resourcemanager.cosmos.models.MinimalTlsVersion; import com.azure.resourcemanager.cosmos.models.NetworkAclBypass; import com.azure.resourcemanager.cosmos.models.PublicNetworkAccess; import com.azure.resourcemanager.cosmos.models.RestoreParameters; @@ -58,6 +59,10 @@ public final class DatabaseAccountGetResultsInner extends ArmResourceProperties @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData; + /** Creates an instance of DatabaseAccountGetResultsInner class. */ + public DatabaseAccountGetResultsInner() { + } + /** * Get the kind property: Indicates the type of database account. This can only be set at database account creation. * @@ -848,6 +853,31 @@ public DatabaseAccountGetResultsInner withEnablePartitionMerge(Boolean enablePar return this; } + /** + * Get the minimalTlsVersion property: Indicates the minimum allowed Tls version. The default is Tls 1.0, except for + * Cassandra and Mongo API's, which only work with Tls 1.2. + * + * @return the minimalTlsVersion value. + */ + public MinimalTlsVersion minimalTlsVersion() { + return this.innerProperties() == null ? null : this.innerProperties().minimalTlsVersion(); + } + + /** + * Set the minimalTlsVersion property: Indicates the minimum allowed Tls version. The default is Tls 1.0, except for + * Cassandra and Mongo API's, which only work with Tls 1.2. + * + * @param minimalTlsVersion the minimalTlsVersion value to set. + * @return the DatabaseAccountGetResultsInner object itself. + */ + public DatabaseAccountGetResultsInner withMinimalTlsVersion(MinimalTlsVersion minimalTlsVersion) { + if (this.innerProperties() == null) { + this.innerProperties = new DatabaseAccountGetProperties(); + } + this.innerProperties().withMinimalTlsVersion(minimalTlsVersion); + return this; + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountListConnectionStringsResultInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountListConnectionStringsResultInner.java index 39f734e670361..684223c2da574 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountListConnectionStringsResultInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountListConnectionStringsResultInner.java @@ -18,6 +18,10 @@ public final class DatabaseAccountListConnectionStringsResultInner { @JsonProperty(value = "connectionStrings") private List connectionStrings; + /** Creates an instance of DatabaseAccountListConnectionStringsResultInner class. */ + public DatabaseAccountListConnectionStringsResultInner() { + } + /** * Get the connectionStrings property: An array that contains the connection strings for the Cosmos DB account. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountListKeysResultInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountListKeysResultInner.java index eebb8f84b6620..0ca672e8f7b03 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountListKeysResultInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountListKeysResultInner.java @@ -22,6 +22,10 @@ public final class DatabaseAccountListKeysResultInner extends DatabaseAccountLis @JsonProperty(value = "secondaryMasterKey", access = JsonProperty.Access.WRITE_ONLY) private String secondaryMasterKey; + /** Creates an instance of DatabaseAccountListKeysResultInner class. */ + public DatabaseAccountListKeysResultInner() { + } + /** * Get the primaryMasterKey property: Base 64 encoded value of the primary read-write key. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountListReadOnlyKeysResultInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountListReadOnlyKeysResultInner.java index 6470a08a9cbe0..1752d93ca4228 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountListReadOnlyKeysResultInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountListReadOnlyKeysResultInner.java @@ -22,6 +22,10 @@ public class DatabaseAccountListReadOnlyKeysResultInner { @JsonProperty(value = "secondaryReadonlyMasterKey", access = JsonProperty.Access.WRITE_ONLY) private String secondaryReadonlyMasterKey; + /** Creates an instance of DatabaseAccountListReadOnlyKeysResultInner class. */ + public DatabaseAccountListReadOnlyKeysResultInner() { + } + /** * Get the primaryReadonlyMasterKey property: Base 64 encoded value of the primary read-only key. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountUpdateProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountUpdateProperties.java index 4e3823ba9b7da..03ae936e6fcd9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountUpdateProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/DatabaseAccountUpdateProperties.java @@ -16,6 +16,7 @@ import com.azure.resourcemanager.cosmos.models.DatabaseAccountKeysMetadata; import com.azure.resourcemanager.cosmos.models.IpAddressOrRange; import com.azure.resourcemanager.cosmos.models.Location; +import com.azure.resourcemanager.cosmos.models.MinimalTlsVersion; import com.azure.resourcemanager.cosmos.models.NetworkAclBypass; import com.azure.resourcemanager.cosmos.models.PublicNetworkAccess; import com.azure.resourcemanager.cosmos.models.VirtualNetworkRule; @@ -185,6 +186,17 @@ public final class DatabaseAccountUpdateProperties { @JsonProperty(value = "enablePartitionMerge") private Boolean enablePartitionMerge; + /* + * Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which + * only work with Tls 1.2. + */ + @JsonProperty(value = "minimalTlsVersion") + private MinimalTlsVersion minimalTlsVersion; + + /** Creates an instance of DatabaseAccountUpdateProperties class. */ + public DatabaseAccountUpdateProperties() { + } + /** * Get the consistencyPolicy property: The consistency policy for the Cosmos DB account. * @@ -719,6 +731,28 @@ public DatabaseAccountUpdateProperties withEnablePartitionMerge(Boolean enablePa return this; } + /** + * Get the minimalTlsVersion property: Indicates the minimum allowed Tls version. The default is Tls 1.0, except for + * Cassandra and Mongo API's, which only work with Tls 1.2. + * + * @return the minimalTlsVersion value. + */ + public MinimalTlsVersion minimalTlsVersion() { + return this.minimalTlsVersion; + } + + /** + * Set the minimalTlsVersion property: Indicates the minimum allowed Tls version. The default is Tls 1.0, except for + * Cassandra and Mongo API's, which only work with Tls 1.2. + * + * @param minimalTlsVersion the minimalTlsVersion value to set. + * @return the DatabaseAccountUpdateProperties object itself. + */ + public DatabaseAccountUpdateProperties withMinimalTlsVersion(MinimalTlsVersion minimalTlsVersion) { + this.minimalTlsVersion = minimalTlsVersion; + return this; + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinDatabaseCreateUpdateProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinDatabaseCreateUpdateProperties.java index 7bc0293fcd867..20f80c96be52f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinDatabaseCreateUpdateProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinDatabaseCreateUpdateProperties.java @@ -26,6 +26,10 @@ public final class GremlinDatabaseCreateUpdateProperties { @JsonProperty(value = "options") private CreateUpdateOptions options; + /** Creates an instance of GremlinDatabaseCreateUpdateProperties class. */ + public GremlinDatabaseCreateUpdateProperties() { + } + /** * Get the resource property: The standard JSON format of a Gremlin database. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinDatabaseGetProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinDatabaseGetProperties.java index 546ce029fc2b2..1fe4a6c13d9d9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinDatabaseGetProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinDatabaseGetProperties.java @@ -24,6 +24,10 @@ public final class GremlinDatabaseGetProperties { @JsonProperty(value = "options") private GremlinDatabaseGetPropertiesOptions options; + /** Creates an instance of GremlinDatabaseGetProperties class. */ + public GremlinDatabaseGetProperties() { + } + /** * Get the resource property: The resource property. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinDatabaseGetResultsInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinDatabaseGetResultsInner.java index 1818812399f23..6b8cd084297ae 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinDatabaseGetResultsInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinDatabaseGetResultsInner.java @@ -20,6 +20,10 @@ public final class GremlinDatabaseGetResultsInner extends ArmResourceProperties @JsonProperty(value = "properties") private GremlinDatabaseGetProperties innerProperties; + /** Creates an instance of GremlinDatabaseGetResultsInner class. */ + public GremlinDatabaseGetResultsInner() { + } + /** * Get the innerProperties property: The properties of an Azure Cosmos DB SQL database. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinGraphCreateUpdateProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinGraphCreateUpdateProperties.java index 8f83198aa0214..a0f1cb98ba8cd 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinGraphCreateUpdateProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinGraphCreateUpdateProperties.java @@ -26,6 +26,10 @@ public final class GremlinGraphCreateUpdateProperties { @JsonProperty(value = "options") private CreateUpdateOptions options; + /** Creates an instance of GremlinGraphCreateUpdateProperties class. */ + public GremlinGraphCreateUpdateProperties() { + } + /** * Get the resource property: The standard JSON format of a Gremlin graph. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinGraphGetProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinGraphGetProperties.java index 13d37b5d2df77..506593806eb71 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinGraphGetProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinGraphGetProperties.java @@ -24,6 +24,10 @@ public final class GremlinGraphGetProperties { @JsonProperty(value = "options") private GremlinGraphGetPropertiesOptions options; + /** Creates an instance of GremlinGraphGetProperties class. */ + public GremlinGraphGetProperties() { + } + /** * Get the resource property: The resource property. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinGraphGetResultsInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinGraphGetResultsInner.java index a548518d4d36b..4d98af5d0f851 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinGraphGetResultsInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/GremlinGraphGetResultsInner.java @@ -20,6 +20,10 @@ public final class GremlinGraphGetResultsInner extends ArmResourceProperties { @JsonProperty(value = "properties") private GremlinGraphGetProperties innerProperties; + /** Creates an instance of GremlinGraphGetResultsInner class. */ + public GremlinGraphGetResultsInner() { + } + /** * Get the innerProperties property: The properties of an Azure Cosmos DB Gremlin graph. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/LocationGetResultInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/LocationGetResultInner.java index d79b34f8fd0f1..c4e4019bafb1e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/LocationGetResultInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/LocationGetResultInner.java @@ -18,6 +18,10 @@ public final class LocationGetResultInner extends ArmProxyResource { @JsonProperty(value = "properties") private LocationProperties properties; + /** Creates an instance of LocationGetResultInner class. */ + public LocationGetResultInner() { + } + /** * Get the properties property: Cosmos DB location metadata. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MetricDefinitionInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MetricDefinitionInner.java index 64ff735103b52..b95ce5ef70428 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MetricDefinitionInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MetricDefinitionInner.java @@ -45,6 +45,10 @@ public final class MetricDefinitionInner { @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY) private MetricName name; + /** Creates an instance of MetricDefinitionInner class. */ + public MetricDefinitionInner() { + } + /** * Get the metricAvailabilities property: The list of metric availabilities for the account. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MetricInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MetricInner.java index 46f5007806b86..89a091c92214d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MetricInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MetricInner.java @@ -51,6 +51,10 @@ public class MetricInner { @JsonProperty(value = "metricValues", access = JsonProperty.Access.WRITE_ONLY) private List metricValues; + /** Creates an instance of MetricInner class. */ + public MetricInner() { + } + /** * Get the startTime property: The start time for the metric (ISO-8601 format). * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBCollectionCreateUpdateProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBCollectionCreateUpdateProperties.java index 93714931483b8..f8d6d3dc36ca5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBCollectionCreateUpdateProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBCollectionCreateUpdateProperties.java @@ -26,6 +26,10 @@ public final class MongoDBCollectionCreateUpdateProperties { @JsonProperty(value = "options") private CreateUpdateOptions options; + /** Creates an instance of MongoDBCollectionCreateUpdateProperties class. */ + public MongoDBCollectionCreateUpdateProperties() { + } + /** * Get the resource property: The standard JSON format of a MongoDB collection. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBCollectionGetProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBCollectionGetProperties.java index 88b8667452d2b..e6bf8b6da7a81 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBCollectionGetProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBCollectionGetProperties.java @@ -24,6 +24,10 @@ public final class MongoDBCollectionGetProperties { @JsonProperty(value = "options") private MongoDBCollectionGetPropertiesOptions options; + /** Creates an instance of MongoDBCollectionGetProperties class. */ + public MongoDBCollectionGetProperties() { + } + /** * Get the resource property: The resource property. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBCollectionGetResultsInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBCollectionGetResultsInner.java index 053035855e60e..7d6377c57df9c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBCollectionGetResultsInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBCollectionGetResultsInner.java @@ -20,6 +20,10 @@ public final class MongoDBCollectionGetResultsInner extends ArmResourcePropertie @JsonProperty(value = "properties") private MongoDBCollectionGetProperties innerProperties; + /** Creates an instance of MongoDBCollectionGetResultsInner class. */ + public MongoDBCollectionGetResultsInner() { + } + /** * Get the innerProperties property: The properties of an Azure Cosmos DB MongoDB collection. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBDatabaseCreateUpdateProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBDatabaseCreateUpdateProperties.java index 3774b6e2a6f4f..1c1a953dba69a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBDatabaseCreateUpdateProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBDatabaseCreateUpdateProperties.java @@ -26,6 +26,10 @@ public final class MongoDBDatabaseCreateUpdateProperties { @JsonProperty(value = "options") private CreateUpdateOptions options; + /** Creates an instance of MongoDBDatabaseCreateUpdateProperties class. */ + public MongoDBDatabaseCreateUpdateProperties() { + } + /** * Get the resource property: The standard JSON format of a MongoDB database. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBDatabaseGetProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBDatabaseGetProperties.java index a89a785e1cf1d..16ec25550a702 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBDatabaseGetProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBDatabaseGetProperties.java @@ -24,6 +24,10 @@ public final class MongoDBDatabaseGetProperties { @JsonProperty(value = "options") private MongoDBDatabaseGetPropertiesOptions options; + /** Creates an instance of MongoDBDatabaseGetProperties class. */ + public MongoDBDatabaseGetProperties() { + } + /** * Get the resource property: The resource property. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBDatabaseGetResultsInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBDatabaseGetResultsInner.java index eea88ffb66212..0cdc84712263b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBDatabaseGetResultsInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoDBDatabaseGetResultsInner.java @@ -20,6 +20,10 @@ public final class MongoDBDatabaseGetResultsInner extends ArmResourceProperties @JsonProperty(value = "properties") private MongoDBDatabaseGetProperties innerProperties; + /** Creates an instance of MongoDBDatabaseGetResultsInner class. */ + public MongoDBDatabaseGetResultsInner() { + } + /** * Get the innerProperties property: The properties of an Azure Cosmos DB MongoDB database. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoRoleDefinitionGetResultsInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoRoleDefinitionGetResultsInner.java index 692bf95215775..9bb24841d4b1a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoRoleDefinitionGetResultsInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoRoleDefinitionGetResultsInner.java @@ -21,6 +21,10 @@ public final class MongoRoleDefinitionGetResultsInner extends ArmProxyResource { @JsonProperty(value = "properties") private MongoRoleDefinitionResource innerProperties; + /** Creates an instance of MongoRoleDefinitionGetResultsInner class. */ + public MongoRoleDefinitionGetResultsInner() { + } + /** * Get the innerProperties property: Properties related to the Mongo Role Definition. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoRoleDefinitionResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoRoleDefinitionResource.java index 4d6ff7c3d66a8..8733760e3786a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoRoleDefinitionResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoRoleDefinitionResource.java @@ -46,6 +46,10 @@ public final class MongoRoleDefinitionResource { @JsonProperty(value = "roles") private List roles; + /** Creates an instance of MongoRoleDefinitionResource class. */ + public MongoRoleDefinitionResource() { + } + /** * Get the roleName property: A user-friendly name for the Role Definition. Must be unique for the database account. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoUserDefinitionGetResultsInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoUserDefinitionGetResultsInner.java index 11a0b7a516cca..5d8e9f10e9547 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoUserDefinitionGetResultsInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoUserDefinitionGetResultsInner.java @@ -19,6 +19,10 @@ public final class MongoUserDefinitionGetResultsInner extends ArmProxyResource { @JsonProperty(value = "properties") private MongoUserDefinitionResource innerProperties; + /** Creates an instance of MongoUserDefinitionGetResultsInner class. */ + public MongoUserDefinitionGetResultsInner() { + } + /** * Get the innerProperties property: Properties related to the User Definition. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoUserDefinitionResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoUserDefinitionResource.java index 45d78ad3691df..78855858c6800 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoUserDefinitionResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/MongoUserDefinitionResource.java @@ -48,6 +48,10 @@ public final class MongoUserDefinitionResource { @JsonProperty(value = "mechanisms") private String mechanisms; + /** Creates an instance of MongoUserDefinitionResource class. */ + public MongoUserDefinitionResource() { + } + /** * Get the username property: The user name for User Definition. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/NotebookWorkspaceConnectionInfoResultInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/NotebookWorkspaceConnectionInfoResultInner.java index 637ee72d8fdea..b4381f400a5fd 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/NotebookWorkspaceConnectionInfoResultInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/NotebookWorkspaceConnectionInfoResultInner.java @@ -22,6 +22,10 @@ public final class NotebookWorkspaceConnectionInfoResultInner { @JsonProperty(value = "notebookServerEndpoint", access = JsonProperty.Access.WRITE_ONLY) private String notebookServerEndpoint; + /** Creates an instance of NotebookWorkspaceConnectionInfoResultInner class. */ + public NotebookWorkspaceConnectionInfoResultInner() { + } + /** * Get the authToken property: Specifies auth token used for connecting to Notebook server (uses token-based auth). * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/NotebookWorkspaceInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/NotebookWorkspaceInner.java index 389083597db7d..e878e3978d9b9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/NotebookWorkspaceInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/NotebookWorkspaceInner.java @@ -17,6 +17,10 @@ public final class NotebookWorkspaceInner extends ArmProxyResource { @JsonProperty(value = "properties") private NotebookWorkspaceProperties innerProperties; + /** Creates an instance of NotebookWorkspaceInner class. */ + public NotebookWorkspaceInner() { + } + /** * Get the innerProperties property: Resource properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/NotebookWorkspaceProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/NotebookWorkspaceProperties.java index 2acb68e8a45c3..121433d1ee765 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/NotebookWorkspaceProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/NotebookWorkspaceProperties.java @@ -22,6 +22,10 @@ public final class NotebookWorkspaceProperties { @JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY) private String status; + /** Creates an instance of NotebookWorkspaceProperties class. */ + public NotebookWorkspaceProperties() { + } + /** * Get the notebookServerEndpoint property: Specifies the endpoint of Notebook server. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/OperationInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/OperationInner.java index cc5b151d03fcc..5167f171004da 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/OperationInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/OperationInner.java @@ -23,6 +23,10 @@ public final class OperationInner { @JsonProperty(value = "display") private OperationDisplay display; + /** Creates an instance of OperationInner class. */ + public OperationInner() { + } + /** * Get the name property: Operation name: {provider}/{resource}/{operation}. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PartitionMetricInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PartitionMetricInner.java index 8454854a44a5a..8907939e8919f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PartitionMetricInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PartitionMetricInner.java @@ -22,6 +22,10 @@ public final class PartitionMetricInner extends MetricInner { @JsonProperty(value = "partitionKeyRangeId", access = JsonProperty.Access.WRITE_ONLY) private String partitionKeyRangeId; + /** Creates an instance of PartitionMetricInner class. */ + public PartitionMetricInner() { + } + /** * Get the partitionId property: The partition id (GUID identifier) of the metric values. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PartitionUsageInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PartitionUsageInner.java index 29e6a0aa602c3..8f3a8d875713f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PartitionUsageInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PartitionUsageInner.java @@ -22,6 +22,10 @@ public final class PartitionUsageInner extends UsageInner { @JsonProperty(value = "partitionKeyRangeId", access = JsonProperty.Access.WRITE_ONLY) private String partitionKeyRangeId; + /** Creates an instance of PartitionUsageInner class. */ + public PartitionUsageInner() { + } + /** * Get the partitionId property: The partition id (GUID identifier) of the usages. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PercentileMetricInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PercentileMetricInner.java index 0fefd8501d69d..1f8c9f823b909 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PercentileMetricInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PercentileMetricInner.java @@ -51,6 +51,10 @@ public final class PercentileMetricInner { @JsonProperty(value = "metricValues", access = JsonProperty.Access.WRITE_ONLY) private List metricValues; + /** Creates an instance of PercentileMetricInner class. */ + public PercentileMetricInner() { + } + /** * Get the startTime property: The start time for the metric (ISO-8601 format). * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PrivateEndpointConnectionInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PrivateEndpointConnectionInner.java index 84d9396521afe..713965fa6bd36 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PrivateEndpointConnectionInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PrivateEndpointConnectionInner.java @@ -19,6 +19,10 @@ public final class PrivateEndpointConnectionInner extends ProxyResource { @JsonProperty(value = "properties") private PrivateEndpointConnectionProperties innerProperties; + /** Creates an instance of PrivateEndpointConnectionInner class. */ + public PrivateEndpointConnectionInner() { + } + /** * Get the innerProperties property: Resource properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PrivateEndpointConnectionProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PrivateEndpointConnectionProperties.java index a589ab4eca7b9..02c47add18bb6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PrivateEndpointConnectionProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PrivateEndpointConnectionProperties.java @@ -36,6 +36,10 @@ public final class PrivateEndpointConnectionProperties { @JsonProperty(value = "provisioningState") private String provisioningState; + /** Creates an instance of PrivateEndpointConnectionProperties class. */ + public PrivateEndpointConnectionProperties() { + } + /** * Get the privateEndpoint property: Private endpoint which the connection belongs to. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PrivateLinkResourceInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PrivateLinkResourceInner.java index 06c5f8d383438..2f184859a02b4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PrivateLinkResourceInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PrivateLinkResourceInner.java @@ -18,6 +18,10 @@ public final class PrivateLinkResourceInner extends ArmProxyResource { @JsonProperty(value = "properties") private PrivateLinkResourceProperties innerProperties; + /** Creates an instance of PrivateLinkResourceInner class. */ + public PrivateLinkResourceInner() { + } + /** * Get the innerProperties property: Resource properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PrivateLinkResourceProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PrivateLinkResourceProperties.java index e7de72cc29e3f..aef825567a6f1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PrivateLinkResourceProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/PrivateLinkResourceProperties.java @@ -29,6 +29,10 @@ public final class PrivateLinkResourceProperties { @JsonProperty(value = "requiredZoneNames", access = JsonProperty.Access.WRITE_ONLY) private List requiredZoneNames; + /** Creates an instance of PrivateLinkResourceProperties class. */ + public PrivateLinkResourceProperties() { + } + /** * Get the groupId property: The private link resource group id. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableDatabaseAccountGetResultInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableDatabaseAccountGetResultInner.java index 6d9155df87ca8..29dd22e487371 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableDatabaseAccountGetResultInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableDatabaseAccountGetResultInner.java @@ -44,6 +44,10 @@ public final class RestorableDatabaseAccountGetResultInner { @JsonProperty(value = "location") private String location; + /** Creates an instance of RestorableDatabaseAccountGetResultInner class. */ + public RestorableDatabaseAccountGetResultInner() { + } + /** * Get the innerProperties property: The properties of a restorable database account. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableDatabaseAccountProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableDatabaseAccountProperties.java index e190a80aafa6d..41fd5e82a5399 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableDatabaseAccountProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableDatabaseAccountProperties.java @@ -44,6 +44,10 @@ public final class RestorableDatabaseAccountProperties { @JsonProperty(value = "restorableLocations", access = JsonProperty.Access.WRITE_ONLY) private List restorableLocations; + /** Creates an instance of RestorableDatabaseAccountProperties class. */ + public RestorableDatabaseAccountProperties() { + } + /** * Get the accountName property: The name of the global database account. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableGremlinDatabaseGetResultInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableGremlinDatabaseGetResultInner.java new file mode 100644 index 0000000000000..a04692c721629 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableGremlinDatabaseGetResultInner.java @@ -0,0 +1,111 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.fluent.models; + +import com.azure.core.annotation.Fluent; +import com.azure.resourcemanager.cosmos.models.RestorableGremlinDatabasePropertiesResource; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** An Azure Cosmos DB Gremlin database event. */ +@Fluent +public final class RestorableGremlinDatabaseGetResultInner { + /* + * The properties of a Gremlin database event. + */ + @JsonProperty(value = "properties") + private RestorableGremlinDatabaseProperties innerProperties; + + /* + * The unique resource Identifier of the ARM resource. + */ + @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) + private String id; + + /* + * The name of the ARM resource. + */ + @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY) + private String name; + + /* + * The type of Azure resource. + */ + @JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY) + private String type; + + /** Creates an instance of RestorableGremlinDatabaseGetResultInner class. */ + public RestorableGremlinDatabaseGetResultInner() { + } + + /** + * Get the innerProperties property: The properties of a Gremlin database event. + * + * @return the innerProperties value. + */ + private RestorableGremlinDatabaseProperties innerProperties() { + return this.innerProperties; + } + + /** + * Get the id property: The unique resource Identifier of the ARM resource. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Get the name property: The name of the ARM resource. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Get the type property: The type of Azure resource. + * + * @return the type value. + */ + public String type() { + return this.type; + } + + /** + * Get the resource property: The resource of an Azure Cosmos DB Gremlin database event. + * + * @return the resource value. + */ + public RestorableGremlinDatabasePropertiesResource resource() { + return this.innerProperties() == null ? null : this.innerProperties().resource(); + } + + /** + * Set the resource property: The resource of an Azure Cosmos DB Gremlin database event. + * + * @param resource the resource value to set. + * @return the RestorableGremlinDatabaseGetResultInner object itself. + */ + public RestorableGremlinDatabaseGetResultInner withResource(RestorableGremlinDatabasePropertiesResource resource) { + if (this.innerProperties() == null) { + this.innerProperties = new RestorableGremlinDatabaseProperties(); + } + this.innerProperties().withResource(resource); + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (innerProperties() != null) { + innerProperties().validate(); + } + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableGremlinDatabaseProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableGremlinDatabaseProperties.java new file mode 100644 index 0000000000000..145ac15523ecd --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableGremlinDatabaseProperties.java @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.fluent.models; + +import com.azure.core.annotation.Fluent; +import com.azure.resourcemanager.cosmos.models.RestorableGremlinDatabasePropertiesResource; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The properties of an Azure Cosmos DB Gremlin database event. */ +@Fluent +public final class RestorableGremlinDatabaseProperties { + /* + * The resource of an Azure Cosmos DB Gremlin database event + */ + @JsonProperty(value = "resource") + private RestorableGremlinDatabasePropertiesResource resource; + + /** Creates an instance of RestorableGremlinDatabaseProperties class. */ + public RestorableGremlinDatabaseProperties() { + } + + /** + * Get the resource property: The resource of an Azure Cosmos DB Gremlin database event. + * + * @return the resource value. + */ + public RestorableGremlinDatabasePropertiesResource resource() { + return this.resource; + } + + /** + * Set the resource property: The resource of an Azure Cosmos DB Gremlin database event. + * + * @param resource the resource value to set. + * @return the RestorableGremlinDatabaseProperties object itself. + */ + public RestorableGremlinDatabaseProperties withResource(RestorableGremlinDatabasePropertiesResource resource) { + this.resource = resource; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (resource() != null) { + resource().validate(); + } + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableGremlinGraphGetResultInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableGremlinGraphGetResultInner.java new file mode 100644 index 0000000000000..462426e051fbc --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableGremlinGraphGetResultInner.java @@ -0,0 +1,111 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.fluent.models; + +import com.azure.core.annotation.Fluent; +import com.azure.resourcemanager.cosmos.models.RestorableGremlinGraphPropertiesResource; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** An Azure Cosmos DB Gremlin graph event. */ +@Fluent +public final class RestorableGremlinGraphGetResultInner { + /* + * The properties of a Gremlin graph event. + */ + @JsonProperty(value = "properties") + private RestorableGremlinGraphProperties innerProperties; + + /* + * The unique resource Identifier of the ARM resource. + */ + @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) + private String id; + + /* + * The name of the ARM resource. + */ + @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY) + private String name; + + /* + * The type of Azure resource. + */ + @JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY) + private String type; + + /** Creates an instance of RestorableGremlinGraphGetResultInner class. */ + public RestorableGremlinGraphGetResultInner() { + } + + /** + * Get the innerProperties property: The properties of a Gremlin graph event. + * + * @return the innerProperties value. + */ + private RestorableGremlinGraphProperties innerProperties() { + return this.innerProperties; + } + + /** + * Get the id property: The unique resource Identifier of the ARM resource. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Get the name property: The name of the ARM resource. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Get the type property: The type of Azure resource. + * + * @return the type value. + */ + public String type() { + return this.type; + } + + /** + * Get the resource property: The resource of an Azure Cosmos DB Gremlin graph event. + * + * @return the resource value. + */ + public RestorableGremlinGraphPropertiesResource resource() { + return this.innerProperties() == null ? null : this.innerProperties().resource(); + } + + /** + * Set the resource property: The resource of an Azure Cosmos DB Gremlin graph event. + * + * @param resource the resource value to set. + * @return the RestorableGremlinGraphGetResultInner object itself. + */ + public RestorableGremlinGraphGetResultInner withResource(RestorableGremlinGraphPropertiesResource resource) { + if (this.innerProperties() == null) { + this.innerProperties = new RestorableGremlinGraphProperties(); + } + this.innerProperties().withResource(resource); + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (innerProperties() != null) { + innerProperties().validate(); + } + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableGremlinGraphProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableGremlinGraphProperties.java new file mode 100644 index 0000000000000..8edb7c68152c4 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableGremlinGraphProperties.java @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.fluent.models; + +import com.azure.core.annotation.Fluent; +import com.azure.resourcemanager.cosmos.models.RestorableGremlinGraphPropertiesResource; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The properties of an Azure Cosmos DB Gremlin graph event. */ +@Fluent +public final class RestorableGremlinGraphProperties { + /* + * The resource of an Azure Cosmos DB Gremlin graph event + */ + @JsonProperty(value = "resource") + private RestorableGremlinGraphPropertiesResource resource; + + /** Creates an instance of RestorableGremlinGraphProperties class. */ + public RestorableGremlinGraphProperties() { + } + + /** + * Get the resource property: The resource of an Azure Cosmos DB Gremlin graph event. + * + * @return the resource value. + */ + public RestorableGremlinGraphPropertiesResource resource() { + return this.resource; + } + + /** + * Set the resource property: The resource of an Azure Cosmos DB Gremlin graph event. + * + * @param resource the resource value to set. + * @return the RestorableGremlinGraphProperties object itself. + */ + public RestorableGremlinGraphProperties withResource(RestorableGremlinGraphPropertiesResource resource) { + this.resource = resource; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (resource() != null) { + resource().validate(); + } + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableGremlinResourcesGetResultInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableGremlinResourcesGetResultInner.java new file mode 100644 index 0000000000000..bfc5a84e00e67 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableGremlinResourcesGetResultInner.java @@ -0,0 +1,122 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.fluent.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** Specific Databases to restore. */ +@Fluent +public final class RestorableGremlinResourcesGetResultInner { + /* + * The unique resource identifier of the ARM resource. + */ + @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) + private String id; + + /* + * The name of the ARM resource. + */ + @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY) + private String name; + + /* + * The type of Azure resource. + */ + @JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY) + private String type; + + /* + * The name of the gremlin database available for restore. + */ + @JsonProperty(value = "databaseName") + private String databaseName; + + /* + * The names of the graphs available for restore. + */ + @JsonProperty(value = "graphNames") + private List graphNames; + + /** Creates an instance of RestorableGremlinResourcesGetResultInner class. */ + public RestorableGremlinResourcesGetResultInner() { + } + + /** + * Get the id property: The unique resource identifier of the ARM resource. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Get the name property: The name of the ARM resource. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Get the type property: The type of Azure resource. + * + * @return the type value. + */ + public String type() { + return this.type; + } + + /** + * Get the databaseName property: The name of the gremlin database available for restore. + * + * @return the databaseName value. + */ + public String databaseName() { + return this.databaseName; + } + + /** + * Set the databaseName property: The name of the gremlin database available for restore. + * + * @param databaseName the databaseName value to set. + * @return the RestorableGremlinResourcesGetResultInner object itself. + */ + public RestorableGremlinResourcesGetResultInner withDatabaseName(String databaseName) { + this.databaseName = databaseName; + return this; + } + + /** + * Get the graphNames property: The names of the graphs available for restore. + * + * @return the graphNames value. + */ + public List graphNames() { + return this.graphNames; + } + + /** + * Set the graphNames property: The names of the graphs available for restore. + * + * @param graphNames the graphNames value to set. + * @return the RestorableGremlinResourcesGetResultInner object itself. + */ + public RestorableGremlinResourcesGetResultInner withGraphNames(List graphNames) { + this.graphNames = graphNames; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableMongodbCollectionGetResultInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableMongodbCollectionGetResultInner.java index ddcd04a7d4931..2ec1c0ee1ffc2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableMongodbCollectionGetResultInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableMongodbCollectionGetResultInner.java @@ -35,6 +35,10 @@ public final class RestorableMongodbCollectionGetResultInner { @JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY) private String type; + /** Creates an instance of RestorableMongodbCollectionGetResultInner class. */ + public RestorableMongodbCollectionGetResultInner() { + } + /** * Get the innerProperties property: The properties of a MongoDB collection event. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableMongodbCollectionProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableMongodbCollectionProperties.java index c014387c718af..fa5252017a846 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableMongodbCollectionProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableMongodbCollectionProperties.java @@ -17,6 +17,10 @@ public final class RestorableMongodbCollectionProperties { @JsonProperty(value = "resource") private RestorableMongodbCollectionPropertiesResource resource; + /** Creates an instance of RestorableMongodbCollectionProperties class. */ + public RestorableMongodbCollectionProperties() { + } + /** * Get the resource property: The resource of an Azure Cosmos DB MongoDB collection event. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableMongodbDatabaseGetResultInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableMongodbDatabaseGetResultInner.java index c2d9105b8a40d..e9ca05c650531 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableMongodbDatabaseGetResultInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableMongodbDatabaseGetResultInner.java @@ -35,6 +35,10 @@ public final class RestorableMongodbDatabaseGetResultInner { @JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY) private String type; + /** Creates an instance of RestorableMongodbDatabaseGetResultInner class. */ + public RestorableMongodbDatabaseGetResultInner() { + } + /** * Get the innerProperties property: The properties of a MongoDB database event. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableMongodbDatabaseProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableMongodbDatabaseProperties.java index 323eb8cc46ca7..f1f5d82acca22 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableMongodbDatabaseProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableMongodbDatabaseProperties.java @@ -17,6 +17,10 @@ public final class RestorableMongodbDatabaseProperties { @JsonProperty(value = "resource") private RestorableMongodbDatabasePropertiesResource resource; + /** Creates an instance of RestorableMongodbDatabaseProperties class. */ + public RestorableMongodbDatabaseProperties() { + } + /** * Get the resource property: The resource of an Azure Cosmos DB MongoDB database event. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableMongodbResourcesGetResultInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableMongodbResourcesGetResultInner.java index 240c1aa8dccd2..a33cfb494a0c6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableMongodbResourcesGetResultInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableMongodbResourcesGetResultInner.java @@ -41,6 +41,10 @@ public final class RestorableMongodbResourcesGetResultInner { @JsonProperty(value = "collectionNames") private List collectionNames; + /** Creates an instance of RestorableMongodbResourcesGetResultInner class. */ + public RestorableMongodbResourcesGetResultInner() { + } + /** * Get the id property: The unique resource identifier of the ARM resource. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableSqlContainerGetResultInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableSqlContainerGetResultInner.java index 0aa1e9dc9910b..150abfd245c69 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableSqlContainerGetResultInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableSqlContainerGetResultInner.java @@ -35,6 +35,10 @@ public final class RestorableSqlContainerGetResultInner { @JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY) private String type; + /** Creates an instance of RestorableSqlContainerGetResultInner class. */ + public RestorableSqlContainerGetResultInner() { + } + /** * Get the innerProperties property: The properties of a SQL container event. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableSqlContainerProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableSqlContainerProperties.java index a0e1a9696a509..7ed7627607099 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableSqlContainerProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableSqlContainerProperties.java @@ -17,6 +17,10 @@ public final class RestorableSqlContainerProperties { @JsonProperty(value = "resource") private RestorableSqlContainerPropertiesResource resource; + /** Creates an instance of RestorableSqlContainerProperties class. */ + public RestorableSqlContainerProperties() { + } + /** * Get the resource property: The resource of an Azure Cosmos DB SQL container event. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableSqlDatabaseGetResultInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableSqlDatabaseGetResultInner.java index 60eed21f3c8c7..2ebf82edd3166 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableSqlDatabaseGetResultInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableSqlDatabaseGetResultInner.java @@ -35,6 +35,10 @@ public final class RestorableSqlDatabaseGetResultInner { @JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY) private String type; + /** Creates an instance of RestorableSqlDatabaseGetResultInner class. */ + public RestorableSqlDatabaseGetResultInner() { + } + /** * Get the innerProperties property: The properties of a SQL database event. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableSqlDatabaseProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableSqlDatabaseProperties.java index e625a41f3c0e4..aad4ab1261c65 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableSqlDatabaseProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableSqlDatabaseProperties.java @@ -17,6 +17,10 @@ public final class RestorableSqlDatabaseProperties { @JsonProperty(value = "resource") private RestorableSqlDatabasePropertiesResource resource; + /** Creates an instance of RestorableSqlDatabaseProperties class. */ + public RestorableSqlDatabaseProperties() { + } + /** * Get the resource property: The resource of an Azure Cosmos DB SQL database event. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableSqlResourcesGetResultInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableSqlResourcesGetResultInner.java index b5fc46f7fd364..9009d551a36a2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableSqlResourcesGetResultInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableSqlResourcesGetResultInner.java @@ -41,6 +41,10 @@ public final class RestorableSqlResourcesGetResultInner { @JsonProperty(value = "collectionNames") private List collectionNames; + /** Creates an instance of RestorableSqlResourcesGetResultInner class. */ + public RestorableSqlResourcesGetResultInner() { + } + /** * Get the id property: The unique resource identifier of the ARM resource. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableTableGetResultInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableTableGetResultInner.java new file mode 100644 index 0000000000000..200b25ff1759e --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableTableGetResultInner.java @@ -0,0 +1,111 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.fluent.models; + +import com.azure.core.annotation.Fluent; +import com.azure.resourcemanager.cosmos.models.RestorableTablePropertiesResource; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** An Azure Cosmos DB Table event. */ +@Fluent +public final class RestorableTableGetResultInner { + /* + * The properties of a Table event. + */ + @JsonProperty(value = "properties") + private RestorableTableProperties innerProperties; + + /* + * The unique resource Identifier of the ARM resource. + */ + @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) + private String id; + + /* + * The name of the ARM resource. + */ + @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY) + private String name; + + /* + * The type of Azure resource. + */ + @JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY) + private String type; + + /** Creates an instance of RestorableTableGetResultInner class. */ + public RestorableTableGetResultInner() { + } + + /** + * Get the innerProperties property: The properties of a Table event. + * + * @return the innerProperties value. + */ + private RestorableTableProperties innerProperties() { + return this.innerProperties; + } + + /** + * Get the id property: The unique resource Identifier of the ARM resource. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Get the name property: The name of the ARM resource. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Get the type property: The type of Azure resource. + * + * @return the type value. + */ + public String type() { + return this.type; + } + + /** + * Get the resource property: The resource of an Azure Cosmos DB Table event. + * + * @return the resource value. + */ + public RestorableTablePropertiesResource resource() { + return this.innerProperties() == null ? null : this.innerProperties().resource(); + } + + /** + * Set the resource property: The resource of an Azure Cosmos DB Table event. + * + * @param resource the resource value to set. + * @return the RestorableTableGetResultInner object itself. + */ + public RestorableTableGetResultInner withResource(RestorableTablePropertiesResource resource) { + if (this.innerProperties() == null) { + this.innerProperties = new RestorableTableProperties(); + } + this.innerProperties().withResource(resource); + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (innerProperties() != null) { + innerProperties().validate(); + } + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableTableProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableTableProperties.java new file mode 100644 index 0000000000000..90261af375d5b --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableTableProperties.java @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.fluent.models; + +import com.azure.core.annotation.Fluent; +import com.azure.resourcemanager.cosmos.models.RestorableTablePropertiesResource; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The properties of an Azure Cosmos DB Table event. */ +@Fluent +public final class RestorableTableProperties { + /* + * The resource of an Azure Cosmos DB Table event + */ + @JsonProperty(value = "resource") + private RestorableTablePropertiesResource resource; + + /** Creates an instance of RestorableTableProperties class. */ + public RestorableTableProperties() { + } + + /** + * Get the resource property: The resource of an Azure Cosmos DB Table event. + * + * @return the resource value. + */ + public RestorableTablePropertiesResource resource() { + return this.resource; + } + + /** + * Set the resource property: The resource of an Azure Cosmos DB Table event. + * + * @param resource the resource value to set. + * @return the RestorableTableProperties object itself. + */ + public RestorableTableProperties withResource(RestorableTablePropertiesResource resource) { + this.resource = resource; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (resource() != null) { + resource().validate(); + } + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableTableResourcesGetResultInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableTableResourcesGetResultInner.java new file mode 100644 index 0000000000000..042635350477d --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/RestorableTableResourcesGetResultInner.java @@ -0,0 +1,69 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.fluent.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** Specific Databases to restore. */ +@Immutable +public final class RestorableTableResourcesGetResultInner { + /* + * The unique resource identifier of the ARM resource. + */ + @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY) + private String id; + + /* + * The name of the Table. + */ + @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY) + private String name; + + /* + * The type of Azure resource. + */ + @JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY) + private String type; + + /** Creates an instance of RestorableTableResourcesGetResultInner class. */ + public RestorableTableResourcesGetResultInner() { + } + + /** + * Get the id property: The unique resource identifier of the ARM resource. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Get the name property: The name of the Table. + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Get the type property: The type of Azure resource. + * + * @return the type value. + */ + public String type() { + return this.type; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ServiceResourceCreateUpdateProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ServiceResourceCreateUpdateProperties.java index ff98f075ae58f..60aafe3faa5b0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ServiceResourceCreateUpdateProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ServiceResourceCreateUpdateProperties.java @@ -30,6 +30,10 @@ public final class ServiceResourceCreateUpdateProperties { @JsonProperty(value = "serviceType") private ServiceType serviceType; + /** Creates an instance of ServiceResourceCreateUpdateProperties class. */ + public ServiceResourceCreateUpdateProperties() { + } + /** * Get the instanceSize property: Instance type for the service. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ServiceResourceInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ServiceResourceInner.java index 89ffd7e18be0c..04511136ef93b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ServiceResourceInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ServiceResourceInner.java @@ -18,6 +18,10 @@ public final class ServiceResourceInner extends ArmProxyResource { @JsonProperty(value = "properties") private ServiceResourceProperties properties; + /** Creates an instance of ServiceResourceInner class. */ + public ServiceResourceInner() { + } + /** * Get the properties property: Services response resource. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlContainerCreateUpdateProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlContainerCreateUpdateProperties.java index d5b3bf1f0eabf..05b943efe14e0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlContainerCreateUpdateProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlContainerCreateUpdateProperties.java @@ -26,6 +26,10 @@ public final class SqlContainerCreateUpdateProperties { @JsonProperty(value = "options") private CreateUpdateOptions options; + /** Creates an instance of SqlContainerCreateUpdateProperties class. */ + public SqlContainerCreateUpdateProperties() { + } + /** * Get the resource property: The standard JSON format of a container. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlContainerGetProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlContainerGetProperties.java index dcbbc67ce7d54..7569564cf41bd 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlContainerGetProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlContainerGetProperties.java @@ -24,6 +24,10 @@ public final class SqlContainerGetProperties { @JsonProperty(value = "options") private SqlContainerGetPropertiesOptions options; + /** Creates an instance of SqlContainerGetProperties class. */ + public SqlContainerGetProperties() { + } + /** * Get the resource property: The resource property. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlContainerGetResultsInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlContainerGetResultsInner.java index f03a7bb7134ba..ee2c76567bd7e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlContainerGetResultsInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlContainerGetResultsInner.java @@ -20,6 +20,10 @@ public final class SqlContainerGetResultsInner extends ArmResourceProperties { @JsonProperty(value = "properties") private SqlContainerGetProperties innerProperties; + /** Creates an instance of SqlContainerGetResultsInner class. */ + public SqlContainerGetResultsInner() { + } + /** * Get the innerProperties property: The properties of an Azure Cosmos DB container. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlDatabaseCreateUpdateProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlDatabaseCreateUpdateProperties.java index f60a3d596ee0d..81889efafe4af 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlDatabaseCreateUpdateProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlDatabaseCreateUpdateProperties.java @@ -26,6 +26,10 @@ public final class SqlDatabaseCreateUpdateProperties { @JsonProperty(value = "options") private CreateUpdateOptions options; + /** Creates an instance of SqlDatabaseCreateUpdateProperties class. */ + public SqlDatabaseCreateUpdateProperties() { + } + /** * Get the resource property: The standard JSON format of a SQL database. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlDatabaseGetProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlDatabaseGetProperties.java index 70dbae8302e58..e25dfd3e4fb5a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlDatabaseGetProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlDatabaseGetProperties.java @@ -24,6 +24,10 @@ public final class SqlDatabaseGetProperties { @JsonProperty(value = "options") private SqlDatabaseGetPropertiesOptions options; + /** Creates an instance of SqlDatabaseGetProperties class. */ + public SqlDatabaseGetProperties() { + } + /** * Get the resource property: The resource property. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlDatabaseGetResultsInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlDatabaseGetResultsInner.java index 5cb29de512179..b196c0e2937e6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlDatabaseGetResultsInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlDatabaseGetResultsInner.java @@ -20,6 +20,10 @@ public final class SqlDatabaseGetResultsInner extends ArmResourceProperties { @JsonProperty(value = "properties") private SqlDatabaseGetProperties innerProperties; + /** Creates an instance of SqlDatabaseGetResultsInner class. */ + public SqlDatabaseGetResultsInner() { + } + /** * Get the innerProperties property: The properties of an Azure Cosmos DB SQL database. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlRoleAssignmentGetResultsInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlRoleAssignmentGetResultsInner.java index 043d5b0b422bf..241a3b7dfd9d0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlRoleAssignmentGetResultsInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlRoleAssignmentGetResultsInner.java @@ -17,6 +17,10 @@ public final class SqlRoleAssignmentGetResultsInner extends ArmProxyResource { @JsonProperty(value = "properties") private SqlRoleAssignmentResource innerProperties; + /** Creates an instance of SqlRoleAssignmentGetResultsInner class. */ + public SqlRoleAssignmentGetResultsInner() { + } + /** * Get the innerProperties property: Properties related to the Role Assignment. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlRoleAssignmentResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlRoleAssignmentResource.java index cbf2f54fc9499..63f6540c72db2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlRoleAssignmentResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlRoleAssignmentResource.java @@ -29,6 +29,10 @@ public final class SqlRoleAssignmentResource { @JsonProperty(value = "principalId") private String principalId; + /** Creates an instance of SqlRoleAssignmentResource class. */ + public SqlRoleAssignmentResource() { + } + /** * Get the roleDefinitionId property: The unique identifier for the associated Role Definition. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlRoleDefinitionGetResultsInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlRoleDefinitionGetResultsInner.java index 06e2d776e9a31..45250e719818c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlRoleDefinitionGetResultsInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlRoleDefinitionGetResultsInner.java @@ -20,6 +20,10 @@ public final class SqlRoleDefinitionGetResultsInner extends ArmProxyResource { @JsonProperty(value = "properties") private SqlRoleDefinitionResource innerProperties; + /** Creates an instance of SqlRoleDefinitionGetResultsInner class. */ + public SqlRoleDefinitionGetResultsInner() { + } + /** * Get the innerProperties property: Properties related to the Role Definition. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlRoleDefinitionResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlRoleDefinitionResource.java index f527ad9cd7f59..79211f3c2d61c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlRoleDefinitionResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlRoleDefinitionResource.java @@ -40,6 +40,10 @@ public final class SqlRoleDefinitionResource { @JsonProperty(value = "permissions") private List permissions; + /** Creates an instance of SqlRoleDefinitionResource class. */ + public SqlRoleDefinitionResource() { + } + /** * Get the roleName property: A user-friendly name for the Role Definition. Must be unique for the database account. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlStoredProcedureCreateUpdateProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlStoredProcedureCreateUpdateProperties.java index a9fbbdee3cf2b..132465cfe28ce 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlStoredProcedureCreateUpdateProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlStoredProcedureCreateUpdateProperties.java @@ -26,6 +26,10 @@ public final class SqlStoredProcedureCreateUpdateProperties { @JsonProperty(value = "options") private CreateUpdateOptions options; + /** Creates an instance of SqlStoredProcedureCreateUpdateProperties class. */ + public SqlStoredProcedureCreateUpdateProperties() { + } + /** * Get the resource property: The standard JSON format of a storedProcedure. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlStoredProcedureGetProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlStoredProcedureGetProperties.java index 64961f3eed83f..c58729fa4c986 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlStoredProcedureGetProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlStoredProcedureGetProperties.java @@ -17,6 +17,10 @@ public final class SqlStoredProcedureGetProperties { @JsonProperty(value = "resource") private SqlStoredProcedureGetPropertiesResource resource; + /** Creates an instance of SqlStoredProcedureGetProperties class. */ + public SqlStoredProcedureGetProperties() { + } + /** * Get the resource property: The resource property. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlStoredProcedureGetResultsInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlStoredProcedureGetResultsInner.java index 82483a336bc88..91ba4b2343efd 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlStoredProcedureGetResultsInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlStoredProcedureGetResultsInner.java @@ -19,6 +19,10 @@ public final class SqlStoredProcedureGetResultsInner extends ArmResourceProperti @JsonProperty(value = "properties") private SqlStoredProcedureGetProperties innerProperties; + /** Creates an instance of SqlStoredProcedureGetResultsInner class. */ + public SqlStoredProcedureGetResultsInner() { + } + /** * Get the innerProperties property: The properties of an Azure Cosmos DB storedProcedure. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlTriggerCreateUpdateProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlTriggerCreateUpdateProperties.java index b0d524b625a64..ecb4e21d8b4ec 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlTriggerCreateUpdateProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlTriggerCreateUpdateProperties.java @@ -26,6 +26,10 @@ public final class SqlTriggerCreateUpdateProperties { @JsonProperty(value = "options") private CreateUpdateOptions options; + /** Creates an instance of SqlTriggerCreateUpdateProperties class. */ + public SqlTriggerCreateUpdateProperties() { + } + /** * Get the resource property: The standard JSON format of a trigger. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlTriggerGetProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlTriggerGetProperties.java index 6284a522e8411..e1d9df364b537 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlTriggerGetProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlTriggerGetProperties.java @@ -17,6 +17,10 @@ public final class SqlTriggerGetProperties { @JsonProperty(value = "resource") private SqlTriggerGetPropertiesResource resource; + /** Creates an instance of SqlTriggerGetProperties class. */ + public SqlTriggerGetProperties() { + } + /** * Get the resource property: The resource property. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlTriggerGetResultsInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlTriggerGetResultsInner.java index e11b3ae4c27b2..900baa8151d6e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlTriggerGetResultsInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlTriggerGetResultsInner.java @@ -19,6 +19,10 @@ public final class SqlTriggerGetResultsInner extends ArmResourceProperties { @JsonProperty(value = "properties") private SqlTriggerGetProperties innerProperties; + /** Creates an instance of SqlTriggerGetResultsInner class. */ + public SqlTriggerGetResultsInner() { + } + /** * Get the innerProperties property: The properties of an Azure Cosmos DB trigger. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlUserDefinedFunctionCreateUpdateProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlUserDefinedFunctionCreateUpdateProperties.java index 401aae27483d3..047c0e045fca3 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlUserDefinedFunctionCreateUpdateProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlUserDefinedFunctionCreateUpdateProperties.java @@ -26,6 +26,10 @@ public final class SqlUserDefinedFunctionCreateUpdateProperties { @JsonProperty(value = "options") private CreateUpdateOptions options; + /** Creates an instance of SqlUserDefinedFunctionCreateUpdateProperties class. */ + public SqlUserDefinedFunctionCreateUpdateProperties() { + } + /** * Get the resource property: The standard JSON format of a userDefinedFunction. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlUserDefinedFunctionGetProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlUserDefinedFunctionGetProperties.java index 8f021b1118549..d38aef51b0d08 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlUserDefinedFunctionGetProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlUserDefinedFunctionGetProperties.java @@ -17,6 +17,10 @@ public final class SqlUserDefinedFunctionGetProperties { @JsonProperty(value = "resource") private SqlUserDefinedFunctionGetPropertiesResource resource; + /** Creates an instance of SqlUserDefinedFunctionGetProperties class. */ + public SqlUserDefinedFunctionGetProperties() { + } + /** * Get the resource property: The resource property. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlUserDefinedFunctionGetResultsInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlUserDefinedFunctionGetResultsInner.java index 2162aed3a5755..1293247cf3ee0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlUserDefinedFunctionGetResultsInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/SqlUserDefinedFunctionGetResultsInner.java @@ -19,6 +19,10 @@ public final class SqlUserDefinedFunctionGetResultsInner extends ArmResourceProp @JsonProperty(value = "properties") private SqlUserDefinedFunctionGetProperties innerProperties; + /** Creates an instance of SqlUserDefinedFunctionGetResultsInner class. */ + public SqlUserDefinedFunctionGetResultsInner() { + } + /** * Get the innerProperties property: The properties of an Azure Cosmos DB userDefinedFunction. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/TableCreateUpdateProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/TableCreateUpdateProperties.java index 3c61b9389fa22..89741d11608d0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/TableCreateUpdateProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/TableCreateUpdateProperties.java @@ -26,6 +26,10 @@ public final class TableCreateUpdateProperties { @JsonProperty(value = "options") private CreateUpdateOptions options; + /** Creates an instance of TableCreateUpdateProperties class. */ + public TableCreateUpdateProperties() { + } + /** * Get the resource property: The standard JSON format of a Table. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/TableGetProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/TableGetProperties.java index eae78f0a3475d..3ad20e848a232 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/TableGetProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/TableGetProperties.java @@ -24,6 +24,10 @@ public final class TableGetProperties { @JsonProperty(value = "options") private TableGetPropertiesOptions options; + /** Creates an instance of TableGetProperties class. */ + public TableGetProperties() { + } + /** * Get the resource property: The resource property. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/TableGetResultsInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/TableGetResultsInner.java index a55b4e2330332..20cd0432a42c8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/TableGetResultsInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/TableGetResultsInner.java @@ -20,6 +20,10 @@ public final class TableGetResultsInner extends ArmResourceProperties { @JsonProperty(value = "properties") private TableGetProperties innerProperties; + /** Creates an instance of TableGetResultsInner class. */ + public TableGetResultsInner() { + } + /** * Get the innerProperties property: The properties of an Azure Cosmos DB Table. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ThroughputSettingsGetProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ThroughputSettingsGetProperties.java index 0c8b58e359ecb..9ed681cb7360c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ThroughputSettingsGetProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ThroughputSettingsGetProperties.java @@ -17,6 +17,10 @@ public final class ThroughputSettingsGetProperties { @JsonProperty(value = "resource") private ThroughputSettingsGetPropertiesResource resource; + /** Creates an instance of ThroughputSettingsGetProperties class. */ + public ThroughputSettingsGetProperties() { + } + /** * Get the resource property: The resource property. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ThroughputSettingsGetResultsInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ThroughputSettingsGetResultsInner.java index 40a6e70ba564c..5a5b0f501e1b2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ThroughputSettingsGetResultsInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ThroughputSettingsGetResultsInner.java @@ -19,6 +19,10 @@ public final class ThroughputSettingsGetResultsInner extends ArmResourceProperti @JsonProperty(value = "properties") private ThroughputSettingsGetProperties innerProperties; + /** Creates an instance of ThroughputSettingsGetResultsInner class. */ + public ThroughputSettingsGetResultsInner() { + } + /** * Get the innerProperties property: The properties of an Azure Cosmos DB resource throughput. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ThroughputSettingsUpdateProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ThroughputSettingsUpdateProperties.java index 625cf9b742cc0..14b07d91a7d48 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ThroughputSettingsUpdateProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/ThroughputSettingsUpdateProperties.java @@ -18,6 +18,10 @@ public final class ThroughputSettingsUpdateProperties { @JsonProperty(value = "resource", required = true) private ThroughputSettingsResource resource; + /** Creates an instance of ThroughputSettingsUpdateProperties class. */ + public ThroughputSettingsUpdateProperties() { + } + /** * Get the resource property: The standard JSON format of a resource throughput. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/UsageInner.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/UsageInner.java index 8e627736d6d2f..82a48ca2f2881 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/UsageInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/fluent/models/UsageInner.java @@ -42,6 +42,10 @@ public class UsageInner { @JsonProperty(value = "currentValue", access = JsonProperty.Access.WRITE_ONLY) private Long currentValue; + /** Creates an instance of UsageInner class. */ + public UsageInner() { + } + /** * Get the unit property: The unit of the metric. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraClustersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraClustersClientImpl.java index 4abbbe3ab7f37..c12b64e9dfbf0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraClustersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraClustersClientImpl.java @@ -75,7 +75,7 @@ public final class CassandraClustersClientImpl */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface CassandraClustersService { + public interface CassandraClustersService { @Headers({"Content-Type: application/json"}) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/cassandraClusters") @ExpectedResponses({200}) @@ -624,14 +624,16 @@ public Mono getByResourceGroupAsync(String resourceGroupNa * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a managed Cassandra cluster. + * @return the properties of a managed Cassandra cluster along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ClusterResourceInner getByResourceGroup(String resourceGroupName, String clusterName) { - return getByResourceGroupAsync(resourceGroupName, clusterName).block(); + public Response getByResourceGroupWithResponse( + String resourceGroupName, String clusterName, Context context) { + return getByResourceGroupWithResponseAsync(resourceGroupName, clusterName, context).block(); } /** @@ -639,16 +641,14 @@ public ClusterResourceInner getByResourceGroup(String resourceGroupName, String * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a managed Cassandra cluster along with {@link Response}. + * @return the properties of a managed Cassandra cluster. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getByResourceGroupWithResponse( - String resourceGroupName, String clusterName, Context context) { - return getByResourceGroupWithResponseAsync(resourceGroupName, clusterName, context).block(); + public ClusterResourceInner getByResourceGroup(String resourceGroupName, String clusterName) { + return getByResourceGroupWithResponse(resourceGroupName, clusterName, Context.NONE).getValue(); } /** @@ -796,7 +796,7 @@ private PollerFlux, Void> beginDeleteAsync( */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete(String resourceGroupName, String clusterName) { - return beginDeleteAsync(resourceGroupName, clusterName).getSyncPoller(); + return this.beginDeleteAsync(resourceGroupName, clusterName).getSyncPoller(); } /** @@ -813,7 +813,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String clusterName, Context context) { - return beginDeleteAsync(resourceGroupName, clusterName, context).getSyncPoller(); + return this.beginDeleteAsync(resourceGroupName, clusterName, context).getSyncPoller(); } /** @@ -1056,7 +1056,7 @@ private PollerFlux, ClusterResourceInner> begin @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, ClusterResourceInner> beginCreateUpdate( String resourceGroupName, String clusterName, ClusterResourceInner body) { - return beginCreateUpdateAsync(resourceGroupName, clusterName, body).getSyncPoller(); + return this.beginCreateUpdateAsync(resourceGroupName, clusterName, body).getSyncPoller(); } /** @@ -1075,7 +1075,7 @@ public SyncPoller, ClusterResourceInner> beginC @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, ClusterResourceInner> beginCreateUpdate( String resourceGroupName, String clusterName, ClusterResourceInner body, Context context) { - return beginCreateUpdateAsync(resourceGroupName, clusterName, body, context).getSyncPoller(); + return this.beginCreateUpdateAsync(resourceGroupName, clusterName, body, context).getSyncPoller(); } /** @@ -1327,7 +1327,7 @@ private PollerFlux, ClusterResourceInner> begin @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, ClusterResourceInner> beginUpdate( String resourceGroupName, String clusterName, ClusterResourceInner body) { - return beginUpdateAsync(resourceGroupName, clusterName, body).getSyncPoller(); + return this.beginUpdateAsync(resourceGroupName, clusterName, body).getSyncPoller(); } /** @@ -1345,7 +1345,7 @@ public SyncPoller, ClusterResourceInner> beginU @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, ClusterResourceInner> beginUpdate( String resourceGroupName, String clusterName, ClusterResourceInner body, Context context) { - return beginUpdateAsync(resourceGroupName, clusterName, body, context).getSyncPoller(); + return this.beginUpdateAsync(resourceGroupName, clusterName, body, context).getSyncPoller(); } /** @@ -1592,7 +1592,7 @@ private PollerFlux, CommandOutputInner> beginInvo @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, CommandOutputInner> beginInvokeCommand( String resourceGroupName, String clusterName, CommandPostBody body) { - return beginInvokeCommandAsync(resourceGroupName, clusterName, body).getSyncPoller(); + return this.beginInvokeCommandAsync(resourceGroupName, clusterName, body).getSyncPoller(); } /** @@ -1610,7 +1610,7 @@ public SyncPoller, CommandOutputInner> beginInvok @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, CommandOutputInner> beginInvokeCommand( String resourceGroupName, String clusterName, CommandPostBody body, Context context) { - return beginInvokeCommandAsync(resourceGroupName, clusterName, body, context).getSyncPoller(); + return this.beginInvokeCommandAsync(resourceGroupName, clusterName, body, context).getSyncPoller(); } /** @@ -1841,7 +1841,7 @@ private PollerFlux, Void> beginDeallocateAsync( */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeallocate(String resourceGroupName, String clusterName) { - return beginDeallocateAsync(resourceGroupName, clusterName).getSyncPoller(); + return this.beginDeallocateAsync(resourceGroupName, clusterName).getSyncPoller(); } /** @@ -1860,7 +1860,7 @@ public SyncPoller, Void> beginDeallocate(String resourceGroupNa @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeallocate( String resourceGroupName, String clusterName, Context context) { - return beginDeallocateAsync(resourceGroupName, clusterName, context).getSyncPoller(); + return this.beginDeallocateAsync(resourceGroupName, clusterName, context).getSyncPoller(); } /** @@ -2090,7 +2090,7 @@ private PollerFlux, Void> beginStartAsync( */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginStart(String resourceGroupName, String clusterName) { - return beginStartAsync(resourceGroupName, clusterName).getSyncPoller(); + return this.beginStartAsync(resourceGroupName, clusterName).getSyncPoller(); } /** @@ -2109,7 +2109,7 @@ public SyncPoller, Void> beginStart(String resourceGroupName, S @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginStart( String resourceGroupName, String clusterName, Context context) { - return beginStartAsync(resourceGroupName, clusterName, context).getSyncPoller(); + return this.beginStartAsync(resourceGroupName, clusterName, context).getSyncPoller(); } /** @@ -2299,14 +2299,17 @@ public Mono statusAsync(String resourceGroupN * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the CPU, memory, and disk usage statistics for each Cassandra node in a cluster. + * @return the CPU, memory, and disk usage statistics for each Cassandra node in a cluster along with {@link + * Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public CassandraClusterPublicStatusInner status(String resourceGroupName, String clusterName) { - return statusAsync(resourceGroupName, clusterName).block(); + public Response statusWithResponse( + String resourceGroupName, String clusterName, Context context) { + return statusWithResponseAsync(resourceGroupName, clusterName, context).block(); } /** @@ -2314,16 +2317,13 @@ public CassandraClusterPublicStatusInner status(String resourceGroupName, String * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the CPU, memory, and disk usage statistics for each Cassandra node in a cluster along with {@link - * Response}. + * @return the CPU, memory, and disk usage statistics for each Cassandra node in a cluster. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response statusWithResponse( - String resourceGroupName, String clusterName, Context context) { - return statusWithResponseAsync(resourceGroupName, clusterName, context).block(); + public CassandraClusterPublicStatusInner status(String resourceGroupName, String clusterName) { + return statusWithResponse(resourceGroupName, clusterName, Context.NONE).getValue(); } } diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraDataCentersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraDataCentersClientImpl.java index 9dd156a2062bf..4f31ec168b176 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraDataCentersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraDataCentersClientImpl.java @@ -65,7 +65,7 @@ public final class CassandraDataCentersClientImpl implements CassandraDataCenter */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface CassandraDataCentersService { + public interface CassandraDataCentersService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" @@ -446,14 +446,16 @@ public Mono getAsync(String resourceGroupName, String c * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. * @param dataCenterName Data center name in a managed Cassandra cluster. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a managed Cassandra data center. + * @return the properties of a managed Cassandra data center along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public DataCenterResourceInner get(String resourceGroupName, String clusterName, String dataCenterName) { - return getAsync(resourceGroupName, clusterName, dataCenterName).block(); + public Response getWithResponse( + String resourceGroupName, String clusterName, String dataCenterName, Context context) { + return getWithResponseAsync(resourceGroupName, clusterName, dataCenterName, context).block(); } /** @@ -462,16 +464,14 @@ public DataCenterResourceInner get(String resourceGroupName, String clusterName, * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param clusterName Managed Cassandra cluster name. * @param dataCenterName Data center name in a managed Cassandra cluster. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a managed Cassandra data center along with {@link Response}. + * @return the properties of a managed Cassandra data center. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse( - String resourceGroupName, String clusterName, String dataCenterName, Context context) { - return getWithResponseAsync(resourceGroupName, clusterName, dataCenterName, context).block(); + public DataCenterResourceInner get(String resourceGroupName, String clusterName, String dataCenterName) { + return getWithResponse(resourceGroupName, clusterName, dataCenterName, Context.NONE).getValue(); } /** @@ -636,7 +636,7 @@ private PollerFlux, Void> beginDeleteAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String clusterName, String dataCenterName) { - return beginDeleteAsync(resourceGroupName, clusterName, dataCenterName).getSyncPoller(); + return this.beginDeleteAsync(resourceGroupName, clusterName, dataCenterName).getSyncPoller(); } /** @@ -654,7 +654,7 @@ public SyncPoller, Void> beginDelete( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String clusterName, String dataCenterName, Context context) { - return beginDeleteAsync(resourceGroupName, clusterName, dataCenterName, context).getSyncPoller(); + return this.beginDeleteAsync(resourceGroupName, clusterName, dataCenterName, context).getSyncPoller(); } /** @@ -928,7 +928,7 @@ private PollerFlux, DataCenterResourceInner> @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, DataCenterResourceInner> beginCreateUpdate( String resourceGroupName, String clusterName, String dataCenterName, DataCenterResourceInner body) { - return beginCreateUpdateAsync(resourceGroupName, clusterName, dataCenterName, body).getSyncPoller(); + return this.beginCreateUpdateAsync(resourceGroupName, clusterName, dataCenterName, body).getSyncPoller(); } /** @@ -952,7 +952,9 @@ public SyncPoller, DataCenterResourceInner> String dataCenterName, DataCenterResourceInner body, Context context) { - return beginCreateUpdateAsync(resourceGroupName, clusterName, dataCenterName, body, context).getSyncPoller(); + return this + .beginCreateUpdateAsync(resourceGroupName, clusterName, dataCenterName, body, context) + .getSyncPoller(); } /** @@ -1242,7 +1244,7 @@ private PollerFlux, DataCenterResourceInner> @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, DataCenterResourceInner> beginUpdate( String resourceGroupName, String clusterName, String dataCenterName, DataCenterResourceInner body) { - return beginUpdateAsync(resourceGroupName, clusterName, dataCenterName, body).getSyncPoller(); + return this.beginUpdateAsync(resourceGroupName, clusterName, dataCenterName, body).getSyncPoller(); } /** @@ -1265,7 +1267,7 @@ public SyncPoller, DataCenterResourceInner> String dataCenterName, DataCenterResourceInner body, Context context) { - return beginUpdateAsync(resourceGroupName, clusterName, dataCenterName, body, context).getSyncPoller(); + return this.beginUpdateAsync(resourceGroupName, clusterName, dataCenterName, body, context).getSyncPoller(); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraResourcesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraResourcesClientImpl.java index 026445297a0e7..5c5d83efb63a5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraResourcesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CassandraResourcesClientImpl.java @@ -70,7 +70,7 @@ public final class CassandraResourcesClientImpl implements CassandraResourcesCli */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface CassandraResourcesService { + public interface CassandraResourcesService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" @@ -648,15 +648,17 @@ public Mono getCassandraKeyspaceAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param keyspaceName Cosmos DB keyspace name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. + * @return the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name along + * with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public CassandraKeyspaceGetResultsInner getCassandraKeyspace( - String resourceGroupName, String accountName, String keyspaceName) { - return getCassandraKeyspaceAsync(resourceGroupName, accountName, keyspaceName).block(); + public Response getCassandraKeyspaceWithResponse( + String resourceGroupName, String accountName, String keyspaceName, Context context) { + return getCassandraKeyspaceWithResponseAsync(resourceGroupName, accountName, keyspaceName, context).block(); } /** @@ -665,17 +667,15 @@ public CassandraKeyspaceGetResultsInner getCassandraKeyspace( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param keyspaceName Cosmos DB keyspace name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name along - * with {@link Response}. + * @return the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getCassandraKeyspaceWithResponse( - String resourceGroupName, String accountName, String keyspaceName, Context context) { - return getCassandraKeyspaceWithResponseAsync(resourceGroupName, accountName, keyspaceName, context).block(); + public CassandraKeyspaceGetResultsInner getCassandraKeyspace( + String resourceGroupName, String accountName, String keyspaceName) { + return getCassandraKeyspaceWithResponse(resourceGroupName, accountName, keyspaceName, Context.NONE).getValue(); } /** @@ -897,7 +897,8 @@ private Mono>> createUpdateCassandraKeyspaceWithRespon String accountName, String keyspaceName, CassandraKeyspaceCreateUpdateParameters createUpdateCassandraKeyspaceParameters) { - return beginCreateUpdateCassandraKeyspaceAsync( + return this + .beginCreateUpdateCassandraKeyspaceAsync( resourceGroupName, accountName, keyspaceName, createUpdateCassandraKeyspaceParameters) .getSyncPoller(); } @@ -923,7 +924,8 @@ private Mono>> createUpdateCassandraKeyspaceWithRespon String keyspaceName, CassandraKeyspaceCreateUpdateParameters createUpdateCassandraKeyspaceParameters, Context context) { - return beginCreateUpdateCassandraKeyspaceAsync( + return this + .beginCreateUpdateCassandraKeyspaceAsync( resourceGroupName, accountName, keyspaceName, createUpdateCassandraKeyspaceParameters, context) .getSyncPoller(); } @@ -1185,7 +1187,7 @@ private PollerFlux, Void> beginDeleteCassandraKeyspaceAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteCassandraKeyspace( String resourceGroupName, String accountName, String keyspaceName) { - return beginDeleteCassandraKeyspaceAsync(resourceGroupName, accountName, keyspaceName).getSyncPoller(); + return this.beginDeleteCassandraKeyspaceAsync(resourceGroupName, accountName, keyspaceName).getSyncPoller(); } /** @@ -1203,7 +1205,9 @@ public SyncPoller, Void> beginDeleteCassandraKeyspace( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteCassandraKeyspace( String resourceGroupName, String accountName, String keyspaceName, Context context) { - return beginDeleteCassandraKeyspaceAsync(resourceGroupName, accountName, keyspaceName, context).getSyncPoller(); + return this + .beginDeleteCassandraKeyspaceAsync(resourceGroupName, accountName, keyspaceName, context) + .getSyncPoller(); } /** @@ -1411,16 +1415,18 @@ public Mono getCassandraKeyspaceThroughputAsy * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param keyspaceName Cosmos DB keyspace name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the - * provided name. + * provided name along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ThroughputSettingsGetResultsInner getCassandraKeyspaceThroughput( - String resourceGroupName, String accountName, String keyspaceName) { - return getCassandraKeyspaceThroughputAsync(resourceGroupName, accountName, keyspaceName).block(); + public Response getCassandraKeyspaceThroughputWithResponse( + String resourceGroupName, String accountName, String keyspaceName, Context context) { + return getCassandraKeyspaceThroughputWithResponseAsync(resourceGroupName, accountName, keyspaceName, context) + .block(); } /** @@ -1430,18 +1436,17 @@ public ThroughputSettingsGetResultsInner getCassandraKeyspaceThroughput( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param keyspaceName Cosmos DB keyspace name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the - * provided name along with {@link Response}. + * provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getCassandraKeyspaceThroughputWithResponse( - String resourceGroupName, String accountName, String keyspaceName, Context context) { - return getCassandraKeyspaceThroughputWithResponseAsync(resourceGroupName, accountName, keyspaceName, context) - .block(); + public ThroughputSettingsGetResultsInner getCassandraKeyspaceThroughput( + String resourceGroupName, String accountName, String keyspaceName) { + return getCassandraKeyspaceThroughputWithResponse(resourceGroupName, accountName, keyspaceName, Context.NONE) + .getValue(); } /** @@ -1668,7 +1673,8 @@ private Mono>> updateCassandraKeyspaceThroughputWithRe String accountName, String keyspaceName, ThroughputSettingsUpdateParameters updateThroughputParameters) { - return beginUpdateCassandraKeyspaceThroughputAsync( + return this + .beginUpdateCassandraKeyspaceThroughputAsync( resourceGroupName, accountName, keyspaceName, updateThroughputParameters) .getSyncPoller(); } @@ -1695,7 +1701,8 @@ private Mono>> updateCassandraKeyspaceThroughputWithRe String keyspaceName, ThroughputSettingsUpdateParameters updateThroughputParameters, Context context) { - return beginUpdateCassandraKeyspaceThroughputAsync( + return this + .beginUpdateCassandraKeyspaceThroughputAsync( resourceGroupName, accountName, keyspaceName, updateThroughputParameters, context) .getSyncPoller(); } @@ -1978,7 +1985,8 @@ private Mono>> migrateCassandraKeyspaceToAutoscaleWith @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateCassandraKeyspaceToAutoscale(String resourceGroupName, String accountName, String keyspaceName) { - return beginMigrateCassandraKeyspaceToAutoscaleAsync(resourceGroupName, accountName, keyspaceName) + return this + .beginMigrateCassandraKeyspaceToAutoscaleAsync(resourceGroupName, accountName, keyspaceName) .getSyncPoller(); } @@ -1998,7 +2006,8 @@ private Mono>> migrateCassandraKeyspaceToAutoscaleWith public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateCassandraKeyspaceToAutoscale( String resourceGroupName, String accountName, String keyspaceName, Context context) { - return beginMigrateCassandraKeyspaceToAutoscaleAsync(resourceGroupName, accountName, keyspaceName, context) + return this + .beginMigrateCassandraKeyspaceToAutoscaleAsync(resourceGroupName, accountName, keyspaceName, context) .getSyncPoller(); } @@ -2254,7 +2263,8 @@ private Mono>> migrateCassandraKeyspaceToManualThrough public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateCassandraKeyspaceToManualThroughput( String resourceGroupName, String accountName, String keyspaceName) { - return beginMigrateCassandraKeyspaceToManualThroughputAsync(resourceGroupName, accountName, keyspaceName) + return this + .beginMigrateCassandraKeyspaceToManualThroughputAsync(resourceGroupName, accountName, keyspaceName) .getSyncPoller(); } @@ -2274,8 +2284,8 @@ private Mono>> migrateCassandraKeyspaceToManualThrough public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateCassandraKeyspaceToManualThroughput( String resourceGroupName, String accountName, String keyspaceName, Context context) { - return beginMigrateCassandraKeyspaceToManualThroughputAsync( - resourceGroupName, accountName, keyspaceName, context) + return this + .beginMigrateCassandraKeyspaceToManualThroughputAsync(resourceGroupName, accountName, keyspaceName, context) .getSyncPoller(); } @@ -2687,15 +2697,17 @@ public Mono getCassandraTableAsync( * @param accountName Cosmos DB database account name. * @param keyspaceName Cosmos DB keyspace name. * @param tableName Cosmos DB table name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Cassandra table under an existing Azure Cosmos DB database account. + * @return the Cassandra table under an existing Azure Cosmos DB database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public CassandraTableGetResultsInner getCassandraTable( - String resourceGroupName, String accountName, String keyspaceName, String tableName) { - return getCassandraTableAsync(resourceGroupName, accountName, keyspaceName, tableName).block(); + public Response getCassandraTableWithResponse( + String resourceGroupName, String accountName, String keyspaceName, String tableName, Context context) { + return getCassandraTableWithResponseAsync(resourceGroupName, accountName, keyspaceName, tableName, context) + .block(); } /** @@ -2705,17 +2717,16 @@ public CassandraTableGetResultsInner getCassandraTable( * @param accountName Cosmos DB database account name. * @param keyspaceName Cosmos DB keyspace name. * @param tableName Cosmos DB table name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Cassandra table under an existing Azure Cosmos DB database account along with {@link Response}. + * @return the Cassandra table under an existing Azure Cosmos DB database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getCassandraTableWithResponse( - String resourceGroupName, String accountName, String keyspaceName, String tableName, Context context) { - return getCassandraTableWithResponseAsync(resourceGroupName, accountName, keyspaceName, tableName, context) - .block(); + public CassandraTableGetResultsInner getCassandraTable( + String resourceGroupName, String accountName, String keyspaceName, String tableName) { + return getCassandraTableWithResponse(resourceGroupName, accountName, keyspaceName, tableName, Context.NONE) + .getValue(); } /** @@ -2953,7 +2964,8 @@ private Mono>> createUpdateCassandraTableWithResponseA String keyspaceName, String tableName, CassandraTableCreateUpdateParameters createUpdateCassandraTableParameters) { - return beginCreateUpdateCassandraTableAsync( + return this + .beginCreateUpdateCassandraTableAsync( resourceGroupName, accountName, keyspaceName, tableName, createUpdateCassandraTableParameters) .getSyncPoller(); } @@ -2981,7 +2993,8 @@ private Mono>> createUpdateCassandraTableWithResponseA String tableName, CassandraTableCreateUpdateParameters createUpdateCassandraTableParameters, Context context) { - return beginCreateUpdateCassandraTableAsync( + return this + .beginCreateUpdateCassandraTableAsync( resourceGroupName, accountName, keyspaceName, tableName, createUpdateCassandraTableParameters, context) .getSyncPoller(); } @@ -3264,7 +3277,9 @@ private PollerFlux, Void> beginDeleteCassandraTableAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteCassandraTable( String resourceGroupName, String accountName, String keyspaceName, String tableName) { - return beginDeleteCassandraTableAsync(resourceGroupName, accountName, keyspaceName, tableName).getSyncPoller(); + return this + .beginDeleteCassandraTableAsync(resourceGroupName, accountName, keyspaceName, tableName) + .getSyncPoller(); } /** @@ -3283,7 +3298,8 @@ public SyncPoller, Void> beginDeleteCassandraTable( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteCassandraTable( String resourceGroupName, String accountName, String keyspaceName, String tableName, Context context) { - return beginDeleteCassandraTableAsync(resourceGroupName, accountName, keyspaceName, tableName, context) + return this + .beginDeleteCassandraTableAsync(resourceGroupName, accountName, keyspaceName, tableName, context) .getSyncPoller(); } @@ -3510,16 +3526,19 @@ public Mono getCassandraTableThroughputAsync( * @param accountName Cosmos DB database account name. * @param keyspaceName Cosmos DB keyspace name. * @param tableName Cosmos DB table name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the - * provided name. + * provided name along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ThroughputSettingsGetResultsInner getCassandraTableThroughput( - String resourceGroupName, String accountName, String keyspaceName, String tableName) { - return getCassandraTableThroughputAsync(resourceGroupName, accountName, keyspaceName, tableName).block(); + public Response getCassandraTableThroughputWithResponse( + String resourceGroupName, String accountName, String keyspaceName, String tableName, Context context) { + return getCassandraTableThroughputWithResponseAsync( + resourceGroupName, accountName, keyspaceName, tableName, context) + .block(); } /** @@ -3530,19 +3549,18 @@ public ThroughputSettingsGetResultsInner getCassandraTableThroughput( * @param accountName Cosmos DB database account name. * @param keyspaceName Cosmos DB keyspace name. * @param tableName Cosmos DB table name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the - * provided name along with {@link Response}. + * provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getCassandraTableThroughputWithResponse( - String resourceGroupName, String accountName, String keyspaceName, String tableName, Context context) { - return getCassandraTableThroughputWithResponseAsync( - resourceGroupName, accountName, keyspaceName, tableName, context) - .block(); + public ThroughputSettingsGetResultsInner getCassandraTableThroughput( + String resourceGroupName, String accountName, String keyspaceName, String tableName) { + return getCassandraTableThroughputWithResponse( + resourceGroupName, accountName, keyspaceName, tableName, Context.NONE) + .getValue(); } /** @@ -3787,7 +3805,8 @@ private Mono>> updateCassandraTableThroughputWithRespo String keyspaceName, String tableName, ThroughputSettingsUpdateParameters updateThroughputParameters) { - return beginUpdateCassandraTableThroughputAsync( + return this + .beginUpdateCassandraTableThroughputAsync( resourceGroupName, accountName, keyspaceName, tableName, updateThroughputParameters) .getSyncPoller(); } @@ -3816,7 +3835,8 @@ private Mono>> updateCassandraTableThroughputWithRespo String tableName, ThroughputSettingsUpdateParameters updateThroughputParameters, Context context) { - return beginUpdateCassandraTableThroughputAsync( + return this + .beginUpdateCassandraTableThroughputAsync( resourceGroupName, accountName, keyspaceName, tableName, updateThroughputParameters, context) .getSyncPoller(); } @@ -4122,7 +4142,8 @@ private Mono>> migrateCassandraTableToAutoscaleWithRes public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateCassandraTableToAutoscale( String resourceGroupName, String accountName, String keyspaceName, String tableName) { - return beginMigrateCassandraTableToAutoscaleAsync(resourceGroupName, accountName, keyspaceName, tableName) + return this + .beginMigrateCassandraTableToAutoscaleAsync(resourceGroupName, accountName, keyspaceName, tableName) .getSyncPoller(); } @@ -4143,7 +4164,8 @@ private Mono>> migrateCassandraTableToAutoscaleWithRes public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateCassandraTableToAutoscale( String resourceGroupName, String accountName, String keyspaceName, String tableName, Context context) { - return beginMigrateCassandraTableToAutoscaleAsync( + return this + .beginMigrateCassandraTableToAutoscaleAsync( resourceGroupName, accountName, keyspaceName, tableName, context) .getSyncPoller(); } @@ -4420,8 +4442,8 @@ private Mono>> migrateCassandraTableToManualThroughput public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateCassandraTableToManualThroughput( String resourceGroupName, String accountName, String keyspaceName, String tableName) { - return beginMigrateCassandraTableToManualThroughputAsync( - resourceGroupName, accountName, keyspaceName, tableName) + return this + .beginMigrateCassandraTableToManualThroughputAsync(resourceGroupName, accountName, keyspaceName, tableName) .getSyncPoller(); } @@ -4442,7 +4464,8 @@ private Mono>> migrateCassandraTableToManualThroughput public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateCassandraTableToManualThroughput( String resourceGroupName, String accountName, String keyspaceName, String tableName, Context context) { - return beginMigrateCassandraTableToManualThroughputAsync( + return this + .beginMigrateCassandraTableToManualThroughputAsync( resourceGroupName, accountName, keyspaceName, tableName, context) .getSyncPoller(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CollectionPartitionRegionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CollectionPartitionRegionsClientImpl.java index 01562a9bb6587..64c6ad6fe1675 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CollectionPartitionRegionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CollectionPartitionRegionsClientImpl.java @@ -57,7 +57,7 @@ public final class CollectionPartitionRegionsClientImpl implements CollectionPar */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface CollectionPartitionRegionsService { + public interface CollectionPartitionRegionsService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CollectionPartitionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CollectionPartitionsClientImpl.java index f5888f3d46924..19bef1a280099 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CollectionPartitionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CollectionPartitionsClientImpl.java @@ -58,7 +58,7 @@ public final class CollectionPartitionsClientImpl implements CollectionPartition */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface CollectionPartitionsService { + public interface CollectionPartitionsService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CollectionRegionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CollectionRegionsClientImpl.java index deba04e4a0d4a..059de18048fa5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CollectionRegionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CollectionRegionsClientImpl.java @@ -55,7 +55,7 @@ public final class CollectionRegionsClientImpl implements CollectionRegionsClien */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface CollectionRegionsService { + public interface CollectionRegionsService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CollectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CollectionsClientImpl.java index 1df1595da3146..00c623ec2d70e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CollectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CollectionsClientImpl.java @@ -59,7 +59,7 @@ public final class CollectionsClientImpl implements CollectionsClient { */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface CollectionsService { + public interface CollectionsService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CosmosDBManagementClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CosmosDBManagementClientImpl.java index 15d8a97f62f13..5ec1d5f7e39a9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CosmosDBManagementClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/CosmosDBManagementClientImpl.java @@ -32,12 +32,17 @@ import com.azure.resourcemanager.cosmos.fluent.PrivateEndpointConnectionsClient; import com.azure.resourcemanager.cosmos.fluent.PrivateLinkResourcesClient; import com.azure.resourcemanager.cosmos.fluent.RestorableDatabaseAccountsClient; +import com.azure.resourcemanager.cosmos.fluent.RestorableGremlinDatabasesClient; +import com.azure.resourcemanager.cosmos.fluent.RestorableGremlinGraphsClient; +import com.azure.resourcemanager.cosmos.fluent.RestorableGremlinResourcesClient; import com.azure.resourcemanager.cosmos.fluent.RestorableMongodbCollectionsClient; import com.azure.resourcemanager.cosmos.fluent.RestorableMongodbDatabasesClient; import com.azure.resourcemanager.cosmos.fluent.RestorableMongodbResourcesClient; import com.azure.resourcemanager.cosmos.fluent.RestorableSqlContainersClient; import com.azure.resourcemanager.cosmos.fluent.RestorableSqlDatabasesClient; import com.azure.resourcemanager.cosmos.fluent.RestorableSqlResourcesClient; +import com.azure.resourcemanager.cosmos.fluent.RestorableTableResourcesClient; +import com.azure.resourcemanager.cosmos.fluent.RestorableTablesClient; import com.azure.resourcemanager.cosmos.fluent.ServicesClient; import com.azure.resourcemanager.cosmos.fluent.SqlResourcesClient; import com.azure.resourcemanager.cosmos.fluent.TableResourcesClient; @@ -491,6 +496,66 @@ public RestorableMongodbResourcesClient getRestorableMongodbResources() { return this.restorableMongodbResources; } + /** The RestorableGremlinDatabasesClient object to access its operations. */ + private final RestorableGremlinDatabasesClient restorableGremlinDatabases; + + /** + * Gets the RestorableGremlinDatabasesClient object to access its operations. + * + * @return the RestorableGremlinDatabasesClient object. + */ + public RestorableGremlinDatabasesClient getRestorableGremlinDatabases() { + return this.restorableGremlinDatabases; + } + + /** The RestorableGremlinGraphsClient object to access its operations. */ + private final RestorableGremlinGraphsClient restorableGremlinGraphs; + + /** + * Gets the RestorableGremlinGraphsClient object to access its operations. + * + * @return the RestorableGremlinGraphsClient object. + */ + public RestorableGremlinGraphsClient getRestorableGremlinGraphs() { + return this.restorableGremlinGraphs; + } + + /** The RestorableGremlinResourcesClient object to access its operations. */ + private final RestorableGremlinResourcesClient restorableGremlinResources; + + /** + * Gets the RestorableGremlinResourcesClient object to access its operations. + * + * @return the RestorableGremlinResourcesClient object. + */ + public RestorableGremlinResourcesClient getRestorableGremlinResources() { + return this.restorableGremlinResources; + } + + /** The RestorableTablesClient object to access its operations. */ + private final RestorableTablesClient restorableTables; + + /** + * Gets the RestorableTablesClient object to access its operations. + * + * @return the RestorableTablesClient object. + */ + public RestorableTablesClient getRestorableTables() { + return this.restorableTables; + } + + /** The RestorableTableResourcesClient object to access its operations. */ + private final RestorableTableResourcesClient restorableTableResources; + + /** + * Gets the RestorableTableResourcesClient object to access its operations. + * + * @return the RestorableTableResourcesClient object. + */ + public RestorableTableResourcesClient getRestorableTableResources() { + return this.restorableTableResources; + } + /** The ServicesClient object to access its operations. */ private final ServicesClient services; @@ -526,7 +591,7 @@ public ServicesClient getServices() { this.defaultPollInterval = defaultPollInterval; this.subscriptionId = subscriptionId; this.endpoint = endpoint; - this.apiVersion = "2022-08-15"; + this.apiVersion = "2022-11-15"; this.databaseAccounts = new DatabaseAccountsClientImpl(this); this.operations = new OperationsClientImpl(this); this.databases = new DatabasesClientImpl(this); @@ -558,6 +623,11 @@ public ServicesClient getServices() { this.restorableMongodbDatabases = new RestorableMongodbDatabasesClientImpl(this); this.restorableMongodbCollections = new RestorableMongodbCollectionsClientImpl(this); this.restorableMongodbResources = new RestorableMongodbResourcesClientImpl(this); + this.restorableGremlinDatabases = new RestorableGremlinDatabasesClientImpl(this); + this.restorableGremlinGraphs = new RestorableGremlinGraphsClientImpl(this); + this.restorableGremlinResources = new RestorableGremlinResourcesClientImpl(this); + this.restorableTables = new RestorableTablesClientImpl(this); + this.restorableTableResources = new RestorableTableResourcesClientImpl(this); this.services = new ServicesClientImpl(this); } } diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/DatabaseAccountRegionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/DatabaseAccountRegionsClientImpl.java index 1bf2e16fff32a..173d8cc5647c2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/DatabaseAccountRegionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/DatabaseAccountRegionsClientImpl.java @@ -56,7 +56,7 @@ public final class DatabaseAccountRegionsClientImpl implements DatabaseAccountRe */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface DatabaseAccountRegionsService { + public interface DatabaseAccountRegionsService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/DatabaseAccountsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/DatabaseAccountsClientImpl.java index 70dde6b89444c..8f99c85ffa644 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/DatabaseAccountsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/DatabaseAccountsClientImpl.java @@ -32,7 +32,6 @@ import com.azure.core.management.polling.PollResult; import com.azure.core.util.Context; import com.azure.core.util.FluxUtil; -import com.azure.core.util.logging.ClientLogger; import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.cosmos.fluent.DatabaseAccountsClient; @@ -88,7 +87,7 @@ public final class DatabaseAccountsClientImpl */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface DatabaseAccountsService { + public interface DatabaseAccountsService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" @@ -470,14 +469,16 @@ public Mono getByResourceGroupAsync(String resou * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB database account. + * @return an Azure Cosmos DB database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public DatabaseAccountGetResultsInner getByResourceGroup(String resourceGroupName, String accountName) { - return getByResourceGroupAsync(resourceGroupName, accountName).block(); + public Response getByResourceGroupWithResponse( + String resourceGroupName, String accountName, Context context) { + return getByResourceGroupWithResponseAsync(resourceGroupName, accountName, context).block(); } /** @@ -485,16 +486,14 @@ public DatabaseAccountGetResultsInner getByResourceGroup(String resourceGroupNam * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB database account along with {@link Response}. + * @return an Azure Cosmos DB database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getByResourceGroupWithResponse( - String resourceGroupName, String accountName, Context context) { - return getByResourceGroupWithResponseAsync(resourceGroupName, accountName, context).block(); + public DatabaseAccountGetResultsInner getByResourceGroup(String resourceGroupName, String accountName) { + return getByResourceGroupWithResponse(resourceGroupName, accountName, Context.NONE).getValue(); } /** @@ -681,7 +680,7 @@ private PollerFlux, DatabaseAccountGe @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, DatabaseAccountGetResultsInner> beginUpdate( String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters) { - return beginUpdateAsync(resourceGroupName, accountName, updateParameters).getSyncPoller(); + return this.beginUpdateAsync(resourceGroupName, accountName, updateParameters).getSyncPoller(); } /** @@ -702,7 +701,7 @@ public SyncPoller, DatabaseAccountGet String accountName, DatabaseAccountUpdateParameters updateParameters, Context context) { - return beginUpdateAsync(resourceGroupName, accountName, updateParameters, context).getSyncPoller(); + return this.beginUpdateAsync(resourceGroupName, accountName, updateParameters, context).getSyncPoller(); } /** @@ -980,7 +979,7 @@ private Mono>> createOrUpdateWithResponseAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, DatabaseAccountGetResultsInner> beginCreateOrUpdate( String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters) { - return beginCreateOrUpdateAsync(resourceGroupName, accountName, createUpdateParameters).getSyncPoller(); + return this.beginCreateOrUpdateAsync(resourceGroupName, accountName, createUpdateParameters).getSyncPoller(); } /** @@ -1002,7 +1001,8 @@ public SyncPoller, DatabaseAccountGet String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters, Context context) { - return beginCreateOrUpdateAsync(resourceGroupName, accountName, createUpdateParameters, context) + return this + .beginCreateOrUpdateAsync(resourceGroupName, accountName, createUpdateParameters, context) .getSyncPoller(); } @@ -1231,7 +1231,7 @@ private PollerFlux, Void> beginDeleteAsync( */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete(String resourceGroupName, String accountName) { - return beginDeleteAsync(resourceGroupName, accountName).getSyncPoller(); + return this.beginDeleteAsync(resourceGroupName, accountName).getSyncPoller(); } /** @@ -1248,7 +1248,7 @@ public SyncPoller, Void> beginDelete(String resourceGroupName, @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, Context context) { - return beginDeleteAsync(resourceGroupName, accountName, context).getSyncPoller(); + return this.beginDeleteAsync(resourceGroupName, accountName, context).getSyncPoller(); } /** @@ -1488,7 +1488,9 @@ private PollerFlux, Void> beginFailoverPriorityChangeAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginFailoverPriorityChange( String resourceGroupName, String accountName, FailoverPolicies failoverParameters) { - return beginFailoverPriorityChangeAsync(resourceGroupName, accountName, failoverParameters).getSyncPoller(); + return this + .beginFailoverPriorityChangeAsync(resourceGroupName, accountName, failoverParameters) + .getSyncPoller(); } /** @@ -1508,7 +1510,8 @@ public SyncPoller, Void> beginFailoverPriorityChange( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginFailoverPriorityChange( String resourceGroupName, String accountName, FailoverPolicies failoverParameters, Context context) { - return beginFailoverPriorityChangeAsync(resourceGroupName, accountName, failoverParameters, context) + return this + .beginFailoverPriorityChangeAsync(resourceGroupName, accountName, failoverParameters, context) .getSyncPoller(); } @@ -2002,14 +2005,16 @@ public Mono listKeysAsync(String resourceGro * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the access keys for the given database account. + * @return the access keys for the given database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public DatabaseAccountListKeysResultInner listKeys(String resourceGroupName, String accountName) { - return listKeysAsync(resourceGroupName, accountName).block(); + public Response listKeysWithResponse( + String resourceGroupName, String accountName, Context context) { + return listKeysWithResponseAsync(resourceGroupName, accountName, context).block(); } /** @@ -2017,16 +2022,14 @@ public DatabaseAccountListKeysResultInner listKeys(String resourceGroupName, Str * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the access keys for the given database account along with {@link Response}. + * @return the access keys for the given database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response listKeysWithResponse( - String resourceGroupName, String accountName, Context context) { - return listKeysWithResponseAsync(resourceGroupName, accountName, context).block(); + public DatabaseAccountListKeysResultInner listKeys(String resourceGroupName, String accountName) { + return listKeysWithResponse(resourceGroupName, accountName, Context.NONE).getValue(); } /** @@ -2147,15 +2150,16 @@ public Mono listConnectionStrin * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the connection strings for the given database account. + * @return the connection strings for the given database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public DatabaseAccountListConnectionStringsResultInner listConnectionStrings( - String resourceGroupName, String accountName) { - return listConnectionStringsAsync(resourceGroupName, accountName).block(); + public Response listConnectionStringsWithResponse( + String resourceGroupName, String accountName, Context context) { + return listConnectionStringsWithResponseAsync(resourceGroupName, accountName, context).block(); } /** @@ -2163,16 +2167,15 @@ public DatabaseAccountListConnectionStringsResultInner listConnectionStrings( * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the connection strings for the given database account along with {@link Response}. + * @return the connection strings for the given database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response listConnectionStringsWithResponse( - String resourceGroupName, String accountName, Context context) { - return listConnectionStringsWithResponseAsync(resourceGroupName, accountName, context).block(); + public DatabaseAccountListConnectionStringsResultInner listConnectionStrings( + String resourceGroupName, String accountName) { + return listConnectionStringsWithResponse(resourceGroupName, accountName, Context.NONE).getValue(); } /** @@ -2354,7 +2357,7 @@ private PollerFlux, Void> beginOfflineRegionAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginOfflineRegion( String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline) { - return beginOfflineRegionAsync(resourceGroupName, accountName, regionParameterForOffline).getSyncPoller(); + return this.beginOfflineRegionAsync(resourceGroupName, accountName, regionParameterForOffline).getSyncPoller(); } /** @@ -2375,7 +2378,8 @@ public SyncPoller, Void> beginOfflineRegion( String accountName, RegionForOnlineOffline regionParameterForOffline, Context context) { - return beginOfflineRegionAsync(resourceGroupName, accountName, regionParameterForOffline, context) + return this + .beginOfflineRegionAsync(resourceGroupName, accountName, regionParameterForOffline, context) .getSyncPoller(); } @@ -2634,7 +2638,7 @@ private PollerFlux, Void> beginOnlineRegionAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginOnlineRegion( String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline) { - return beginOnlineRegionAsync(resourceGroupName, accountName, regionParameterForOnline).getSyncPoller(); + return this.beginOnlineRegionAsync(resourceGroupName, accountName, regionParameterForOnline).getSyncPoller(); } /** @@ -2655,7 +2659,8 @@ public SyncPoller, Void> beginOnlineRegion( String accountName, RegionForOnlineOffline regionParameterForOnline, Context context) { - return beginOnlineRegionAsync(resourceGroupName, accountName, regionParameterForOnline, context) + return this + .beginOnlineRegionAsync(resourceGroupName, accountName, regionParameterForOnline, context) .getSyncPoller(); } @@ -2855,14 +2860,16 @@ public Mono getReadOnlyKeysAsync( * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the read-only access keys for the given database account. + * @return the read-only access keys for the given database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public DatabaseAccountListReadOnlyKeysResultInner getReadOnlyKeys(String resourceGroupName, String accountName) { - return getReadOnlyKeysAsync(resourceGroupName, accountName).block(); + public Response getReadOnlyKeysWithResponse( + String resourceGroupName, String accountName, Context context) { + return getReadOnlyKeysWithResponseAsync(resourceGroupName, accountName, context).block(); } /** @@ -2870,16 +2877,14 @@ public DatabaseAccountListReadOnlyKeysResultInner getReadOnlyKeys(String resourc * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the read-only access keys for the given database account along with {@link Response}. + * @return the read-only access keys for the given database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getReadOnlyKeysWithResponse( - String resourceGroupName, String accountName, Context context) { - return getReadOnlyKeysWithResponseAsync(resourceGroupName, accountName, context).block(); + public DatabaseAccountListReadOnlyKeysResultInner getReadOnlyKeys(String resourceGroupName, String accountName) { + return getReadOnlyKeysWithResponse(resourceGroupName, accountName, Context.NONE).getValue(); } /** @@ -3000,14 +3005,16 @@ public Mono listReadOnlyKeysAsync( * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the read-only access keys for the given database account. + * @return the read-only access keys for the given database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public DatabaseAccountListReadOnlyKeysResultInner listReadOnlyKeys(String resourceGroupName, String accountName) { - return listReadOnlyKeysAsync(resourceGroupName, accountName).block(); + public Response listReadOnlyKeysWithResponse( + String resourceGroupName, String accountName, Context context) { + return listReadOnlyKeysWithResponseAsync(resourceGroupName, accountName, context).block(); } /** @@ -3015,16 +3022,14 @@ public DatabaseAccountListReadOnlyKeysResultInner listReadOnlyKeys(String resour * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the read-only access keys for the given database account along with {@link Response}. + * @return the read-only access keys for the given database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response listReadOnlyKeysWithResponse( - String resourceGroupName, String accountName, Context context) { - return listReadOnlyKeysWithResponseAsync(resourceGroupName, accountName, context).block(); + public DatabaseAccountListReadOnlyKeysResultInner listReadOnlyKeys(String resourceGroupName, String accountName) { + return listReadOnlyKeysWithResponse(resourceGroupName, accountName, Context.NONE).getValue(); } /** @@ -3198,7 +3203,7 @@ private PollerFlux, Void> beginRegenerateKeyAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginRegenerateKey( String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate) { - return beginRegenerateKeyAsync(resourceGroupName, accountName, keyToRegenerate).getSyncPoller(); + return this.beginRegenerateKeyAsync(resourceGroupName, accountName, keyToRegenerate).getSyncPoller(); } /** @@ -3219,7 +3224,7 @@ public SyncPoller, Void> beginRegenerateKey( String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate, Context context) { - return beginRegenerateKeyAsync(resourceGroupName, accountName, keyToRegenerate, context).getSyncPoller(); + return this.beginRegenerateKeyAsync(resourceGroupName, accountName, keyToRegenerate, context).getSyncPoller(); } /** @@ -3375,19 +3380,15 @@ public Mono checkNameExistsAsync(String accountName) { * letters, numbers, and the '-' character, and must be between 3 and 50 characters. * * @param accountName Cosmos DB database account name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return whether resource exists. + * @return whether resource exists along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public boolean checkNameExists(String accountName) { - Boolean value = checkNameExistsAsync(accountName).block(); - if (value != null) { - return value; - } else { - throw LOGGER.logExceptionAsError(new NullPointerException()); - } + public Response checkNameExistsWithResponse(String accountName, Context context) { + return checkNameExistsWithResponseAsync(accountName, context).block(); } /** @@ -3395,15 +3396,14 @@ public boolean checkNameExists(String accountName) { * letters, numbers, and the '-' character, and must be between 3 and 50 characters. * * @param accountName Cosmos DB database account name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return whether resource exists along with {@link Response}. + * @return whether resource exists. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response checkNameExistsWithResponse(String accountName, Context context) { - return checkNameExistsWithResponseAsync(accountName, context).block(); + public boolean checkNameExists(String accountName) { + return checkNameExistsWithResponse(accountName, Context.NONE).getValue(); } /** @@ -3964,6 +3964,4 @@ public PagedIterable listMetricDefinitions( String resourceGroupName, String accountName, Context context) { return new PagedIterable<>(listMetricDefinitionsAsync(resourceGroupName, accountName, context)); } - - private static final ClientLogger LOGGER = new ClientLogger(DatabaseAccountsClientImpl.class); } diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/DatabasesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/DatabasesClientImpl.java index c087b088e18ff..773e862666cb8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/DatabasesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/DatabasesClientImpl.java @@ -59,7 +59,7 @@ public final class DatabasesClientImpl implements DatabasesClient { */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface DatabasesService { + public interface DatabasesService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/GremlinResourcesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/GremlinResourcesClientImpl.java index f6772b9f4ba19..c7da32bccb2e4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/GremlinResourcesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/GremlinResourcesClientImpl.java @@ -33,9 +33,11 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.cosmos.fluent.GremlinResourcesClient; +import com.azure.resourcemanager.cosmos.fluent.models.BackupInformationInner; import com.azure.resourcemanager.cosmos.fluent.models.GremlinDatabaseGetResultsInner; import com.azure.resourcemanager.cosmos.fluent.models.GremlinGraphGetResultsInner; import com.azure.resourcemanager.cosmos.fluent.models.ThroughputSettingsGetResultsInner; +import com.azure.resourcemanager.cosmos.models.ContinuousBackupRestoreLocation; import com.azure.resourcemanager.cosmos.models.GremlinDatabaseCreateUpdateParameters; import com.azure.resourcemanager.cosmos.models.GremlinDatabaseListResult; import com.azure.resourcemanager.cosmos.models.GremlinGraphCreateUpdateParameters; @@ -70,7 +72,7 @@ public final class GremlinResourcesClientImpl implements GremlinResourcesClient */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface GremlinResourcesService { + public interface GremlinResourcesService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" @@ -340,6 +342,25 @@ Mono>> migrateGremlinGraphToManualThroughput( @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + + @Headers({"Content-Type: application/json"}) + @Post( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" + + "/databaseAccounts/{accountName}/gremlinDatabases/{databaseName}/graphs/{graphName}" + + "/retrieveContinuousBackupInformation") + @ExpectedResponses({200, 202}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> retrieveContinuousBackupInformation( + @HostParam("$host") String endpoint, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("accountName") String accountName, + @PathParam("databaseName") String databaseName, + @PathParam("graphName") String graphName, + @QueryParam("api-version") String apiVersion, + @BodyParam("application/json") ContinuousBackupRestoreLocation location, + @HeaderParam("Accept") String accept, + Context context); } /** @@ -647,15 +668,17 @@ public Mono getGremlinDatabaseAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Gremlin databases under an existing Azure Cosmos DB database account with the provided name. + * @return the Gremlin databases under an existing Azure Cosmos DB database account with the provided name along + * with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public GremlinDatabaseGetResultsInner getGremlinDatabase( - String resourceGroupName, String accountName, String databaseName) { - return getGremlinDatabaseAsync(resourceGroupName, accountName, databaseName).block(); + public Response getGremlinDatabaseWithResponse( + String resourceGroupName, String accountName, String databaseName, Context context) { + return getGremlinDatabaseWithResponseAsync(resourceGroupName, accountName, databaseName, context).block(); } /** @@ -664,17 +687,15 @@ public GremlinDatabaseGetResultsInner getGremlinDatabase( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Gremlin databases under an existing Azure Cosmos DB database account with the provided name along - * with {@link Response}. + * @return the Gremlin databases under an existing Azure Cosmos DB database account with the provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getGremlinDatabaseWithResponse( - String resourceGroupName, String accountName, String databaseName, Context context) { - return getGremlinDatabaseWithResponseAsync(resourceGroupName, accountName, databaseName, context).block(); + public GremlinDatabaseGetResultsInner getGremlinDatabase( + String resourceGroupName, String accountName, String databaseName) { + return getGremlinDatabaseWithResponse(resourceGroupName, accountName, databaseName, Context.NONE).getValue(); } /** @@ -894,7 +915,8 @@ private Mono>> createUpdateGremlinDatabaseWithResponse String accountName, String databaseName, GremlinDatabaseCreateUpdateParameters createUpdateGremlinDatabaseParameters) { - return beginCreateUpdateGremlinDatabaseAsync( + return this + .beginCreateUpdateGremlinDatabaseAsync( resourceGroupName, accountName, databaseName, createUpdateGremlinDatabaseParameters) .getSyncPoller(); } @@ -920,7 +942,8 @@ private Mono>> createUpdateGremlinDatabaseWithResponse String databaseName, GremlinDatabaseCreateUpdateParameters createUpdateGremlinDatabaseParameters, Context context) { - return beginCreateUpdateGremlinDatabaseAsync( + return this + .beginCreateUpdateGremlinDatabaseAsync( resourceGroupName, accountName, databaseName, createUpdateGremlinDatabaseParameters, context) .getSyncPoller(); } @@ -1182,7 +1205,7 @@ private PollerFlux, Void> beginDeleteGremlinDatabaseAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteGremlinDatabase( String resourceGroupName, String accountName, String databaseName) { - return beginDeleteGremlinDatabaseAsync(resourceGroupName, accountName, databaseName).getSyncPoller(); + return this.beginDeleteGremlinDatabaseAsync(resourceGroupName, accountName, databaseName).getSyncPoller(); } /** @@ -1200,7 +1223,9 @@ public SyncPoller, Void> beginDeleteGremlinDatabase( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteGremlinDatabase( String resourceGroupName, String accountName, String databaseName, Context context) { - return beginDeleteGremlinDatabaseAsync(resourceGroupName, accountName, databaseName, context).getSyncPoller(); + return this + .beginDeleteGremlinDatabaseAsync(resourceGroupName, accountName, databaseName, context) + .getSyncPoller(); } /** @@ -1408,16 +1433,18 @@ public Mono getGremlinDatabaseThroughputAsync * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the Gremlin database under an existing Azure Cosmos DB database account with the - * provided name. + * provided name along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ThroughputSettingsGetResultsInner getGremlinDatabaseThroughput( - String resourceGroupName, String accountName, String databaseName) { - return getGremlinDatabaseThroughputAsync(resourceGroupName, accountName, databaseName).block(); + public Response getGremlinDatabaseThroughputWithResponse( + String resourceGroupName, String accountName, String databaseName, Context context) { + return getGremlinDatabaseThroughputWithResponseAsync(resourceGroupName, accountName, databaseName, context) + .block(); } /** @@ -1427,18 +1454,17 @@ public ThroughputSettingsGetResultsInner getGremlinDatabaseThroughput( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the Gremlin database under an existing Azure Cosmos DB database account with the - * provided name along with {@link Response}. + * provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getGremlinDatabaseThroughputWithResponse( - String resourceGroupName, String accountName, String databaseName, Context context) { - return getGremlinDatabaseThroughputWithResponseAsync(resourceGroupName, accountName, databaseName, context) - .block(); + public ThroughputSettingsGetResultsInner getGremlinDatabaseThroughput( + String resourceGroupName, String accountName, String databaseName) { + return getGremlinDatabaseThroughputWithResponse(resourceGroupName, accountName, databaseName, Context.NONE) + .getValue(); } /** @@ -1665,7 +1691,8 @@ private Mono>> updateGremlinDatabaseThroughputWithResp String accountName, String databaseName, ThroughputSettingsUpdateParameters updateThroughputParameters) { - return beginUpdateGremlinDatabaseThroughputAsync( + return this + .beginUpdateGremlinDatabaseThroughputAsync( resourceGroupName, accountName, databaseName, updateThroughputParameters) .getSyncPoller(); } @@ -1692,7 +1719,8 @@ private Mono>> updateGremlinDatabaseThroughputWithResp String databaseName, ThroughputSettingsUpdateParameters updateThroughputParameters, Context context) { - return beginUpdateGremlinDatabaseThroughputAsync( + return this + .beginUpdateGremlinDatabaseThroughputAsync( resourceGroupName, accountName, databaseName, updateThroughputParameters, context) .getSyncPoller(); } @@ -1974,7 +2002,8 @@ private Mono>> migrateGremlinDatabaseToAutoscaleWithRe @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateGremlinDatabaseToAutoscale(String resourceGroupName, String accountName, String databaseName) { - return beginMigrateGremlinDatabaseToAutoscaleAsync(resourceGroupName, accountName, databaseName) + return this + .beginMigrateGremlinDatabaseToAutoscaleAsync(resourceGroupName, accountName, databaseName) .getSyncPoller(); } @@ -1994,7 +2023,8 @@ private Mono>> migrateGremlinDatabaseToAutoscaleWithRe public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateGremlinDatabaseToAutoscale( String resourceGroupName, String accountName, String databaseName, Context context) { - return beginMigrateGremlinDatabaseToAutoscaleAsync(resourceGroupName, accountName, databaseName, context) + return this + .beginMigrateGremlinDatabaseToAutoscaleAsync(resourceGroupName, accountName, databaseName, context) .getSyncPoller(); } @@ -2250,7 +2280,8 @@ private Mono>> migrateGremlinDatabaseToManualThroughpu public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateGremlinDatabaseToManualThroughput( String resourceGroupName, String accountName, String databaseName) { - return beginMigrateGremlinDatabaseToManualThroughputAsync(resourceGroupName, accountName, databaseName) + return this + .beginMigrateGremlinDatabaseToManualThroughputAsync(resourceGroupName, accountName, databaseName) .getSyncPoller(); } @@ -2270,7 +2301,8 @@ private Mono>> migrateGremlinDatabaseToManualThroughpu public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateGremlinDatabaseToManualThroughput( String resourceGroupName, String accountName, String databaseName, Context context) { - return beginMigrateGremlinDatabaseToManualThroughputAsync(resourceGroupName, accountName, databaseName, context) + return this + .beginMigrateGremlinDatabaseToManualThroughputAsync(resourceGroupName, accountName, databaseName, context) .getSyncPoller(); } @@ -2681,15 +2713,17 @@ public Mono getGremlinGraphAsync( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param graphName Cosmos DB graph name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Gremlin graph under an existing Azure Cosmos DB database account. + * @return the Gremlin graph under an existing Azure Cosmos DB database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public GremlinGraphGetResultsInner getGremlinGraph( - String resourceGroupName, String accountName, String databaseName, String graphName) { - return getGremlinGraphAsync(resourceGroupName, accountName, databaseName, graphName).block(); + public Response getGremlinGraphWithResponse( + String resourceGroupName, String accountName, String databaseName, String graphName, Context context) { + return getGremlinGraphWithResponseAsync(resourceGroupName, accountName, databaseName, graphName, context) + .block(); } /** @@ -2699,17 +2733,16 @@ public GremlinGraphGetResultsInner getGremlinGraph( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param graphName Cosmos DB graph name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Gremlin graph under an existing Azure Cosmos DB database account along with {@link Response}. + * @return the Gremlin graph under an existing Azure Cosmos DB database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getGremlinGraphWithResponse( - String resourceGroupName, String accountName, String databaseName, String graphName, Context context) { - return getGremlinGraphWithResponseAsync(resourceGroupName, accountName, databaseName, graphName, context) - .block(); + public GremlinGraphGetResultsInner getGremlinGraph( + String resourceGroupName, String accountName, String databaseName, String graphName) { + return getGremlinGraphWithResponse(resourceGroupName, accountName, databaseName, graphName, Context.NONE) + .getValue(); } /** @@ -2947,7 +2980,8 @@ private Mono>> createUpdateGremlinGraphWithResponseAsy String databaseName, String graphName, GremlinGraphCreateUpdateParameters createUpdateGremlinGraphParameters) { - return beginCreateUpdateGremlinGraphAsync( + return this + .beginCreateUpdateGremlinGraphAsync( resourceGroupName, accountName, databaseName, graphName, createUpdateGremlinGraphParameters) .getSyncPoller(); } @@ -2975,7 +3009,8 @@ private Mono>> createUpdateGremlinGraphWithResponseAsy String graphName, GremlinGraphCreateUpdateParameters createUpdateGremlinGraphParameters, Context context) { - return beginCreateUpdateGremlinGraphAsync( + return this + .beginCreateUpdateGremlinGraphAsync( resourceGroupName, accountName, databaseName, graphName, createUpdateGremlinGraphParameters, context) .getSyncPoller(); } @@ -3258,7 +3293,9 @@ private PollerFlux, Void> beginDeleteGremlinGraphAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteGremlinGraph( String resourceGroupName, String accountName, String databaseName, String graphName) { - return beginDeleteGremlinGraphAsync(resourceGroupName, accountName, databaseName, graphName).getSyncPoller(); + return this + .beginDeleteGremlinGraphAsync(resourceGroupName, accountName, databaseName, graphName) + .getSyncPoller(); } /** @@ -3277,7 +3314,8 @@ public SyncPoller, Void> beginDeleteGremlinGraph( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteGremlinGraph( String resourceGroupName, String accountName, String databaseName, String graphName, Context context) { - return beginDeleteGremlinGraphAsync(resourceGroupName, accountName, databaseName, graphName, context) + return this + .beginDeleteGremlinGraphAsync(resourceGroupName, accountName, databaseName, graphName, context) .getSyncPoller(); } @@ -3500,15 +3538,19 @@ public Mono getGremlinGraphThroughputAsync( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param graphName Cosmos DB graph name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name. + * @return the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name + * along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ThroughputSettingsGetResultsInner getGremlinGraphThroughput( - String resourceGroupName, String accountName, String databaseName, String graphName) { - return getGremlinGraphThroughputAsync(resourceGroupName, accountName, databaseName, graphName).block(); + public Response getGremlinGraphThroughputWithResponse( + String resourceGroupName, String accountName, String databaseName, String graphName, Context context) { + return getGremlinGraphThroughputWithResponseAsync( + resourceGroupName, accountName, databaseName, graphName, context) + .block(); } /** @@ -3518,19 +3560,17 @@ public ThroughputSettingsGetResultsInner getGremlinGraphThroughput( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param graphName Cosmos DB graph name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name - * along with {@link Response}. + * @return the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getGremlinGraphThroughputWithResponse( - String resourceGroupName, String accountName, String databaseName, String graphName, Context context) { - return getGremlinGraphThroughputWithResponseAsync( - resourceGroupName, accountName, databaseName, graphName, context) - .block(); + public ThroughputSettingsGetResultsInner getGremlinGraphThroughput( + String resourceGroupName, String accountName, String databaseName, String graphName) { + return getGremlinGraphThroughputWithResponse( + resourceGroupName, accountName, databaseName, graphName, Context.NONE) + .getValue(); } /** @@ -3770,7 +3810,8 @@ private Mono>> updateGremlinGraphThroughputWithRespons String databaseName, String graphName, ThroughputSettingsUpdateParameters updateThroughputParameters) { - return beginUpdateGremlinGraphThroughputAsync( + return this + .beginUpdateGremlinGraphThroughputAsync( resourceGroupName, accountName, databaseName, graphName, updateThroughputParameters) .getSyncPoller(); } @@ -3798,7 +3839,8 @@ private Mono>> updateGremlinGraphThroughputWithRespons String graphName, ThroughputSettingsUpdateParameters updateThroughputParameters, Context context) { - return beginUpdateGremlinGraphThroughputAsync( + return this + .beginUpdateGremlinGraphThroughputAsync( resourceGroupName, accountName, databaseName, graphName, updateThroughputParameters, context) .getSyncPoller(); } @@ -4100,7 +4142,8 @@ private Mono>> migrateGremlinGraphToAutoscaleWithRespo public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateGremlinGraphToAutoscale( String resourceGroupName, String accountName, String databaseName, String graphName) { - return beginMigrateGremlinGraphToAutoscaleAsync(resourceGroupName, accountName, databaseName, graphName) + return this + .beginMigrateGremlinGraphToAutoscaleAsync(resourceGroupName, accountName, databaseName, graphName) .getSyncPoller(); } @@ -4121,8 +4164,8 @@ private Mono>> migrateGremlinGraphToAutoscaleWithRespo public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateGremlinGraphToAutoscale( String resourceGroupName, String accountName, String databaseName, String graphName, Context context) { - return beginMigrateGremlinGraphToAutoscaleAsync( - resourceGroupName, accountName, databaseName, graphName, context) + return this + .beginMigrateGremlinGraphToAutoscaleAsync(resourceGroupName, accountName, databaseName, graphName, context) .getSyncPoller(); } @@ -4398,7 +4441,8 @@ private Mono>> migrateGremlinGraphToManualThroughputWi public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateGremlinGraphToManualThroughput( String resourceGroupName, String accountName, String databaseName, String graphName) { - return beginMigrateGremlinGraphToManualThroughputAsync(resourceGroupName, accountName, databaseName, graphName) + return this + .beginMigrateGremlinGraphToManualThroughputAsync(resourceGroupName, accountName, databaseName, graphName) .getSyncPoller(); } @@ -4419,7 +4463,8 @@ private Mono>> migrateGremlinGraphToManualThroughputWi public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateGremlinGraphToManualThroughput( String resourceGroupName, String accountName, String databaseName, String graphName, Context context) { - return beginMigrateGremlinGraphToManualThroughputAsync( + return this + .beginMigrateGremlinGraphToManualThroughputAsync( resourceGroupName, accountName, databaseName, graphName, context) .getSyncPoller(); } @@ -4505,4 +4550,374 @@ public ThroughputSettingsGetResultsInner migrateGremlinGraphToManualThroughput( resourceGroupName, accountName, databaseName, graphName, context) .block(); } + + /** + * Retrieves continuous backup information for a gremlin graph. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param graphName Cosmos DB graph name. + * @param location The name of the continuous backup restore location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return backup information of a resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> retrieveContinuousBackupInformationWithResponseAsync( + String resourceGroupName, + String accountName, + String databaseName, + String graphName, + ContinuousBackupRestoreLocation location) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (databaseName == null) { + return Mono.error(new IllegalArgumentException("Parameter databaseName is required and cannot be null.")); + } + if (graphName == null) { + return Mono.error(new IllegalArgumentException("Parameter graphName is required and cannot be null.")); + } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } else { + location.validate(); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .retrieveContinuousBackupInformation( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + accountName, + databaseName, + graphName, + this.client.getApiVersion(), + location, + accept, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Retrieves continuous backup information for a gremlin graph. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param graphName Cosmos DB graph name. + * @param location The name of the continuous backup restore location. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return backup information of a resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> retrieveContinuousBackupInformationWithResponseAsync( + String resourceGroupName, + String accountName, + String databaseName, + String graphName, + ContinuousBackupRestoreLocation location, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (databaseName == null) { + return Mono.error(new IllegalArgumentException("Parameter databaseName is required and cannot be null.")); + } + if (graphName == null) { + return Mono.error(new IllegalArgumentException("Parameter graphName is required and cannot be null.")); + } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } else { + location.validate(); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .retrieveContinuousBackupInformation( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + accountName, + databaseName, + graphName, + this.client.getApiVersion(), + location, + accept, + context); + } + + /** + * Retrieves continuous backup information for a gremlin graph. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param graphName Cosmos DB graph name. + * @param location The name of the continuous backup restore location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, BackupInformationInner> + beginRetrieveContinuousBackupInformationAsync( + String resourceGroupName, + String accountName, + String databaseName, + String graphName, + ContinuousBackupRestoreLocation location) { + Mono>> mono = + retrieveContinuousBackupInformationWithResponseAsync( + resourceGroupName, accountName, databaseName, graphName, location); + return this + .client + .getLroResult( + mono, + this.client.getHttpPipeline(), + BackupInformationInner.class, + BackupInformationInner.class, + this.client.getContext()); + } + + /** + * Retrieves continuous backup information for a gremlin graph. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param graphName Cosmos DB graph name. + * @param location The name of the continuous backup restore location. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, BackupInformationInner> + beginRetrieveContinuousBackupInformationAsync( + String resourceGroupName, + String accountName, + String databaseName, + String graphName, + ContinuousBackupRestoreLocation location, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono = + retrieveContinuousBackupInformationWithResponseAsync( + resourceGroupName, accountName, databaseName, graphName, location, context); + return this + .client + .getLroResult( + mono, + this.client.getHttpPipeline(), + BackupInformationInner.class, + BackupInformationInner.class, + context); + } + + /** + * Retrieves continuous backup information for a gremlin graph. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param graphName Cosmos DB graph name. + * @param location The name of the continuous backup restore location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, BackupInformationInner> + beginRetrieveContinuousBackupInformation( + String resourceGroupName, + String accountName, + String databaseName, + String graphName, + ContinuousBackupRestoreLocation location) { + return this + .beginRetrieveContinuousBackupInformationAsync( + resourceGroupName, accountName, databaseName, graphName, location) + .getSyncPoller(); + } + + /** + * Retrieves continuous backup information for a gremlin graph. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param graphName Cosmos DB graph name. + * @param location The name of the continuous backup restore location. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, BackupInformationInner> + beginRetrieveContinuousBackupInformation( + String resourceGroupName, + String accountName, + String databaseName, + String graphName, + ContinuousBackupRestoreLocation location, + Context context) { + return this + .beginRetrieveContinuousBackupInformationAsync( + resourceGroupName, accountName, databaseName, graphName, location, context) + .getSyncPoller(); + } + + /** + * Retrieves continuous backup information for a gremlin graph. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param graphName Cosmos DB graph name. + * @param location The name of the continuous backup restore location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return backup information of a resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono retrieveContinuousBackupInformationAsync( + String resourceGroupName, + String accountName, + String databaseName, + String graphName, + ContinuousBackupRestoreLocation location) { + return beginRetrieveContinuousBackupInformationAsync( + resourceGroupName, accountName, databaseName, graphName, location) + .last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Retrieves continuous backup information for a gremlin graph. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param graphName Cosmos DB graph name. + * @param location The name of the continuous backup restore location. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return backup information of a resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono retrieveContinuousBackupInformationAsync( + String resourceGroupName, + String accountName, + String databaseName, + String graphName, + ContinuousBackupRestoreLocation location, + Context context) { + return beginRetrieveContinuousBackupInformationAsync( + resourceGroupName, accountName, databaseName, graphName, location, context) + .last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Retrieves continuous backup information for a gremlin graph. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param graphName Cosmos DB graph name. + * @param location The name of the continuous backup restore location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public BackupInformationInner retrieveContinuousBackupInformation( + String resourceGroupName, + String accountName, + String databaseName, + String graphName, + ContinuousBackupRestoreLocation location) { + return retrieveContinuousBackupInformationAsync( + resourceGroupName, accountName, databaseName, graphName, location) + .block(); + } + + /** + * Retrieves continuous backup information for a gremlin graph. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param graphName Cosmos DB graph name. + * @param location The name of the continuous backup restore location. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public BackupInformationInner retrieveContinuousBackupInformation( + String resourceGroupName, + String accountName, + String databaseName, + String graphName, + ContinuousBackupRestoreLocation location, + Context context) { + return retrieveContinuousBackupInformationAsync( + resourceGroupName, accountName, databaseName, graphName, location, context) + .block(); + } } diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/LocationsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/LocationsClientImpl.java index b9edf5241525d..1b502c64c8c15 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/LocationsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/LocationsClientImpl.java @@ -55,7 +55,7 @@ public final class LocationsClientImpl implements LocationsClient { */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface LocationsService { + public interface LocationsService { @Headers({"Content-Type: application/json"}) @Get("/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations") @ExpectedResponses({200}) @@ -315,28 +315,28 @@ public Mono getAsync(String location) { * Get the properties of an existing Cosmos DB location. * * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of an existing Cosmos DB location. + * @return the properties of an existing Cosmos DB location along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public LocationGetResultInner get(String location) { - return getAsync(location).block(); + public Response getWithResponse(String location, Context context) { + return getWithResponseAsync(location, context).block(); } /** * Get the properties of an existing Cosmos DB location. * * @param location Cosmos DB region, with spaces between words and each word capitalized. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of an existing Cosmos DB location along with {@link Response}. + * @return the properties of an existing Cosmos DB location. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse(String location, Context context) { - return getWithResponseAsync(location, context).block(); + public LocationGetResultInner get(String location) { + return getWithResponse(location, Context.NONE).getValue(); } } diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/MongoDBResourcesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/MongoDBResourcesClientImpl.java index 8eff869a6d0e1..6d6a5e1eb090c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/MongoDBResourcesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/MongoDBResourcesClientImpl.java @@ -78,7 +78,7 @@ public final class MongoDBResourcesClientImpl implements MongoDBResourcesClient */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface MongoDBResourcesService { + public interface MongoDBResourcesService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" @@ -805,15 +805,17 @@ public Mono getMongoDBDatabaseAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. + * @return the MongoDB databases under an existing Azure Cosmos DB database account with the provided name along + * with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public MongoDBDatabaseGetResultsInner getMongoDBDatabase( - String resourceGroupName, String accountName, String databaseName) { - return getMongoDBDatabaseAsync(resourceGroupName, accountName, databaseName).block(); + public Response getMongoDBDatabaseWithResponse( + String resourceGroupName, String accountName, String databaseName, Context context) { + return getMongoDBDatabaseWithResponseAsync(resourceGroupName, accountName, databaseName, context).block(); } /** @@ -822,17 +824,15 @@ public MongoDBDatabaseGetResultsInner getMongoDBDatabase( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the MongoDB databases under an existing Azure Cosmos DB database account with the provided name along - * with {@link Response}. + * @return the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getMongoDBDatabaseWithResponse( - String resourceGroupName, String accountName, String databaseName, Context context) { - return getMongoDBDatabaseWithResponseAsync(resourceGroupName, accountName, databaseName, context).block(); + public MongoDBDatabaseGetResultsInner getMongoDBDatabase( + String resourceGroupName, String accountName, String databaseName) { + return getMongoDBDatabaseWithResponse(resourceGroupName, accountName, databaseName, Context.NONE).getValue(); } /** @@ -1052,7 +1052,8 @@ private Mono>> createUpdateMongoDBDatabaseWithResponse String accountName, String databaseName, MongoDBDatabaseCreateUpdateParameters createUpdateMongoDBDatabaseParameters) { - return beginCreateUpdateMongoDBDatabaseAsync( + return this + .beginCreateUpdateMongoDBDatabaseAsync( resourceGroupName, accountName, databaseName, createUpdateMongoDBDatabaseParameters) .getSyncPoller(); } @@ -1078,7 +1079,8 @@ private Mono>> createUpdateMongoDBDatabaseWithResponse String databaseName, MongoDBDatabaseCreateUpdateParameters createUpdateMongoDBDatabaseParameters, Context context) { - return beginCreateUpdateMongoDBDatabaseAsync( + return this + .beginCreateUpdateMongoDBDatabaseAsync( resourceGroupName, accountName, databaseName, createUpdateMongoDBDatabaseParameters, context) .getSyncPoller(); } @@ -1340,7 +1342,7 @@ private PollerFlux, Void> beginDeleteMongoDBDatabaseAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteMongoDBDatabase( String resourceGroupName, String accountName, String databaseName) { - return beginDeleteMongoDBDatabaseAsync(resourceGroupName, accountName, databaseName).getSyncPoller(); + return this.beginDeleteMongoDBDatabaseAsync(resourceGroupName, accountName, databaseName).getSyncPoller(); } /** @@ -1358,7 +1360,9 @@ public SyncPoller, Void> beginDeleteMongoDBDatabase( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteMongoDBDatabase( String resourceGroupName, String accountName, String databaseName, Context context) { - return beginDeleteMongoDBDatabaseAsync(resourceGroupName, accountName, databaseName, context).getSyncPoller(); + return this + .beginDeleteMongoDBDatabaseAsync(resourceGroupName, accountName, databaseName, context) + .getSyncPoller(); } /** @@ -1566,16 +1570,18 @@ public Mono getMongoDBDatabaseThroughputAsync * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the MongoDB database under an existing Azure Cosmos DB database account with the - * provided name. + * provided name along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ThroughputSettingsGetResultsInner getMongoDBDatabaseThroughput( - String resourceGroupName, String accountName, String databaseName) { - return getMongoDBDatabaseThroughputAsync(resourceGroupName, accountName, databaseName).block(); + public Response getMongoDBDatabaseThroughputWithResponse( + String resourceGroupName, String accountName, String databaseName, Context context) { + return getMongoDBDatabaseThroughputWithResponseAsync(resourceGroupName, accountName, databaseName, context) + .block(); } /** @@ -1585,18 +1591,17 @@ public ThroughputSettingsGetResultsInner getMongoDBDatabaseThroughput( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the MongoDB database under an existing Azure Cosmos DB database account with the - * provided name along with {@link Response}. + * provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getMongoDBDatabaseThroughputWithResponse( - String resourceGroupName, String accountName, String databaseName, Context context) { - return getMongoDBDatabaseThroughputWithResponseAsync(resourceGroupName, accountName, databaseName, context) - .block(); + public ThroughputSettingsGetResultsInner getMongoDBDatabaseThroughput( + String resourceGroupName, String accountName, String databaseName) { + return getMongoDBDatabaseThroughputWithResponse(resourceGroupName, accountName, databaseName, Context.NONE) + .getValue(); } /** @@ -1823,7 +1828,8 @@ private Mono>> updateMongoDBDatabaseThroughputWithResp String accountName, String databaseName, ThroughputSettingsUpdateParameters updateThroughputParameters) { - return beginUpdateMongoDBDatabaseThroughputAsync( + return this + .beginUpdateMongoDBDatabaseThroughputAsync( resourceGroupName, accountName, databaseName, updateThroughputParameters) .getSyncPoller(); } @@ -1850,7 +1856,8 @@ private Mono>> updateMongoDBDatabaseThroughputWithResp String databaseName, ThroughputSettingsUpdateParameters updateThroughputParameters, Context context) { - return beginUpdateMongoDBDatabaseThroughputAsync( + return this + .beginUpdateMongoDBDatabaseThroughputAsync( resourceGroupName, accountName, databaseName, updateThroughputParameters, context) .getSyncPoller(); } @@ -2132,7 +2139,8 @@ private Mono>> migrateMongoDBDatabaseToAutoscaleWithRe @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateMongoDBDatabaseToAutoscale(String resourceGroupName, String accountName, String databaseName) { - return beginMigrateMongoDBDatabaseToAutoscaleAsync(resourceGroupName, accountName, databaseName) + return this + .beginMigrateMongoDBDatabaseToAutoscaleAsync(resourceGroupName, accountName, databaseName) .getSyncPoller(); } @@ -2152,7 +2160,8 @@ private Mono>> migrateMongoDBDatabaseToAutoscaleWithRe public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateMongoDBDatabaseToAutoscale( String resourceGroupName, String accountName, String databaseName, Context context) { - return beginMigrateMongoDBDatabaseToAutoscaleAsync(resourceGroupName, accountName, databaseName, context) + return this + .beginMigrateMongoDBDatabaseToAutoscaleAsync(resourceGroupName, accountName, databaseName, context) .getSyncPoller(); } @@ -2408,7 +2417,8 @@ private Mono>> migrateMongoDBDatabaseToManualThroughpu public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateMongoDBDatabaseToManualThroughput( String resourceGroupName, String accountName, String databaseName) { - return beginMigrateMongoDBDatabaseToManualThroughputAsync(resourceGroupName, accountName, databaseName) + return this + .beginMigrateMongoDBDatabaseToManualThroughputAsync(resourceGroupName, accountName, databaseName) .getSyncPoller(); } @@ -2428,7 +2438,8 @@ private Mono>> migrateMongoDBDatabaseToManualThroughpu public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateMongoDBDatabaseToManualThroughput( String resourceGroupName, String accountName, String databaseName, Context context) { - return beginMigrateMongoDBDatabaseToManualThroughputAsync(resourceGroupName, accountName, databaseName, context) + return this + .beginMigrateMongoDBDatabaseToManualThroughputAsync(resourceGroupName, accountName, databaseName, context) .getSyncPoller(); } @@ -2840,15 +2851,18 @@ public Mono getMongoDBCollectionAsync( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param collectionName Cosmos DB collection name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the MongoDB collection under an existing Azure Cosmos DB database account. + * @return the MongoDB collection under an existing Azure Cosmos DB database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public MongoDBCollectionGetResultsInner getMongoDBCollection( - String resourceGroupName, String accountName, String databaseName, String collectionName) { - return getMongoDBCollectionAsync(resourceGroupName, accountName, databaseName, collectionName).block(); + public Response getMongoDBCollectionWithResponse( + String resourceGroupName, String accountName, String databaseName, String collectionName, Context context) { + return getMongoDBCollectionWithResponseAsync( + resourceGroupName, accountName, databaseName, collectionName, context) + .block(); } /** @@ -2858,18 +2872,17 @@ public MongoDBCollectionGetResultsInner getMongoDBCollection( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param collectionName Cosmos DB collection name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the MongoDB collection under an existing Azure Cosmos DB database account along with {@link Response}. + * @return the MongoDB collection under an existing Azure Cosmos DB database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getMongoDBCollectionWithResponse( - String resourceGroupName, String accountName, String databaseName, String collectionName, Context context) { - return getMongoDBCollectionWithResponseAsync( - resourceGroupName, accountName, databaseName, collectionName, context) - .block(); + public MongoDBCollectionGetResultsInner getMongoDBCollection( + String resourceGroupName, String accountName, String databaseName, String collectionName) { + return getMongoDBCollectionWithResponse( + resourceGroupName, accountName, databaseName, collectionName, Context.NONE) + .getValue(); } /** @@ -3114,7 +3127,8 @@ private Mono>> createUpdateMongoDBCollectionWithRespon String databaseName, String collectionName, MongoDBCollectionCreateUpdateParameters createUpdateMongoDBCollectionParameters) { - return beginCreateUpdateMongoDBCollectionAsync( + return this + .beginCreateUpdateMongoDBCollectionAsync( resourceGroupName, accountName, databaseName, collectionName, createUpdateMongoDBCollectionParameters) .getSyncPoller(); } @@ -3142,7 +3156,8 @@ private Mono>> createUpdateMongoDBCollectionWithRespon String collectionName, MongoDBCollectionCreateUpdateParameters createUpdateMongoDBCollectionParameters, Context context) { - return beginCreateUpdateMongoDBCollectionAsync( + return this + .beginCreateUpdateMongoDBCollectionAsync( resourceGroupName, accountName, databaseName, @@ -3441,7 +3456,8 @@ private PollerFlux, Void> beginDeleteMongoDBCollectionAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteMongoDBCollection( String resourceGroupName, String accountName, String databaseName, String collectionName) { - return beginDeleteMongoDBCollectionAsync(resourceGroupName, accountName, databaseName, collectionName) + return this + .beginDeleteMongoDBCollectionAsync(resourceGroupName, accountName, databaseName, collectionName) .getSyncPoller(); } @@ -3461,7 +3477,8 @@ public SyncPoller, Void> beginDeleteMongoDBCollection( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteMongoDBCollection( String resourceGroupName, String accountName, String databaseName, String collectionName, Context context) { - return beginDeleteMongoDBCollectionAsync(resourceGroupName, accountName, databaseName, collectionName, context) + return this + .beginDeleteMongoDBCollectionAsync(resourceGroupName, accountName, databaseName, collectionName, context) .getSyncPoller(); } @@ -3689,16 +3706,18 @@ public Mono getMongoDBCollectionThroughputAsy * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param collectionName Cosmos DB collection name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the MongoDB collection under an existing Azure Cosmos DB database account with the - * provided name. + * provided name along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ThroughputSettingsGetResultsInner getMongoDBCollectionThroughput( - String resourceGroupName, String accountName, String databaseName, String collectionName) { - return getMongoDBCollectionThroughputAsync(resourceGroupName, accountName, databaseName, collectionName) + public Response getMongoDBCollectionThroughputWithResponse( + String resourceGroupName, String accountName, String databaseName, String collectionName, Context context) { + return getMongoDBCollectionThroughputWithResponseAsync( + resourceGroupName, accountName, databaseName, collectionName, context) .block(); } @@ -3710,19 +3729,18 @@ public ThroughputSettingsGetResultsInner getMongoDBCollectionThroughput( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param collectionName Cosmos DB collection name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the MongoDB collection under an existing Azure Cosmos DB database account with the - * provided name along with {@link Response}. + * provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getMongoDBCollectionThroughputWithResponse( - String resourceGroupName, String accountName, String databaseName, String collectionName, Context context) { - return getMongoDBCollectionThroughputWithResponseAsync( - resourceGroupName, accountName, databaseName, collectionName, context) - .block(); + public ThroughputSettingsGetResultsInner getMongoDBCollectionThroughput( + String resourceGroupName, String accountName, String databaseName, String collectionName) { + return getMongoDBCollectionThroughputWithResponse( + resourceGroupName, accountName, databaseName, collectionName, Context.NONE) + .getValue(); } /** @@ -3967,7 +3985,8 @@ private Mono>> updateMongoDBCollectionThroughputWithRe String databaseName, String collectionName, ThroughputSettingsUpdateParameters updateThroughputParameters) { - return beginUpdateMongoDBCollectionThroughputAsync( + return this + .beginUpdateMongoDBCollectionThroughputAsync( resourceGroupName, accountName, databaseName, collectionName, updateThroughputParameters) .getSyncPoller(); } @@ -3996,7 +4015,8 @@ private Mono>> updateMongoDBCollectionThroughputWithRe String collectionName, ThroughputSettingsUpdateParameters updateThroughputParameters, Context context) { - return beginUpdateMongoDBCollectionThroughputAsync( + return this + .beginUpdateMongoDBCollectionThroughputAsync( resourceGroupName, accountName, databaseName, collectionName, updateThroughputParameters, context) .getSyncPoller(); } @@ -4303,8 +4323,8 @@ private Mono>> migrateMongoDBCollectionToAutoscaleWith public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateMongoDBCollectionToAutoscale( String resourceGroupName, String accountName, String databaseName, String collectionName) { - return beginMigrateMongoDBCollectionToAutoscaleAsync( - resourceGroupName, accountName, databaseName, collectionName) + return this + .beginMigrateMongoDBCollectionToAutoscaleAsync(resourceGroupName, accountName, databaseName, collectionName) .getSyncPoller(); } @@ -4325,7 +4345,8 @@ private Mono>> migrateMongoDBCollectionToAutoscaleWith public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateMongoDBCollectionToAutoscale( String resourceGroupName, String accountName, String databaseName, String collectionName, Context context) { - return beginMigrateMongoDBCollectionToAutoscaleAsync( + return this + .beginMigrateMongoDBCollectionToAutoscaleAsync( resourceGroupName, accountName, databaseName, collectionName, context) .getSyncPoller(); } @@ -4605,7 +4626,8 @@ private Mono>> migrateMongoDBCollectionToManualThrough public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateMongoDBCollectionToManualThroughput( String resourceGroupName, String accountName, String databaseName, String collectionName) { - return beginMigrateMongoDBCollectionToManualThroughputAsync( + return this + .beginMigrateMongoDBCollectionToManualThroughputAsync( resourceGroupName, accountName, databaseName, collectionName) .getSyncPoller(); } @@ -4627,7 +4649,8 @@ private Mono>> migrateMongoDBCollectionToManualThrough public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateMongoDBCollectionToManualThroughput( String resourceGroupName, String accountName, String databaseName, String collectionName, Context context) { - return beginMigrateMongoDBCollectionToManualThroughputAsync( + return this + .beginMigrateMongoDBCollectionToManualThroughputAsync( resourceGroupName, accountName, databaseName, collectionName, context) .getSyncPoller(); } @@ -4848,15 +4871,17 @@ public Mono getMongoRoleDefinitionAsync( * @param mongoRoleDefinitionId The ID for the Role Definition {dbName.roleName}. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB Mongo Role Definition. + * @return an Azure Cosmos DB Mongo Role Definition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public MongoRoleDefinitionGetResultsInner getMongoRoleDefinition( - String mongoRoleDefinitionId, String resourceGroupName, String accountName) { - return getMongoRoleDefinitionAsync(mongoRoleDefinitionId, resourceGroupName, accountName).block(); + public Response getMongoRoleDefinitionWithResponse( + String mongoRoleDefinitionId, String resourceGroupName, String accountName, Context context) { + return getMongoRoleDefinitionWithResponseAsync(mongoRoleDefinitionId, resourceGroupName, accountName, context) + .block(); } /** @@ -4865,17 +4890,16 @@ public MongoRoleDefinitionGetResultsInner getMongoRoleDefinition( * @param mongoRoleDefinitionId The ID for the Role Definition {dbName.roleName}. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB Mongo Role Definition along with {@link Response}. + * @return an Azure Cosmos DB Mongo Role Definition. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getMongoRoleDefinitionWithResponse( - String mongoRoleDefinitionId, String resourceGroupName, String accountName, Context context) { - return getMongoRoleDefinitionWithResponseAsync(mongoRoleDefinitionId, resourceGroupName, accountName, context) - .block(); + public MongoRoleDefinitionGetResultsInner getMongoRoleDefinition( + String mongoRoleDefinitionId, String resourceGroupName, String accountName) { + return getMongoRoleDefinitionWithResponse(mongoRoleDefinitionId, resourceGroupName, accountName, Context.NONE) + .getValue(); } /** @@ -5103,7 +5127,8 @@ private Mono>> createUpdateMongoRoleDefinitionWithResp String resourceGroupName, String accountName, MongoRoleDefinitionCreateUpdateParameters createUpdateMongoRoleDefinitionParameters) { - return beginCreateUpdateMongoRoleDefinitionAsync( + return this + .beginCreateUpdateMongoRoleDefinitionAsync( mongoRoleDefinitionId, resourceGroupName, accountName, createUpdateMongoRoleDefinitionParameters) .getSyncPoller(); } @@ -5129,7 +5154,8 @@ private Mono>> createUpdateMongoRoleDefinitionWithResp String accountName, MongoRoleDefinitionCreateUpdateParameters createUpdateMongoRoleDefinitionParameters, Context context) { - return beginCreateUpdateMongoRoleDefinitionAsync( + return this + .beginCreateUpdateMongoRoleDefinitionAsync( mongoRoleDefinitionId, resourceGroupName, accountName, @@ -5409,7 +5435,8 @@ private PollerFlux, Void> beginDeleteMongoRoleDefinitionAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteMongoRoleDefinition( String mongoRoleDefinitionId, String resourceGroupName, String accountName) { - return beginDeleteMongoRoleDefinitionAsync(mongoRoleDefinitionId, resourceGroupName, accountName) + return this + .beginDeleteMongoRoleDefinitionAsync(mongoRoleDefinitionId, resourceGroupName, accountName) .getSyncPoller(); } @@ -5428,7 +5455,8 @@ public SyncPoller, Void> beginDeleteMongoRoleDefinition( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteMongoRoleDefinition( String mongoRoleDefinitionId, String resourceGroupName, String accountName, Context context) { - return beginDeleteMongoRoleDefinitionAsync(mongoRoleDefinitionId, resourceGroupName, accountName, context) + return this + .beginDeleteMongoRoleDefinitionAsync(mongoRoleDefinitionId, resourceGroupName, accountName, context) .getSyncPoller(); } @@ -5803,15 +5831,17 @@ public Mono getMongoUserDefinitionAsync( * @param mongoUserDefinitionId The ID for the User Definition {dbName.userName}. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB User Definition. + * @return an Azure Cosmos DB User Definition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public MongoUserDefinitionGetResultsInner getMongoUserDefinition( - String mongoUserDefinitionId, String resourceGroupName, String accountName) { - return getMongoUserDefinitionAsync(mongoUserDefinitionId, resourceGroupName, accountName).block(); + public Response getMongoUserDefinitionWithResponse( + String mongoUserDefinitionId, String resourceGroupName, String accountName, Context context) { + return getMongoUserDefinitionWithResponseAsync(mongoUserDefinitionId, resourceGroupName, accountName, context) + .block(); } /** @@ -5820,17 +5850,16 @@ public MongoUserDefinitionGetResultsInner getMongoUserDefinition( * @param mongoUserDefinitionId The ID for the User Definition {dbName.userName}. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB User Definition along with {@link Response}. + * @return an Azure Cosmos DB User Definition. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getMongoUserDefinitionWithResponse( - String mongoUserDefinitionId, String resourceGroupName, String accountName, Context context) { - return getMongoUserDefinitionWithResponseAsync(mongoUserDefinitionId, resourceGroupName, accountName, context) - .block(); + public MongoUserDefinitionGetResultsInner getMongoUserDefinition( + String mongoUserDefinitionId, String resourceGroupName, String accountName) { + return getMongoUserDefinitionWithResponse(mongoUserDefinitionId, resourceGroupName, accountName, Context.NONE) + .getValue(); } /** @@ -6056,7 +6085,8 @@ private Mono>> createUpdateMongoUserDefinitionWithResp String resourceGroupName, String accountName, MongoUserDefinitionCreateUpdateParameters createUpdateMongoUserDefinitionParameters) { - return beginCreateUpdateMongoUserDefinitionAsync( + return this + .beginCreateUpdateMongoUserDefinitionAsync( mongoUserDefinitionId, resourceGroupName, accountName, createUpdateMongoUserDefinitionParameters) .getSyncPoller(); } @@ -6082,7 +6112,8 @@ private Mono>> createUpdateMongoUserDefinitionWithResp String accountName, MongoUserDefinitionCreateUpdateParameters createUpdateMongoUserDefinitionParameters, Context context) { - return beginCreateUpdateMongoUserDefinitionAsync( + return this + .beginCreateUpdateMongoUserDefinitionAsync( mongoUserDefinitionId, resourceGroupName, accountName, @@ -6362,7 +6393,8 @@ private PollerFlux, Void> beginDeleteMongoUserDefinitionAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteMongoUserDefinition( String mongoUserDefinitionId, String resourceGroupName, String accountName) { - return beginDeleteMongoUserDefinitionAsync(mongoUserDefinitionId, resourceGroupName, accountName) + return this + .beginDeleteMongoUserDefinitionAsync(mongoUserDefinitionId, resourceGroupName, accountName) .getSyncPoller(); } @@ -6381,7 +6413,8 @@ public SyncPoller, Void> beginDeleteMongoUserDefinition( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteMongoUserDefinition( String mongoUserDefinitionId, String resourceGroupName, String accountName, Context context) { - return beginDeleteMongoUserDefinitionAsync(mongoUserDefinitionId, resourceGroupName, accountName, context) + return this + .beginDeleteMongoUserDefinitionAsync(mongoUserDefinitionId, resourceGroupName, accountName, context) .getSyncPoller(); } @@ -6853,7 +6886,8 @@ private Mono>> retrieveContinuousBackupInformationWith String databaseName, String collectionName, ContinuousBackupRestoreLocation location) { - return beginRetrieveContinuousBackupInformationAsync( + return this + .beginRetrieveContinuousBackupInformationAsync( resourceGroupName, accountName, databaseName, collectionName, location) .getSyncPoller(); } @@ -6881,7 +6915,8 @@ private Mono>> retrieveContinuousBackupInformationWith String collectionName, ContinuousBackupRestoreLocation location, Context context) { - return beginRetrieveContinuousBackupInformationAsync( + return this + .beginRetrieveContinuousBackupInformationAsync( resourceGroupName, accountName, databaseName, collectionName, location, context) .getSyncPoller(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/NotebookWorkspacesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/NotebookWorkspacesClientImpl.java index 32c84b5088c47..bf5fac9076c4f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/NotebookWorkspacesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/NotebookWorkspacesClientImpl.java @@ -67,7 +67,7 @@ public final class NotebookWorkspacesClientImpl implements NotebookWorkspacesCli */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface NotebookWorkspacesService { + public interface NotebookWorkspacesService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" @@ -485,15 +485,16 @@ public Mono getAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param notebookWorkspaceName The name of the notebook workspace resource. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the notebook workspace for a Cosmos DB account. + * @return the notebook workspace for a Cosmos DB account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public NotebookWorkspaceInner get( - String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName) { - return getAsync(resourceGroupName, accountName, notebookWorkspaceName).block(); + public Response getWithResponse( + String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, Context context) { + return getWithResponseAsync(resourceGroupName, accountName, notebookWorkspaceName, context).block(); } /** @@ -502,16 +503,15 @@ public NotebookWorkspaceInner get( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param notebookWorkspaceName The name of the notebook workspace resource. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the notebook workspace for a Cosmos DB account along with {@link Response}. + * @return the notebook workspace for a Cosmos DB account. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse( - String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, Context context) { - return getWithResponseAsync(resourceGroupName, accountName, notebookWorkspaceName, context).block(); + public NotebookWorkspaceInner get( + String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName) { + return getWithResponse(resourceGroupName, accountName, notebookWorkspaceName, Context.NONE).getValue(); } /** @@ -730,7 +730,8 @@ public SyncPoller, NotebookWorkspaceInner> be String accountName, NotebookWorkspaceName notebookWorkspaceName, NotebookWorkspaceCreateUpdateParameters notebookCreateUpdateParameters) { - return beginCreateOrUpdateAsync( + return this + .beginCreateOrUpdateAsync( resourceGroupName, accountName, notebookWorkspaceName, notebookCreateUpdateParameters) .getSyncPoller(); } @@ -755,7 +756,8 @@ public SyncPoller, NotebookWorkspaceInner> be NotebookWorkspaceName notebookWorkspaceName, NotebookWorkspaceCreateUpdateParameters notebookCreateUpdateParameters, Context context) { - return beginCreateOrUpdateAsync( + return this + .beginCreateOrUpdateAsync( resourceGroupName, accountName, notebookWorkspaceName, notebookCreateUpdateParameters, context) .getSyncPoller(); } @@ -1023,7 +1025,7 @@ private PollerFlux, Void> beginDeleteAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName) { - return beginDeleteAsync(resourceGroupName, accountName, notebookWorkspaceName).getSyncPoller(); + return this.beginDeleteAsync(resourceGroupName, accountName, notebookWorkspaceName).getSyncPoller(); } /** @@ -1041,7 +1043,7 @@ public SyncPoller, Void> beginDelete( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, Context context) { - return beginDeleteAsync(resourceGroupName, accountName, notebookWorkspaceName, context).getSyncPoller(); + return this.beginDeleteAsync(resourceGroupName, accountName, notebookWorkspaceName, context).getSyncPoller(); } /** @@ -1247,15 +1249,17 @@ public Mono listConnectionInfoAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param notebookWorkspaceName The name of the notebook workspace resource. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the connection info for the given notebook workspace. + * @return the connection info for the given notebook workspace along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public NotebookWorkspaceConnectionInfoResultInner listConnectionInfo( - String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName) { - return listConnectionInfoAsync(resourceGroupName, accountName, notebookWorkspaceName).block(); + public Response listConnectionInfoWithResponse( + String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, Context context) { + return listConnectionInfoWithResponseAsync(resourceGroupName, accountName, notebookWorkspaceName, context) + .block(); } /** @@ -1264,17 +1268,16 @@ public NotebookWorkspaceConnectionInfoResultInner listConnectionInfo( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param notebookWorkspaceName The name of the notebook workspace resource. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the connection info for the given notebook workspace along with {@link Response}. + * @return the connection info for the given notebook workspace. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response listConnectionInfoWithResponse( - String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, Context context) { - return listConnectionInfoWithResponseAsync(resourceGroupName, accountName, notebookWorkspaceName, context) - .block(); + public NotebookWorkspaceConnectionInfoResultInner listConnectionInfo( + String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName) { + return listConnectionInfoWithResponse(resourceGroupName, accountName, notebookWorkspaceName, Context.NONE) + .getValue(); } /** @@ -1442,7 +1445,9 @@ private PollerFlux, Void> beginRegenerateAuthTokenAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginRegenerateAuthToken( String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName) { - return beginRegenerateAuthTokenAsync(resourceGroupName, accountName, notebookWorkspaceName).getSyncPoller(); + return this + .beginRegenerateAuthTokenAsync(resourceGroupName, accountName, notebookWorkspaceName) + .getSyncPoller(); } /** @@ -1460,7 +1465,8 @@ public SyncPoller, Void> beginRegenerateAuthToken( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginRegenerateAuthToken( String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, Context context) { - return beginRegenerateAuthTokenAsync(resourceGroupName, accountName, notebookWorkspaceName, context) + return this + .beginRegenerateAuthTokenAsync(resourceGroupName, accountName, notebookWorkspaceName, context) .getSyncPoller(); } @@ -1701,7 +1707,7 @@ private PollerFlux, Void> beginStartAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginStart( String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName) { - return beginStartAsync(resourceGroupName, accountName, notebookWorkspaceName).getSyncPoller(); + return this.beginStartAsync(resourceGroupName, accountName, notebookWorkspaceName).getSyncPoller(); } /** @@ -1719,7 +1725,7 @@ public SyncPoller, Void> beginStart( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginStart( String resourceGroupName, String accountName, NotebookWorkspaceName notebookWorkspaceName, Context context) { - return beginStartAsync(resourceGroupName, accountName, notebookWorkspaceName, context).getSyncPoller(); + return this.beginStartAsync(resourceGroupName, accountName, notebookWorkspaceName, context).getSyncPoller(); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/OperationsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/OperationsClientImpl.java index 6e48318a2de09..e65d3bae6cea2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/OperationsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/OperationsClientImpl.java @@ -55,7 +55,7 @@ public final class OperationsClientImpl implements OperationsClient { */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface OperationsService { + public interface OperationsService { @Headers({"Content-Type: application/json"}) @Get("/providers/Microsoft.DocumentDB/operations") @ExpectedResponses({200}) diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PartitionKeyRangeIdRegionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PartitionKeyRangeIdRegionsClientImpl.java index c86c5f52bf43a..4ed0016167500 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PartitionKeyRangeIdRegionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PartitionKeyRangeIdRegionsClientImpl.java @@ -57,7 +57,7 @@ public final class PartitionKeyRangeIdRegionsClientImpl implements PartitionKeyR */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface PartitionKeyRangeIdRegionsService { + public interface PartitionKeyRangeIdRegionsService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PartitionKeyRangeIdsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PartitionKeyRangeIdsClientImpl.java index a24e5723b311a..0262d2451a3f7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PartitionKeyRangeIdsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PartitionKeyRangeIdsClientImpl.java @@ -56,7 +56,7 @@ public final class PartitionKeyRangeIdsClientImpl implements PartitionKeyRangeId */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface PartitionKeyRangeIdsService { + public interface PartitionKeyRangeIdsService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PercentileSourceTargetsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PercentileSourceTargetsClientImpl.java index 46a8b1a7f88b5..253d4cfc6549e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PercentileSourceTargetsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PercentileSourceTargetsClientImpl.java @@ -56,7 +56,7 @@ public final class PercentileSourceTargetsClientImpl implements PercentileSource */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface PercentileSourceTargetsService { + public interface PercentileSourceTargetsService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PercentileTargetsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PercentileTargetsClientImpl.java index b817cda1bc404..839f33e8f76b9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PercentileTargetsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PercentileTargetsClientImpl.java @@ -55,7 +55,7 @@ public final class PercentileTargetsClientImpl implements PercentileTargetsClien */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface PercentileTargetsService { + public interface PercentileTargetsService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PercentilesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PercentilesClientImpl.java index 13a91f5a8bc60..3934313b34d0a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PercentilesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PercentilesClientImpl.java @@ -55,7 +55,7 @@ public final class PercentilesClientImpl implements PercentilesClient { */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface PercentilesService { + public interface PercentilesService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PrivateEndpointConnectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PrivateEndpointConnectionsClientImpl.java index 6b6eb40adf203..92052a4241015 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PrivateEndpointConnectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PrivateEndpointConnectionsClientImpl.java @@ -65,7 +65,7 @@ public final class PrivateEndpointConnectionsClientImpl implements PrivateEndpoi */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface PrivateEndpointConnectionsService { + public interface PrivateEndpointConnectionsService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" @@ -435,15 +435,16 @@ public Mono getAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param privateEndpointConnectionName The name of the private endpoint connection. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a private endpoint connection. + * @return a private endpoint connection along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public PrivateEndpointConnectionInner get( - String resourceGroupName, String accountName, String privateEndpointConnectionName) { - return getAsync(resourceGroupName, accountName, privateEndpointConnectionName).block(); + public Response getWithResponse( + String resourceGroupName, String accountName, String privateEndpointConnectionName, Context context) { + return getWithResponseAsync(resourceGroupName, accountName, privateEndpointConnectionName, context).block(); } /** @@ -452,16 +453,15 @@ public PrivateEndpointConnectionInner get( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param privateEndpointConnectionName The name of the private endpoint connection. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a private endpoint connection along with {@link Response}. + * @return a private endpoint connection. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse( - String resourceGroupName, String accountName, String privateEndpointConnectionName, Context context) { - return getWithResponseAsync(resourceGroupName, accountName, privateEndpointConnectionName, context).block(); + public PrivateEndpointConnectionInner get( + String resourceGroupName, String accountName, String privateEndpointConnectionName) { + return getWithResponse(resourceGroupName, accountName, privateEndpointConnectionName, Context.NONE).getValue(); } /** @@ -679,7 +679,8 @@ public SyncPoller, PrivateEndpointCon String accountName, String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters) { - return beginCreateOrUpdateAsync(resourceGroupName, accountName, privateEndpointConnectionName, parameters) + return this + .beginCreateOrUpdateAsync(resourceGroupName, accountName, privateEndpointConnectionName, parameters) .getSyncPoller(); } @@ -703,7 +704,8 @@ public SyncPoller, PrivateEndpointCon String privateEndpointConnectionName, PrivateEndpointConnectionInner parameters, Context context) { - return beginCreateOrUpdateAsync( + return this + .beginCreateOrUpdateAsync( resourceGroupName, accountName, privateEndpointConnectionName, parameters, context) .getSyncPoller(); } @@ -971,7 +973,7 @@ private PollerFlux, Void> beginDeleteAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String privateEndpointConnectionName) { - return beginDeleteAsync(resourceGroupName, accountName, privateEndpointConnectionName).getSyncPoller(); + return this.beginDeleteAsync(resourceGroupName, accountName, privateEndpointConnectionName).getSyncPoller(); } /** @@ -989,7 +991,9 @@ public SyncPoller, Void> beginDelete( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String privateEndpointConnectionName, Context context) { - return beginDeleteAsync(resourceGroupName, accountName, privateEndpointConnectionName, context).getSyncPoller(); + return this + .beginDeleteAsync(resourceGroupName, accountName, privateEndpointConnectionName, context) + .getSyncPoller(); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PrivateLinkResourcesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PrivateLinkResourcesClientImpl.java index 42f5b3011c44b..69c03ca2108b7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PrivateLinkResourcesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/PrivateLinkResourcesClientImpl.java @@ -56,7 +56,7 @@ public final class PrivateLinkResourcesClientImpl implements PrivateLinkResource */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface PrivateLinkResourcesService { + public interface PrivateLinkResourcesService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" @@ -392,14 +392,16 @@ public Mono getAsync(String resourceGroupName, String * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param groupName The name of the private link resource. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the private link resources that need to be created for a Cosmos DB account. + * @return the private link resources that need to be created for a Cosmos DB account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public PrivateLinkResourceInner get(String resourceGroupName, String accountName, String groupName) { - return getAsync(resourceGroupName, accountName, groupName).block(); + public Response getWithResponse( + String resourceGroupName, String accountName, String groupName, Context context) { + return getWithResponseAsync(resourceGroupName, accountName, groupName, context).block(); } /** @@ -408,15 +410,13 @@ public PrivateLinkResourceInner get(String resourceGroupName, String accountName * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param groupName The name of the private link resource. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the private link resources that need to be created for a Cosmos DB account along with {@link Response}. + * @return the private link resources that need to be created for a Cosmos DB account. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse( - String resourceGroupName, String accountName, String groupName, Context context) { - return getWithResponseAsync(resourceGroupName, accountName, groupName, context).block(); + public PrivateLinkResourceInner get(String resourceGroupName, String accountName, String groupName) { + return getWithResponse(resourceGroupName, accountName, groupName, Context.NONE).getValue(); } } diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableDatabaseAccountsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableDatabaseAccountsClientImpl.java index 5d9a383004715..02e70d2a5f31c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableDatabaseAccountsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableDatabaseAccountsClientImpl.java @@ -57,7 +57,7 @@ public final class RestorableDatabaseAccountsClientImpl implements RestorableDat */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface RestorableDatabaseAccountsService { + public interface RestorableDatabaseAccountsService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}" @@ -518,14 +518,16 @@ public Mono getByLocationAsync(String l * * @param location Cosmos DB region, with spaces between words and each word capitalized. * @param instanceId The instanceId GUID of a restorable database account. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a Azure Cosmos DB restorable database account. + * @return a Azure Cosmos DB restorable database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public RestorableDatabaseAccountGetResultInner getByLocation(String location, String instanceId) { - return getByLocationAsync(location, instanceId).block(); + public Response getByLocationWithResponse( + String location, String instanceId, Context context) { + return getByLocationWithResponseAsync(location, instanceId, context).block(); } /** @@ -534,15 +536,13 @@ public RestorableDatabaseAccountGetResultInner getByLocation(String location, St * * @param location Cosmos DB region, with spaces between words and each word capitalized. * @param instanceId The instanceId GUID of a restorable database account. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a Azure Cosmos DB restorable database account along with {@link Response}. + * @return a Azure Cosmos DB restorable database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getByLocationWithResponse( - String location, String instanceId, Context context) { - return getByLocationWithResponseAsync(location, instanceId, context).block(); + public RestorableDatabaseAccountGetResultInner getByLocation(String location, String instanceId) { + return getByLocationWithResponse(location, instanceId, Context.NONE).getValue(); } } diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableGremlinDatabasesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableGremlinDatabasesClientImpl.java new file mode 100644 index 0000000000000..0f3d0789b1a51 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableGremlinDatabasesClientImpl.java @@ -0,0 +1,258 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.implementation; + +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.Get; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Headers; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.management.exception.ManagementException; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import com.azure.resourcemanager.cosmos.fluent.RestorableGremlinDatabasesClient; +import com.azure.resourcemanager.cosmos.fluent.models.RestorableGremlinDatabaseGetResultInner; +import com.azure.resourcemanager.cosmos.models.RestorableGremlinDatabasesListResult; +import reactor.core.publisher.Mono; + +/** An instance of this class provides access to all the operations defined in RestorableGremlinDatabasesClient. */ +public final class RestorableGremlinDatabasesClientImpl implements RestorableGremlinDatabasesClient { + /** The proxy service used to perform REST calls. */ + private final RestorableGremlinDatabasesService service; + + /** The service client containing this operation class. */ + private final CosmosDBManagementClientImpl client; + + /** + * Initializes an instance of RestorableGremlinDatabasesClientImpl. + * + * @param client the instance of the service client containing this operation class. + */ + RestorableGremlinDatabasesClientImpl(CosmosDBManagementClientImpl client) { + this.service = + RestProxy + .create( + RestorableGremlinDatabasesService.class, client.getHttpPipeline(), client.getSerializerAdapter()); + this.client = client; + } + + /** + * The interface defining all the services for CosmosDBManagementClientRestorableGremlinDatabases to be used by the + * proxy service to perform REST calls. + */ + @Host("{$host}") + @ServiceInterface(name = "CosmosDBManagementCl") + public interface RestorableGremlinDatabasesService { + @Headers({"Content-Type: application/json"}) + @Get( + "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}" + + "/restorableDatabaseAccounts/{instanceId}/restorableGremlinDatabases") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list( + @HostParam("$host") String endpoint, + @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("location") String location, + @PathParam("instanceId") String instanceId, + @HeaderParam("Accept") String accept, + Context context); + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin databases under the restorable + * account. This helps in scenario where database was accidentally deleted to get the deletion time. This API + * requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Gremlin database events and their properties along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync( + String location, String instanceId) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } + if (instanceId == null) { + return Mono.error(new IllegalArgumentException("Parameter instanceId is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .list( + this.client.getEndpoint(), + this.client.getApiVersion(), + this.client.getSubscriptionId(), + location, + instanceId, + accept, + context)) + .>map( + res -> + new PagedResponseBase<>( + res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin databases under the restorable + * account. This helps in scenario where database was accidentally deleted to get the deletion time. This API + * requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Gremlin database events and their properties along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync( + String location, String instanceId, Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } + if (instanceId == null) { + return Mono.error(new IllegalArgumentException("Parameter instanceId is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list( + this.client.getEndpoint(), + this.client.getApiVersion(), + this.client.getSubscriptionId(), + location, + instanceId, + accept, + context) + .map( + res -> + new PagedResponseBase<>( + res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)); + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin databases under the restorable + * account. This helps in scenario where database was accidentally deleted to get the deletion time. This API + * requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Gremlin database events and their properties as paginated + * response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String location, String instanceId) { + return new PagedFlux<>(() -> listSinglePageAsync(location, instanceId)); + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin databases under the restorable + * account. This helps in scenario where database was accidentally deleted to get the deletion time. This API + * requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Gremlin database events and their properties as paginated + * response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync( + String location, String instanceId, Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(location, instanceId, context)); + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin databases under the restorable + * account. This helps in scenario where database was accidentally deleted to get the deletion time. This API + * requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Gremlin database events and their properties as paginated + * response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String location, String instanceId) { + return new PagedIterable<>(listAsync(location, instanceId)); + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin databases under the restorable + * account. This helps in scenario where database was accidentally deleted to get the deletion time. This API + * requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Gremlin database events and their properties as paginated + * response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list( + String location, String instanceId, Context context) { + return new PagedIterable<>(listAsync(location, instanceId, context)); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableGremlinGraphsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableGremlinGraphsClientImpl.java new file mode 100644 index 0000000000000..a2437fb2cdba5 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableGremlinGraphsClientImpl.java @@ -0,0 +1,325 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.implementation; + +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.Get; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Headers; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.management.exception.ManagementException; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import com.azure.resourcemanager.cosmos.fluent.RestorableGremlinGraphsClient; +import com.azure.resourcemanager.cosmos.fluent.models.RestorableGremlinGraphGetResultInner; +import com.azure.resourcemanager.cosmos.models.RestorableGremlinGraphsListResult; +import reactor.core.publisher.Mono; + +/** An instance of this class provides access to all the operations defined in RestorableGremlinGraphsClient. */ +public final class RestorableGremlinGraphsClientImpl implements RestorableGremlinGraphsClient { + /** The proxy service used to perform REST calls. */ + private final RestorableGremlinGraphsService service; + + /** The service client containing this operation class. */ + private final CosmosDBManagementClientImpl client; + + /** + * Initializes an instance of RestorableGremlinGraphsClientImpl. + * + * @param client the instance of the service client containing this operation class. + */ + RestorableGremlinGraphsClientImpl(CosmosDBManagementClientImpl client) { + this.service = + RestProxy + .create(RestorableGremlinGraphsService.class, client.getHttpPipeline(), client.getSerializerAdapter()); + this.client = client; + } + + /** + * The interface defining all the services for CosmosDBManagementClientRestorableGremlinGraphs to be used by the + * proxy service to perform REST calls. + */ + @Host("{$host}") + @ServiceInterface(name = "CosmosDBManagementCl") + public interface RestorableGremlinGraphsService { + @Headers({"Content-Type: application/json"}) + @Get( + "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}" + + "/restorableDatabaseAccounts/{instanceId}/restorableGraphs") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list( + @HostParam("$host") String endpoint, + @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("location") String location, + @PathParam("instanceId") String instanceId, + @QueryParam("restorableGremlinDatabaseRid") String restorableGremlinDatabaseRid, + @QueryParam("startTime") String startTime, + @QueryParam("endTime") String endTime, + @HeaderParam("Accept") String accept, + Context context); + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. + * This helps in scenario where container was accidentally deleted. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param restorableGremlinDatabaseRid The resource ID of the Gremlin database. + * @param startTime Restorable Gremlin graphs event feed start time. + * @param endTime Restorable Gremlin graphs event feed end time. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Gremlin graph events and their properties along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync( + String location, String instanceId, String restorableGremlinDatabaseRid, String startTime, String endTime) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } + if (instanceId == null) { + return Mono.error(new IllegalArgumentException("Parameter instanceId is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .list( + this.client.getEndpoint(), + this.client.getApiVersion(), + this.client.getSubscriptionId(), + location, + instanceId, + restorableGremlinDatabaseRid, + startTime, + endTime, + accept, + context)) + .>map( + res -> + new PagedResponseBase<>( + res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. + * This helps in scenario where container was accidentally deleted. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param restorableGremlinDatabaseRid The resource ID of the Gremlin database. + * @param startTime Restorable Gremlin graphs event feed start time. + * @param endTime Restorable Gremlin graphs event feed end time. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Gremlin graph events and their properties along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync( + String location, + String instanceId, + String restorableGremlinDatabaseRid, + String startTime, + String endTime, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } + if (instanceId == null) { + return Mono.error(new IllegalArgumentException("Parameter instanceId is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list( + this.client.getEndpoint(), + this.client.getApiVersion(), + this.client.getSubscriptionId(), + location, + instanceId, + restorableGremlinDatabaseRid, + startTime, + endTime, + accept, + context) + .map( + res -> + new PagedResponseBase<>( + res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)); + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. + * This helps in scenario where container was accidentally deleted. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param restorableGremlinDatabaseRid The resource ID of the Gremlin database. + * @param startTime Restorable Gremlin graphs event feed start time. + * @param endTime Restorable Gremlin graphs event feed end time. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Gremlin graph events and their properties as paginated + * response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync( + String location, String instanceId, String restorableGremlinDatabaseRid, String startTime, String endTime) { + return new PagedFlux<>( + () -> listSinglePageAsync(location, instanceId, restorableGremlinDatabaseRid, startTime, endTime)); + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. + * This helps in scenario where container was accidentally deleted. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Gremlin graph events and their properties as paginated + * response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String location, String instanceId) { + final String restorableGremlinDatabaseRid = null; + final String startTime = null; + final String endTime = null; + return new PagedFlux<>( + () -> listSinglePageAsync(location, instanceId, restorableGremlinDatabaseRid, startTime, endTime)); + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. + * This helps in scenario where container was accidentally deleted. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param restorableGremlinDatabaseRid The resource ID of the Gremlin database. + * @param startTime Restorable Gremlin graphs event feed start time. + * @param endTime Restorable Gremlin graphs event feed end time. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Gremlin graph events and their properties as paginated + * response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync( + String location, + String instanceId, + String restorableGremlinDatabaseRid, + String startTime, + String endTime, + Context context) { + return new PagedFlux<>( + () -> listSinglePageAsync(location, instanceId, restorableGremlinDatabaseRid, startTime, endTime, context)); + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. + * This helps in scenario where container was accidentally deleted. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Gremlin graph events and their properties as paginated + * response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String location, String instanceId) { + final String restorableGremlinDatabaseRid = null; + final String startTime = null; + final String endTime = null; + return new PagedIterable<>(listAsync(location, instanceId, restorableGremlinDatabaseRid, startTime, endTime)); + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Gremlin graphs under a specific database. + * This helps in scenario where container was accidentally deleted. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param restorableGremlinDatabaseRid The resource ID of the Gremlin database. + * @param startTime Restorable Gremlin graphs event feed start time. + * @param endTime Restorable Gremlin graphs event feed end time. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Gremlin graph events and their properties as paginated + * response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list( + String location, + String instanceId, + String restorableGremlinDatabaseRid, + String startTime, + String endTime, + Context context) { + return new PagedIterable<>( + listAsync(location, instanceId, restorableGremlinDatabaseRid, startTime, endTime, context)); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableGremlinResourcesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableGremlinResourcesClientImpl.java new file mode 100644 index 0000000000000..8e17c8e350c9d --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableGremlinResourcesClientImpl.java @@ -0,0 +1,298 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.implementation; + +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.Get; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Headers; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.management.exception.ManagementException; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import com.azure.resourcemanager.cosmos.fluent.RestorableGremlinResourcesClient; +import com.azure.resourcemanager.cosmos.fluent.models.RestorableGremlinResourcesGetResultInner; +import com.azure.resourcemanager.cosmos.models.RestorableGremlinResourcesListResult; +import reactor.core.publisher.Mono; + +/** An instance of this class provides access to all the operations defined in RestorableGremlinResourcesClient. */ +public final class RestorableGremlinResourcesClientImpl implements RestorableGremlinResourcesClient { + /** The proxy service used to perform REST calls. */ + private final RestorableGremlinResourcesService service; + + /** The service client containing this operation class. */ + private final CosmosDBManagementClientImpl client; + + /** + * Initializes an instance of RestorableGremlinResourcesClientImpl. + * + * @param client the instance of the service client containing this operation class. + */ + RestorableGremlinResourcesClientImpl(CosmosDBManagementClientImpl client) { + this.service = + RestProxy + .create( + RestorableGremlinResourcesService.class, client.getHttpPipeline(), client.getSerializerAdapter()); + this.client = client; + } + + /** + * The interface defining all the services for CosmosDBManagementClientRestorableGremlinResources to be used by the + * proxy service to perform REST calls. + */ + @Host("{$host}") + @ServiceInterface(name = "CosmosDBManagementCl") + public interface RestorableGremlinResourcesService { + @Headers({"Content-Type: application/json"}) + @Get( + "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}" + + "/restorableDatabaseAccounts/{instanceId}/restorableGremlinResources") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list( + @HostParam("$host") String endpoint, + @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("location") String location, + @PathParam("instanceId") String instanceId, + @QueryParam("restoreLocation") String restoreLocation, + @QueryParam("restoreTimestampInUtc") String restoreTimestampInUtc, + @HeaderParam("Accept") String accept, + Context context); + } + + /** + * Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. + * This helps in scenarios to validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param restoreLocation The location where the restorable resources are located. + * @param restoreTimestampInUtc The timestamp when the restorable resources existed. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the restorable Gremlin resources along with {@link + * PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync( + String location, String instanceId, String restoreLocation, String restoreTimestampInUtc) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } + if (instanceId == null) { + return Mono.error(new IllegalArgumentException("Parameter instanceId is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .list( + this.client.getEndpoint(), + this.client.getApiVersion(), + this.client.getSubscriptionId(), + location, + instanceId, + restoreLocation, + restoreTimestampInUtc, + accept, + context)) + .>map( + res -> + new PagedResponseBase<>( + res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. + * This helps in scenarios to validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param restoreLocation The location where the restorable resources are located. + * @param restoreTimestampInUtc The timestamp when the restorable resources existed. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the restorable Gremlin resources along with {@link + * PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync( + String location, String instanceId, String restoreLocation, String restoreTimestampInUtc, Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } + if (instanceId == null) { + return Mono.error(new IllegalArgumentException("Parameter instanceId is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list( + this.client.getEndpoint(), + this.client.getApiVersion(), + this.client.getSubscriptionId(), + location, + instanceId, + restoreLocation, + restoreTimestampInUtc, + accept, + context) + .map( + res -> + new PagedResponseBase<>( + res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)); + } + + /** + * Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. + * This helps in scenarios to validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param restoreLocation The location where the restorable resources are located. + * @param restoreTimestampInUtc The timestamp when the restorable resources existed. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the restorable Gremlin resources as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync( + String location, String instanceId, String restoreLocation, String restoreTimestampInUtc) { + return new PagedFlux<>(() -> listSinglePageAsync(location, instanceId, restoreLocation, restoreTimestampInUtc)); + } + + /** + * Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. + * This helps in scenarios to validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the restorable Gremlin resources as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String location, String instanceId) { + final String restoreLocation = null; + final String restoreTimestampInUtc = null; + return new PagedFlux<>(() -> listSinglePageAsync(location, instanceId, restoreLocation, restoreTimestampInUtc)); + } + + /** + * Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. + * This helps in scenarios to validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param restoreLocation The location where the restorable resources are located. + * @param restoreTimestampInUtc The timestamp when the restorable resources existed. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the restorable Gremlin resources as paginated response with + * {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync( + String location, String instanceId, String restoreLocation, String restoreTimestampInUtc, Context context) { + return new PagedFlux<>( + () -> listSinglePageAsync(location, instanceId, restoreLocation, restoreTimestampInUtc, context)); + } + + /** + * Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. + * This helps in scenarios to validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the restorable Gremlin resources as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String location, String instanceId) { + final String restoreLocation = null; + final String restoreTimestampInUtc = null; + return new PagedIterable<>(listAsync(location, instanceId, restoreLocation, restoreTimestampInUtc)); + } + + /** + * Return a list of gremlin database and graphs combo that exist on the account at the given timestamp and location. + * This helps in scenarios to validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param restoreLocation The location where the restorable resources are located. + * @param restoreTimestampInUtc The timestamp when the restorable resources existed. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the restorable Gremlin resources as paginated response with + * {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list( + String location, String instanceId, String restoreLocation, String restoreTimestampInUtc, Context context) { + return new PagedIterable<>(listAsync(location, instanceId, restoreLocation, restoreTimestampInUtc, context)); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableMongodbCollectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableMongodbCollectionsClientImpl.java index 5c24e9bd25a60..7addb76ae4e5e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableMongodbCollectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableMongodbCollectionsClientImpl.java @@ -57,7 +57,7 @@ public final class RestorableMongodbCollectionsClientImpl implements RestorableM */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface RestorableMongodbCollectionsService { + public interface RestorableMongodbCollectionsService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}" @@ -71,6 +71,8 @@ Mono> list( @PathParam("location") String location, @PathParam("instanceId") String instanceId, @QueryParam("restorableMongodbDatabaseRid") String restorableMongodbDatabaseRid, + @QueryParam("startTime") String startTime, + @QueryParam("endTime") String endTime, @HeaderParam("Accept") String accept, Context context); } @@ -83,6 +85,8 @@ Mono> list( * @param location Cosmos DB region, with spaces between words and each word capitalized. * @param instanceId The instanceId GUID of a restorable database account. * @param restorableMongodbDatabaseRid The resource ID of the MongoDB database. + * @param startTime Restorable MongoDB collections event feed start time. + * @param endTime Restorable MongoDB collections event feed end time. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -91,7 +95,7 @@ Mono> list( */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( - String location, String instanceId, String restorableMongodbDatabaseRid) { + String location, String instanceId, String restorableMongodbDatabaseRid, String startTime, String endTime) { if (this.client.getEndpoint() == null) { return Mono .error( @@ -122,6 +126,8 @@ private Mono> listSingl location, instanceId, restorableMongodbDatabaseRid, + startTime, + endTime, accept, context)) .>map( @@ -139,6 +145,8 @@ private Mono> listSingl * @param location Cosmos DB region, with spaces between words and each word capitalized. * @param instanceId The instanceId GUID of a restorable database account. * @param restorableMongodbDatabaseRid The resource ID of the MongoDB database. + * @param startTime Restorable MongoDB collections event feed start time. + * @param endTime Restorable MongoDB collections event feed end time. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -148,7 +156,12 @@ private Mono> listSingl */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( - String location, String instanceId, String restorableMongodbDatabaseRid, Context context) { + String location, + String instanceId, + String restorableMongodbDatabaseRid, + String startTime, + String endTime, + Context context) { if (this.client.getEndpoint() == null) { return Mono .error( @@ -177,6 +190,8 @@ private Mono> listSingl location, instanceId, restorableMongodbDatabaseRid, + startTime, + endTime, accept, context) .map( @@ -193,6 +208,8 @@ private Mono> listSingl * @param location Cosmos DB region, with spaces between words and each word capitalized. * @param instanceId The instanceId GUID of a restorable database account. * @param restorableMongodbDatabaseRid The resource ID of the MongoDB database. + * @param startTime Restorable MongoDB collections event feed start time. + * @param endTime Restorable MongoDB collections event feed end time. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -201,8 +218,9 @@ private Mono> listSingl */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync( - String location, String instanceId, String restorableMongodbDatabaseRid) { - return new PagedFlux<>(() -> listSinglePageAsync(location, instanceId, restorableMongodbDatabaseRid)); + String location, String instanceId, String restorableMongodbDatabaseRid, String startTime, String endTime) { + return new PagedFlux<>( + () -> listSinglePageAsync(location, instanceId, restorableMongodbDatabaseRid, startTime, endTime)); } /** @@ -221,7 +239,10 @@ public PagedFlux listAsync( @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String location, String instanceId) { final String restorableMongodbDatabaseRid = null; - return new PagedFlux<>(() -> listSinglePageAsync(location, instanceId, restorableMongodbDatabaseRid)); + final String startTime = null; + final String endTime = null; + return new PagedFlux<>( + () -> listSinglePageAsync(location, instanceId, restorableMongodbDatabaseRid, startTime, endTime)); } /** @@ -232,6 +253,8 @@ public PagedFlux listAsync(String loc * @param location Cosmos DB region, with spaces between words and each word capitalized. * @param instanceId The instanceId GUID of a restorable database account. * @param restorableMongodbDatabaseRid The resource ID of the MongoDB database. + * @param startTime Restorable MongoDB collections event feed start time. + * @param endTime Restorable MongoDB collections event feed end time. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -241,8 +264,14 @@ public PagedFlux listAsync(String loc */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync( - String location, String instanceId, String restorableMongodbDatabaseRid, Context context) { - return new PagedFlux<>(() -> listSinglePageAsync(location, instanceId, restorableMongodbDatabaseRid, context)); + String location, + String instanceId, + String restorableMongodbDatabaseRid, + String startTime, + String endTime, + Context context) { + return new PagedFlux<>( + () -> listSinglePageAsync(location, instanceId, restorableMongodbDatabaseRid, startTime, endTime, context)); } /** @@ -261,7 +290,9 @@ private PagedFlux listAsync( @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String location, String instanceId) { final String restorableMongodbDatabaseRid = null; - return new PagedIterable<>(listAsync(location, instanceId, restorableMongodbDatabaseRid)); + final String startTime = null; + final String endTime = null; + return new PagedIterable<>(listAsync(location, instanceId, restorableMongodbDatabaseRid, startTime, endTime)); } /** @@ -272,6 +303,8 @@ public PagedIterable list(String loca * @param location Cosmos DB region, with spaces between words and each word capitalized. * @param instanceId The instanceId GUID of a restorable database account. * @param restorableMongodbDatabaseRid The resource ID of the MongoDB database. + * @param startTime Restorable MongoDB collections event feed start time. + * @param endTime Restorable MongoDB collections event feed end time. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -281,7 +314,13 @@ public PagedIterable list(String loca */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list( - String location, String instanceId, String restorableMongodbDatabaseRid, Context context) { - return new PagedIterable<>(listAsync(location, instanceId, restorableMongodbDatabaseRid, context)); + String location, + String instanceId, + String restorableMongodbDatabaseRid, + String startTime, + String endTime, + Context context) { + return new PagedIterable<>( + listAsync(location, instanceId, restorableMongodbDatabaseRid, startTime, endTime, context)); } } diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableMongodbDatabasesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableMongodbDatabasesClientImpl.java index bfe246b707ac9..2f369c3826ea4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableMongodbDatabasesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableMongodbDatabasesClientImpl.java @@ -57,7 +57,7 @@ public final class RestorableMongodbDatabasesClientImpl implements RestorableMon */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface RestorableMongodbDatabasesService { + public interface RestorableMongodbDatabasesService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}" diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableMongodbResourcesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableMongodbResourcesClientImpl.java index ae3481625b616..820b2497d36d7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableMongodbResourcesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableMongodbResourcesClientImpl.java @@ -57,7 +57,7 @@ public final class RestorableMongodbResourcesClientImpl implements RestorableMon */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface RestorableMongodbResourcesService { + public interface RestorableMongodbResourcesService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}" diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableSqlContainersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableSqlContainersClientImpl.java index 4ddf19087b341..d04bab88a9a6a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableSqlContainersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableSqlContainersClientImpl.java @@ -56,7 +56,7 @@ public final class RestorableSqlContainersClientImpl implements RestorableSqlCon */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface RestorableSqlContainersService { + public interface RestorableSqlContainersService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}" @@ -84,8 +84,8 @@ Mono> list( * @param location Cosmos DB region, with spaces between words and each word capitalized. * @param instanceId The instanceId GUID of a restorable database account. * @param restorableSqlDatabaseRid The resource ID of the SQL database. - * @param startTime The snapshot create timestamp after which snapshots need to be listed. - * @param endTime The snapshot create timestamp before which snapshots need to be listed. + * @param startTime Restorable Sql containers event feed start time. + * @param endTime Restorable Sql containers event feed end time. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -144,8 +144,8 @@ private Mono> listSinglePage * @param location Cosmos DB region, with spaces between words and each word capitalized. * @param instanceId The instanceId GUID of a restorable database account. * @param restorableSqlDatabaseRid The resource ID of the SQL database. - * @param startTime The snapshot create timestamp after which snapshots need to be listed. - * @param endTime The snapshot create timestamp before which snapshots need to be listed. + * @param startTime Restorable Sql containers event feed start time. + * @param endTime Restorable Sql containers event feed end time. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -207,8 +207,8 @@ private Mono> listSinglePage * @param location Cosmos DB region, with spaces between words and each word capitalized. * @param instanceId The instanceId GUID of a restorable database account. * @param restorableSqlDatabaseRid The resource ID of the SQL database. - * @param startTime The snapshot create timestamp after which snapshots need to be listed. - * @param endTime The snapshot create timestamp before which snapshots need to be listed. + * @param startTime Restorable Sql containers event feed start time. + * @param endTime Restorable Sql containers event feed end time. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. @@ -252,8 +252,8 @@ public PagedFlux listAsync(String location * @param location Cosmos DB region, with spaces between words and each word capitalized. * @param instanceId The instanceId GUID of a restorable database account. * @param restorableSqlDatabaseRid The resource ID of the SQL database. - * @param startTime The snapshot create timestamp after which snapshots need to be listed. - * @param endTime The snapshot create timestamp before which snapshots need to be listed. + * @param startTime Restorable Sql containers event feed start time. + * @param endTime Restorable Sql containers event feed end time. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. @@ -302,8 +302,8 @@ public PagedIterable list(String location, * @param location Cosmos DB region, with spaces between words and each word capitalized. * @param instanceId The instanceId GUID of a restorable database account. * @param restorableSqlDatabaseRid The resource ID of the SQL database. - * @param startTime The snapshot create timestamp after which snapshots need to be listed. - * @param endTime The snapshot create timestamp before which snapshots need to be listed. + * @param startTime Restorable Sql containers event feed start time. + * @param endTime Restorable Sql containers event feed end time. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableSqlDatabasesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableSqlDatabasesClientImpl.java index f655d1394fdfb..a44eccbd40e83 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableSqlDatabasesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableSqlDatabasesClientImpl.java @@ -56,7 +56,7 @@ public final class RestorableSqlDatabasesClientImpl implements RestorableSqlData */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface RestorableSqlDatabasesService { + public interface RestorableSqlDatabasesService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}" diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableSqlResourcesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableSqlResourcesClientImpl.java index 9a6ccb3e4eb81..47a3f9fae455e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableSqlResourcesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableSqlResourcesClientImpl.java @@ -56,7 +56,7 @@ public final class RestorableSqlResourcesClientImpl implements RestorableSqlReso */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface RestorableSqlResourcesService { + public interface RestorableSqlResourcesService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}" diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableTableResourcesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableTableResourcesClientImpl.java new file mode 100644 index 0000000000000..e61c8a574575b --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableTableResourcesClientImpl.java @@ -0,0 +1,290 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.implementation; + +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.Get; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Headers; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.management.exception.ManagementException; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import com.azure.resourcemanager.cosmos.fluent.RestorableTableResourcesClient; +import com.azure.resourcemanager.cosmos.fluent.models.RestorableTableResourcesGetResultInner; +import com.azure.resourcemanager.cosmos.models.RestorableTableResourcesListResult; +import reactor.core.publisher.Mono; + +/** An instance of this class provides access to all the operations defined in RestorableTableResourcesClient. */ +public final class RestorableTableResourcesClientImpl implements RestorableTableResourcesClient { + /** The proxy service used to perform REST calls. */ + private final RestorableTableResourcesService service; + + /** The service client containing this operation class. */ + private final CosmosDBManagementClientImpl client; + + /** + * Initializes an instance of RestorableTableResourcesClientImpl. + * + * @param client the instance of the service client containing this operation class. + */ + RestorableTableResourcesClientImpl(CosmosDBManagementClientImpl client) { + this.service = + RestProxy + .create(RestorableTableResourcesService.class, client.getHttpPipeline(), client.getSerializerAdapter()); + this.client = client; + } + + /** + * The interface defining all the services for CosmosDBManagementClientRestorableTableResources to be used by the + * proxy service to perform REST calls. + */ + @Host("{$host}") + @ServiceInterface(name = "CosmosDBManagementCl") + public interface RestorableTableResourcesService { + @Headers({"Content-Type: application/json"}) + @Get( + "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}" + + "/restorableDatabaseAccounts/{instanceId}/restorableTableResources") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list( + @HostParam("$host") String endpoint, + @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("location") String location, + @PathParam("instanceId") String instanceId, + @QueryParam("restoreLocation") String restoreLocation, + @QueryParam("restoreTimestampInUtc") String restoreTimestampInUtc, + @HeaderParam("Accept") String accept, + Context context); + } + + /** + * Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to + * validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param restoreLocation The location where the restorable resources are located. + * @param restoreTimestampInUtc The timestamp when the restorable resources existed. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of restorable table names along with {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync( + String location, String instanceId, String restoreLocation, String restoreTimestampInUtc) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } + if (instanceId == null) { + return Mono.error(new IllegalArgumentException("Parameter instanceId is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .list( + this.client.getEndpoint(), + this.client.getApiVersion(), + this.client.getSubscriptionId(), + location, + instanceId, + restoreLocation, + restoreTimestampInUtc, + accept, + context)) + .>map( + res -> + new PagedResponseBase<>( + res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to + * validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param restoreLocation The location where the restorable resources are located. + * @param restoreTimestampInUtc The timestamp when the restorable resources existed. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of restorable table names along with {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync( + String location, String instanceId, String restoreLocation, String restoreTimestampInUtc, Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } + if (instanceId == null) { + return Mono.error(new IllegalArgumentException("Parameter instanceId is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list( + this.client.getEndpoint(), + this.client.getApiVersion(), + this.client.getSubscriptionId(), + location, + instanceId, + restoreLocation, + restoreTimestampInUtc, + accept, + context) + .map( + res -> + new PagedResponseBase<>( + res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)); + } + + /** + * Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to + * validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param restoreLocation The location where the restorable resources are located. + * @param restoreTimestampInUtc The timestamp when the restorable resources existed. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of restorable table names as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync( + String location, String instanceId, String restoreLocation, String restoreTimestampInUtc) { + return new PagedFlux<>(() -> listSinglePageAsync(location, instanceId, restoreLocation, restoreTimestampInUtc)); + } + + /** + * Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to + * validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of restorable table names as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String location, String instanceId) { + final String restoreLocation = null; + final String restoreTimestampInUtc = null; + return new PagedFlux<>(() -> listSinglePageAsync(location, instanceId, restoreLocation, restoreTimestampInUtc)); + } + + /** + * Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to + * validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param restoreLocation The location where the restorable resources are located. + * @param restoreTimestampInUtc The timestamp when the restorable resources existed. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of restorable table names as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync( + String location, String instanceId, String restoreLocation, String restoreTimestampInUtc, Context context) { + return new PagedFlux<>( + () -> listSinglePageAsync(location, instanceId, restoreLocation, restoreTimestampInUtc, context)); + } + + /** + * Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to + * validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of restorable table names as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String location, String instanceId) { + final String restoreLocation = null; + final String restoreTimestampInUtc = null; + return new PagedIterable<>(listAsync(location, instanceId, restoreLocation, restoreTimestampInUtc)); + } + + /** + * Return a list of tables that exist on the account at the given timestamp and location. This helps in scenarios to + * validate what resources exist at given timestamp and location. This API requires + * 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param restoreLocation The location where the restorable resources are located. + * @param restoreTimestampInUtc The timestamp when the restorable resources existed. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list of restorable table names as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list( + String location, String instanceId, String restoreLocation, String restoreTimestampInUtc, Context context) { + return new PagedIterable<>(listAsync(location, instanceId, restoreLocation, restoreTimestampInUtc, context)); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableTablesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableTablesClientImpl.java new file mode 100644 index 0000000000000..7633ef89379f5 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/RestorableTablesClientImpl.java @@ -0,0 +1,295 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.implementation; + +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.Get; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Headers; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.management.exception.ManagementException; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import com.azure.resourcemanager.cosmos.fluent.RestorableTablesClient; +import com.azure.resourcemanager.cosmos.fluent.models.RestorableTableGetResultInner; +import com.azure.resourcemanager.cosmos.models.RestorableTablesListResult; +import reactor.core.publisher.Mono; + +/** An instance of this class provides access to all the operations defined in RestorableTablesClient. */ +public final class RestorableTablesClientImpl implements RestorableTablesClient { + /** The proxy service used to perform REST calls. */ + private final RestorableTablesService service; + + /** The service client containing this operation class. */ + private final CosmosDBManagementClientImpl client; + + /** + * Initializes an instance of RestorableTablesClientImpl. + * + * @param client the instance of the service client containing this operation class. + */ + RestorableTablesClientImpl(CosmosDBManagementClientImpl client) { + this.service = + RestProxy.create(RestorableTablesService.class, client.getHttpPipeline(), client.getSerializerAdapter()); + this.client = client; + } + + /** + * The interface defining all the services for CosmosDBManagementClientRestorableTables to be used by the proxy + * service to perform REST calls. + */ + @Host("{$host}") + @ServiceInterface(name = "CosmosDBManagementCl") + public interface RestorableTablesService { + @Headers({"Content-Type: application/json"}) + @Get( + "/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}" + + "/restorableDatabaseAccounts/{instanceId}/restorableTables") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list( + @HostParam("$host") String endpoint, + @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("location") String location, + @PathParam("instanceId") String instanceId, + @QueryParam("startTime") String startTime, + @QueryParam("endTime") String endTime, + @HeaderParam("Accept") String accept, + Context context); + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table + * was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + * permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param startTime Restorable Tables event feed start time. + * @param endTime Restorable Tables event feed end time. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Table events and their properties along with {@link + * PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync( + String location, String instanceId, String startTime, String endTime) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } + if (instanceId == null) { + return Mono.error(new IllegalArgumentException("Parameter instanceId is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .list( + this.client.getEndpoint(), + this.client.getApiVersion(), + this.client.getSubscriptionId(), + location, + instanceId, + startTime, + endTime, + accept, + context)) + .>map( + res -> + new PagedResponseBase<>( + res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table + * was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + * permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param startTime Restorable Tables event feed start time. + * @param endTime Restorable Tables event feed end time. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Table events and their properties along with {@link + * PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync( + String location, String instanceId, String startTime, String endTime, Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } + if (instanceId == null) { + return Mono.error(new IllegalArgumentException("Parameter instanceId is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list( + this.client.getEndpoint(), + this.client.getApiVersion(), + this.client.getSubscriptionId(), + location, + instanceId, + startTime, + endTime, + accept, + context) + .map( + res -> + new PagedResponseBase<>( + res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)); + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table + * was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + * permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param startTime Restorable Tables event feed start time. + * @param endTime Restorable Tables event feed end time. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Table events and their properties as paginated response + * with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync( + String location, String instanceId, String startTime, String endTime) { + return new PagedFlux<>(() -> listSinglePageAsync(location, instanceId, startTime, endTime)); + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table + * was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + * permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Table events and their properties as paginated response + * with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String location, String instanceId) { + final String startTime = null; + final String endTime = null; + return new PagedFlux<>(() -> listSinglePageAsync(location, instanceId, startTime, endTime)); + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table + * was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + * permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param startTime Restorable Tables event feed start time. + * @param endTime Restorable Tables event feed end time. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Table events and their properties as paginated response + * with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync( + String location, String instanceId, String startTime, String endTime, Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(location, instanceId, startTime, endTime, context)); + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table + * was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + * permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Table events and their properties as paginated response + * with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String location, String instanceId) { + final String startTime = null; + final String endTime = null; + return new PagedIterable<>(listAsync(location, instanceId, startTime, endTime)); + } + + /** + * Show the event feed of all mutations done on all the Azure Cosmos DB Tables. This helps in scenario where table + * was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/.../read' + * permission. + * + * @param location Cosmos DB region, with spaces between words and each word capitalized. + * @param instanceId The instanceId GUID of a restorable database account. + * @param startTime Restorable Tables event feed start time. + * @param endTime Restorable Tables event feed end time. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the Table events and their properties as paginated response + * with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list( + String location, String instanceId, String startTime, String endTime, Context context) { + return new PagedIterable<>(listAsync(location, instanceId, startTime, endTime, context)); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/ServicesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/ServicesClientImpl.java index af9ad3deaa773..2731288987c83 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/ServicesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/ServicesClientImpl.java @@ -63,7 +63,7 @@ public final class ServicesClientImpl implements ServicesClient { */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface ServicesService { + public interface ServicesService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" @@ -499,7 +499,9 @@ public SyncPoller, ServiceResourceInner> beginC String accountName, String serviceName, ServiceResourceCreateUpdateParameters createUpdateParameters) { - return beginCreateAsync(resourceGroupName, accountName, serviceName, createUpdateParameters).getSyncPoller(); + return this + .beginCreateAsync(resourceGroupName, accountName, serviceName, createUpdateParameters) + .getSyncPoller(); } /** @@ -522,7 +524,8 @@ public SyncPoller, ServiceResourceInner> beginC String serviceName, ServiceResourceCreateUpdateParameters createUpdateParameters, Context context) { - return beginCreateAsync(resourceGroupName, accountName, serviceName, createUpdateParameters, context) + return this + .beginCreateAsync(resourceGroupName, accountName, serviceName, createUpdateParameters, context) .getSyncPoller(); } @@ -745,14 +748,16 @@ public Mono getAsync(String resourceGroupName, String acco * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param serviceName Cosmos DB service name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the status of service. + * @return the status of service along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ServiceResourceInner get(String resourceGroupName, String accountName, String serviceName) { - return getAsync(resourceGroupName, accountName, serviceName).block(); + public Response getWithResponse( + String resourceGroupName, String accountName, String serviceName, Context context) { + return getWithResponseAsync(resourceGroupName, accountName, serviceName, context).block(); } /** @@ -761,16 +766,14 @@ public ServiceResourceInner get(String resourceGroupName, String accountName, St * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param serviceName Cosmos DB service name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the status of service along with {@link Response}. + * @return the status of service. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getWithResponse( - String resourceGroupName, String accountName, String serviceName, Context context) { - return getWithResponseAsync(resourceGroupName, accountName, serviceName, context).block(); + public ServiceResourceInner get(String resourceGroupName, String accountName, String serviceName) { + return getWithResponse(resourceGroupName, accountName, serviceName, Context.NONE).getValue(); } /** @@ -935,7 +938,7 @@ private PollerFlux, Void> beginDeleteAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String serviceName) { - return beginDeleteAsync(resourceGroupName, accountName, serviceName).getSyncPoller(); + return this.beginDeleteAsync(resourceGroupName, accountName, serviceName).getSyncPoller(); } /** @@ -953,7 +956,7 @@ public SyncPoller, Void> beginDelete( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDelete( String resourceGroupName, String accountName, String serviceName, Context context) { - return beginDeleteAsync(resourceGroupName, accountName, serviceName, context).getSyncPoller(); + return this.beginDeleteAsync(resourceGroupName, accountName, serviceName, context).getSyncPoller(); } /** diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/SqlResourcesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/SqlResourcesClientImpl.java index 2b370089f886f..02a065b7b280f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/SqlResourcesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/SqlResourcesClientImpl.java @@ -34,6 +34,7 @@ import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.cosmos.fluent.SqlResourcesClient; import com.azure.resourcemanager.cosmos.fluent.models.BackupInformationInner; +import com.azure.resourcemanager.cosmos.fluent.models.ClientEncryptionKeyGetResultsInner; import com.azure.resourcemanager.cosmos.fluent.models.SqlContainerGetResultsInner; import com.azure.resourcemanager.cosmos.fluent.models.SqlDatabaseGetResultsInner; import com.azure.resourcemanager.cosmos.fluent.models.SqlRoleAssignmentGetResultsInner; @@ -42,6 +43,8 @@ import com.azure.resourcemanager.cosmos.fluent.models.SqlTriggerGetResultsInner; import com.azure.resourcemanager.cosmos.fluent.models.SqlUserDefinedFunctionGetResultsInner; import com.azure.resourcemanager.cosmos.fluent.models.ThroughputSettingsGetResultsInner; +import com.azure.resourcemanager.cosmos.models.ClientEncryptionKeyCreateUpdateParameters; +import com.azure.resourcemanager.cosmos.models.ClientEncryptionKeysListResult; import com.azure.resourcemanager.cosmos.models.ContinuousBackupRestoreLocation; import com.azure.resourcemanager.cosmos.models.SqlContainerCreateUpdateParameters; import com.azure.resourcemanager.cosmos.models.SqlContainerListResult; @@ -87,7 +90,7 @@ public final class SqlResourcesClientImpl implements SqlResourcesClient { */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface SqlResourcesService { + public interface SqlResourcesService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" @@ -358,6 +361,60 @@ Mono>> migrateSqlContainerToManualThroughput( @HeaderParam("Accept") String accept, Context context); + @Headers({"Content-Type: application/json"}) + @Get( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" + + "/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listClientEncryptionKeys( + @HostParam("$host") String endpoint, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("accountName") String accountName, + @PathParam("databaseName") String databaseName, + @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, + Context context); + + @Headers({"Content-Type: application/json"}) + @Get( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" + + "/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys" + + "/{clientEncryptionKeyName}") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> getClientEncryptionKey( + @HostParam("$host") String endpoint, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("accountName") String accountName, + @PathParam("databaseName") String databaseName, + @PathParam("clientEncryptionKeyName") String clientEncryptionKeyName, + @QueryParam("api-version") String apiVersion, + @HeaderParam("Accept") String accept, + Context context); + + @Headers({"Content-Type: application/json"}) + @Put( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" + + "/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/clientEncryptionKeys" + + "/{clientEncryptionKeyName}") + @ExpectedResponses({200, 202}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> createUpdateClientEncryptionKey( + @HostParam("$host") String endpoint, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("accountName") String accountName, + @PathParam("databaseName") String databaseName, + @PathParam("clientEncryptionKeyName") String clientEncryptionKeyName, + @QueryParam("api-version") String apiVersion, + @BodyParam("application/json") + ClientEncryptionKeyCreateUpdateParameters createUpdateClientEncryptionKeyParameters, + @HeaderParam("Accept") String accept, + Context context); + @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" @@ -1037,15 +1094,17 @@ public Mono getSqlDatabaseAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SQL database under an existing Azure Cosmos DB database account with the provided name. + * @return the SQL database under an existing Azure Cosmos DB database account with the provided name along with + * {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public SqlDatabaseGetResultsInner getSqlDatabase( - String resourceGroupName, String accountName, String databaseName) { - return getSqlDatabaseAsync(resourceGroupName, accountName, databaseName).block(); + public Response getSqlDatabaseWithResponse( + String resourceGroupName, String accountName, String databaseName, Context context) { + return getSqlDatabaseWithResponseAsync(resourceGroupName, accountName, databaseName, context).block(); } /** @@ -1054,17 +1113,15 @@ public SqlDatabaseGetResultsInner getSqlDatabase( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SQL database under an existing Azure Cosmos DB database account with the provided name along with - * {@link Response}. + * @return the SQL database under an existing Azure Cosmos DB database account with the provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSqlDatabaseWithResponse( - String resourceGroupName, String accountName, String databaseName, Context context) { - return getSqlDatabaseWithResponseAsync(resourceGroupName, accountName, databaseName, context).block(); + public SqlDatabaseGetResultsInner getSqlDatabase( + String resourceGroupName, String accountName, String databaseName) { + return getSqlDatabaseWithResponse(resourceGroupName, accountName, databaseName, Context.NONE).getValue(); } /** @@ -1283,7 +1340,8 @@ public SyncPoller, SqlDatabaseGetResultsI String accountName, String databaseName, SqlDatabaseCreateUpdateParameters createUpdateSqlDatabaseParameters) { - return beginCreateUpdateSqlDatabaseAsync( + return this + .beginCreateUpdateSqlDatabaseAsync( resourceGroupName, accountName, databaseName, createUpdateSqlDatabaseParameters) .getSyncPoller(); } @@ -1308,7 +1366,8 @@ public SyncPoller, SqlDatabaseGetResultsI String databaseName, SqlDatabaseCreateUpdateParameters createUpdateSqlDatabaseParameters, Context context) { - return beginCreateUpdateSqlDatabaseAsync( + return this + .beginCreateUpdateSqlDatabaseAsync( resourceGroupName, accountName, databaseName, createUpdateSqlDatabaseParameters, context) .getSyncPoller(); } @@ -1570,7 +1629,7 @@ private PollerFlux, Void> beginDeleteSqlDatabaseAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteSqlDatabase( String resourceGroupName, String accountName, String databaseName) { - return beginDeleteSqlDatabaseAsync(resourceGroupName, accountName, databaseName).getSyncPoller(); + return this.beginDeleteSqlDatabaseAsync(resourceGroupName, accountName, databaseName).getSyncPoller(); } /** @@ -1588,7 +1647,7 @@ public SyncPoller, Void> beginDeleteSqlDatabase( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteSqlDatabase( String resourceGroupName, String accountName, String databaseName, Context context) { - return beginDeleteSqlDatabaseAsync(resourceGroupName, accountName, databaseName, context).getSyncPoller(); + return this.beginDeleteSqlDatabaseAsync(resourceGroupName, accountName, databaseName, context).getSyncPoller(); } /** @@ -1795,16 +1854,17 @@ public Mono getSqlDatabaseThroughputAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the - * provided name. + * provided name along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ThroughputSettingsGetResultsInner getSqlDatabaseThroughput( - String resourceGroupName, String accountName, String databaseName) { - return getSqlDatabaseThroughputAsync(resourceGroupName, accountName, databaseName).block(); + public Response getSqlDatabaseThroughputWithResponse( + String resourceGroupName, String accountName, String databaseName, Context context) { + return getSqlDatabaseThroughputWithResponseAsync(resourceGroupName, accountName, databaseName, context).block(); } /** @@ -1814,17 +1874,17 @@ public ThroughputSettingsGetResultsInner getSqlDatabaseThroughput( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the - * provided name along with {@link Response}. + * provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSqlDatabaseThroughputWithResponse( - String resourceGroupName, String accountName, String databaseName, Context context) { - return getSqlDatabaseThroughputWithResponseAsync(resourceGroupName, accountName, databaseName, context).block(); + public ThroughputSettingsGetResultsInner getSqlDatabaseThroughput( + String resourceGroupName, String accountName, String databaseName) { + return getSqlDatabaseThroughputWithResponse(resourceGroupName, accountName, databaseName, Context.NONE) + .getValue(); } /** @@ -2046,7 +2106,8 @@ private Mono>> updateSqlDatabaseThroughputWithResponse String accountName, String databaseName, ThroughputSettingsUpdateParameters updateThroughputParameters) { - return beginUpdateSqlDatabaseThroughputAsync( + return this + .beginUpdateSqlDatabaseThroughputAsync( resourceGroupName, accountName, databaseName, updateThroughputParameters) .getSyncPoller(); } @@ -2072,7 +2133,8 @@ private Mono>> updateSqlDatabaseThroughputWithResponse String databaseName, ThroughputSettingsUpdateParameters updateThroughputParameters, Context context) { - return beginUpdateSqlDatabaseThroughputAsync( + return this + .beginUpdateSqlDatabaseThroughputAsync( resourceGroupName, accountName, databaseName, updateThroughputParameters, context) .getSyncPoller(); } @@ -2350,7 +2412,9 @@ private Mono>> migrateSqlDatabaseToAutoscaleWithRespon @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateSqlDatabaseToAutoscale(String resourceGroupName, String accountName, String databaseName) { - return beginMigrateSqlDatabaseToAutoscaleAsync(resourceGroupName, accountName, databaseName).getSyncPoller(); + return this + .beginMigrateSqlDatabaseToAutoscaleAsync(resourceGroupName, accountName, databaseName) + .getSyncPoller(); } /** @@ -2369,7 +2433,8 @@ private Mono>> migrateSqlDatabaseToAutoscaleWithRespon public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateSqlDatabaseToAutoscale( String resourceGroupName, String accountName, String databaseName, Context context) { - return beginMigrateSqlDatabaseToAutoscaleAsync(resourceGroupName, accountName, databaseName, context) + return this + .beginMigrateSqlDatabaseToAutoscaleAsync(resourceGroupName, accountName, databaseName, context) .getSyncPoller(); } @@ -2624,7 +2689,8 @@ private Mono>> migrateSqlDatabaseToManualThroughputWit @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateSqlDatabaseToManualThroughput(String resourceGroupName, String accountName, String databaseName) { - return beginMigrateSqlDatabaseToManualThroughputAsync(resourceGroupName, accountName, databaseName) + return this + .beginMigrateSqlDatabaseToManualThroughputAsync(resourceGroupName, accountName, databaseName) .getSyncPoller(); } @@ -2644,7 +2710,8 @@ private Mono>> migrateSqlDatabaseToManualThroughputWit public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateSqlDatabaseToManualThroughput( String resourceGroupName, String accountName, String databaseName, Context context) { - return beginMigrateSqlDatabaseToManualThroughputAsync(resourceGroupName, accountName, databaseName, context) + return this + .beginMigrateSqlDatabaseToManualThroughputAsync(resourceGroupName, accountName, databaseName, context) .getSyncPoller(); } @@ -3054,15 +3121,17 @@ public Mono getSqlContainerAsync( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param containerName Cosmos DB container name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SQL container under an existing Azure Cosmos DB database account. + * @return the SQL container under an existing Azure Cosmos DB database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public SqlContainerGetResultsInner getSqlContainer( - String resourceGroupName, String accountName, String databaseName, String containerName) { - return getSqlContainerAsync(resourceGroupName, accountName, databaseName, containerName).block(); + public Response getSqlContainerWithResponse( + String resourceGroupName, String accountName, String databaseName, String containerName, Context context) { + return getSqlContainerWithResponseAsync(resourceGroupName, accountName, databaseName, containerName, context) + .block(); } /** @@ -3072,17 +3141,16 @@ public SqlContainerGetResultsInner getSqlContainer( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param containerName Cosmos DB container name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SQL container under an existing Azure Cosmos DB database account along with {@link Response}. + * @return the SQL container under an existing Azure Cosmos DB database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSqlContainerWithResponse( - String resourceGroupName, String accountName, String databaseName, String containerName, Context context) { - return getSqlContainerWithResponseAsync(resourceGroupName, accountName, databaseName, containerName, context) - .block(); + public SqlContainerGetResultsInner getSqlContainer( + String resourceGroupName, String accountName, String databaseName, String containerName) { + return getSqlContainerWithResponse(resourceGroupName, accountName, databaseName, containerName, Context.NONE) + .getValue(); } /** @@ -3325,7 +3393,8 @@ private Mono>> createUpdateSqlContainerWithResponseAsy String databaseName, String containerName, SqlContainerCreateUpdateParameters createUpdateSqlContainerParameters) { - return beginCreateUpdateSqlContainerAsync( + return this + .beginCreateUpdateSqlContainerAsync( resourceGroupName, accountName, databaseName, containerName, createUpdateSqlContainerParameters) .getSyncPoller(); } @@ -3353,7 +3422,8 @@ private Mono>> createUpdateSqlContainerWithResponseAsy String containerName, SqlContainerCreateUpdateParameters createUpdateSqlContainerParameters, Context context) { - return beginCreateUpdateSqlContainerAsync( + return this + .beginCreateUpdateSqlContainerAsync( resourceGroupName, accountName, databaseName, @@ -3651,7 +3721,8 @@ private PollerFlux, Void> beginDeleteSqlContainerAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteSqlContainer( String resourceGroupName, String accountName, String databaseName, String containerName) { - return beginDeleteSqlContainerAsync(resourceGroupName, accountName, databaseName, containerName) + return this + .beginDeleteSqlContainerAsync(resourceGroupName, accountName, databaseName, containerName) .getSyncPoller(); } @@ -3671,7 +3742,8 @@ public SyncPoller, Void> beginDeleteSqlContainer( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteSqlContainer( String resourceGroupName, String accountName, String databaseName, String containerName, Context context) { - return beginDeleteSqlContainerAsync(resourceGroupName, accountName, databaseName, containerName, context) + return this + .beginDeleteSqlContainerAsync(resourceGroupName, accountName, databaseName, containerName, context) .getSyncPoller(); } @@ -3894,15 +3966,19 @@ public Mono getSqlContainerThroughputAsync( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param containerName Cosmos DB container name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the RUs per second of the SQL container under an existing Azure Cosmos DB database account. + * @return the RUs per second of the SQL container under an existing Azure Cosmos DB database account along with + * {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ThroughputSettingsGetResultsInner getSqlContainerThroughput( - String resourceGroupName, String accountName, String databaseName, String containerName) { - return getSqlContainerThroughputAsync(resourceGroupName, accountName, databaseName, containerName).block(); + public Response getSqlContainerThroughputWithResponse( + String resourceGroupName, String accountName, String databaseName, String containerName, Context context) { + return getSqlContainerThroughputWithResponseAsync( + resourceGroupName, accountName, databaseName, containerName, context) + .block(); } /** @@ -3912,19 +3988,17 @@ public ThroughputSettingsGetResultsInner getSqlContainerThroughput( * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. * @param containerName Cosmos DB container name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the RUs per second of the SQL container under an existing Azure Cosmos DB database account along with - * {@link Response}. + * @return the RUs per second of the SQL container under an existing Azure Cosmos DB database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSqlContainerThroughputWithResponse( - String resourceGroupName, String accountName, String databaseName, String containerName, Context context) { - return getSqlContainerThroughputWithResponseAsync( - resourceGroupName, accountName, databaseName, containerName, context) - .block(); + public ThroughputSettingsGetResultsInner getSqlContainerThroughput( + String resourceGroupName, String accountName, String databaseName, String containerName) { + return getSqlContainerThroughputWithResponse( + resourceGroupName, accountName, databaseName, containerName, Context.NONE) + .getValue(); } /** @@ -4164,7 +4238,8 @@ private Mono>> updateSqlContainerThroughputWithRespons String databaseName, String containerName, ThroughputSettingsUpdateParameters updateThroughputParameters) { - return beginUpdateSqlContainerThroughputAsync( + return this + .beginUpdateSqlContainerThroughputAsync( resourceGroupName, accountName, databaseName, containerName, updateThroughputParameters) .getSyncPoller(); } @@ -4192,7 +4267,8 @@ private Mono>> updateSqlContainerThroughputWithRespons String containerName, ThroughputSettingsUpdateParameters updateThroughputParameters, Context context) { - return beginUpdateSqlContainerThroughputAsync( + return this + .beginUpdateSqlContainerThroughputAsync( resourceGroupName, accountName, databaseName, containerName, updateThroughputParameters, context) .getSyncPoller(); } @@ -4495,7 +4571,8 @@ private Mono>> migrateSqlContainerToAutoscaleWithRespo public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateSqlContainerToAutoscale( String resourceGroupName, String accountName, String databaseName, String containerName) { - return beginMigrateSqlContainerToAutoscaleAsync(resourceGroupName, accountName, databaseName, containerName) + return this + .beginMigrateSqlContainerToAutoscaleAsync(resourceGroupName, accountName, databaseName, containerName) .getSyncPoller(); } @@ -4516,7 +4593,8 @@ private Mono>> migrateSqlContainerToAutoscaleWithRespo public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateSqlContainerToAutoscale( String resourceGroupName, String accountName, String databaseName, String containerName, Context context) { - return beginMigrateSqlContainerToAutoscaleAsync( + return this + .beginMigrateSqlContainerToAutoscaleAsync( resourceGroupName, accountName, databaseName, containerName, context) .getSyncPoller(); } @@ -4741,165 +4819,974 @@ private Mono>> migrateSqlContainerToManualThroughputWi .getLroResult( mono, this.client.getHttpPipeline(), - ThroughputSettingsGetResultsInner.class, - ThroughputSettingsGetResultsInner.class, + ThroughputSettingsGetResultsInner.class, + ThroughputSettingsGetResultsInner.class, + this.client.getContext()); + } + + /** + * Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param containerName Cosmos DB container name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of an Azure Cosmos DB resource throughput. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, ThroughputSettingsGetResultsInner> + beginMigrateSqlContainerToManualThroughputAsync( + String resourceGroupName, String accountName, String databaseName, String containerName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono = + migrateSqlContainerToManualThroughputWithResponseAsync( + resourceGroupName, accountName, databaseName, containerName, context); + return this + .client + .getLroResult( + mono, + this.client.getHttpPipeline(), + ThroughputSettingsGetResultsInner.class, + ThroughputSettingsGetResultsInner.class, + context); + } + + /** + * Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param containerName Cosmos DB container name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of an Azure Cosmos DB resource throughput. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, ThroughputSettingsGetResultsInner> + beginMigrateSqlContainerToManualThroughput( + String resourceGroupName, String accountName, String databaseName, String containerName) { + return this + .beginMigrateSqlContainerToManualThroughputAsync( + resourceGroupName, accountName, databaseName, containerName) + .getSyncPoller(); + } + + /** + * Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param containerName Cosmos DB container name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of an Azure Cosmos DB resource throughput. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, ThroughputSettingsGetResultsInner> + beginMigrateSqlContainerToManualThroughput( + String resourceGroupName, String accountName, String databaseName, String containerName, Context context) { + return this + .beginMigrateSqlContainerToManualThroughputAsync( + resourceGroupName, accountName, databaseName, containerName, context) + .getSyncPoller(); + } + + /** + * Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param containerName Cosmos DB container name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return an Azure Cosmos DB resource throughput on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono migrateSqlContainerToManualThroughputAsync( + String resourceGroupName, String accountName, String databaseName, String containerName) { + return beginMigrateSqlContainerToManualThroughputAsync( + resourceGroupName, accountName, databaseName, containerName) + .last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param containerName Cosmos DB container name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return an Azure Cosmos DB resource throughput on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono migrateSqlContainerToManualThroughputAsync( + String resourceGroupName, String accountName, String databaseName, String containerName, Context context) { + return beginMigrateSqlContainerToManualThroughputAsync( + resourceGroupName, accountName, databaseName, containerName, context) + .last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param containerName Cosmos DB container name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return an Azure Cosmos DB resource throughput. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public ThroughputSettingsGetResultsInner migrateSqlContainerToManualThroughput( + String resourceGroupName, String accountName, String databaseName, String containerName) { + return migrateSqlContainerToManualThroughputAsync(resourceGroupName, accountName, databaseName, containerName) + .block(); + } + + /** + * Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param containerName Cosmos DB container name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return an Azure Cosmos DB resource throughput. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public ThroughputSettingsGetResultsInner migrateSqlContainerToManualThroughput( + String resourceGroupName, String accountName, String databaseName, String containerName, Context context) { + return migrateSqlContainerToManualThroughputAsync( + resourceGroupName, accountName, databaseName, containerName, context) + .block(); + } + + /** + * Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the client encryption keys and their properties along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listClientEncryptionKeysSinglePageAsync( + String resourceGroupName, String accountName, String databaseName) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (databaseName == null) { + return Mono.error(new IllegalArgumentException("Parameter databaseName is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .listClientEncryptionKeys( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + accountName, + databaseName, + this.client.getApiVersion(), + accept, + context)) + .>map( + res -> + new PagedResponseBase<>( + res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the client encryption keys and their properties along with + * {@link PagedResponse} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listClientEncryptionKeysSinglePageAsync( + String resourceGroupName, String accountName, String databaseName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (databaseName == null) { + return Mono.error(new IllegalArgumentException("Parameter databaseName is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listClientEncryptionKeys( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + accountName, + databaseName, + this.client.getApiVersion(), + accept, + context) + .map( + res -> + new PagedResponseBase<>( + res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)); + } + + /** + * Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the client encryption keys and their properties as paginated + * response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listClientEncryptionKeysAsync( + String resourceGroupName, String accountName, String databaseName) { + return new PagedFlux<>( + () -> listClientEncryptionKeysSinglePageAsync(resourceGroupName, accountName, databaseName)); + } + + /** + * Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the client encryption keys and their properties as paginated + * response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listClientEncryptionKeysAsync( + String resourceGroupName, String accountName, String databaseName, Context context) { + return new PagedFlux<>( + () -> listClientEncryptionKeysSinglePageAsync(resourceGroupName, accountName, databaseName, context)); + } + + /** + * Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the client encryption keys and their properties as paginated + * response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listClientEncryptionKeys( + String resourceGroupName, String accountName, String databaseName) { + return new PagedIterable<>(listClientEncryptionKeysAsync(resourceGroupName, accountName, databaseName)); + } + + /** + * Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the List operation response, that contains the client encryption keys and their properties as paginated + * response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable listClientEncryptionKeys( + String resourceGroupName, String accountName, String databaseName, Context context) { + return new PagedIterable<>( + listClientEncryptionKeysAsync(resourceGroupName, accountName, databaseName, context)); + } + + /** + * Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the ClientEncryptionKey under an existing Azure Cosmos DB SQL database along with {@link Response} on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getClientEncryptionKeyWithResponseAsync( + String resourceGroupName, String accountName, String databaseName, String clientEncryptionKeyName) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (databaseName == null) { + return Mono.error(new IllegalArgumentException("Parameter databaseName is required and cannot be null.")); + } + if (clientEncryptionKeyName == null) { + return Mono + .error( + new IllegalArgumentException("Parameter clientEncryptionKeyName is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .getClientEncryptionKey( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + accountName, + databaseName, + clientEncryptionKeyName, + this.client.getApiVersion(), + accept, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the ClientEncryptionKey under an existing Azure Cosmos DB SQL database along with {@link Response} on + * successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getClientEncryptionKeyWithResponseAsync( + String resourceGroupName, + String accountName, + String databaseName, + String clientEncryptionKeyName, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (databaseName == null) { + return Mono.error(new IllegalArgumentException("Parameter databaseName is required and cannot be null.")); + } + if (clientEncryptionKeyName == null) { + return Mono + .error( + new IllegalArgumentException("Parameter clientEncryptionKeyName is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .getClientEncryptionKey( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + accountName, + databaseName, + clientEncryptionKeyName, + this.client.getApiVersion(), + accept, + context); + } + + /** + * Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the ClientEncryptionKey under an existing Azure Cosmos DB SQL database on successful completion of {@link + * Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getClientEncryptionKeyAsync( + String resourceGroupName, String accountName, String databaseName, String clientEncryptionKeyName) { + return getClientEncryptionKeyWithResponseAsync( + resourceGroupName, accountName, databaseName, clientEncryptionKeyName) + .flatMap(res -> Mono.justOrEmpty(res.getValue())); + } + + /** + * Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the ClientEncryptionKey under an existing Azure Cosmos DB SQL database along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getClientEncryptionKeyWithResponse( + String resourceGroupName, + String accountName, + String databaseName, + String clientEncryptionKeyName, + Context context) { + return getClientEncryptionKeyWithResponseAsync( + resourceGroupName, accountName, databaseName, clientEncryptionKeyName, context) + .block(); + } + + /** + * Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the ClientEncryptionKey under an existing Azure Cosmos DB SQL database. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public ClientEncryptionKeyGetResultsInner getClientEncryptionKey( + String resourceGroupName, String accountName, String databaseName, String clientEncryptionKeyName) { + return getClientEncryptionKeyWithResponse( + resourceGroupName, accountName, databaseName, clientEncryptionKeyName, Context.NONE) + .getValue(); + } + + /** + * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell + * (instead of directly). + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption key. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return client Encryption Key along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> createUpdateClientEncryptionKeyWithResponseAsync( + String resourceGroupName, + String accountName, + String databaseName, + String clientEncryptionKeyName, + ClientEncryptionKeyCreateUpdateParameters createUpdateClientEncryptionKeyParameters) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (databaseName == null) { + return Mono.error(new IllegalArgumentException("Parameter databaseName is required and cannot be null.")); + } + if (clientEncryptionKeyName == null) { + return Mono + .error( + new IllegalArgumentException("Parameter clientEncryptionKeyName is required and cannot be null.")); + } + if (createUpdateClientEncryptionKeyParameters == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter createUpdateClientEncryptionKeyParameters is required and cannot be null.")); + } else { + createUpdateClientEncryptionKeyParameters.validate(); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .createUpdateClientEncryptionKey( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + accountName, + databaseName, + clientEncryptionKeyName, + this.client.getApiVersion(), + createUpdateClientEncryptionKeyParameters, + accept, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell + * (instead of directly). + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption key. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return client Encryption Key along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> createUpdateClientEncryptionKeyWithResponseAsync( + String resourceGroupName, + String accountName, + String databaseName, + String clientEncryptionKeyName, + ClientEncryptionKeyCreateUpdateParameters createUpdateClientEncryptionKeyParameters, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (databaseName == null) { + return Mono.error(new IllegalArgumentException("Parameter databaseName is required and cannot be null.")); + } + if (clientEncryptionKeyName == null) { + return Mono + .error( + new IllegalArgumentException("Parameter clientEncryptionKeyName is required and cannot be null.")); + } + if (createUpdateClientEncryptionKeyParameters == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter createUpdateClientEncryptionKeyParameters is required and cannot be null.")); + } else { + createUpdateClientEncryptionKeyParameters.validate(); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .createUpdateClientEncryptionKey( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + accountName, + databaseName, + clientEncryptionKeyName, + this.client.getApiVersion(), + createUpdateClientEncryptionKeyParameters, + accept, + context); + } + + /** + * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell + * (instead of directly). + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param databaseName Cosmos DB database name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption key. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of client Encryption Key. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, ClientEncryptionKeyGetResultsInner> + beginCreateUpdateClientEncryptionKeyAsync( + String resourceGroupName, + String accountName, + String databaseName, + String clientEncryptionKeyName, + ClientEncryptionKeyCreateUpdateParameters createUpdateClientEncryptionKeyParameters) { + Mono>> mono = + createUpdateClientEncryptionKeyWithResponseAsync( + resourceGroupName, + accountName, + databaseName, + clientEncryptionKeyName, + createUpdateClientEncryptionKeyParameters); + return this + .client + .getLroResult( + mono, + this.client.getHttpPipeline(), + ClientEncryptionKeyGetResultsInner.class, + ClientEncryptionKeyGetResultsInner.class, this.client.getContext()); } /** - * Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput. + * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell + * (instead of directly). * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. - * @param containerName Cosmos DB container name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption key. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link PollerFlux} for polling of an Azure Cosmos DB resource throughput. + * @return the {@link PollerFlux} for polling of client Encryption Key. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - private PollerFlux, ThroughputSettingsGetResultsInner> - beginMigrateSqlContainerToManualThroughputAsync( - String resourceGroupName, String accountName, String databaseName, String containerName, Context context) { + private PollerFlux, ClientEncryptionKeyGetResultsInner> + beginCreateUpdateClientEncryptionKeyAsync( + String resourceGroupName, + String accountName, + String databaseName, + String clientEncryptionKeyName, + ClientEncryptionKeyCreateUpdateParameters createUpdateClientEncryptionKeyParameters, + Context context) { context = this.client.mergeContext(context); Mono>> mono = - migrateSqlContainerToManualThroughputWithResponseAsync( - resourceGroupName, accountName, databaseName, containerName, context); + createUpdateClientEncryptionKeyWithResponseAsync( + resourceGroupName, + accountName, + databaseName, + clientEncryptionKeyName, + createUpdateClientEncryptionKeyParameters, + context); return this .client - .getLroResult( + .getLroResult( mono, this.client.getHttpPipeline(), - ThroughputSettingsGetResultsInner.class, - ThroughputSettingsGetResultsInner.class, + ClientEncryptionKeyGetResultsInner.class, + ClientEncryptionKeyGetResultsInner.class, context); } /** - * Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput. + * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell + * (instead of directly). * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. - * @param containerName Cosmos DB container name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption key. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of an Azure Cosmos DB resource throughput. + * @return the {@link SyncPoller} for polling of client Encryption Key. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ThroughputSettingsGetResultsInner> - beginMigrateSqlContainerToManualThroughput( - String resourceGroupName, String accountName, String databaseName, String containerName) { - return beginMigrateSqlContainerToManualThroughputAsync( - resourceGroupName, accountName, databaseName, containerName) + public SyncPoller, ClientEncryptionKeyGetResultsInner> + beginCreateUpdateClientEncryptionKey( + String resourceGroupName, + String accountName, + String databaseName, + String clientEncryptionKeyName, + ClientEncryptionKeyCreateUpdateParameters createUpdateClientEncryptionKeyParameters) { + return this + .beginCreateUpdateClientEncryptionKeyAsync( + resourceGroupName, + accountName, + databaseName, + clientEncryptionKeyName, + createUpdateClientEncryptionKeyParameters) .getSyncPoller(); } /** - * Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput. + * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell + * (instead of directly). * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. - * @param containerName Cosmos DB container name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption key. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the {@link SyncPoller} for polling of an Azure Cosmos DB resource throughput. + * @return the {@link SyncPoller} for polling of client Encryption Key. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) - public SyncPoller, ThroughputSettingsGetResultsInner> - beginMigrateSqlContainerToManualThroughput( - String resourceGroupName, String accountName, String databaseName, String containerName, Context context) { - return beginMigrateSqlContainerToManualThroughputAsync( - resourceGroupName, accountName, databaseName, containerName, context) + public SyncPoller, ClientEncryptionKeyGetResultsInner> + beginCreateUpdateClientEncryptionKey( + String resourceGroupName, + String accountName, + String databaseName, + String clientEncryptionKeyName, + ClientEncryptionKeyCreateUpdateParameters createUpdateClientEncryptionKeyParameters, + Context context) { + return this + .beginCreateUpdateClientEncryptionKeyAsync( + resourceGroupName, + accountName, + databaseName, + clientEncryptionKeyName, + createUpdateClientEncryptionKeyParameters, + context) .getSyncPoller(); } /** - * Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput. + * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell + * (instead of directly). * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. - * @param containerName Cosmos DB container name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption key. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB resource throughput on successful completion of {@link Mono}. + * @return client Encryption Key on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono migrateSqlContainerToManualThroughputAsync( - String resourceGroupName, String accountName, String databaseName, String containerName) { - return beginMigrateSqlContainerToManualThroughputAsync( - resourceGroupName, accountName, databaseName, containerName) + public Mono createUpdateClientEncryptionKeyAsync( + String resourceGroupName, + String accountName, + String databaseName, + String clientEncryptionKeyName, + ClientEncryptionKeyCreateUpdateParameters createUpdateClientEncryptionKeyParameters) { + return beginCreateUpdateClientEncryptionKeyAsync( + resourceGroupName, + accountName, + databaseName, + clientEncryptionKeyName, + createUpdateClientEncryptionKeyParameters) .last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput. + * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell + * (instead of directly). * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. - * @param containerName Cosmos DB container name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption key. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB resource throughput on successful completion of {@link Mono}. + * @return client Encryption Key on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) - private Mono migrateSqlContainerToManualThroughputAsync( - String resourceGroupName, String accountName, String databaseName, String containerName, Context context) { - return beginMigrateSqlContainerToManualThroughputAsync( - resourceGroupName, accountName, databaseName, containerName, context) + private Mono createUpdateClientEncryptionKeyAsync( + String resourceGroupName, + String accountName, + String databaseName, + String clientEncryptionKeyName, + ClientEncryptionKeyCreateUpdateParameters createUpdateClientEncryptionKeyParameters, + Context context) { + return beginCreateUpdateClientEncryptionKeyAsync( + resourceGroupName, + accountName, + databaseName, + clientEncryptionKeyName, + createUpdateClientEncryptionKeyParameters, + context) .last() .flatMap(this.client::getLroFinalResultOrError); } /** - * Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput. + * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell + * (instead of directly). * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. - * @param containerName Cosmos DB container name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption key. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB resource throughput. + * @return client Encryption Key. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ThroughputSettingsGetResultsInner migrateSqlContainerToManualThroughput( - String resourceGroupName, String accountName, String databaseName, String containerName) { - return migrateSqlContainerToManualThroughputAsync(resourceGroupName, accountName, databaseName, containerName) + public ClientEncryptionKeyGetResultsInner createUpdateClientEncryptionKey( + String resourceGroupName, + String accountName, + String databaseName, + String clientEncryptionKeyName, + ClientEncryptionKeyCreateUpdateParameters createUpdateClientEncryptionKeyParameters) { + return createUpdateClientEncryptionKeyAsync( + resourceGroupName, + accountName, + databaseName, + clientEncryptionKeyName, + createUpdateClientEncryptionKeyParameters) .block(); } /** - * Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput. + * Create or update a ClientEncryptionKey. This API is meant to be invoked via tools such as the Azure Powershell + * (instead of directly). * * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param databaseName Cosmos DB database name. - * @param containerName Cosmos DB container name. + * @param clientEncryptionKeyName Cosmos DB ClientEncryptionKey name. + * @param createUpdateClientEncryptionKeyParameters The parameters to provide for the client encryption key. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB resource throughput. + * @return client Encryption Key. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ThroughputSettingsGetResultsInner migrateSqlContainerToManualThroughput( - String resourceGroupName, String accountName, String databaseName, String containerName, Context context) { - return migrateSqlContainerToManualThroughputAsync( - resourceGroupName, accountName, databaseName, containerName, context) + public ClientEncryptionKeyGetResultsInner createUpdateClientEncryptionKey( + String resourceGroupName, + String accountName, + String databaseName, + String clientEncryptionKeyName, + ClientEncryptionKeyCreateUpdateParameters createUpdateClientEncryptionKeyParameters, + Context context) { + return createUpdateClientEncryptionKeyAsync( + resourceGroupName, + accountName, + databaseName, + clientEncryptionKeyName, + createUpdateClientEncryptionKeyParameters, + context) .block(); } @@ -5282,20 +6169,22 @@ public Mono getSqlStoredProcedureAsync( * @param databaseName Cosmos DB database name. * @param containerName Cosmos DB container name. * @param storedProcedureName Cosmos DB storedProcedure name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SQL storedProcedure under an existing Azure Cosmos DB database account. + * @return the SQL storedProcedure under an existing Azure Cosmos DB database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public SqlStoredProcedureGetResultsInner getSqlStoredProcedure( + public Response getSqlStoredProcedureWithResponse( String resourceGroupName, String accountName, String databaseName, String containerName, - String storedProcedureName) { - return getSqlStoredProcedureAsync( - resourceGroupName, accountName, databaseName, containerName, storedProcedureName) + String storedProcedureName, + Context context) { + return getSqlStoredProcedureWithResponseAsync( + resourceGroupName, accountName, databaseName, containerName, storedProcedureName, context) .block(); } @@ -5307,23 +6196,21 @@ public SqlStoredProcedureGetResultsInner getSqlStoredProcedure( * @param databaseName Cosmos DB database name. * @param containerName Cosmos DB container name. * @param storedProcedureName Cosmos DB storedProcedure name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SQL storedProcedure under an existing Azure Cosmos DB database account along with {@link Response}. + * @return the SQL storedProcedure under an existing Azure Cosmos DB database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSqlStoredProcedureWithResponse( + public SqlStoredProcedureGetResultsInner getSqlStoredProcedure( String resourceGroupName, String accountName, String databaseName, String containerName, - String storedProcedureName, - Context context) { - return getSqlStoredProcedureWithResponseAsync( - resourceGroupName, accountName, databaseName, containerName, storedProcedureName, context) - .block(); + String storedProcedureName) { + return getSqlStoredProcedureWithResponse( + resourceGroupName, accountName, databaseName, containerName, storedProcedureName, Context.NONE) + .getValue(); } /** @@ -5592,7 +6479,8 @@ private Mono>> createUpdateSqlStoredProcedureWithRespo String containerName, String storedProcedureName, SqlStoredProcedureCreateUpdateParameters createUpdateSqlStoredProcedureParameters) { - return beginCreateUpdateSqlStoredProcedureAsync( + return this + .beginCreateUpdateSqlStoredProcedureAsync( resourceGroupName, accountName, databaseName, @@ -5627,7 +6515,8 @@ private Mono>> createUpdateSqlStoredProcedureWithRespo String storedProcedureName, SqlStoredProcedureCreateUpdateParameters createUpdateSqlStoredProcedureParameters, Context context) { - return beginCreateUpdateSqlStoredProcedureAsync( + return this + .beginCreateUpdateSqlStoredProcedureAsync( resourceGroupName, accountName, databaseName, @@ -5985,7 +6874,8 @@ public SyncPoller, Void> beginDeleteSqlStoredProcedure( String databaseName, String containerName, String storedProcedureName) { - return beginDeleteSqlStoredProcedureAsync( + return this + .beginDeleteSqlStoredProcedureAsync( resourceGroupName, accountName, databaseName, containerName, storedProcedureName) .getSyncPoller(); } @@ -6012,7 +6902,8 @@ public SyncPoller, Void> beginDeleteSqlStoredProcedure( String containerName, String storedProcedureName, Context context) { - return beginDeleteSqlStoredProcedureAsync( + return this + .beginDeleteSqlStoredProcedureAsync( resourceGroupName, accountName, databaseName, containerName, storedProcedureName, context) .getSyncPoller(); } @@ -6503,20 +7394,23 @@ public Mono getSqlUserDefinedFunctionAsyn * @param databaseName Cosmos DB database name. * @param containerName Cosmos DB container name. * @param userDefinedFunctionName Cosmos DB userDefinedFunction name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SQL userDefinedFunction under an existing Azure Cosmos DB database account. + * @return the SQL userDefinedFunction under an existing Azure Cosmos DB database account along with {@link + * Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public SqlUserDefinedFunctionGetResultsInner getSqlUserDefinedFunction( + public Response getSqlUserDefinedFunctionWithResponse( String resourceGroupName, String accountName, String databaseName, String containerName, - String userDefinedFunctionName) { - return getSqlUserDefinedFunctionAsync( - resourceGroupName, accountName, databaseName, containerName, userDefinedFunctionName) + String userDefinedFunctionName, + Context context) { + return getSqlUserDefinedFunctionWithResponseAsync( + resourceGroupName, accountName, databaseName, containerName, userDefinedFunctionName, context) .block(); } @@ -6528,24 +7422,21 @@ public SqlUserDefinedFunctionGetResultsInner getSqlUserDefinedFunction( * @param databaseName Cosmos DB database name. * @param containerName Cosmos DB container name. * @param userDefinedFunctionName Cosmos DB userDefinedFunction name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SQL userDefinedFunction under an existing Azure Cosmos DB database account along with {@link - * Response}. + * @return the SQL userDefinedFunction under an existing Azure Cosmos DB database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSqlUserDefinedFunctionWithResponse( + public SqlUserDefinedFunctionGetResultsInner getSqlUserDefinedFunction( String resourceGroupName, String accountName, String databaseName, String containerName, - String userDefinedFunctionName, - Context context) { - return getSqlUserDefinedFunctionWithResponseAsync( - resourceGroupName, accountName, databaseName, containerName, userDefinedFunctionName, context) - .block(); + String userDefinedFunctionName) { + return getSqlUserDefinedFunctionWithResponse( + resourceGroupName, accountName, databaseName, containerName, userDefinedFunctionName, Context.NONE) + .getValue(); } /** @@ -6823,7 +7714,8 @@ private Mono>> createUpdateSqlUserDefinedFunctionWithR String containerName, String userDefinedFunctionName, SqlUserDefinedFunctionCreateUpdateParameters createUpdateSqlUserDefinedFunctionParameters) { - return beginCreateUpdateSqlUserDefinedFunctionAsync( + return this + .beginCreateUpdateSqlUserDefinedFunctionAsync( resourceGroupName, accountName, databaseName, @@ -6859,7 +7751,8 @@ private Mono>> createUpdateSqlUserDefinedFunctionWithR String userDefinedFunctionName, SqlUserDefinedFunctionCreateUpdateParameters createUpdateSqlUserDefinedFunctionParameters, Context context) { - return beginCreateUpdateSqlUserDefinedFunctionAsync( + return this + .beginCreateUpdateSqlUserDefinedFunctionAsync( resourceGroupName, accountName, databaseName, @@ -7223,7 +8116,8 @@ public SyncPoller, Void> beginDeleteSqlUserDefinedFunction( String databaseName, String containerName, String userDefinedFunctionName) { - return beginDeleteSqlUserDefinedFunctionAsync( + return this + .beginDeleteSqlUserDefinedFunctionAsync( resourceGroupName, accountName, databaseName, containerName, userDefinedFunctionName) .getSyncPoller(); } @@ -7250,7 +8144,8 @@ public SyncPoller, Void> beginDeleteSqlUserDefinedFunction( String containerName, String userDefinedFunctionName, Context context) { - return beginDeleteSqlUserDefinedFunctionAsync( + return this + .beginDeleteSqlUserDefinedFunctionAsync( resourceGroupName, accountName, databaseName, containerName, userDefinedFunctionName, context) .getSyncPoller(); } @@ -7724,15 +8619,23 @@ public Mono getSqlTriggerAsync( * @param databaseName Cosmos DB database name. * @param containerName Cosmos DB container name. * @param triggerName Cosmos DB trigger name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SQL trigger under an existing Azure Cosmos DB database account. + * @return the SQL trigger under an existing Azure Cosmos DB database account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public SqlTriggerGetResultsInner getSqlTrigger( - String resourceGroupName, String accountName, String databaseName, String containerName, String triggerName) { - return getSqlTriggerAsync(resourceGroupName, accountName, databaseName, containerName, triggerName).block(); + public Response getSqlTriggerWithResponse( + String resourceGroupName, + String accountName, + String databaseName, + String containerName, + String triggerName, + Context context) { + return getSqlTriggerWithResponseAsync( + resourceGroupName, accountName, databaseName, containerName, triggerName, context) + .block(); } /** @@ -7743,23 +8646,17 @@ public SqlTriggerGetResultsInner getSqlTrigger( * @param databaseName Cosmos DB database name. * @param containerName Cosmos DB container name. * @param triggerName Cosmos DB trigger name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the SQL trigger under an existing Azure Cosmos DB database account along with {@link Response}. + * @return the SQL trigger under an existing Azure Cosmos DB database account. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSqlTriggerWithResponse( - String resourceGroupName, - String accountName, - String databaseName, - String containerName, - String triggerName, - Context context) { - return getSqlTriggerWithResponseAsync( - resourceGroupName, accountName, databaseName, containerName, triggerName, context) - .block(); + public SqlTriggerGetResultsInner getSqlTrigger( + String resourceGroupName, String accountName, String databaseName, String containerName, String triggerName) { + return getSqlTriggerWithResponse( + resourceGroupName, accountName, databaseName, containerName, triggerName, Context.NONE) + .getValue(); } /** @@ -8025,7 +8922,8 @@ public SyncPoller, SqlTriggerGetResultsInn String containerName, String triggerName, SqlTriggerCreateUpdateParameters createUpdateSqlTriggerParameters) { - return beginCreateUpdateSqlTriggerAsync( + return this + .beginCreateUpdateSqlTriggerAsync( resourceGroupName, accountName, databaseName, @@ -8059,7 +8957,8 @@ public SyncPoller, SqlTriggerGetResultsInn String triggerName, SqlTriggerCreateUpdateParameters createUpdateSqlTriggerParameters, Context context) { - return beginCreateUpdateSqlTriggerAsync( + return this + .beginCreateUpdateSqlTriggerAsync( resourceGroupName, accountName, databaseName, @@ -8402,7 +9301,8 @@ private PollerFlux, Void> beginDeleteSqlTriggerAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteSqlTrigger( String resourceGroupName, String accountName, String databaseName, String containerName, String triggerName) { - return beginDeleteSqlTriggerAsync(resourceGroupName, accountName, databaseName, containerName, triggerName) + return this + .beginDeleteSqlTriggerAsync(resourceGroupName, accountName, databaseName, containerName, triggerName) .getSyncPoller(); } @@ -8428,7 +9328,8 @@ public SyncPoller, Void> beginDeleteSqlTrigger( String containerName, String triggerName, Context context) { - return beginDeleteSqlTriggerAsync( + return this + .beginDeleteSqlTriggerAsync( resourceGroupName, accountName, databaseName, containerName, triggerName, context) .getSyncPoller(); } @@ -8657,15 +9558,16 @@ public Mono getSqlRoleDefinitionAsync( * @param roleDefinitionId The GUID for the Role Definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB SQL Role Definition. + * @return an Azure Cosmos DB SQL Role Definition along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public SqlRoleDefinitionGetResultsInner getSqlRoleDefinition( - String roleDefinitionId, String resourceGroupName, String accountName) { - return getSqlRoleDefinitionAsync(roleDefinitionId, resourceGroupName, accountName).block(); + public Response getSqlRoleDefinitionWithResponse( + String roleDefinitionId, String resourceGroupName, String accountName, Context context) { + return getSqlRoleDefinitionWithResponseAsync(roleDefinitionId, resourceGroupName, accountName, context).block(); } /** @@ -8674,16 +9576,16 @@ public SqlRoleDefinitionGetResultsInner getSqlRoleDefinition( * @param roleDefinitionId The GUID for the Role Definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB SQL Role Definition along with {@link Response}. + * @return an Azure Cosmos DB SQL Role Definition. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSqlRoleDefinitionWithResponse( - String roleDefinitionId, String resourceGroupName, String accountName, Context context) { - return getSqlRoleDefinitionWithResponseAsync(roleDefinitionId, resourceGroupName, accountName, context).block(); + public SqlRoleDefinitionGetResultsInner getSqlRoleDefinition( + String roleDefinitionId, String resourceGroupName, String accountName) { + return getSqlRoleDefinitionWithResponse(roleDefinitionId, resourceGroupName, accountName, Context.NONE) + .getValue(); } /** @@ -8907,7 +9809,8 @@ private Mono>> createUpdateSqlRoleDefinitionWithRespon String resourceGroupName, String accountName, SqlRoleDefinitionCreateUpdateParameters createUpdateSqlRoleDefinitionParameters) { - return beginCreateUpdateSqlRoleDefinitionAsync( + return this + .beginCreateUpdateSqlRoleDefinitionAsync( roleDefinitionId, resourceGroupName, accountName, createUpdateSqlRoleDefinitionParameters) .getSyncPoller(); } @@ -8933,7 +9836,8 @@ private Mono>> createUpdateSqlRoleDefinitionWithRespon String accountName, SqlRoleDefinitionCreateUpdateParameters createUpdateSqlRoleDefinitionParameters, Context context) { - return beginCreateUpdateSqlRoleDefinitionAsync( + return this + .beginCreateUpdateSqlRoleDefinitionAsync( roleDefinitionId, resourceGroupName, accountName, createUpdateSqlRoleDefinitionParameters, context) .getSyncPoller(); } @@ -9201,7 +10105,7 @@ private PollerFlux, Void> beginDeleteSqlRoleDefinitionAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteSqlRoleDefinition( String roleDefinitionId, String resourceGroupName, String accountName) { - return beginDeleteSqlRoleDefinitionAsync(roleDefinitionId, resourceGroupName, accountName).getSyncPoller(); + return this.beginDeleteSqlRoleDefinitionAsync(roleDefinitionId, resourceGroupName, accountName).getSyncPoller(); } /** @@ -9219,7 +10123,8 @@ public SyncPoller, Void> beginDeleteSqlRoleDefinition( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteSqlRoleDefinition( String roleDefinitionId, String resourceGroupName, String accountName, Context context) { - return beginDeleteSqlRoleDefinitionAsync(roleDefinitionId, resourceGroupName, accountName, context) + return this + .beginDeleteSqlRoleDefinitionAsync(roleDefinitionId, resourceGroupName, accountName, context) .getSyncPoller(); } @@ -9592,15 +10497,16 @@ public Mono getSqlRoleAssignmentAsync( * @param roleAssignmentId The GUID for the Role Assignment. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB Role Assignment. + * @return an Azure Cosmos DB Role Assignment along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public SqlRoleAssignmentGetResultsInner getSqlRoleAssignment( - String roleAssignmentId, String resourceGroupName, String accountName) { - return getSqlRoleAssignmentAsync(roleAssignmentId, resourceGroupName, accountName).block(); + public Response getSqlRoleAssignmentWithResponse( + String roleAssignmentId, String resourceGroupName, String accountName, Context context) { + return getSqlRoleAssignmentWithResponseAsync(roleAssignmentId, resourceGroupName, accountName, context).block(); } /** @@ -9609,16 +10515,16 @@ public SqlRoleAssignmentGetResultsInner getSqlRoleAssignment( * @param roleAssignmentId The GUID for the Role Assignment. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return an Azure Cosmos DB Role Assignment along with {@link Response}. + * @return an Azure Cosmos DB Role Assignment. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getSqlRoleAssignmentWithResponse( - String roleAssignmentId, String resourceGroupName, String accountName, Context context) { - return getSqlRoleAssignmentWithResponseAsync(roleAssignmentId, resourceGroupName, accountName, context).block(); + public SqlRoleAssignmentGetResultsInner getSqlRoleAssignment( + String roleAssignmentId, String resourceGroupName, String accountName) { + return getSqlRoleAssignmentWithResponse(roleAssignmentId, resourceGroupName, accountName, Context.NONE) + .getValue(); } /** @@ -9840,7 +10746,8 @@ private Mono>> createUpdateSqlRoleAssignmentWithRespon String resourceGroupName, String accountName, SqlRoleAssignmentCreateUpdateParameters createUpdateSqlRoleAssignmentParameters) { - return beginCreateUpdateSqlRoleAssignmentAsync( + return this + .beginCreateUpdateSqlRoleAssignmentAsync( roleAssignmentId, resourceGroupName, accountName, createUpdateSqlRoleAssignmentParameters) .getSyncPoller(); } @@ -9866,7 +10773,8 @@ private Mono>> createUpdateSqlRoleAssignmentWithRespon String accountName, SqlRoleAssignmentCreateUpdateParameters createUpdateSqlRoleAssignmentParameters, Context context) { - return beginCreateUpdateSqlRoleAssignmentAsync( + return this + .beginCreateUpdateSqlRoleAssignmentAsync( roleAssignmentId, resourceGroupName, accountName, createUpdateSqlRoleAssignmentParameters, context) .getSyncPoller(); } @@ -10134,7 +11042,7 @@ private PollerFlux, Void> beginDeleteSqlRoleAssignmentAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteSqlRoleAssignment( String roleAssignmentId, String resourceGroupName, String accountName) { - return beginDeleteSqlRoleAssignmentAsync(roleAssignmentId, resourceGroupName, accountName).getSyncPoller(); + return this.beginDeleteSqlRoleAssignmentAsync(roleAssignmentId, resourceGroupName, accountName).getSyncPoller(); } /** @@ -10152,7 +11060,8 @@ public SyncPoller, Void> beginDeleteSqlRoleAssignment( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteSqlRoleAssignment( String roleAssignmentId, String resourceGroupName, String accountName, Context context) { - return beginDeleteSqlRoleAssignmentAsync(roleAssignmentId, resourceGroupName, accountName, context) + return this + .beginDeleteSqlRoleAssignmentAsync(roleAssignmentId, resourceGroupName, accountName, context) .getSyncPoller(); } @@ -10624,7 +11533,8 @@ private Mono>> retrieveContinuousBackupInformationWith String databaseName, String containerName, ContinuousBackupRestoreLocation location) { - return beginRetrieveContinuousBackupInformationAsync( + return this + .beginRetrieveContinuousBackupInformationAsync( resourceGroupName, accountName, databaseName, containerName, location) .getSyncPoller(); } @@ -10652,7 +11562,8 @@ private Mono>> retrieveContinuousBackupInformationWith String containerName, ContinuousBackupRestoreLocation location, Context context) { - return beginRetrieveContinuousBackupInformationAsync( + return this + .beginRetrieveContinuousBackupInformationAsync( resourceGroupName, accountName, databaseName, containerName, location, context) .getSyncPoller(); } diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/TableResourcesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/TableResourcesClientImpl.java index 4395f7e69d553..570661042895e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/TableResourcesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/implementation/TableResourcesClientImpl.java @@ -33,8 +33,10 @@ import com.azure.core.util.polling.PollerFlux; import com.azure.core.util.polling.SyncPoller; import com.azure.resourcemanager.cosmos.fluent.TableResourcesClient; +import com.azure.resourcemanager.cosmos.fluent.models.BackupInformationInner; import com.azure.resourcemanager.cosmos.fluent.models.TableGetResultsInner; import com.azure.resourcemanager.cosmos.fluent.models.ThroughputSettingsGetResultsInner; +import com.azure.resourcemanager.cosmos.models.ContinuousBackupRestoreLocation; import com.azure.resourcemanager.cosmos.models.TableCreateUpdateParameters; import com.azure.resourcemanager.cosmos.models.TableListResult; import com.azure.resourcemanager.cosmos.models.ThroughputSettingsUpdateParameters; @@ -67,7 +69,7 @@ public final class TableResourcesClientImpl implements TableResourcesClient { */ @Host("{$host}") @ServiceInterface(name = "CosmosDBManagementCl") - private interface TableResourcesService { + public interface TableResourcesService { @Headers({"Content-Type: application/json"}) @Get( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" @@ -196,6 +198,23 @@ Mono>> migrateTableToManualThroughput( @QueryParam("api-version") String apiVersion, @HeaderParam("Accept") String accept, Context context); + + @Headers({"Content-Type: application/json"}) + @Post( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB" + + "/databaseAccounts/{accountName}/tables/{tableName}/retrieveContinuousBackupInformation") + @ExpectedResponses({200, 202}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> retrieveContinuousBackupInformation( + @HostParam("$host") String endpoint, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("accountName") String accountName, + @PathParam("tableName") String tableName, + @QueryParam("api-version") String apiVersion, + @BodyParam("application/json") ContinuousBackupRestoreLocation location, + @HeaderParam("Accept") String accept, + Context context); } /** @@ -500,14 +519,17 @@ public Mono getTableAsync(String resourceGroupName, String * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param tableName Cosmos DB table name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Tables under an existing Azure Cosmos DB database account with the provided name. + * @return the Tables under an existing Azure Cosmos DB database account with the provided name along with {@link + * Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public TableGetResultsInner getTable(String resourceGroupName, String accountName, String tableName) { - return getTableAsync(resourceGroupName, accountName, tableName).block(); + public Response getTableWithResponse( + String resourceGroupName, String accountName, String tableName, Context context) { + return getTableWithResponseAsync(resourceGroupName, accountName, tableName, context).block(); } /** @@ -516,17 +538,14 @@ public TableGetResultsInner getTable(String resourceGroupName, String accountNam * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param tableName Cosmos DB table name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Tables under an existing Azure Cosmos DB database account with the provided name along with {@link - * Response}. + * @return the Tables under an existing Azure Cosmos DB database account with the provided name. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getTableWithResponse( - String resourceGroupName, String accountName, String tableName, Context context) { - return getTableWithResponseAsync(resourceGroupName, accountName, tableName, context).block(); + public TableGetResultsInner getTable(String resourceGroupName, String accountName, String tableName) { + return getTableWithResponse(resourceGroupName, accountName, tableName, Context.NONE).getValue(); } /** @@ -738,7 +757,8 @@ public SyncPoller, TableGetResultsInner> beginC String accountName, String tableName, TableCreateUpdateParameters createUpdateTableParameters) { - return beginCreateUpdateTableAsync(resourceGroupName, accountName, tableName, createUpdateTableParameters) + return this + .beginCreateUpdateTableAsync(resourceGroupName, accountName, tableName, createUpdateTableParameters) .getSyncPoller(); } @@ -762,7 +782,8 @@ public SyncPoller, TableGetResultsInner> beginC String tableName, TableCreateUpdateParameters createUpdateTableParameters, Context context) { - return beginCreateUpdateTableAsync( + return this + .beginCreateUpdateTableAsync( resourceGroupName, accountName, tableName, createUpdateTableParameters, context) .getSyncPoller(); } @@ -1019,7 +1040,7 @@ private PollerFlux, Void> beginDeleteTableAsync( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteTable( String resourceGroupName, String accountName, String tableName) { - return beginDeleteTableAsync(resourceGroupName, accountName, tableName).getSyncPoller(); + return this.beginDeleteTableAsync(resourceGroupName, accountName, tableName).getSyncPoller(); } /** @@ -1037,7 +1058,7 @@ public SyncPoller, Void> beginDeleteTable( @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginDeleteTable( String resourceGroupName, String accountName, String tableName, Context context) { - return beginDeleteTableAsync(resourceGroupName, accountName, tableName, context).getSyncPoller(); + return this.beginDeleteTableAsync(resourceGroupName, accountName, tableName, context).getSyncPoller(); } /** @@ -1240,16 +1261,17 @@ public Mono getTableThroughputAsync( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param tableName Cosmos DB table name. + * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided - * name. + * @return the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name + * along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public ThroughputSettingsGetResultsInner getTableThroughput( - String resourceGroupName, String accountName, String tableName) { - return getTableThroughputAsync(resourceGroupName, accountName, tableName).block(); + public Response getTableThroughputWithResponse( + String resourceGroupName, String accountName, String tableName, Context context) { + return getTableThroughputWithResponseAsync(resourceGroupName, accountName, tableName, context).block(); } /** @@ -1258,17 +1280,16 @@ public ThroughputSettingsGetResultsInner getTableThroughput( * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param accountName Cosmos DB database account name. * @param tableName Cosmos DB table name. - * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name - * along with {@link Response}. + * @return the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided + * name. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response getTableThroughputWithResponse( - String resourceGroupName, String accountName, String tableName, Context context) { - return getTableThroughputWithResponseAsync(resourceGroupName, accountName, tableName, context).block(); + public ThroughputSettingsGetResultsInner getTableThroughput( + String resourceGroupName, String accountName, String tableName) { + return getTableThroughputWithResponse(resourceGroupName, accountName, tableName, Context.NONE).getValue(); } /** @@ -1490,7 +1511,8 @@ private Mono>> updateTableThroughputWithResponseAsync( String accountName, String tableName, ThroughputSettingsUpdateParameters updateThroughputParameters) { - return beginUpdateTableThroughputAsync(resourceGroupName, accountName, tableName, updateThroughputParameters) + return this + .beginUpdateTableThroughputAsync(resourceGroupName, accountName, tableName, updateThroughputParameters) .getSyncPoller(); } @@ -1515,7 +1537,8 @@ private Mono>> updateTableThroughputWithResponseAsync( String tableName, ThroughputSettingsUpdateParameters updateThroughputParameters, Context context) { - return beginUpdateTableThroughputAsync( + return this + .beginUpdateTableThroughputAsync( resourceGroupName, accountName, tableName, updateThroughputParameters, context) .getSyncPoller(); } @@ -1791,7 +1814,7 @@ private Mono>> migrateTableToAutoscaleWithResponseAsyn @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateTableToAutoscale(String resourceGroupName, String accountName, String tableName) { - return beginMigrateTableToAutoscaleAsync(resourceGroupName, accountName, tableName).getSyncPoller(); + return this.beginMigrateTableToAutoscaleAsync(resourceGroupName, accountName, tableName).getSyncPoller(); } /** @@ -1809,7 +1832,9 @@ private Mono>> migrateTableToAutoscaleWithResponseAsyn @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateTableToAutoscale(String resourceGroupName, String accountName, String tableName, Context context) { - return beginMigrateTableToAutoscaleAsync(resourceGroupName, accountName, tableName, context).getSyncPoller(); + return this + .beginMigrateTableToAutoscaleAsync(resourceGroupName, accountName, tableName, context) + .getSyncPoller(); } /** @@ -2061,7 +2086,7 @@ private Mono>> migrateTableToManualThroughputWithRespo @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateTableToManualThroughput(String resourceGroupName, String accountName, String tableName) { - return beginMigrateTableToManualThroughputAsync(resourceGroupName, accountName, tableName).getSyncPoller(); + return this.beginMigrateTableToManualThroughputAsync(resourceGroupName, accountName, tableName).getSyncPoller(); } /** @@ -2080,7 +2105,8 @@ private Mono>> migrateTableToManualThroughputWithRespo public SyncPoller, ThroughputSettingsGetResultsInner> beginMigrateTableToManualThroughput( String resourceGroupName, String accountName, String tableName, Context context) { - return beginMigrateTableToManualThroughputAsync(resourceGroupName, accountName, tableName, context) + return this + .beginMigrateTableToManualThroughputAsync(resourceGroupName, accountName, tableName, context) .getSyncPoller(); } @@ -2157,4 +2183,324 @@ public ThroughputSettingsGetResultsInner migrateTableToManualThroughput( String resourceGroupName, String accountName, String tableName, Context context) { return migrateTableToManualThroughputAsync(resourceGroupName, accountName, tableName, context).block(); } + + /** + * Retrieves continuous backup information for a table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param tableName Cosmos DB table name. + * @param location The name of the continuous backup restore location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return backup information of a resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> retrieveContinuousBackupInformationWithResponseAsync( + String resourceGroupName, String accountName, String tableName, ContinuousBackupRestoreLocation location) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (tableName == null) { + return Mono.error(new IllegalArgumentException("Parameter tableName is required and cannot be null.")); + } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } else { + location.validate(); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .retrieveContinuousBackupInformation( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + accountName, + tableName, + this.client.getApiVersion(), + location, + accept, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Retrieves continuous backup information for a table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param tableName Cosmos DB table name. + * @param location The name of the continuous backup restore location. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return backup information of a resource along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> retrieveContinuousBackupInformationWithResponseAsync( + String resourceGroupName, + String accountName, + String tableName, + ContinuousBackupRestoreLocation location, + Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (tableName == null) { + return Mono.error(new IllegalArgumentException("Parameter tableName is required and cannot be null.")); + } + if (location == null) { + return Mono.error(new IllegalArgumentException("Parameter location is required and cannot be null.")); + } else { + location.validate(); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .retrieveContinuousBackupInformation( + this.client.getEndpoint(), + this.client.getSubscriptionId(), + resourceGroupName, + accountName, + tableName, + this.client.getApiVersion(), + location, + accept, + context); + } + + /** + * Retrieves continuous backup information for a table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param tableName Cosmos DB table name. + * @param location The name of the continuous backup restore location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, BackupInformationInner> + beginRetrieveContinuousBackupInformationAsync( + String resourceGroupName, String accountName, String tableName, ContinuousBackupRestoreLocation location) { + Mono>> mono = + retrieveContinuousBackupInformationWithResponseAsync(resourceGroupName, accountName, tableName, location); + return this + .client + .getLroResult( + mono, + this.client.getHttpPipeline(), + BackupInformationInner.class, + BackupInformationInner.class, + this.client.getContext()); + } + + /** + * Retrieves continuous backup information for a table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param tableName Cosmos DB table name. + * @param location The name of the continuous backup restore location. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, BackupInformationInner> + beginRetrieveContinuousBackupInformationAsync( + String resourceGroupName, + String accountName, + String tableName, + ContinuousBackupRestoreLocation location, + Context context) { + context = this.client.mergeContext(context); + Mono>> mono = + retrieveContinuousBackupInformationWithResponseAsync( + resourceGroupName, accountName, tableName, location, context); + return this + .client + .getLroResult( + mono, + this.client.getHttpPipeline(), + BackupInformationInner.class, + BackupInformationInner.class, + context); + } + + /** + * Retrieves continuous backup information for a table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param tableName Cosmos DB table name. + * @param location The name of the continuous backup restore location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, BackupInformationInner> + beginRetrieveContinuousBackupInformation( + String resourceGroupName, String accountName, String tableName, ContinuousBackupRestoreLocation location) { + return this + .beginRetrieveContinuousBackupInformationAsync(resourceGroupName, accountName, tableName, location) + .getSyncPoller(); + } + + /** + * Retrieves continuous backup information for a table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param tableName Cosmos DB table name. + * @param location The name of the continuous backup restore location. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, BackupInformationInner> + beginRetrieveContinuousBackupInformation( + String resourceGroupName, + String accountName, + String tableName, + ContinuousBackupRestoreLocation location, + Context context) { + return this + .beginRetrieveContinuousBackupInformationAsync(resourceGroupName, accountName, tableName, location, context) + .getSyncPoller(); + } + + /** + * Retrieves continuous backup information for a table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param tableName Cosmos DB table name. + * @param location The name of the continuous backup restore location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return backup information of a resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono retrieveContinuousBackupInformationAsync( + String resourceGroupName, String accountName, String tableName, ContinuousBackupRestoreLocation location) { + return beginRetrieveContinuousBackupInformationAsync(resourceGroupName, accountName, tableName, location) + .last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Retrieves continuous backup information for a table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param tableName Cosmos DB table name. + * @param location The name of the continuous backup restore location. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return backup information of a resource on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono retrieveContinuousBackupInformationAsync( + String resourceGroupName, + String accountName, + String tableName, + ContinuousBackupRestoreLocation location, + Context context) { + return beginRetrieveContinuousBackupInformationAsync( + resourceGroupName, accountName, tableName, location, context) + .last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Retrieves continuous backup information for a table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param tableName Cosmos DB table name. + * @param location The name of the continuous backup restore location. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public BackupInformationInner retrieveContinuousBackupInformation( + String resourceGroupName, String accountName, String tableName, ContinuousBackupRestoreLocation location) { + return retrieveContinuousBackupInformationAsync(resourceGroupName, accountName, tableName, location).block(); + } + + /** + * Retrieves continuous backup information for a table. + * + * @param resourceGroupName The name of the resource group. The name is case insensitive. + * @param accountName Cosmos DB database account name. + * @param tableName Cosmos DB table name. + * @param location The name of the continuous backup restore location. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return backup information of a resource. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public BackupInformationInner retrieveContinuousBackupInformation( + String resourceGroupName, + String accountName, + String tableName, + ContinuousBackupRestoreLocation location, + Context context) { + return retrieveContinuousBackupInformationAsync(resourceGroupName, accountName, tableName, location, context) + .block(); + } } diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/AccountKeyMetadata.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/AccountKeyMetadata.java index cbb40c9a478fe..8e8c1817d6e3c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/AccountKeyMetadata.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/AccountKeyMetadata.java @@ -18,6 +18,10 @@ public final class AccountKeyMetadata { @JsonProperty(value = "generationTime", access = JsonProperty.Access.WRITE_ONLY) private OffsetDateTime generationTime; + /** Creates an instance of AccountKeyMetadata class. */ + public AccountKeyMetadata() { + } + /** * Get the generationTime property: Generation time in UTC of the key in ISO-8601 format. If the value is missing * from the object, it means that the last key regeneration was triggered before 2022-06-18. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/AnalyticalStorageConfiguration.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/AnalyticalStorageConfiguration.java index d40fc9a765f87..24f8607a80ae8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/AnalyticalStorageConfiguration.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/AnalyticalStorageConfiguration.java @@ -16,6 +16,10 @@ public final class AnalyticalStorageConfiguration { @JsonProperty(value = "schemaType") private AnalyticalStorageSchemaType schemaType; + /** Creates an instance of AnalyticalStorageConfiguration class. */ + public AnalyticalStorageConfiguration() { + } + /** * Get the schemaType property: Describes the types of schema for analytical storage. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/AnalyticalStorageSchemaType.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/AnalyticalStorageSchemaType.java index 3b5cf428f7aa9..022f9762814bd 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/AnalyticalStorageSchemaType.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/AnalyticalStorageSchemaType.java @@ -16,6 +16,15 @@ public final class AnalyticalStorageSchemaType extends ExpandableStringEnum { /** Static value GremlinV2 for ApiType. */ public static final ApiType GREMLIN_V2 = fromString("GremlinV2"); + /** + * Creates a new instance of ApiType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ApiType() { + } + /** * Creates or finds a ApiType from its string representation. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ArmProxyResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ArmProxyResource.java index aa1ab5ab6124b..4319d8f9c9a7c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ArmProxyResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ArmProxyResource.java @@ -13,6 +13,10 @@ */ @Immutable public class ArmProxyResource extends ProxyResource { + /** Creates an instance of ArmProxyResource class. */ + public ArmProxyResource() { + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ArmResourceProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ArmResourceProperties.java index 725a3722d11a4..65d8b1827c4c5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ArmResourceProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ArmResourceProperties.java @@ -11,6 +11,10 @@ /** The core properties of ARM resources. */ @Fluent public class ArmResourceProperties extends Resource { + /** Creates an instance of ArmResourceProperties class. */ + public ArmResourceProperties() { + } + /** {@inheritDoc} */ @Override public ArmResourceProperties withLocation(String location) { diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/AuthenticationMethod.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/AuthenticationMethod.java index e8ce5eebd0680..7b43c593ecec8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/AuthenticationMethod.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/AuthenticationMethod.java @@ -20,6 +20,15 @@ public final class AuthenticationMethod extends ExpandableStringEnum nodes; + /** Creates an instance of CassandraClusterPublicStatusDataCentersItem class. */ + public CassandraClusterPublicStatusDataCentersItem() { + } + /** * Get the name property: The name of this Datacenter. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraClusterPublicStatusDataCentersItemNode.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraClusterPublicStatusDataCentersItemNode.java index 3095ef9863808..0357b1594ee78 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraClusterPublicStatusDataCentersItemNode.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraClusterPublicStatusDataCentersItemNode.java @@ -110,6 +110,10 @@ public final class CassandraClusterPublicStatusDataCentersItemNode { @JsonProperty(value = "cpuUsage") private Double cpuUsage; + /** Creates an instance of CassandraClusterPublicStatusDataCentersItemNode class. */ + public CassandraClusterPublicStatusDataCentersItemNode() { + } + /** * Get the address property: The node's IP address. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraKeyspaceCreateUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraKeyspaceCreateUpdateParameters.java index 775cdeb848aaf..1212824a559ff 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraKeyspaceCreateUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraKeyspaceCreateUpdateParameters.java @@ -19,6 +19,10 @@ public final class CassandraKeyspaceCreateUpdateParameters extends ArmResourcePr @JsonProperty(value = "properties", required = true) private CassandraKeyspaceCreateUpdateProperties innerProperties = new CassandraKeyspaceCreateUpdateProperties(); + /** Creates an instance of CassandraKeyspaceCreateUpdateParameters class. */ + public CassandraKeyspaceCreateUpdateParameters() { + } + /** * Get the innerProperties property: Properties to create and update Azure Cosmos DB Cassandra keyspace. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraKeyspaceGetPropertiesOptions.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraKeyspaceGetPropertiesOptions.java index 8c9a6706e4822..662a3a4d0480b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraKeyspaceGetPropertiesOptions.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraKeyspaceGetPropertiesOptions.java @@ -9,6 +9,10 @@ /** The CassandraKeyspaceGetPropertiesOptions model. */ @Fluent public final class CassandraKeyspaceGetPropertiesOptions extends OptionsResource { + /** Creates an instance of CassandraKeyspaceGetPropertiesOptions class. */ + public CassandraKeyspaceGetPropertiesOptions() { + } + /** {@inheritDoc} */ @Override public CassandraKeyspaceGetPropertiesOptions withThroughput(Integer throughput) { diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraKeyspaceGetPropertiesResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraKeyspaceGetPropertiesResource.java index ebb7b397f4a3a..6d940d5bf52f2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraKeyspaceGetPropertiesResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraKeyspaceGetPropertiesResource.java @@ -28,6 +28,10 @@ public final class CassandraKeyspaceGetPropertiesResource extends CassandraKeysp @JsonProperty(value = "_etag", access = JsonProperty.Access.WRITE_ONLY) private String etag; + /** Creates an instance of CassandraKeyspaceGetPropertiesResource class. */ + public CassandraKeyspaceGetPropertiesResource() { + } + /** * Get the rid property: A system generated property. A unique identifier. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraKeyspaceListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraKeyspaceListResult.java index ba394f5f844cc..19eb956878f6d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraKeyspaceListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraKeyspaceListResult.java @@ -18,6 +18,10 @@ public final class CassandraKeyspaceListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of CassandraKeyspaceListResult class. */ + public CassandraKeyspaceListResult() { + } + /** * Get the value property: List of Cassandra keyspaces and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraKeyspaceResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraKeyspaceResource.java index 8c2fc3652b361..79759ed9785c2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraKeyspaceResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraKeyspaceResource.java @@ -17,6 +17,10 @@ public class CassandraKeyspaceResource { @JsonProperty(value = "id", required = true) private String id; + /** Creates an instance of CassandraKeyspaceResource class. */ + public CassandraKeyspaceResource() { + } + /** * Get the id property: Name of the Cosmos DB Cassandra keyspace. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraPartitionKey.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraPartitionKey.java index e69b27f9e41f2..95345731ae2c0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraPartitionKey.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraPartitionKey.java @@ -16,6 +16,10 @@ public final class CassandraPartitionKey { @JsonProperty(value = "name") private String name; + /** Creates an instance of CassandraPartitionKey class. */ + public CassandraPartitionKey() { + } + /** * Get the name property: Name of the Cosmos DB Cassandra table partition key. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraSchema.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraSchema.java index 2ea2458932a87..b3559f4e38689 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraSchema.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraSchema.java @@ -29,6 +29,10 @@ public final class CassandraSchema { @JsonProperty(value = "clusterKeys") private List clusterKeys; + /** Creates an instance of CassandraSchema class. */ + public CassandraSchema() { + } + /** * Get the columns property: List of Cassandra table columns. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraTableCreateUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraTableCreateUpdateParameters.java index e955054e5d77a..cfd7090629bf1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraTableCreateUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraTableCreateUpdateParameters.java @@ -19,6 +19,10 @@ public final class CassandraTableCreateUpdateParameters extends ArmResourcePrope @JsonProperty(value = "properties", required = true) private CassandraTableCreateUpdateProperties innerProperties = new CassandraTableCreateUpdateProperties(); + /** Creates an instance of CassandraTableCreateUpdateParameters class. */ + public CassandraTableCreateUpdateParameters() { + } + /** * Get the innerProperties property: Properties to create and update Azure Cosmos DB Cassandra table. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraTableGetPropertiesOptions.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraTableGetPropertiesOptions.java index b3cf7d9e7fb4d..34b0f2e8a6d14 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraTableGetPropertiesOptions.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraTableGetPropertiesOptions.java @@ -9,6 +9,10 @@ /** The CassandraTableGetPropertiesOptions model. */ @Fluent public final class CassandraTableGetPropertiesOptions extends OptionsResource { + /** Creates an instance of CassandraTableGetPropertiesOptions class. */ + public CassandraTableGetPropertiesOptions() { + } + /** {@inheritDoc} */ @Override public CassandraTableGetPropertiesOptions withThroughput(Integer throughput) { diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraTableGetPropertiesResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraTableGetPropertiesResource.java index 00c88c3d430f2..9f11212c5ffe1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraTableGetPropertiesResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraTableGetPropertiesResource.java @@ -28,6 +28,10 @@ public final class CassandraTableGetPropertiesResource extends CassandraTableRes @JsonProperty(value = "_etag", access = JsonProperty.Access.WRITE_ONLY) private String etag; + /** Creates an instance of CassandraTableGetPropertiesResource class. */ + public CassandraTableGetPropertiesResource() { + } + /** * Get the rid property: A system generated property. A unique identifier. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraTableListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraTableListResult.java index 315cf4ff58cf2..a9d646d52545a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraTableListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraTableListResult.java @@ -18,6 +18,10 @@ public final class CassandraTableListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of CassandraTableListResult class. */ + public CassandraTableListResult() { + } + /** * Get the value property: List of Cassandra tables and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraTableResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraTableResource.java index ab796015a232c..058778ecb4c2a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraTableResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CassandraTableResource.java @@ -35,6 +35,10 @@ public class CassandraTableResource { @JsonProperty(value = "analyticalStorageTtl") private Integer analyticalStorageTtl; + /** Creates an instance of CassandraTableResource class. */ + public CassandraTableResource() { + } + /** * Get the id property: Name of the Cosmos DB Cassandra table. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Certificate.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Certificate.java index f75ceda42240b..db193725f8497 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Certificate.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Certificate.java @@ -16,6 +16,10 @@ public final class Certificate { @JsonProperty(value = "pem") private String pem; + /** Creates an instance of Certificate class. */ + public Certificate() { + } + /** * Get the pem property: PEM formatted public key. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionIncludedPath.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionIncludedPath.java new file mode 100644 index 0000000000000..45e2c8924d307 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionIncludedPath.java @@ -0,0 +1,159 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.util.logging.ClientLogger; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** . */ +@Fluent +public final class ClientEncryptionIncludedPath { + /* + * Path that needs to be encrypted. + */ + @JsonProperty(value = "path", required = true) + private String path; + + /* + * The identifier of the Client Encryption Key to be used to encrypt the path. + */ + @JsonProperty(value = "clientEncryptionKeyId", required = true) + private String clientEncryptionKeyId; + + /* + * The type of encryption to be performed. Eg - Deterministic, Randomized. + */ + @JsonProperty(value = "encryptionType", required = true) + private String encryptionType; + + /* + * The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256. + */ + @JsonProperty(value = "encryptionAlgorithm", required = true) + private String encryptionAlgorithm; + + /** Creates an instance of ClientEncryptionIncludedPath class. */ + public ClientEncryptionIncludedPath() { + } + + /** + * Get the path property: Path that needs to be encrypted. + * + * @return the path value. + */ + public String path() { + return this.path; + } + + /** + * Set the path property: Path that needs to be encrypted. + * + * @param path the path value to set. + * @return the ClientEncryptionIncludedPath object itself. + */ + public ClientEncryptionIncludedPath withPath(String path) { + this.path = path; + return this; + } + + /** + * Get the clientEncryptionKeyId property: The identifier of the Client Encryption Key to be used to encrypt the + * path. + * + * @return the clientEncryptionKeyId value. + */ + public String clientEncryptionKeyId() { + return this.clientEncryptionKeyId; + } + + /** + * Set the clientEncryptionKeyId property: The identifier of the Client Encryption Key to be used to encrypt the + * path. + * + * @param clientEncryptionKeyId the clientEncryptionKeyId value to set. + * @return the ClientEncryptionIncludedPath object itself. + */ + public ClientEncryptionIncludedPath withClientEncryptionKeyId(String clientEncryptionKeyId) { + this.clientEncryptionKeyId = clientEncryptionKeyId; + return this; + } + + /** + * Get the encryptionType property: The type of encryption to be performed. Eg - Deterministic, Randomized. + * + * @return the encryptionType value. + */ + public String encryptionType() { + return this.encryptionType; + } + + /** + * Set the encryptionType property: The type of encryption to be performed. Eg - Deterministic, Randomized. + * + * @param encryptionType the encryptionType value to set. + * @return the ClientEncryptionIncludedPath object itself. + */ + public ClientEncryptionIncludedPath withEncryptionType(String encryptionType) { + this.encryptionType = encryptionType; + return this; + } + + /** + * Get the encryptionAlgorithm property: The encryption algorithm which will be used. Eg - + * AEAD_AES_256_CBC_HMAC_SHA256. + * + * @return the encryptionAlgorithm value. + */ + public String encryptionAlgorithm() { + return this.encryptionAlgorithm; + } + + /** + * Set the encryptionAlgorithm property: The encryption algorithm which will be used. Eg - + * AEAD_AES_256_CBC_HMAC_SHA256. + * + * @param encryptionAlgorithm the encryptionAlgorithm value to set. + * @return the ClientEncryptionIncludedPath object itself. + */ + public ClientEncryptionIncludedPath withEncryptionAlgorithm(String encryptionAlgorithm) { + this.encryptionAlgorithm = encryptionAlgorithm; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (path() == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + "Missing required property path in model ClientEncryptionIncludedPath")); + } + if (clientEncryptionKeyId() == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + "Missing required property clientEncryptionKeyId in model ClientEncryptionIncludedPath")); + } + if (encryptionType() == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + "Missing required property encryptionType in model ClientEncryptionIncludedPath")); + } + if (encryptionAlgorithm() == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + "Missing required property encryptionAlgorithm in model ClientEncryptionIncludedPath")); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(ClientEncryptionIncludedPath.class); +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionKeyCreateUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionKeyCreateUpdateParameters.java new file mode 100644 index 0000000000000..246f2f1781f04 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionKeyCreateUpdateParameters.java @@ -0,0 +1,75 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.util.logging.ClientLogger; +import com.azure.resourcemanager.cosmos.fluent.models.ClientEncryptionKeyCreateUpdateProperties; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** Parameters to create and update ClientEncryptionKey. */ +@Fluent +public final class ClientEncryptionKeyCreateUpdateParameters { + /* + * Properties to create and update ClientEncryptionKey. + */ + @JsonProperty(value = "properties", required = true) + private ClientEncryptionKeyCreateUpdateProperties innerProperties = new ClientEncryptionKeyCreateUpdateProperties(); + + /** Creates an instance of ClientEncryptionKeyCreateUpdateParameters class. */ + public ClientEncryptionKeyCreateUpdateParameters() { + } + + /** + * Get the innerProperties property: Properties to create and update ClientEncryptionKey. + * + * @return the innerProperties value. + */ + private ClientEncryptionKeyCreateUpdateProperties innerProperties() { + return this.innerProperties; + } + + /** + * Get the resource property: The standard JSON format of a ClientEncryptionKey. + * + * @return the resource value. + */ + public ClientEncryptionKeyResource resource() { + return this.innerProperties() == null ? null : this.innerProperties().resource(); + } + + /** + * Set the resource property: The standard JSON format of a ClientEncryptionKey. + * + * @param resource the resource value to set. + * @return the ClientEncryptionKeyCreateUpdateParameters object itself. + */ + public ClientEncryptionKeyCreateUpdateParameters withResource(ClientEncryptionKeyResource resource) { + if (this.innerProperties() == null) { + this.innerProperties = new ClientEncryptionKeyCreateUpdateProperties(); + } + this.innerProperties().withResource(resource); + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (innerProperties() == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + "Missing required property innerProperties in model" + + " ClientEncryptionKeyCreateUpdateParameters")); + } else { + innerProperties().validate(); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(ClientEncryptionKeyCreateUpdateParameters.class); +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionKeyGetPropertiesResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionKeyGetPropertiesResource.java new file mode 100644 index 0000000000000..ef9f683f8fa1a --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionKeyGetPropertiesResource.java @@ -0,0 +1,100 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The ClientEncryptionKeyGetPropertiesResource model. */ +@Fluent +public final class ClientEncryptionKeyGetPropertiesResource extends ClientEncryptionKeyResource { + /* + * A system generated property. A unique identifier. + */ + @JsonProperty(value = "_rid", access = JsonProperty.Access.WRITE_ONLY) + private String rid; + + /* + * A system generated property that denotes the last updated timestamp of the resource. + */ + @JsonProperty(value = "_ts", access = JsonProperty.Access.WRITE_ONLY) + private Float ts; + + /* + * A system generated property representing the resource etag required for optimistic concurrency control. + */ + @JsonProperty(value = "_etag", access = JsonProperty.Access.WRITE_ONLY) + private String etag; + + /** Creates an instance of ClientEncryptionKeyGetPropertiesResource class. */ + public ClientEncryptionKeyGetPropertiesResource() { + } + + /** + * Get the rid property: A system generated property. A unique identifier. + * + * @return the rid value. + */ + public String rid() { + return this.rid; + } + + /** + * Get the ts property: A system generated property that denotes the last updated timestamp of the resource. + * + * @return the ts value. + */ + public Float ts() { + return this.ts; + } + + /** + * Get the etag property: A system generated property representing the resource etag required for optimistic + * concurrency control. + * + * @return the etag value. + */ + public String etag() { + return this.etag; + } + + /** {@inheritDoc} */ + @Override + public ClientEncryptionKeyGetPropertiesResource withId(String id) { + super.withId(id); + return this; + } + + /** {@inheritDoc} */ + @Override + public ClientEncryptionKeyGetPropertiesResource withEncryptionAlgorithm(String encryptionAlgorithm) { + super.withEncryptionAlgorithm(encryptionAlgorithm); + return this; + } + + /** {@inheritDoc} */ + @Override + public ClientEncryptionKeyGetPropertiesResource withWrappedDataEncryptionKey(byte[] wrappedDataEncryptionKey) { + super.withWrappedDataEncryptionKey(wrappedDataEncryptionKey); + return this; + } + + /** {@inheritDoc} */ + @Override + public ClientEncryptionKeyGetPropertiesResource withKeyWrapMetadata(KeyWrapMetadata keyWrapMetadata) { + super.withKeyWrapMetadata(keyWrapMetadata); + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + @Override + public void validate() { + super.validate(); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionKeyResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionKeyResource.java new file mode 100644 index 0000000000000..43e2895a471d0 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionKeyResource.java @@ -0,0 +1,136 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.util.CoreUtils; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** Cosmos DB client encryption key resource object. */ +@Fluent +public class ClientEncryptionKeyResource { + /* + * Name of the ClientEncryptionKey + */ + @JsonProperty(value = "id") + private String id; + + /* + * Encryption algorithm that will be used along with this client encryption key to encrypt/decrypt data. + */ + @JsonProperty(value = "encryptionAlgorithm") + private String encryptionAlgorithm; + + /* + * Wrapped (encrypted) form of the key represented as a byte array. + */ + @JsonProperty(value = "wrappedDataEncryptionKey") + private byte[] wrappedDataEncryptionKey; + + /* + * Metadata for the wrapping provider that can be used to unwrap the wrapped client encryption key. + */ + @JsonProperty(value = "keyWrapMetadata") + private KeyWrapMetadata keyWrapMetadata; + + /** Creates an instance of ClientEncryptionKeyResource class. */ + public ClientEncryptionKeyResource() { + } + + /** + * Get the id property: Name of the ClientEncryptionKey. + * + * @return the id value. + */ + public String id() { + return this.id; + } + + /** + * Set the id property: Name of the ClientEncryptionKey. + * + * @param id the id value to set. + * @return the ClientEncryptionKeyResource object itself. + */ + public ClientEncryptionKeyResource withId(String id) { + this.id = id; + return this; + } + + /** + * Get the encryptionAlgorithm property: Encryption algorithm that will be used along with this client encryption + * key to encrypt/decrypt data. + * + * @return the encryptionAlgorithm value. + */ + public String encryptionAlgorithm() { + return this.encryptionAlgorithm; + } + + /** + * Set the encryptionAlgorithm property: Encryption algorithm that will be used along with this client encryption + * key to encrypt/decrypt data. + * + * @param encryptionAlgorithm the encryptionAlgorithm value to set. + * @return the ClientEncryptionKeyResource object itself. + */ + public ClientEncryptionKeyResource withEncryptionAlgorithm(String encryptionAlgorithm) { + this.encryptionAlgorithm = encryptionAlgorithm; + return this; + } + + /** + * Get the wrappedDataEncryptionKey property: Wrapped (encrypted) form of the key represented as a byte array. + * + * @return the wrappedDataEncryptionKey value. + */ + public byte[] wrappedDataEncryptionKey() { + return CoreUtils.clone(this.wrappedDataEncryptionKey); + } + + /** + * Set the wrappedDataEncryptionKey property: Wrapped (encrypted) form of the key represented as a byte array. + * + * @param wrappedDataEncryptionKey the wrappedDataEncryptionKey value to set. + * @return the ClientEncryptionKeyResource object itself. + */ + public ClientEncryptionKeyResource withWrappedDataEncryptionKey(byte[] wrappedDataEncryptionKey) { + this.wrappedDataEncryptionKey = CoreUtils.clone(wrappedDataEncryptionKey); + return this; + } + + /** + * Get the keyWrapMetadata property: Metadata for the wrapping provider that can be used to unwrap the wrapped + * client encryption key. + * + * @return the keyWrapMetadata value. + */ + public KeyWrapMetadata keyWrapMetadata() { + return this.keyWrapMetadata; + } + + /** + * Set the keyWrapMetadata property: Metadata for the wrapping provider that can be used to unwrap the wrapped + * client encryption key. + * + * @param keyWrapMetadata the keyWrapMetadata value to set. + * @return the ClientEncryptionKeyResource object itself. + */ + public ClientEncryptionKeyResource withKeyWrapMetadata(KeyWrapMetadata keyWrapMetadata) { + this.keyWrapMetadata = keyWrapMetadata; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (keyWrapMetadata() != null) { + keyWrapMetadata().validate(); + } + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionKeysListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionKeysListResult.java new file mode 100644 index 0000000000000..a9843014c8355 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionKeysListResult.java @@ -0,0 +1,44 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.models; + +import com.azure.core.annotation.Immutable; +import com.azure.resourcemanager.cosmos.fluent.models.ClientEncryptionKeyGetResultsInner; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** The List operation response, that contains the client encryption keys and their properties. */ +@Immutable +public final class ClientEncryptionKeysListResult { + /* + * List of client encryption keys and their properties. + */ + @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) + private List value; + + /** Creates an instance of ClientEncryptionKeysListResult class. */ + public ClientEncryptionKeysListResult() { + } + + /** + * Get the value property: List of client encryption keys and their properties. + * + * @return the value value. + */ + public List value() { + return this.value; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (value() != null) { + value().forEach(e -> e.validate()); + } + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionPolicy.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionPolicy.java new file mode 100644 index 0000000000000..19df0e3ad6ed7 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClientEncryptionPolicy.java @@ -0,0 +1,91 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.util.logging.ClientLogger; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** Cosmos DB client encryption policy. */ +@Fluent +public final class ClientEncryptionPolicy { + /* + * Paths of the item that need encryption along with path-specific settings. + */ + @JsonProperty(value = "includedPaths", required = true) + private List includedPaths; + + /* + * Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and + * partition key path encryption. + */ + @JsonProperty(value = "policyFormatVersion", required = true) + private int policyFormatVersion; + + /** Creates an instance of ClientEncryptionPolicy class. */ + public ClientEncryptionPolicy() { + } + + /** + * Get the includedPaths property: Paths of the item that need encryption along with path-specific settings. + * + * @return the includedPaths value. + */ + public List includedPaths() { + return this.includedPaths; + } + + /** + * Set the includedPaths property: Paths of the item that need encryption along with path-specific settings. + * + * @param includedPaths the includedPaths value to set. + * @return the ClientEncryptionPolicy object itself. + */ + public ClientEncryptionPolicy withIncludedPaths(List includedPaths) { + this.includedPaths = includedPaths; + return this; + } + + /** + * Get the policyFormatVersion property: Version of the client encryption policy definition. Supported versions are + * 1 and 2. Version 2 supports id and partition key path encryption. + * + * @return the policyFormatVersion value. + */ + public int policyFormatVersion() { + return this.policyFormatVersion; + } + + /** + * Set the policyFormatVersion property: Version of the client encryption policy definition. Supported versions are + * 1 and 2. Version 2 supports id and partition key path encryption. + * + * @param policyFormatVersion the policyFormatVersion value to set. + * @return the ClientEncryptionPolicy object itself. + */ + public ClientEncryptionPolicy withPolicyFormatVersion(int policyFormatVersion) { + this.policyFormatVersion = policyFormatVersion; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (includedPaths() == null) { + throw LOGGER + .logExceptionAsError( + new IllegalArgumentException( + "Missing required property includedPaths in model ClientEncryptionPolicy")); + } else { + includedPaths().forEach(e -> e.validate()); + } + } + + private static final ClientLogger LOGGER = new ClientLogger(ClientEncryptionPolicy.class); +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClusterKey.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClusterKey.java index 26d3c2d2b84e3..a30e0154ea0ba 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClusterKey.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClusterKey.java @@ -22,6 +22,10 @@ public final class ClusterKey { @JsonProperty(value = "orderBy") private String orderBy; + /** Creates an instance of ClusterKey class. */ + public ClusterKey() { + } + /** * Get the name property: Name of the Cosmos DB Cassandra table cluster key. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClusterResourceProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClusterResourceProperties.java index 6a1939f41cd9c..07c210c61505f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClusterResourceProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ClusterResourceProperties.java @@ -131,6 +131,10 @@ public final class ClusterResourceProperties { @JsonProperty(value = "cassandraAuditLoggingEnabled") private Boolean cassandraAuditLoggingEnabled; + /** Creates an instance of ClusterResourceProperties class. */ + public ClusterResourceProperties() { + } + /** * Get the provisioningState property: The status of the resource at the time the operation was called. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Column.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Column.java index dfac9584cc7f4..877e13fbc4358 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Column.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Column.java @@ -22,6 +22,10 @@ public final class Column { @JsonProperty(value = "type") private String type; + /** Creates an instance of Column class. */ + public Column() { + } + /** * Get the name property: Name of the Cosmos DB Cassandra table column. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CommandPostBody.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CommandPostBody.java index d25c47a8e09d6..9b7f24f8be968 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CommandPostBody.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CommandPostBody.java @@ -44,6 +44,10 @@ public final class CommandPostBody { @JsonProperty(value = "readwrite") private Boolean readwrite; + /** Creates an instance of CommandPostBody class. */ + public CommandPostBody() { + } + /** * Get the command property: The command which should be run. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CompositePath.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CompositePath.java index 4c73a213c5c2c..48b5976d71e4f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CompositePath.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CompositePath.java @@ -23,6 +23,10 @@ public final class CompositePath { @JsonProperty(value = "order") private CompositePathSortOrder order; + /** Creates an instance of CompositePath class. */ + public CompositePath() { + } + /** * Get the path property: The path for which the indexing behavior applies to. Index paths typically start with root * and end with wildcard (/path/*). diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CompositePathSortOrder.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CompositePathSortOrder.java index 05f42322a9169..3d423dac4d96d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CompositePathSortOrder.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CompositePathSortOrder.java @@ -16,6 +16,15 @@ public final class CompositePathSortOrder extends ExpandableStringEnum /** Static value InternalError for ConnectionState. */ public static final ConnectionState INTERNAL_ERROR = fromString("InternalError"); + /** + * Creates a new instance of ConnectionState value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ConnectionState() { + } + /** * Creates or finds a ConnectionState from its string representation. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ConnectorOffer.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ConnectorOffer.java index 08859a0955065..5a6e4011c27ac 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ConnectorOffer.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ConnectorOffer.java @@ -13,6 +13,15 @@ public final class ConnectorOffer extends ExpandableStringEnum { /** Static value Small for ConnectorOffer. */ public static final ConnectorOffer SMALL = fromString("Small"); + /** + * Creates a new instance of ConnectorOffer value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ConnectorOffer() { + } + /** * Creates or finds a ConnectorOffer from its string representation. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ConsistencyPolicy.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ConsistencyPolicy.java index b27cc1bed5dcb..9720021033b83 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ConsistencyPolicy.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ConsistencyPolicy.java @@ -33,6 +33,10 @@ public final class ConsistencyPolicy { @JsonProperty(value = "maxIntervalInSeconds") private Integer maxIntervalInSeconds; + /** Creates an instance of ConsistencyPolicy class. */ + public ConsistencyPolicy() { + } + /** * Get the defaultConsistencyLevel property: The default consistency level and configuration settings of the Cosmos * DB account. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ContainerPartitionKey.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ContainerPartitionKey.java index 0ef740cd5b326..cd823a03bb5f6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ContainerPartitionKey.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ContainerPartitionKey.java @@ -36,6 +36,10 @@ public final class ContainerPartitionKey { @JsonProperty(value = "systemKey", access = JsonProperty.Access.WRITE_ONLY) private Boolean systemKey; + /** Creates an instance of ContainerPartitionKey class. */ + public ContainerPartitionKey() { + } + /** * Get the paths property: List of paths using which data within the container can be partitioned. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ContinuousBackupInformation.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ContinuousBackupInformation.java index bd5c277830623..6ed65d1ac85b1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ContinuousBackupInformation.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ContinuousBackupInformation.java @@ -16,6 +16,10 @@ public final class ContinuousBackupInformation { @JsonProperty(value = "latestRestorableTimestamp") private String latestRestorableTimestamp; + /** Creates an instance of ContinuousBackupInformation class. */ + public ContinuousBackupInformation() { + } + /** * Get the latestRestorableTimestamp property: The latest restorable timestamp for a resource. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ContinuousBackupRestoreLocation.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ContinuousBackupRestoreLocation.java index 0d49c69a8e1bc..5450250e87a4d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ContinuousBackupRestoreLocation.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ContinuousBackupRestoreLocation.java @@ -16,6 +16,10 @@ public final class ContinuousBackupRestoreLocation { @JsonProperty(value = "location") private String location; + /** Creates an instance of ContinuousBackupRestoreLocation class. */ + public ContinuousBackupRestoreLocation() { + } + /** * Get the location property: The name of the continuous backup restore location. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ContinuousModeBackupPolicy.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ContinuousModeBackupPolicy.java index 3ea5e7c441315..51d2dd7f573fb 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ContinuousModeBackupPolicy.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ContinuousModeBackupPolicy.java @@ -13,6 +13,10 @@ @JsonTypeName("Continuous") @Fluent public final class ContinuousModeBackupPolicy extends BackupPolicy { + /** Creates an instance of ContinuousModeBackupPolicy class. */ + public ContinuousModeBackupPolicy() { + } + /** {@inheritDoc} */ @Override public ContinuousModeBackupPolicy withMigrationState(BackupPolicyMigrationState migrationState) { diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CorsPolicy.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CorsPolicy.java index 688996ff41e0b..0032614c16628 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CorsPolicy.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CorsPolicy.java @@ -42,6 +42,10 @@ public final class CorsPolicy { @JsonProperty(value = "maxAgeInSeconds") private Long maxAgeInSeconds; + /** Creates an instance of CorsPolicy class. */ + public CorsPolicy() { + } + /** * Get the allowedOrigins property: The origin domains that are permitted to make a request against the service via * CORS. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CreateMode.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CreateMode.java index de978a4fd2ee3..b6becb4b10de2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CreateMode.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CreateMode.java @@ -16,6 +16,15 @@ public final class CreateMode extends ExpandableStringEnum { /** Static value Restore for CreateMode. */ public static final CreateMode RESTORE = fromString("Restore"); + /** + * Creates a new instance of CreateMode value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public CreateMode() { + } + /** * Creates or finds a CreateMode from its string representation. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CreateUpdateOptions.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CreateUpdateOptions.java index d256f82e03531..dba1461c6444e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CreateUpdateOptions.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/CreateUpdateOptions.java @@ -25,6 +25,10 @@ public final class CreateUpdateOptions { @JsonProperty(value = "autoscaleSettings") private AutoscaleSettings autoscaleSettings; + /** Creates an instance of CreateUpdateOptions class. */ + public CreateUpdateOptions() { + } + /** * Get the throughput property: Request Units per second. For example, "throughput": 10000. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DataCenterResourceProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DataCenterResourceProperties.java index f3d4d532b4617..0c87f42fe32bc 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DataCenterResourceProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DataCenterResourceProperties.java @@ -93,6 +93,10 @@ public final class DataCenterResourceProperties { @JsonProperty(value = "availabilityZone") private Boolean availabilityZone; + /** Creates an instance of DataCenterResourceProperties class. */ + public DataCenterResourceProperties() { + } + /** * Get the provisioningState property: The status of the resource at the time the operation was called. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DataTransferRegionalServiceResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DataTransferRegionalServiceResource.java index ee59445caa857..a0cf52be015a1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DataTransferRegionalServiceResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DataTransferRegionalServiceResource.java @@ -9,6 +9,10 @@ /** Resource for a regional service location. */ @Immutable public final class DataTransferRegionalServiceResource extends RegionalServiceResource { + /** Creates an instance of DataTransferRegionalServiceResource class. */ + public DataTransferRegionalServiceResource() { + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DataTransferServiceResourceProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DataTransferServiceResourceProperties.java index 6f28c8c68d1db..495aa73ff4e95 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DataTransferServiceResourceProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DataTransferServiceResourceProperties.java @@ -21,6 +21,10 @@ public final class DataTransferServiceResourceProperties extends ServiceResource @JsonProperty(value = "locations", access = JsonProperty.Access.WRITE_ONLY) private List locations; + /** Creates an instance of DataTransferServiceResourceProperties class. */ + public DataTransferServiceResourceProperties() { + } + /** * Get the locations property: An array that contains all of the locations for the service. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DataType.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DataType.java index 4335de3991144..f3fb14b238644 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DataType.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DataType.java @@ -28,6 +28,15 @@ public final class DataType extends ExpandableStringEnum { /** Static value MultiPolygon for DataType. */ public static final DataType MULTI_POLYGON = fromString("MultiPolygon"); + /** + * Creates a new instance of DataType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public DataType() { + } + /** * Creates or finds a DataType from its string representation. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DatabaseAccountConnectionString.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DatabaseAccountConnectionString.java index 257ee88777b2a..3fd76ee0b6306 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DatabaseAccountConnectionString.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DatabaseAccountConnectionString.java @@ -22,6 +22,10 @@ public final class DatabaseAccountConnectionString { @JsonProperty(value = "description", access = JsonProperty.Access.WRITE_ONLY) private String description; + /** Creates an instance of DatabaseAccountConnectionString class. */ + public DatabaseAccountConnectionString() { + } + /** * Get the connectionString property: Value of the connection string. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DatabaseAccountCreateUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DatabaseAccountCreateUpdateParameters.java index df773d4655791..28dfddea3736b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DatabaseAccountCreateUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DatabaseAccountCreateUpdateParameters.java @@ -32,6 +32,10 @@ public final class DatabaseAccountCreateUpdateParameters extends ArmResourceProp @JsonProperty(value = "properties", required = true) private DatabaseAccountCreateUpdateProperties innerProperties = new DatabaseAccountCreateUpdateProperties(); + /** Creates an instance of DatabaseAccountCreateUpdateParameters class. */ + public DatabaseAccountCreateUpdateParameters() { + } + /** * Get the kind property: Indicates the type of database account. This can only be set at database account creation. * @@ -776,6 +780,31 @@ public DatabaseAccountCreateUpdateParameters withEnablePartitionMerge(Boolean en return this; } + /** + * Get the minimalTlsVersion property: Indicates the minimum allowed Tls version. The default is Tls 1.0, except for + * Cassandra and Mongo API's, which only work with Tls 1.2. + * + * @return the minimalTlsVersion value. + */ + public MinimalTlsVersion minimalTlsVersion() { + return this.innerProperties() == null ? null : this.innerProperties().minimalTlsVersion(); + } + + /** + * Set the minimalTlsVersion property: Indicates the minimum allowed Tls version. The default is Tls 1.0, except for + * Cassandra and Mongo API's, which only work with Tls 1.2. + * + * @param minimalTlsVersion the minimalTlsVersion value to set. + * @return the DatabaseAccountCreateUpdateParameters object itself. + */ + public DatabaseAccountCreateUpdateParameters withMinimalTlsVersion(MinimalTlsVersion minimalTlsVersion) { + if (this.innerProperties() == null) { + this.innerProperties = new DatabaseAccountCreateUpdateProperties(); + } + this.innerProperties().withMinimalTlsVersion(minimalTlsVersion); + return this; + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DatabaseAccountKeysMetadata.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DatabaseAccountKeysMetadata.java index f4ad245b38e2c..ed59b21504e0d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DatabaseAccountKeysMetadata.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DatabaseAccountKeysMetadata.java @@ -34,6 +34,10 @@ public final class DatabaseAccountKeysMetadata { @JsonProperty(value = "secondaryReadonlyMasterKey", access = JsonProperty.Access.WRITE_ONLY) private AccountKeyMetadata secondaryReadonlyMasterKey; + /** Creates an instance of DatabaseAccountKeysMetadata class. */ + public DatabaseAccountKeysMetadata() { + } + /** * Get the primaryMasterKey property: The metadata related to the Primary Read-Write Key for the given Cosmos DB * database account. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DatabaseAccountKind.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DatabaseAccountKind.java index 1c93c8bf8971b..932f648359db7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DatabaseAccountKind.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DatabaseAccountKind.java @@ -19,6 +19,15 @@ public final class DatabaseAccountKind extends ExpandableStringEnum value; + /** Creates an instance of DatabaseAccountsListResult class. */ + public DatabaseAccountsListResult() { + } + /** * Get the value property: List of database account and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DatabaseRestoreResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DatabaseRestoreResource.java index d286e8eea003f..eecbca756833a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DatabaseRestoreResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DatabaseRestoreResource.java @@ -23,6 +23,10 @@ public final class DatabaseRestoreResource { @JsonProperty(value = "collectionNames") private List collectionNames; + /** Creates an instance of DatabaseRestoreResource class. */ + public DatabaseRestoreResource() { + } + /** * Get the databaseName property: The name of the database available for restore. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ExcludedPath.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ExcludedPath.java index 025fed1e60b02..3c37b60cc8b58 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ExcludedPath.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ExcludedPath.java @@ -17,6 +17,10 @@ public final class ExcludedPath { @JsonProperty(value = "path") private String path; + /** Creates an instance of ExcludedPath class. */ + public ExcludedPath() { + } + /** * Get the path property: The path for which the indexing behavior applies to. Index paths typically start with root * and end with wildcard (/path/*). diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ExtendedResourceProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ExtendedResourceProperties.java index 786c064cc78b2..65876f87e8a13 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ExtendedResourceProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ExtendedResourceProperties.java @@ -31,6 +31,10 @@ public class ExtendedResourceProperties { @JsonProperty(value = "_etag", access = JsonProperty.Access.WRITE_ONLY) private String etag; + /** Creates an instance of ExtendedResourceProperties class. */ + public ExtendedResourceProperties() { + } + /** * Get the rid property: A system generated property. A unique identifier. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/FailoverPolicies.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/FailoverPolicies.java index 14bcd960c3e0b..b1193f357d2ec 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/FailoverPolicies.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/FailoverPolicies.java @@ -18,6 +18,10 @@ public final class FailoverPolicies { @JsonProperty(value = "failoverPolicies", required = true) private List failoverPolicies; + /** Creates an instance of FailoverPolicies class. */ + public FailoverPolicies() { + } + /** * Get the failoverPolicies property: List of failover policies. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/FailoverPolicy.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/FailoverPolicy.java index cbd81bcd85b3b..74bb7df332364 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/FailoverPolicy.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/FailoverPolicy.java @@ -31,6 +31,10 @@ public final class FailoverPolicy { @JsonProperty(value = "failoverPriority") private Integer failoverPriority; + /** Creates an instance of FailoverPolicy class. */ + public FailoverPolicy() { + } + /** * Get the id property: The unique identifier of the region in which the database account replicates to. Example: * &lt;accountName&gt;-&lt;locationName&gt;. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GraphApiComputeRegionalServiceResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GraphApiComputeRegionalServiceResource.java index 5c4a49f09d6b5..2e8bdeb57936d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GraphApiComputeRegionalServiceResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GraphApiComputeRegionalServiceResource.java @@ -16,6 +16,10 @@ public final class GraphApiComputeRegionalServiceResource extends RegionalServic @JsonProperty(value = "graphApiComputeEndpoint", access = JsonProperty.Access.WRITE_ONLY) private String graphApiComputeEndpoint; + /** Creates an instance of GraphApiComputeRegionalServiceResource class. */ + public GraphApiComputeRegionalServiceResource() { + } + /** * Get the graphApiComputeEndpoint property: The regional endpoint for GraphAPICompute. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GraphApiComputeServiceResourceProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GraphApiComputeServiceResourceProperties.java index 0dd7c7b1ba7c8..95ddbb540834b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GraphApiComputeServiceResourceProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GraphApiComputeServiceResourceProperties.java @@ -27,6 +27,10 @@ public final class GraphApiComputeServiceResourceProperties extends ServiceResou @JsonProperty(value = "locations", access = JsonProperty.Access.WRITE_ONLY) private List locations; + /** Creates an instance of GraphApiComputeServiceResourceProperties class. */ + public GraphApiComputeServiceResourceProperties() { + } + /** * Get the graphApiComputeEndpoint property: GraphAPICompute endpoint for the service. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseCreateUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseCreateUpdateParameters.java index 1e4b3d5a35869..7599e8c4392c5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseCreateUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseCreateUpdateParameters.java @@ -19,6 +19,10 @@ public final class GremlinDatabaseCreateUpdateParameters extends ArmResourceProp @JsonProperty(value = "properties", required = true) private GremlinDatabaseCreateUpdateProperties innerProperties = new GremlinDatabaseCreateUpdateProperties(); + /** Creates an instance of GremlinDatabaseCreateUpdateParameters class. */ + public GremlinDatabaseCreateUpdateParameters() { + } + /** * Get the innerProperties property: Properties to create and update Azure Cosmos DB Gremlin database. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseGetPropertiesOptions.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseGetPropertiesOptions.java index 8cc1a20ca33c4..afa28cbfb6ea4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseGetPropertiesOptions.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseGetPropertiesOptions.java @@ -9,6 +9,10 @@ /** The GremlinDatabaseGetPropertiesOptions model. */ @Fluent public final class GremlinDatabaseGetPropertiesOptions extends OptionsResource { + /** Creates an instance of GremlinDatabaseGetPropertiesOptions class. */ + public GremlinDatabaseGetPropertiesOptions() { + } + /** {@inheritDoc} */ @Override public GremlinDatabaseGetPropertiesOptions withThroughput(Integer throughput) { diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseGetPropertiesResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseGetPropertiesResource.java index 7b09746c90b98..4385faada5287 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseGetPropertiesResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseGetPropertiesResource.java @@ -28,6 +28,10 @@ public final class GremlinDatabaseGetPropertiesResource extends GremlinDatabaseR @JsonProperty(value = "_etag", access = JsonProperty.Access.WRITE_ONLY) private String etag; + /** Creates an instance of GremlinDatabaseGetPropertiesResource class. */ + public GremlinDatabaseGetPropertiesResource() { + } + /** * Get the rid property: A system generated property. A unique identifier. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseListResult.java index 8ba1daee7ee74..5e2972e7a120e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseListResult.java @@ -18,6 +18,10 @@ public final class GremlinDatabaseListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of GremlinDatabaseListResult class. */ + public GremlinDatabaseListResult() { + } + /** * Get the value property: List of Gremlin databases and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseResource.java index f7350714460d6..ae33198635057 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseResource.java @@ -17,6 +17,10 @@ public class GremlinDatabaseResource { @JsonProperty(value = "id", required = true) private String id; + /** Creates an instance of GremlinDatabaseResource class. */ + public GremlinDatabaseResource() { + } + /** * Get the id property: Name of the Cosmos DB Gremlin database. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseRestoreResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseRestoreResource.java new file mode 100644 index 0000000000000..08e35c4fa34f1 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinDatabaseRestoreResource.java @@ -0,0 +1,77 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** Specific Gremlin Databases to restore. */ +@Fluent +public final class GremlinDatabaseRestoreResource { + /* + * The name of the gremlin database available for restore. + */ + @JsonProperty(value = "databaseName") + private String databaseName; + + /* + * The names of the graphs available for restore. + */ + @JsonProperty(value = "graphNames") + private List graphNames; + + /** Creates an instance of GremlinDatabaseRestoreResource class. */ + public GremlinDatabaseRestoreResource() { + } + + /** + * Get the databaseName property: The name of the gremlin database available for restore. + * + * @return the databaseName value. + */ + public String databaseName() { + return this.databaseName; + } + + /** + * Set the databaseName property: The name of the gremlin database available for restore. + * + * @param databaseName the databaseName value to set. + * @return the GremlinDatabaseRestoreResource object itself. + */ + public GremlinDatabaseRestoreResource withDatabaseName(String databaseName) { + this.databaseName = databaseName; + return this; + } + + /** + * Get the graphNames property: The names of the graphs available for restore. + * + * @return the graphNames value. + */ + public List graphNames() { + return this.graphNames; + } + + /** + * Set the graphNames property: The names of the graphs available for restore. + * + * @param graphNames the graphNames value to set. + * @return the GremlinDatabaseRestoreResource object itself. + */ + public GremlinDatabaseRestoreResource withGraphNames(List graphNames) { + this.graphNames = graphNames; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinGraphCreateUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinGraphCreateUpdateParameters.java index 1307acf60d08e..c1b73823cf440 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinGraphCreateUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinGraphCreateUpdateParameters.java @@ -19,6 +19,10 @@ public final class GremlinGraphCreateUpdateParameters extends ArmResourcePropert @JsonProperty(value = "properties", required = true) private GremlinGraphCreateUpdateProperties innerProperties = new GremlinGraphCreateUpdateProperties(); + /** Creates an instance of GremlinGraphCreateUpdateParameters class. */ + public GremlinGraphCreateUpdateParameters() { + } + /** * Get the innerProperties property: Properties to create and update Azure Cosmos DB Gremlin graph. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinGraphGetPropertiesOptions.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinGraphGetPropertiesOptions.java index 4dae541fafa3d..d84c24b35a687 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinGraphGetPropertiesOptions.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinGraphGetPropertiesOptions.java @@ -9,6 +9,10 @@ /** The GremlinGraphGetPropertiesOptions model. */ @Fluent public final class GremlinGraphGetPropertiesOptions extends OptionsResource { + /** Creates an instance of GremlinGraphGetPropertiesOptions class. */ + public GremlinGraphGetPropertiesOptions() { + } + /** {@inheritDoc} */ @Override public GremlinGraphGetPropertiesOptions withThroughput(Integer throughput) { diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinGraphGetPropertiesResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinGraphGetPropertiesResource.java index e6caf53b65d27..1af5c22aa675d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinGraphGetPropertiesResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinGraphGetPropertiesResource.java @@ -28,6 +28,10 @@ public final class GremlinGraphGetPropertiesResource extends GremlinGraphResourc @JsonProperty(value = "_etag", access = JsonProperty.Access.WRITE_ONLY) private String etag; + /** Creates an instance of GremlinGraphGetPropertiesResource class. */ + public GremlinGraphGetPropertiesResource() { + } + /** * Get the rid property: A system generated property. A unique identifier. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinGraphListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinGraphListResult.java index a207a5cb2617c..adb47283ee7e9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinGraphListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinGraphListResult.java @@ -18,6 +18,10 @@ public final class GremlinGraphListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of GremlinGraphListResult class. */ + public GremlinGraphListResult() { + } + /** * Get the value property: List of graphs and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinGraphResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinGraphResource.java index bcb6f1992f804..65e2e17cde03d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinGraphResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/GremlinGraphResource.java @@ -55,6 +55,10 @@ public class GremlinGraphResource { @JsonProperty(value = "analyticalStorageTtl") private Long analyticalStorageTtl; + /** Creates an instance of GremlinGraphResource class. */ + public GremlinGraphResource() { + } + /** * Get the id property: Name of the Cosmos DB Gremlin graph. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/IncludedPath.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/IncludedPath.java index 4975a1929bf1f..b661b0e11457f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/IncludedPath.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/IncludedPath.java @@ -24,6 +24,10 @@ public final class IncludedPath { @JsonProperty(value = "indexes") private List indexes; + /** Creates an instance of IncludedPath class. */ + public IncludedPath() { + } + /** * Get the path property: The path for which the indexing behavior applies to. Index paths typically start with root * and end with wildcard (/path/*). diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/IndexKind.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/IndexKind.java index 6a662923713e4..97d63cb4fb756 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/IndexKind.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/IndexKind.java @@ -19,6 +19,15 @@ public final class IndexKind extends ExpandableStringEnum { /** Static value Spatial for IndexKind. */ public static final IndexKind SPATIAL = fromString("Spatial"); + /** + * Creates a new instance of IndexKind value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public IndexKind() { + } + /** * Creates or finds a IndexKind from its string representation. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Indexes.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Indexes.java index 2e238d67baf88..87066d4acc794 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Indexes.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Indexes.java @@ -28,6 +28,10 @@ public final class Indexes { @JsonProperty(value = "kind") private IndexKind kind; + /** Creates an instance of Indexes class. */ + public Indexes() { + } + /** * Get the dataType property: The datatype for which the indexing behavior is applied to. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/IndexingMode.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/IndexingMode.java index 7b6ef57dfb249..ec875af5591d1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/IndexingMode.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/IndexingMode.java @@ -19,6 +19,15 @@ public final class IndexingMode extends ExpandableStringEnum { /** Static value none for IndexingMode. */ public static final IndexingMode NONE = fromString("none"); + /** + * Creates a new instance of IndexingMode value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public IndexingMode() { + } + /** * Creates or finds a IndexingMode from its string representation. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/IndexingPolicy.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/IndexingPolicy.java index 69c2c8f4406ec..66f818d20b2b1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/IndexingPolicy.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/IndexingPolicy.java @@ -47,6 +47,10 @@ public final class IndexingPolicy { @JsonProperty(value = "spatialIndexes") private List spatialIndexes; + /** Creates an instance of IndexingPolicy class. */ + public IndexingPolicy() { + } + /** * Get the automatic property: Indicates if the indexing policy is automatic. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/IpAddressOrRange.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/IpAddressOrRange.java index 076c621ae6e7b..6ff90297ed676 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/IpAddressOrRange.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/IpAddressOrRange.java @@ -19,6 +19,10 @@ public final class IpAddressOrRange { @JsonProperty(value = "ipAddressOrRange") private String ipAddressOrRange; + /** Creates an instance of IpAddressOrRange class. */ + public IpAddressOrRange() { + } + /** * Get the ipAddressOrRange property: A single IPv4 address or a single IPv4 address range in CIDR format. Provided * IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/KeyKind.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/KeyKind.java index b7c515a1622a1..26cf92e28aeed 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/KeyKind.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/KeyKind.java @@ -22,6 +22,15 @@ public final class KeyKind extends ExpandableStringEnum { /** Static value secondaryReadonly for KeyKind. */ public static final KeyKind SECONDARY_READONLY = fromString("secondaryReadonly"); + /** + * Creates a new instance of KeyKind value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public KeyKind() { + } + /** * Creates or finds a KeyKind from its string representation. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/KeyWrapMetadata.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/KeyWrapMetadata.java new file mode 100644 index 0000000000000..61886da2d8743 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/KeyWrapMetadata.java @@ -0,0 +1,128 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** Represents key wrap metadata that a key wrapping provider can use to wrap/unwrap a client encryption key. */ +@Fluent +public final class KeyWrapMetadata { + /* + * The name of associated KeyEncryptionKey (aka CustomerManagedKey). + */ + @JsonProperty(value = "name") + private String name; + + /* + * ProviderName of KeyStoreProvider. + */ + @JsonProperty(value = "type") + private String type; + + /* + * Reference / link to the KeyEncryptionKey. + */ + @JsonProperty(value = "value") + private String value; + + /* + * Algorithm used in wrapping and unwrapping of the data encryption key. + */ + @JsonProperty(value = "algorithm") + private String algorithm; + + /** Creates an instance of KeyWrapMetadata class. */ + public KeyWrapMetadata() { + } + + /** + * Get the name property: The name of associated KeyEncryptionKey (aka CustomerManagedKey). + * + * @return the name value. + */ + public String name() { + return this.name; + } + + /** + * Set the name property: The name of associated KeyEncryptionKey (aka CustomerManagedKey). + * + * @param name the name value to set. + * @return the KeyWrapMetadata object itself. + */ + public KeyWrapMetadata withName(String name) { + this.name = name; + return this; + } + + /** + * Get the type property: ProviderName of KeyStoreProvider. + * + * @return the type value. + */ + public String type() { + return this.type; + } + + /** + * Set the type property: ProviderName of KeyStoreProvider. + * + * @param type the type value to set. + * @return the KeyWrapMetadata object itself. + */ + public KeyWrapMetadata withType(String type) { + this.type = type; + return this; + } + + /** + * Get the value property: Reference / link to the KeyEncryptionKey. + * + * @return the value value. + */ + public String value() { + return this.value; + } + + /** + * Set the value property: Reference / link to the KeyEncryptionKey. + * + * @param value the value value to set. + * @return the KeyWrapMetadata object itself. + */ + public KeyWrapMetadata withValue(String value) { + this.value = value; + return this; + } + + /** + * Get the algorithm property: Algorithm used in wrapping and unwrapping of the data encryption key. + * + * @return the algorithm value. + */ + public String algorithm() { + return this.algorithm; + } + + /** + * Set the algorithm property: Algorithm used in wrapping and unwrapping of the data encryption key. + * + * @param algorithm the algorithm value to set. + * @return the KeyWrapMetadata object itself. + */ + public KeyWrapMetadata withAlgorithm(String algorithm) { + this.algorithm = algorithm; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ListClusters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ListClusters.java index 5d8ecc4c499df..9b053c889b16b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ListClusters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ListClusters.java @@ -18,6 +18,10 @@ public final class ListClusters { @JsonProperty(value = "value") private List value; + /** Creates an instance of ListClusters class. */ + public ListClusters() { + } + /** * Get the value property: Container for the array of clusters. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ListDataCenters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ListDataCenters.java index ce01180f9e096..582a9d54d1fe0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ListDataCenters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ListDataCenters.java @@ -18,6 +18,10 @@ public final class ListDataCenters { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of ListDataCenters class. */ + public ListDataCenters() { + } + /** * Get the value property: Container for array of data centers. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Location.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Location.java index d130ce0ac23d0..28d3b53503c02 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Location.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Location.java @@ -55,6 +55,10 @@ public final class Location { @JsonProperty(value = "isZoneRedundant") private Boolean isZoneRedundant; + /** Creates an instance of Location class. */ + public Location() { + } + /** * Get the id property: The unique identifier of the region within the database account. Example: * &lt;accountName&gt;-&lt;locationName&gt;. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/LocationListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/LocationListResult.java index 057d4e43fe33d..a4287678ec796 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/LocationListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/LocationListResult.java @@ -18,6 +18,10 @@ public final class LocationListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of LocationListResult class. */ + public LocationListResult() { + } + /** * Get the value property: List of Cosmos DB locations and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/LocationProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/LocationProperties.java index defbc01d9b468..b0e4c2a692c61 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/LocationProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/LocationProperties.java @@ -29,6 +29,10 @@ public final class LocationProperties { @JsonProperty(value = "backupStorageRedundancies", access = JsonProperty.Access.WRITE_ONLY) private List backupStorageRedundancies; + /** Creates an instance of LocationProperties class. */ + public LocationProperties() { + } + /** * Get the supportsAvailabilityZone property: Flag indicating whether the location supports availability zones or * not. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedCassandraArmResourceProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedCassandraArmResourceProperties.java index 4761c8688b9f0..83fffb6f847a9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedCassandraArmResourceProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedCassandraArmResourceProperties.java @@ -18,6 +18,10 @@ public class ManagedCassandraArmResourceProperties extends Resource { @JsonProperty(value = "identity") private ManagedCassandraManagedServiceIdentity identity; + /** Creates an instance of ManagedCassandraArmResourceProperties class. */ + public ManagedCassandraArmResourceProperties() { + } + /** * Get the identity property: Identity for the resource. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedCassandraManagedServiceIdentity.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedCassandraManagedServiceIdentity.java index 4d3ed0b277730..a9dd5690e62cb 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedCassandraManagedServiceIdentity.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedCassandraManagedServiceIdentity.java @@ -28,6 +28,10 @@ public class ManagedCassandraManagedServiceIdentity { @JsonProperty(value = "type") private ManagedCassandraResourceIdentityType type; + /** Creates an instance of ManagedCassandraManagedServiceIdentity class. */ + public ManagedCassandraManagedServiceIdentity() { + } + /** * Get the principalId property: The object id of the identity resource. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedCassandraProvisioningState.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedCassandraProvisioningState.java index a8c826c4ac973..2126f9e66a376 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedCassandraProvisioningState.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedCassandraProvisioningState.java @@ -28,6 +28,15 @@ public final class ManagedCassandraProvisioningState extends ExpandableStringEnu /** Static value Canceled for ManagedCassandraProvisioningState. */ public static final ManagedCassandraProvisioningState CANCELED = fromString("Canceled"); + /** + * Creates a new instance of ManagedCassandraProvisioningState value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ManagedCassandraProvisioningState() { + } + /** * Creates or finds a ManagedCassandraProvisioningState from its string representation. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedCassandraReaperStatus.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedCassandraReaperStatus.java index 4635b62a4ec76..da0c33f2bb591 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedCassandraReaperStatus.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedCassandraReaperStatus.java @@ -32,6 +32,10 @@ public final class ManagedCassandraReaperStatus { @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS) private Map repairSchedules; + /** Creates an instance of ManagedCassandraReaperStatus class. */ + public ManagedCassandraReaperStatus() { + } + /** * Get the healthy property: The healthy property. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedCassandraResourceIdentityType.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedCassandraResourceIdentityType.java index c7e4dd07f429b..deb84c45c033f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedCassandraResourceIdentityType.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedCassandraResourceIdentityType.java @@ -17,6 +17,15 @@ public final class ManagedCassandraResourceIdentityType /** Static value None for ManagedCassandraResourceIdentityType. */ public static final ManagedCassandraResourceIdentityType NONE = fromString("None"); + /** + * Creates a new instance of ManagedCassandraResourceIdentityType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ManagedCassandraResourceIdentityType() { + } + /** * Creates or finds a ManagedCassandraResourceIdentityType from its string representation. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedServiceIdentity.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedServiceIdentity.java index ff9a3c6e1d5f8..0beca6ed92f78 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedServiceIdentity.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedServiceIdentity.java @@ -43,6 +43,10 @@ public class ManagedServiceIdentity { @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS) private Map userAssignedIdentities; + /** Creates an instance of ManagedServiceIdentity class. */ + public ManagedServiceIdentity() { + } + /** * Get the principalId property: The principal id of the system assigned identity. This property will only be * provided for a system assigned identity. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedServiceIdentityUserAssignedIdentities.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedServiceIdentityUserAssignedIdentities.java index 0a3721eaf6055..594b48ffb3a3e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedServiceIdentityUserAssignedIdentities.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ManagedServiceIdentityUserAssignedIdentities.java @@ -22,6 +22,10 @@ public final class ManagedServiceIdentityUserAssignedIdentities { @JsonProperty(value = "clientId", access = JsonProperty.Access.WRITE_ONLY) private String clientId; + /** Creates an instance of ManagedServiceIdentityUserAssignedIdentities class. */ + public ManagedServiceIdentityUserAssignedIdentities() { + } + /** * Get the principalId property: The principal id of user assigned identity. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MaterializedViewsBuilderRegionalServiceResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MaterializedViewsBuilderRegionalServiceResource.java index b3012fa777bb3..5f4052da7b639 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MaterializedViewsBuilderRegionalServiceResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MaterializedViewsBuilderRegionalServiceResource.java @@ -9,6 +9,10 @@ /** Resource for a regional service location. */ @Immutable public final class MaterializedViewsBuilderRegionalServiceResource extends RegionalServiceResource { + /** Creates an instance of MaterializedViewsBuilderRegionalServiceResource class. */ + public MaterializedViewsBuilderRegionalServiceResource() { + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MaterializedViewsBuilderServiceResourceProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MaterializedViewsBuilderServiceResourceProperties.java index 608874b1edbec..9903b681b9500 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MaterializedViewsBuilderServiceResourceProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MaterializedViewsBuilderServiceResourceProperties.java @@ -21,6 +21,10 @@ public final class MaterializedViewsBuilderServiceResourceProperties extends Ser @JsonProperty(value = "locations", access = JsonProperty.Access.WRITE_ONLY) private List locations; + /** Creates an instance of MaterializedViewsBuilderServiceResourceProperties class. */ + public MaterializedViewsBuilderServiceResourceProperties() { + } + /** * Get the locations property: An array that contains all of the locations for the service. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MetricAvailability.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MetricAvailability.java index f86a2523c4cd8..89bf969c5e217 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MetricAvailability.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MetricAvailability.java @@ -22,6 +22,10 @@ public final class MetricAvailability { @JsonProperty(value = "retention", access = JsonProperty.Access.WRITE_ONLY) private String retention; + /** Creates an instance of MetricAvailability class. */ + public MetricAvailability() { + } + /** * Get the timeGrain property: The time grain to be used to summarize the metric values. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MetricDefinitionsListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MetricDefinitionsListResult.java index 7def3d8cbda60..a1b381a3a1059 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MetricDefinitionsListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MetricDefinitionsListResult.java @@ -18,6 +18,10 @@ public final class MetricDefinitionsListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of MetricDefinitionsListResult class. */ + public MetricDefinitionsListResult() { + } + /** * Get the value property: The list of metric definitions for the account. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MetricListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MetricListResult.java index e7cbfede0c32b..d9204703c9eb5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MetricListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MetricListResult.java @@ -18,6 +18,10 @@ public final class MetricListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of MetricListResult class. */ + public MetricListResult() { + } + /** * Get the value property: The list of metrics for the account. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MetricName.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MetricName.java index a695f5243a076..d855d9aca8740 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MetricName.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MetricName.java @@ -22,6 +22,10 @@ public final class MetricName { @JsonProperty(value = "localizedValue", access = JsonProperty.Access.WRITE_ONLY) private String localizedValue; + /** Creates an instance of MetricName class. */ + public MetricName() { + } + /** * Get the value property: The name of the metric. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MetricValue.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MetricValue.java index 37845fe07300e..7ed65d28793f0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MetricValue.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MetricValue.java @@ -47,6 +47,10 @@ public class MetricValue { @JsonProperty(value = "total", access = JsonProperty.Access.WRITE_ONLY) private Double total; + /** Creates an instance of MetricValue class. */ + public MetricValue() { + } + /** * Get the count property: The number of values for the metric. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MinimalTlsVersion.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MinimalTlsVersion.java new file mode 100644 index 0000000000000..2e6ab09c7814c --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MinimalTlsVersion.java @@ -0,0 +1,53 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** + * Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only + * work with Tls 1.2. + */ +public final class MinimalTlsVersion extends ExpandableStringEnum { + /** Static value Tls for MinimalTlsVersion. */ + public static final MinimalTlsVersion TLS = fromString("Tls"); + + /** Static value Tls11 for MinimalTlsVersion. */ + public static final MinimalTlsVersion TLS11 = fromString("Tls11"); + + /** Static value Tls12 for MinimalTlsVersion. */ + public static final MinimalTlsVersion TLS12 = fromString("Tls12"); + + /** + * Creates a new instance of MinimalTlsVersion value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public MinimalTlsVersion() { + } + + /** + * Creates or finds a MinimalTlsVersion from its string representation. + * + * @param name a name to look for. + * @return the corresponding MinimalTlsVersion. + */ + @JsonCreator + public static MinimalTlsVersion fromString(String name) { + return fromString(name, MinimalTlsVersion.class); + } + + /** + * Gets known MinimalTlsVersion values. + * + * @return known MinimalTlsVersion values. + */ + public static Collection values() { + return values(MinimalTlsVersion.class); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBCollectionCreateUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBCollectionCreateUpdateParameters.java index e8f43987c706d..40edf21abbd75 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBCollectionCreateUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBCollectionCreateUpdateParameters.java @@ -19,6 +19,10 @@ public final class MongoDBCollectionCreateUpdateParameters extends ArmResourcePr @JsonProperty(value = "properties", required = true) private MongoDBCollectionCreateUpdateProperties innerProperties = new MongoDBCollectionCreateUpdateProperties(); + /** Creates an instance of MongoDBCollectionCreateUpdateParameters class. */ + public MongoDBCollectionCreateUpdateParameters() { + } + /** * Get the innerProperties property: Properties to create and update Azure Cosmos DB MongoDB collection. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBCollectionGetPropertiesOptions.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBCollectionGetPropertiesOptions.java index 387745c67d31e..327ce43416a66 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBCollectionGetPropertiesOptions.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBCollectionGetPropertiesOptions.java @@ -9,6 +9,10 @@ /** The MongoDBCollectionGetPropertiesOptions model. */ @Fluent public final class MongoDBCollectionGetPropertiesOptions extends OptionsResource { + /** Creates an instance of MongoDBCollectionGetPropertiesOptions class. */ + public MongoDBCollectionGetPropertiesOptions() { + } + /** {@inheritDoc} */ @Override public MongoDBCollectionGetPropertiesOptions withThroughput(Integer throughput) { diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBCollectionGetPropertiesResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBCollectionGetPropertiesResource.java index cbde0028f02c9..1d6eac21b3cef 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBCollectionGetPropertiesResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBCollectionGetPropertiesResource.java @@ -30,6 +30,10 @@ public final class MongoDBCollectionGetPropertiesResource extends MongoDBCollect @JsonProperty(value = "_etag", access = JsonProperty.Access.WRITE_ONLY) private String etag; + /** Creates an instance of MongoDBCollectionGetPropertiesResource class. */ + public MongoDBCollectionGetPropertiesResource() { + } + /** * Get the rid property: A system generated property. A unique identifier. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBCollectionListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBCollectionListResult.java index 9e11cc9e6cd2b..4658506fe524b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBCollectionListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBCollectionListResult.java @@ -18,6 +18,10 @@ public final class MongoDBCollectionListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of MongoDBCollectionListResult class. */ + public MongoDBCollectionListResult() { + } + /** * Get the value property: List of MongoDB collections and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBCollectionResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBCollectionResource.java index 1bd69c957fa9b..4f77d943b2785 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBCollectionResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBCollectionResource.java @@ -39,6 +39,10 @@ public class MongoDBCollectionResource { @JsonProperty(value = "analyticalStorageTtl") private Integer analyticalStorageTtl; + /** Creates an instance of MongoDBCollectionResource class. */ + public MongoDBCollectionResource() { + } + /** * Get the id property: Name of the Cosmos DB MongoDB collection. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBDatabaseCreateUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBDatabaseCreateUpdateParameters.java index f3611ae7b301b..f3e0e10e1f835 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBDatabaseCreateUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBDatabaseCreateUpdateParameters.java @@ -19,6 +19,10 @@ public final class MongoDBDatabaseCreateUpdateParameters extends ArmResourceProp @JsonProperty(value = "properties", required = true) private MongoDBDatabaseCreateUpdateProperties innerProperties = new MongoDBDatabaseCreateUpdateProperties(); + /** Creates an instance of MongoDBDatabaseCreateUpdateParameters class. */ + public MongoDBDatabaseCreateUpdateParameters() { + } + /** * Get the innerProperties property: Properties to create and update Azure Cosmos DB MongoDB database. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBDatabaseGetPropertiesOptions.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBDatabaseGetPropertiesOptions.java index 4d09f097a87b7..a4dcf5c72ddfa 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBDatabaseGetPropertiesOptions.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBDatabaseGetPropertiesOptions.java @@ -9,6 +9,10 @@ /** The MongoDBDatabaseGetPropertiesOptions model. */ @Fluent public final class MongoDBDatabaseGetPropertiesOptions extends OptionsResource { + /** Creates an instance of MongoDBDatabaseGetPropertiesOptions class. */ + public MongoDBDatabaseGetPropertiesOptions() { + } + /** {@inheritDoc} */ @Override public MongoDBDatabaseGetPropertiesOptions withThroughput(Integer throughput) { diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBDatabaseGetPropertiesResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBDatabaseGetPropertiesResource.java index 049bf2a98ae57..07529c280cada 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBDatabaseGetPropertiesResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBDatabaseGetPropertiesResource.java @@ -28,6 +28,10 @@ public final class MongoDBDatabaseGetPropertiesResource extends MongoDBDatabaseR @JsonProperty(value = "_etag", access = JsonProperty.Access.WRITE_ONLY) private String etag; + /** Creates an instance of MongoDBDatabaseGetPropertiesResource class. */ + public MongoDBDatabaseGetPropertiesResource() { + } + /** * Get the rid property: A system generated property. A unique identifier. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBDatabaseListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBDatabaseListResult.java index 89f2e95939c56..42f4cdd76edb3 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBDatabaseListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBDatabaseListResult.java @@ -18,6 +18,10 @@ public final class MongoDBDatabaseListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of MongoDBDatabaseListResult class. */ + public MongoDBDatabaseListResult() { + } + /** * Get the value property: List of MongoDB databases and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBDatabaseResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBDatabaseResource.java index ba9b4ccdc13c8..cbd70da28e56d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBDatabaseResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoDBDatabaseResource.java @@ -17,6 +17,10 @@ public class MongoDBDatabaseResource { @JsonProperty(value = "id", required = true) private String id; + /** Creates an instance of MongoDBDatabaseResource class. */ + public MongoDBDatabaseResource() { + } + /** * Get the id property: Name of the Cosmos DB MongoDB database. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoIndex.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoIndex.java index fbd0d8b2989ea..01ce474316e5e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoIndex.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoIndex.java @@ -22,6 +22,10 @@ public final class MongoIndex { @JsonProperty(value = "options") private MongoIndexOptions options; + /** Creates an instance of MongoIndex class. */ + public MongoIndex() { + } + /** * Get the key property: Cosmos DB MongoDB collection index keys. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoIndexKeys.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoIndexKeys.java index 90d7489a3d04e..46a1546e2ada1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoIndexKeys.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoIndexKeys.java @@ -17,6 +17,10 @@ public final class MongoIndexKeys { @JsonProperty(value = "keys") private List keys; + /** Creates an instance of MongoIndexKeys class. */ + public MongoIndexKeys() { + } + /** * Get the keys property: List of keys for each MongoDB collection in the Azure Cosmos DB service. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoIndexOptions.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoIndexOptions.java index 0695e8fd8c69f..4d369f0a0da88 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoIndexOptions.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoIndexOptions.java @@ -22,6 +22,10 @@ public final class MongoIndexOptions { @JsonProperty(value = "unique") private Boolean unique; + /** Creates an instance of MongoIndexOptions class. */ + public MongoIndexOptions() { + } + /** * Get the expireAfterSeconds property: Expire after seconds. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoRoleDefinitionCreateUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoRoleDefinitionCreateUpdateParameters.java index 71f1d29227f53..b650eb9e51cf5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoRoleDefinitionCreateUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoRoleDefinitionCreateUpdateParameters.java @@ -18,6 +18,10 @@ public final class MongoRoleDefinitionCreateUpdateParameters { @JsonProperty(value = "properties") private MongoRoleDefinitionResource innerProperties; + /** Creates an instance of MongoRoleDefinitionCreateUpdateParameters class. */ + public MongoRoleDefinitionCreateUpdateParameters() { + } + /** * Get the innerProperties property: Properties to create and update an Azure Cosmos DB Mongo Role Definition. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoRoleDefinitionListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoRoleDefinitionListResult.java index b9ccc288ae43e..426bc29809d83 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoRoleDefinitionListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoRoleDefinitionListResult.java @@ -18,6 +18,10 @@ public final class MongoRoleDefinitionListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of MongoRoleDefinitionListResult class. */ + public MongoRoleDefinitionListResult() { + } + /** * Get the value property: List of Mongo Role Definitions and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoUserDefinitionCreateUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoUserDefinitionCreateUpdateParameters.java index fbdc156bdebdc..bbb70d2388c9d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoUserDefinitionCreateUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoUserDefinitionCreateUpdateParameters.java @@ -18,6 +18,10 @@ public final class MongoUserDefinitionCreateUpdateParameters { @JsonProperty(value = "properties") private MongoUserDefinitionResource innerProperties; + /** Creates an instance of MongoUserDefinitionCreateUpdateParameters class. */ + public MongoUserDefinitionCreateUpdateParameters() { + } + /** * Get the innerProperties property: Properties to create and update an Azure Cosmos DB Mongo User Definition. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoUserDefinitionListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoUserDefinitionListResult.java index df91fd74a22c6..fe226cc7853fa 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoUserDefinitionListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/MongoUserDefinitionListResult.java @@ -18,6 +18,10 @@ public final class MongoUserDefinitionListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of MongoUserDefinitionListResult class. */ + public MongoUserDefinitionListResult() { + } + /** * Get the value property: List of User Definition and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/NodeState.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/NodeState.java index 87f7a764c8f0b..2d8bd53bfae2d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/NodeState.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/NodeState.java @@ -25,6 +25,15 @@ public final class NodeState extends ExpandableStringEnum { /** Static value Stopped for NodeState. */ public static final NodeState STOPPED = fromString("Stopped"); + /** + * Creates a new instance of NodeState value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public NodeState() { + } + /** * Creates or finds a NodeState from its string representation. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/NotebookWorkspaceCreateUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/NotebookWorkspaceCreateUpdateParameters.java index 7625faf77f298..5a51748804681 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/NotebookWorkspaceCreateUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/NotebookWorkspaceCreateUpdateParameters.java @@ -9,6 +9,10 @@ /** Parameters to create a notebook workspace resource. */ @Immutable public final class NotebookWorkspaceCreateUpdateParameters extends ArmProxyResource { + /** Creates an instance of NotebookWorkspaceCreateUpdateParameters class. */ + public NotebookWorkspaceCreateUpdateParameters() { + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/NotebookWorkspaceListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/NotebookWorkspaceListResult.java index 961266d462e3a..9674e711be510 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/NotebookWorkspaceListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/NotebookWorkspaceListResult.java @@ -18,6 +18,10 @@ public final class NotebookWorkspaceListResult { @JsonProperty(value = "value") private List value; + /** Creates an instance of NotebookWorkspaceListResult class. */ + public NotebookWorkspaceListResult() { + } + /** * Get the value property: Array of notebook workspace resources. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/NotebookWorkspaceName.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/NotebookWorkspaceName.java index 398e8388a43cc..bfec5f6a8fe84 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/NotebookWorkspaceName.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/NotebookWorkspaceName.java @@ -13,6 +13,15 @@ public final class NotebookWorkspaceName extends ExpandableStringEnum { /** Static value SystemOperation for OperationType. */ public static final OperationType SYSTEM_OPERATION = fromString("SystemOperation"); + /** + * Creates a new instance of OperationType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public OperationType() { + } + /** * Creates or finds a OperationType from its string representation. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/OptionsResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/OptionsResource.java index f4d26a12aff7a..d1df390cf78ec 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/OptionsResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/OptionsResource.java @@ -23,6 +23,10 @@ public class OptionsResource { @JsonProperty(value = "autoscaleSettings") private AutoscaleSettings autoscaleSettings; + /** Creates an instance of OptionsResource class. */ + public OptionsResource() { + } + /** * Get the throughput property: Value of the Cosmos DB resource throughput or autoscaleSettings. Use the * ThroughputSetting resource when retrieving offer details. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PartitionKind.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PartitionKind.java index 8581897f9389b..a13bfd37a797b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PartitionKind.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PartitionKind.java @@ -22,6 +22,15 @@ public final class PartitionKind extends ExpandableStringEnum { /** Static value MultiHash for PartitionKind. */ public static final PartitionKind MULTI_HASH = fromString("MultiHash"); + /** + * Creates a new instance of PartitionKind value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public PartitionKind() { + } + /** * Creates or finds a PartitionKind from its string representation. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PartitionMetricListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PartitionMetricListResult.java index a4ec4057f4c89..c9f6100d7560a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PartitionMetricListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PartitionMetricListResult.java @@ -18,6 +18,10 @@ public final class PartitionMetricListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of PartitionMetricListResult class. */ + public PartitionMetricListResult() { + } + /** * Get the value property: The list of partition-level metrics for the account. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PartitionUsagesResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PartitionUsagesResult.java index 707016d716a24..ece032d8ae4b3 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PartitionUsagesResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PartitionUsagesResult.java @@ -18,6 +18,10 @@ public final class PartitionUsagesResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of PartitionUsagesResult class. */ + public PartitionUsagesResult() { + } + /** * Get the value property: The list of partition-level usages for the database. A usage is a point in time metric. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PercentileMetricListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PercentileMetricListResult.java index 2a9e25b5e0bf2..9cba27778d951 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PercentileMetricListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PercentileMetricListResult.java @@ -18,6 +18,10 @@ public final class PercentileMetricListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of PercentileMetricListResult class. */ + public PercentileMetricListResult() { + } + /** * Get the value property: The list of percentile metrics for the account. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PercentileMetricValue.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PercentileMetricValue.java index 6f60f6f86b2c6..97dbbe3fe00a1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PercentileMetricValue.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PercentileMetricValue.java @@ -52,6 +52,10 @@ public final class PercentileMetricValue extends MetricValue { @JsonProperty(value = "P99", access = JsonProperty.Access.WRITE_ONLY) private Double p99; + /** Creates an instance of PercentileMetricValue class. */ + public PercentileMetricValue() { + } + /** * Get the p10 property: The 10th percentile value for the metric. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PeriodicModeBackupPolicy.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PeriodicModeBackupPolicy.java index 74916eaf19578..ad511232d1623 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PeriodicModeBackupPolicy.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PeriodicModeBackupPolicy.java @@ -20,6 +20,10 @@ public final class PeriodicModeBackupPolicy extends BackupPolicy { @JsonProperty(value = "periodicModeProperties") private PeriodicModeProperties periodicModeProperties; + /** Creates an instance of PeriodicModeBackupPolicy class. */ + public PeriodicModeBackupPolicy() { + } + /** * Get the periodicModeProperties property: Configuration values for periodic mode backup. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PeriodicModeProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PeriodicModeProperties.java index 6a648f14d7f53..e2843f32424ee 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PeriodicModeProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PeriodicModeProperties.java @@ -28,6 +28,10 @@ public final class PeriodicModeProperties { @JsonProperty(value = "backupStorageRedundancy") private BackupStorageRedundancy backupStorageRedundancy; + /** Creates an instance of PeriodicModeProperties class. */ + public PeriodicModeProperties() { + } + /** * Get the backupIntervalInMinutes property: An integer representing the interval in minutes between two backups. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Permission.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Permission.java index d7edffdef5554..d01cd1d9de698 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Permission.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Permission.java @@ -23,6 +23,10 @@ public final class Permission { @JsonProperty(value = "notDataActions") private List notDataActions; + /** Creates an instance of Permission class. */ + public Permission() { + } + /** * Get the dataActions property: An array of data actions that are allowed. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PrimaryAggregationType.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PrimaryAggregationType.java index f43d38570659b..3da475454dac5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PrimaryAggregationType.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PrimaryAggregationType.java @@ -28,6 +28,15 @@ public final class PrimaryAggregationType extends ExpandableStringEnum value; + /** Creates an instance of PrivateEndpointConnectionListResult class. */ + public PrivateEndpointConnectionListResult() { + } + /** * Get the value property: Array of private endpoint connections. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PrivateEndpointProperty.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PrivateEndpointProperty.java index 617818ea8ca54..8a5813dca5b32 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PrivateEndpointProperty.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PrivateEndpointProperty.java @@ -16,6 +16,10 @@ public final class PrivateEndpointProperty { @JsonProperty(value = "id") private String id; + /** Creates an instance of PrivateEndpointProperty class. */ + public PrivateEndpointProperty() { + } + /** * Get the id property: Resource id of the private endpoint. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PrivateLinkResourceListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PrivateLinkResourceListResult.java index c264125a7f3b8..ec9d6c701e7d5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PrivateLinkResourceListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PrivateLinkResourceListResult.java @@ -18,6 +18,10 @@ public final class PrivateLinkResourceListResult { @JsonProperty(value = "value") private List value; + /** Creates an instance of PrivateLinkResourceListResult class. */ + public PrivateLinkResourceListResult() { + } + /** * Get the value property: Array of private link resources. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PrivateLinkServiceConnectionStateProperty.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PrivateLinkServiceConnectionStateProperty.java index 10aa1c353dcbb..2853c5766c618 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PrivateLinkServiceConnectionStateProperty.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PrivateLinkServiceConnectionStateProperty.java @@ -28,6 +28,10 @@ public final class PrivateLinkServiceConnectionStateProperty { @JsonProperty(value = "actionsRequired", access = JsonProperty.Access.WRITE_ONLY) private String actionsRequired; + /** Creates an instance of PrivateLinkServiceConnectionStateProperty class. */ + public PrivateLinkServiceConnectionStateProperty() { + } + /** * Get the status property: The private link service connection status. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Privilege.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Privilege.java index 50df77a04f9da..c4bf934c8250c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Privilege.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Privilege.java @@ -23,6 +23,10 @@ public final class Privilege { @JsonProperty(value = "actions") private List actions; + /** Creates an instance of Privilege class. */ + public Privilege() { + } + /** * Get the resource property: An Azure Cosmos DB Mongo DB Resource. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PrivilegeResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PrivilegeResource.java index 543f57ea67153..fc5415f76dd5a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PrivilegeResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PrivilegeResource.java @@ -22,6 +22,10 @@ public final class PrivilegeResource { @JsonProperty(value = "collection") private String collection; + /** Creates an instance of PrivilegeResource class. */ + public PrivilegeResource() { + } + /** * Get the db property: The database name the role is applied. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PublicNetworkAccess.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PublicNetworkAccess.java index 6242d4a80131a..207d0be9fc163 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PublicNetworkAccess.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/PublicNetworkAccess.java @@ -16,6 +16,15 @@ public final class PublicNetworkAccess extends ExpandableStringEnum value; + /** Creates an instance of RestorableDatabaseAccountsListResult class. */ + public RestorableDatabaseAccountsListResult() { + } + /** * Get the value property: List of restorable database accounts and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableGremlinDatabasePropertiesResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableGremlinDatabasePropertiesResource.java new file mode 100644 index 0000000000000..368b7614cdc82 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableGremlinDatabasePropertiesResource.java @@ -0,0 +1,99 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The resource of an Azure Cosmos DB Gremlin database event. */ +@Immutable +public final class RestorableGremlinDatabasePropertiesResource { + /* + * A system generated property. A unique identifier. + */ + @JsonProperty(value = "_rid", access = JsonProperty.Access.WRITE_ONLY) + private String rid; + + /* + * The operation type of this database event. + */ + @JsonProperty(value = "operationType", access = JsonProperty.Access.WRITE_ONLY) + private OperationType operationType; + + /* + * The time when this database event happened. + */ + @JsonProperty(value = "eventTimestamp", access = JsonProperty.Access.WRITE_ONLY) + private String eventTimestamp; + + /* + * The name of this Gremlin database. + */ + @JsonProperty(value = "ownerId", access = JsonProperty.Access.WRITE_ONLY) + private String ownerId; + + /* + * The resource ID of this Gremlin database. + */ + @JsonProperty(value = "ownerResourceId", access = JsonProperty.Access.WRITE_ONLY) + private String ownerResourceId; + + /** Creates an instance of RestorableGremlinDatabasePropertiesResource class. */ + public RestorableGremlinDatabasePropertiesResource() { + } + + /** + * Get the rid property: A system generated property. A unique identifier. + * + * @return the rid value. + */ + public String rid() { + return this.rid; + } + + /** + * Get the operationType property: The operation type of this database event. + * + * @return the operationType value. + */ + public OperationType operationType() { + return this.operationType; + } + + /** + * Get the eventTimestamp property: The time when this database event happened. + * + * @return the eventTimestamp value. + */ + public String eventTimestamp() { + return this.eventTimestamp; + } + + /** + * Get the ownerId property: The name of this Gremlin database. + * + * @return the ownerId value. + */ + public String ownerId() { + return this.ownerId; + } + + /** + * Get the ownerResourceId property: The resource ID of this Gremlin database. + * + * @return the ownerResourceId value. + */ + public String ownerResourceId() { + return this.ownerResourceId; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableGremlinDatabasesListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableGremlinDatabasesListResult.java new file mode 100644 index 0000000000000..40a3a708e7a8b --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableGremlinDatabasesListResult.java @@ -0,0 +1,44 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.models; + +import com.azure.core.annotation.Immutable; +import com.azure.resourcemanager.cosmos.fluent.models.RestorableGremlinDatabaseGetResultInner; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** The List operation response, that contains the Gremlin database events and their properties. */ +@Immutable +public final class RestorableGremlinDatabasesListResult { + /* + * List of Gremlin database events and their properties. + */ + @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) + private List value; + + /** Creates an instance of RestorableGremlinDatabasesListResult class. */ + public RestorableGremlinDatabasesListResult() { + } + + /** + * Get the value property: List of Gremlin database events and their properties. + * + * @return the value value. + */ + public List value() { + return this.value; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (value() != null) { + value().forEach(e -> e.validate()); + } + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableGremlinGraphPropertiesResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableGremlinGraphPropertiesResource.java new file mode 100644 index 0000000000000..bc4b6604edcaa --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableGremlinGraphPropertiesResource.java @@ -0,0 +1,99 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The resource of an Azure Cosmos DB Gremlin graph event. */ +@Immutable +public final class RestorableGremlinGraphPropertiesResource { + /* + * A system generated property. A unique identifier. + */ + @JsonProperty(value = "_rid", access = JsonProperty.Access.WRITE_ONLY) + private String rid; + + /* + * The operation type of this graph event. + */ + @JsonProperty(value = "operationType", access = JsonProperty.Access.WRITE_ONLY) + private OperationType operationType; + + /* + * The time when this graph event happened. + */ + @JsonProperty(value = "eventTimestamp", access = JsonProperty.Access.WRITE_ONLY) + private String eventTimestamp; + + /* + * The name of this Gremlin graph. + */ + @JsonProperty(value = "ownerId", access = JsonProperty.Access.WRITE_ONLY) + private String ownerId; + + /* + * The resource ID of this Gremlin graph. + */ + @JsonProperty(value = "ownerResourceId", access = JsonProperty.Access.WRITE_ONLY) + private String ownerResourceId; + + /** Creates an instance of RestorableGremlinGraphPropertiesResource class. */ + public RestorableGremlinGraphPropertiesResource() { + } + + /** + * Get the rid property: A system generated property. A unique identifier. + * + * @return the rid value. + */ + public String rid() { + return this.rid; + } + + /** + * Get the operationType property: The operation type of this graph event. + * + * @return the operationType value. + */ + public OperationType operationType() { + return this.operationType; + } + + /** + * Get the eventTimestamp property: The time when this graph event happened. + * + * @return the eventTimestamp value. + */ + public String eventTimestamp() { + return this.eventTimestamp; + } + + /** + * Get the ownerId property: The name of this Gremlin graph. + * + * @return the ownerId value. + */ + public String ownerId() { + return this.ownerId; + } + + /** + * Get the ownerResourceId property: The resource ID of this Gremlin graph. + * + * @return the ownerResourceId value. + */ + public String ownerResourceId() { + return this.ownerResourceId; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableGremlinGraphsListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableGremlinGraphsListResult.java new file mode 100644 index 0000000000000..e2fd1fad6f60f --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableGremlinGraphsListResult.java @@ -0,0 +1,44 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.models; + +import com.azure.core.annotation.Immutable; +import com.azure.resourcemanager.cosmos.fluent.models.RestorableGremlinGraphGetResultInner; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** The List operation response, that contains the Gremlin graph events and their properties. */ +@Immutable +public final class RestorableGremlinGraphsListResult { + /* + * List of Gremlin graph events and their properties. + */ + @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) + private List value; + + /** Creates an instance of RestorableGremlinGraphsListResult class. */ + public RestorableGremlinGraphsListResult() { + } + + /** + * Get the value property: List of Gremlin graph events and their properties. + * + * @return the value value. + */ + public List value() { + return this.value; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (value() != null) { + value().forEach(e -> e.validate()); + } + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableGremlinResourcesListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableGremlinResourcesListResult.java new file mode 100644 index 0000000000000..4c50bba08f550 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableGremlinResourcesListResult.java @@ -0,0 +1,44 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.models; + +import com.azure.core.annotation.Immutable; +import com.azure.resourcemanager.cosmos.fluent.models.RestorableGremlinResourcesGetResultInner; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** The List operation response, that contains the restorable Gremlin resources. */ +@Immutable +public final class RestorableGremlinResourcesListResult { + /* + * List of restorable Gremlin resources, including the gremlin database and graph names. + */ + @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) + private List value; + + /** Creates an instance of RestorableGremlinResourcesListResult class. */ + public RestorableGremlinResourcesListResult() { + } + + /** + * Get the value property: List of restorable Gremlin resources, including the gremlin database and graph names. + * + * @return the value value. + */ + public List value() { + return this.value; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (value() != null) { + value().forEach(e -> e.validate()); + } + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableLocationResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableLocationResource.java index f2bc7ba76eb46..fc4742b949c2d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableLocationResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableLocationResource.java @@ -35,6 +35,10 @@ public final class RestorableLocationResource { @JsonProperty(value = "deletionTime", access = JsonProperty.Access.WRITE_ONLY) private OffsetDateTime deletionTime; + /** Creates an instance of RestorableLocationResource class. */ + public RestorableLocationResource() { + } + /** * Get the locationName property: The location of the regional restorable account. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableMongodbCollectionPropertiesResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableMongodbCollectionPropertiesResource.java index 7c47fbd4fe2af..3e2449834f2b8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableMongodbCollectionPropertiesResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableMongodbCollectionPropertiesResource.java @@ -40,6 +40,10 @@ public final class RestorableMongodbCollectionPropertiesResource { @JsonProperty(value = "ownerResourceId", access = JsonProperty.Access.WRITE_ONLY) private String ownerResourceId; + /** Creates an instance of RestorableMongodbCollectionPropertiesResource class. */ + public RestorableMongodbCollectionPropertiesResource() { + } + /** * Get the rid property: A system generated property. A unique identifier. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableMongodbCollectionsListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableMongodbCollectionsListResult.java index 409d9005503f3..f04ca52dea555 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableMongodbCollectionsListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableMongodbCollectionsListResult.java @@ -18,6 +18,10 @@ public final class RestorableMongodbCollectionsListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of RestorableMongodbCollectionsListResult class. */ + public RestorableMongodbCollectionsListResult() { + } + /** * Get the value property: List of MongoDB collection events and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableMongodbDatabasePropertiesResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableMongodbDatabasePropertiesResource.java index 4204751be70d7..736879adefa43 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableMongodbDatabasePropertiesResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableMongodbDatabasePropertiesResource.java @@ -40,6 +40,10 @@ public final class RestorableMongodbDatabasePropertiesResource { @JsonProperty(value = "ownerResourceId", access = JsonProperty.Access.WRITE_ONLY) private String ownerResourceId; + /** Creates an instance of RestorableMongodbDatabasePropertiesResource class. */ + public RestorableMongodbDatabasePropertiesResource() { + } + /** * Get the rid property: A system generated property. A unique identifier. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableMongodbDatabasesListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableMongodbDatabasesListResult.java index 826eafd2feb01..046c533988839 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableMongodbDatabasesListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableMongodbDatabasesListResult.java @@ -18,6 +18,10 @@ public final class RestorableMongodbDatabasesListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of RestorableMongodbDatabasesListResult class. */ + public RestorableMongodbDatabasesListResult() { + } + /** * Get the value property: List of MongoDB database events and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableMongodbResourcesListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableMongodbResourcesListResult.java index 890714817d150..e98e9bcac8685 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableMongodbResourcesListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableMongodbResourcesListResult.java @@ -18,6 +18,10 @@ public final class RestorableMongodbResourcesListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of RestorableMongodbResourcesListResult class. */ + public RestorableMongodbResourcesListResult() { + } + /** * Get the value property: List of restorable MongoDB resources, including the database and collection names. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlContainerPropertiesResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlContainerPropertiesResource.java index 7120fe606374b..a1289e8d28071 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlContainerPropertiesResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlContainerPropertiesResource.java @@ -46,6 +46,10 @@ public final class RestorableSqlContainerPropertiesResource { @JsonProperty(value = "container") private RestorableSqlContainerPropertiesResourceContainer container; + /** Creates an instance of RestorableSqlContainerPropertiesResource class. */ + public RestorableSqlContainerPropertiesResource() { + } + /** * Get the rid property: A system generated property. A unique identifier. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlContainerPropertiesResourceContainer.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlContainerPropertiesResourceContainer.java index 3855d4781ba46..479e2d878c360 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlContainerPropertiesResourceContainer.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlContainerPropertiesResourceContainer.java @@ -34,6 +34,10 @@ public final class RestorableSqlContainerPropertiesResourceContainer extends Sql @JsonProperty(value = "_etag", access = JsonProperty.Access.WRITE_ONLY) private String etag; + /** Creates an instance of RestorableSqlContainerPropertiesResourceContainer class. */ + public RestorableSqlContainerPropertiesResourceContainer() { + } + /** * Get the self property: A system generated property that specifies the addressable path of the container resource. * @@ -114,6 +118,14 @@ public RestorableSqlContainerPropertiesResourceContainer withConflictResolutionP return this; } + /** {@inheritDoc} */ + @Override + public RestorableSqlContainerPropertiesResourceContainer withClientEncryptionPolicy( + ClientEncryptionPolicy clientEncryptionPolicy) { + super.withClientEncryptionPolicy(clientEncryptionPolicy); + return this; + } + /** {@inheritDoc} */ @Override public RestorableSqlContainerPropertiesResourceContainer withAnalyticalStorageTtl(Long analyticalStorageTtl) { diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlContainersListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlContainersListResult.java index 6fc1f5527e508..6a9457c3415d2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlContainersListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlContainersListResult.java @@ -18,6 +18,10 @@ public final class RestorableSqlContainersListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of RestorableSqlContainersListResult class. */ + public RestorableSqlContainersListResult() { + } + /** * Get the value property: List of SQL container events and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlDatabasePropertiesResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlDatabasePropertiesResource.java index 9da6e517de659..00e16ffb78a22 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlDatabasePropertiesResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlDatabasePropertiesResource.java @@ -46,6 +46,10 @@ public final class RestorableSqlDatabasePropertiesResource { @JsonProperty(value = "database") private RestorableSqlDatabasePropertiesResourceDatabase database; + /** Creates an instance of RestorableSqlDatabasePropertiesResource class. */ + public RestorableSqlDatabasePropertiesResource() { + } + /** * Get the rid property: A system generated property. A unique identifier. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlDatabasePropertiesResourceDatabase.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlDatabasePropertiesResourceDatabase.java index 5026fd6f2da25..2d4b70feb4eb5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlDatabasePropertiesResourceDatabase.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlDatabasePropertiesResourceDatabase.java @@ -46,6 +46,10 @@ public final class RestorableSqlDatabasePropertiesResourceDatabase extends SqlDa @JsonProperty(value = "_etag", access = JsonProperty.Access.WRITE_ONLY) private String etag; + /** Creates an instance of RestorableSqlDatabasePropertiesResourceDatabase class. */ + public RestorableSqlDatabasePropertiesResourceDatabase() { + } + /** * Get the colls property: A system generated property that specified the addressable path of the collections * resource. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlDatabasesListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlDatabasesListResult.java index 4697c451b481e..ea0759ccf7276 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlDatabasesListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlDatabasesListResult.java @@ -18,6 +18,10 @@ public final class RestorableSqlDatabasesListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of RestorableSqlDatabasesListResult class. */ + public RestorableSqlDatabasesListResult() { + } + /** * Get the value property: List of SQL database events and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlResourcesListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlResourcesListResult.java index 19bda998d359d..4976ca0cdcd2a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlResourcesListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableSqlResourcesListResult.java @@ -18,6 +18,10 @@ public final class RestorableSqlResourcesListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of RestorableSqlResourcesListResult class. */ + public RestorableSqlResourcesListResult() { + } + /** * Get the value property: List of restorable SQL resources, including the database and collection names. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableTablePropertiesResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableTablePropertiesResource.java new file mode 100644 index 0000000000000..db74f90b9b333 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableTablePropertiesResource.java @@ -0,0 +1,99 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The resource of an Azure Cosmos DB Table event. */ +@Immutable +public final class RestorableTablePropertiesResource { + /* + * A system generated property. A unique identifier. + */ + @JsonProperty(value = "_rid", access = JsonProperty.Access.WRITE_ONLY) + private String rid; + + /* + * The operation type of this table event. + */ + @JsonProperty(value = "operationType", access = JsonProperty.Access.WRITE_ONLY) + private OperationType operationType; + + /* + * The time when this table event happened. + */ + @JsonProperty(value = "eventTimestamp", access = JsonProperty.Access.WRITE_ONLY) + private String eventTimestamp; + + /* + * The name of this Table. + */ + @JsonProperty(value = "ownerId", access = JsonProperty.Access.WRITE_ONLY) + private String ownerId; + + /* + * The resource ID of this Table. + */ + @JsonProperty(value = "ownerResourceId", access = JsonProperty.Access.WRITE_ONLY) + private String ownerResourceId; + + /** Creates an instance of RestorableTablePropertiesResource class. */ + public RestorableTablePropertiesResource() { + } + + /** + * Get the rid property: A system generated property. A unique identifier. + * + * @return the rid value. + */ + public String rid() { + return this.rid; + } + + /** + * Get the operationType property: The operation type of this table event. + * + * @return the operationType value. + */ + public OperationType operationType() { + return this.operationType; + } + + /** + * Get the eventTimestamp property: The time when this table event happened. + * + * @return the eventTimestamp value. + */ + public String eventTimestamp() { + return this.eventTimestamp; + } + + /** + * Get the ownerId property: The name of this Table. + * + * @return the ownerId value. + */ + public String ownerId() { + return this.ownerId; + } + + /** + * Get the ownerResourceId property: The resource ID of this Table. + * + * @return the ownerResourceId value. + */ + public String ownerResourceId() { + return this.ownerResourceId; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableTableResourcesListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableTableResourcesListResult.java new file mode 100644 index 0000000000000..89d0412ec2d76 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableTableResourcesListResult.java @@ -0,0 +1,44 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.models; + +import com.azure.core.annotation.Immutable; +import com.azure.resourcemanager.cosmos.fluent.models.RestorableTableResourcesGetResultInner; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** List of restorable table names. */ +@Immutable +public final class RestorableTableResourcesListResult { + /* + * List of restorable table names. + */ + @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) + private List value; + + /** Creates an instance of RestorableTableResourcesListResult class. */ + public RestorableTableResourcesListResult() { + } + + /** + * Get the value property: List of restorable table names. + * + * @return the value value. + */ + public List value() { + return this.value; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (value() != null) { + value().forEach(e -> e.validate()); + } + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableTablesListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableTablesListResult.java new file mode 100644 index 0000000000000..0c98b4bf0d7d3 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestorableTablesListResult.java @@ -0,0 +1,44 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.models; + +import com.azure.core.annotation.Immutable; +import com.azure.resourcemanager.cosmos.fluent.models.RestorableTableGetResultInner; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** The List operation response, that contains the Table events and their properties. */ +@Immutable +public final class RestorableTablesListResult { + /* + * List of Table events and their properties. + */ + @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) + private List value; + + /** Creates an instance of RestorableTablesListResult class. */ + public RestorableTablesListResult() { + } + + /** + * Get the value property: List of Table events and their properties. + * + * @return the value value. + */ + public List value() { + return this.value; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (value() != null) { + value().forEach(e -> e.validate()); + } + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestoreMode.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestoreMode.java index fefaad0f06ecf..ebebaeaa0438e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestoreMode.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestoreMode.java @@ -13,6 +13,15 @@ public final class RestoreMode extends ExpandableStringEnum { /** Static value PointInTime for RestoreMode. */ public static final RestoreMode POINT_IN_TIME = fromString("PointInTime"); + /** + * Creates a new instance of RestoreMode value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public RestoreMode() { + } + /** * Creates or finds a RestoreMode from its string representation. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestoreParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestoreParameters.java index e7866063427fa..50fb59e27ae1b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestoreParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/RestoreParameters.java @@ -37,6 +37,22 @@ public final class RestoreParameters { @JsonProperty(value = "databasesToRestore") private List databasesToRestore; + /* + * List of specific gremlin databases available for restore. + */ + @JsonProperty(value = "gremlinDatabasesToRestore") + private List gremlinDatabasesToRestore; + + /* + * List of specific tables available for restore. + */ + @JsonProperty(value = "tablesToRestore") + private List tablesToRestore; + + /** Creates an instance of RestoreParameters class. */ + public RestoreParameters() { + } + /** * Get the restoreMode property: Describes the mode of the restore. * @@ -121,6 +137,47 @@ public RestoreParameters withDatabasesToRestore(List da return this; } + /** + * Get the gremlinDatabasesToRestore property: List of specific gremlin databases available for restore. + * + * @return the gremlinDatabasesToRestore value. + */ + public List gremlinDatabasesToRestore() { + return this.gremlinDatabasesToRestore; + } + + /** + * Set the gremlinDatabasesToRestore property: List of specific gremlin databases available for restore. + * + * @param gremlinDatabasesToRestore the gremlinDatabasesToRestore value to set. + * @return the RestoreParameters object itself. + */ + public RestoreParameters withGremlinDatabasesToRestore( + List gremlinDatabasesToRestore) { + this.gremlinDatabasesToRestore = gremlinDatabasesToRestore; + return this; + } + + /** + * Get the tablesToRestore property: List of specific tables available for restore. + * + * @return the tablesToRestore value. + */ + public List tablesToRestore() { + return this.tablesToRestore; + } + + /** + * Set the tablesToRestore property: List of specific tables available for restore. + * + * @param tablesToRestore the tablesToRestore value to set. + * @return the RestoreParameters object itself. + */ + public RestoreParameters withTablesToRestore(List tablesToRestore) { + this.tablesToRestore = tablesToRestore; + return this; + } + /** * Validates the instance. * @@ -130,5 +187,8 @@ public void validate() { if (databasesToRestore() != null) { databasesToRestore().forEach(e -> e.validate()); } + if (gremlinDatabasesToRestore() != null) { + gremlinDatabasesToRestore().forEach(e -> e.validate()); + } } } diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Role.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Role.java index c8f8ae45c4c5a..1d9870156ffef 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Role.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/Role.java @@ -22,6 +22,10 @@ public final class Role { @JsonProperty(value = "role") private String role; + /** Creates an instance of Role class. */ + public Role() { + } + /** * Get the db property: The database name the role is applied. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SeedNode.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SeedNode.java index 2d8a316cdde00..656f69f206658 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SeedNode.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SeedNode.java @@ -16,6 +16,10 @@ public final class SeedNode { @JsonProperty(value = "ipAddress") private String ipAddress; + /** Creates an instance of SeedNode class. */ + public SeedNode() { + } + /** * Get the ipAddress property: IP address of this seed node. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServerVersion.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServerVersion.java index 58216a3635d08..a7233b20bad50 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServerVersion.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServerVersion.java @@ -22,6 +22,15 @@ public final class ServerVersion extends ExpandableStringEnum { /** Static value 4.2 for ServerVersion. */ public static final ServerVersion FOUR_TWO = fromString("4.2"); + /** + * Creates a new instance of ServerVersion value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ServerVersion() { + } + /** * Creates or finds a ServerVersion from its string representation. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceResourceCreateUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceResourceCreateUpdateParameters.java index ef996d05bc126..a2726dfa31de3 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceResourceCreateUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceResourceCreateUpdateParameters.java @@ -17,6 +17,10 @@ public final class ServiceResourceCreateUpdateParameters { @JsonProperty(value = "properties") private ServiceResourceCreateUpdateProperties innerProperties; + /** Creates an instance of ServiceResourceCreateUpdateParameters class. */ + public ServiceResourceCreateUpdateParameters() { + } + /** * Get the innerProperties property: Properties in ServiceResourceCreateUpdateParameters. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceResourceListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceResourceListResult.java index 86dbb7bb3623f..606a708de9947 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceResourceListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceResourceListResult.java @@ -18,6 +18,10 @@ public final class ServiceResourceListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of ServiceResourceListResult class. */ + public ServiceResourceListResult() { + } + /** * Get the value property: List of Service Resource and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceResourceProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceResourceProperties.java index 2db153f2af6f5..d68cbd6a4e390 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceResourceProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceResourceProperties.java @@ -62,6 +62,10 @@ public class ServiceResourceProperties { */ @JsonIgnore private Map additionalProperties; + /** Creates an instance of ServiceResourceProperties class. */ + public ServiceResourceProperties() { + } + /** * Get the creationTime property: Time of the last state change (ISO-8601 format). * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceSize.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceSize.java index 1e6c3ec658c94..0af010e3c222e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceSize.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceSize.java @@ -19,6 +19,15 @@ public final class ServiceSize extends ExpandableStringEnum { /** Static value Cosmos.D16s for ServiceSize. */ public static final ServiceSize COSMOS_D16S = fromString("Cosmos.D16s"); + /** + * Creates a new instance of ServiceSize value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ServiceSize() { + } + /** * Creates or finds a ServiceSize from its string representation. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceStatus.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceStatus.java index 75d2b85b41e84..f19b35ba12cde 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceStatus.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceStatus.java @@ -28,6 +28,15 @@ public final class ServiceStatus extends ExpandableStringEnum { /** Static value Stopped for ServiceStatus. */ public static final ServiceStatus STOPPED = fromString("Stopped"); + /** + * Creates a new instance of ServiceStatus value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ServiceStatus() { + } + /** * Creates or finds a ServiceStatus from its string representation. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceType.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceType.java index 3f1e22ef7e035..76a5b6781ca05 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceType.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ServiceType.java @@ -22,6 +22,15 @@ public final class ServiceType extends ExpandableStringEnum { /** Static value MaterializedViewsBuilder for ServiceType. */ public static final ServiceType MATERIALIZED_VIEWS_BUILDER = fromString("MaterializedViewsBuilder"); + /** + * Creates a new instance of ServiceType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ServiceType() { + } + /** * Creates or finds a ServiceType from its string representation. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SpatialSpec.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SpatialSpec.java index 6d426440382ad..095ac1c9fdf38 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SpatialSpec.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SpatialSpec.java @@ -24,6 +24,10 @@ public final class SpatialSpec { @JsonProperty(value = "types") private List types; + /** Creates an instance of SpatialSpec class. */ + public SpatialSpec() { + } + /** * Get the path property: The path for which the indexing behavior applies to. Index paths typically start with root * and end with wildcard (/path/*). diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SpatialType.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SpatialType.java index 8e75e143a2eba..d1e028c994def 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SpatialType.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SpatialType.java @@ -22,6 +22,15 @@ public final class SpatialType extends ExpandableStringEnum { /** Static value MultiPolygon for SpatialType. */ public static final SpatialType MULTI_POLYGON = fromString("MultiPolygon"); + /** + * Creates a new instance of SpatialType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public SpatialType() { + } + /** * Creates or finds a SpatialType from its string representation. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlContainerCreateUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlContainerCreateUpdateParameters.java index 1e0de3d609a1f..921c6adcc6038 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlContainerCreateUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlContainerCreateUpdateParameters.java @@ -19,6 +19,10 @@ public final class SqlContainerCreateUpdateParameters extends ArmResourcePropert @JsonProperty(value = "properties", required = true) private SqlContainerCreateUpdateProperties innerProperties = new SqlContainerCreateUpdateProperties(); + /** Creates an instance of SqlContainerCreateUpdateParameters class. */ + public SqlContainerCreateUpdateParameters() { + } + /** * Get the innerProperties property: Properties to create and update Azure Cosmos DB container. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlContainerGetPropertiesOptions.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlContainerGetPropertiesOptions.java index cbf7b75c6f874..e67edcf0b8030 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlContainerGetPropertiesOptions.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlContainerGetPropertiesOptions.java @@ -9,6 +9,10 @@ /** The SqlContainerGetPropertiesOptions model. */ @Fluent public final class SqlContainerGetPropertiesOptions extends OptionsResource { + /** Creates an instance of SqlContainerGetPropertiesOptions class. */ + public SqlContainerGetPropertiesOptions() { + } + /** {@inheritDoc} */ @Override public SqlContainerGetPropertiesOptions withThroughput(Integer throughput) { diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlContainerGetPropertiesResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlContainerGetPropertiesResource.java index d32fcb121f81e..9a52b88f077d8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlContainerGetPropertiesResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlContainerGetPropertiesResource.java @@ -28,6 +28,10 @@ public final class SqlContainerGetPropertiesResource extends SqlContainerResourc @JsonProperty(value = "_etag", access = JsonProperty.Access.WRITE_ONLY) private String etag; + /** Creates an instance of SqlContainerGetPropertiesResource class. */ + public SqlContainerGetPropertiesResource() { + } + /** * Get the rid property: A system generated property. A unique identifier. * @@ -99,6 +103,13 @@ public SqlContainerGetPropertiesResource withConflictResolutionPolicy( return this; } + /** {@inheritDoc} */ + @Override + public SqlContainerGetPropertiesResource withClientEncryptionPolicy(ClientEncryptionPolicy clientEncryptionPolicy) { + super.withClientEncryptionPolicy(clientEncryptionPolicy); + return this; + } + /** {@inheritDoc} */ @Override public SqlContainerGetPropertiesResource withAnalyticalStorageTtl(Long analyticalStorageTtl) { diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlContainerListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlContainerListResult.java index 51607a98f8968..b18fb4017d054 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlContainerListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlContainerListResult.java @@ -18,6 +18,10 @@ public final class SqlContainerListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of SqlContainerListResult class. */ + public SqlContainerListResult() { + } + /** * Get the value property: List of containers and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlContainerResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlContainerResource.java index ebf7cf7f6239a..009f4cf0918c5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlContainerResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlContainerResource.java @@ -49,12 +49,22 @@ public class SqlContainerResource { @JsonProperty(value = "conflictResolutionPolicy") private ConflictResolutionPolicy conflictResolutionPolicy; + /* + * The client encryption policy for the container. + */ + @JsonProperty(value = "clientEncryptionPolicy") + private ClientEncryptionPolicy clientEncryptionPolicy; + /* * Analytical TTL. */ @JsonProperty(value = "analyticalStorageTtl") private Long analyticalStorageTtl; + /** Creates an instance of SqlContainerResource class. */ + public SqlContainerResource() { + } + /** * Get the id property: Name of the Cosmos DB SQL container. * @@ -181,6 +191,26 @@ public SqlContainerResource withConflictResolutionPolicy(ConflictResolutionPolic return this; } + /** + * Get the clientEncryptionPolicy property: The client encryption policy for the container. + * + * @return the clientEncryptionPolicy value. + */ + public ClientEncryptionPolicy clientEncryptionPolicy() { + return this.clientEncryptionPolicy; + } + + /** + * Set the clientEncryptionPolicy property: The client encryption policy for the container. + * + * @param clientEncryptionPolicy the clientEncryptionPolicy value to set. + * @return the SqlContainerResource object itself. + */ + public SqlContainerResource withClientEncryptionPolicy(ClientEncryptionPolicy clientEncryptionPolicy) { + this.clientEncryptionPolicy = clientEncryptionPolicy; + return this; + } + /** * Get the analyticalStorageTtl property: Analytical TTL. * @@ -224,6 +254,9 @@ public void validate() { if (conflictResolutionPolicy() != null) { conflictResolutionPolicy().validate(); } + if (clientEncryptionPolicy() != null) { + clientEncryptionPolicy().validate(); + } } private static final ClientLogger LOGGER = new ClientLogger(SqlContainerResource.class); diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDatabaseCreateUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDatabaseCreateUpdateParameters.java index 6a7ca30b947e7..78d025638b22a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDatabaseCreateUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDatabaseCreateUpdateParameters.java @@ -19,6 +19,10 @@ public final class SqlDatabaseCreateUpdateParameters extends ArmResourceProperti @JsonProperty(value = "properties", required = true) private SqlDatabaseCreateUpdateProperties innerProperties = new SqlDatabaseCreateUpdateProperties(); + /** Creates an instance of SqlDatabaseCreateUpdateParameters class. */ + public SqlDatabaseCreateUpdateParameters() { + } + /** * Get the innerProperties property: Properties to create and update Azure Cosmos DB SQL database. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDatabaseGetPropertiesOptions.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDatabaseGetPropertiesOptions.java index 55d3da5d2c317..daa5664d02c98 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDatabaseGetPropertiesOptions.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDatabaseGetPropertiesOptions.java @@ -9,6 +9,10 @@ /** The SqlDatabaseGetPropertiesOptions model. */ @Fluent public final class SqlDatabaseGetPropertiesOptions extends OptionsResource { + /** Creates an instance of SqlDatabaseGetPropertiesOptions class. */ + public SqlDatabaseGetPropertiesOptions() { + } + /** {@inheritDoc} */ @Override public SqlDatabaseGetPropertiesOptions withThroughput(Integer throughput) { diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDatabaseGetPropertiesResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDatabaseGetPropertiesResource.java index bda8d1b6b084f..3c4efabb22456 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDatabaseGetPropertiesResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDatabaseGetPropertiesResource.java @@ -40,6 +40,10 @@ public final class SqlDatabaseGetPropertiesResource extends SqlDatabaseResource @JsonProperty(value = "_etag", access = JsonProperty.Access.WRITE_ONLY) private String etag; + /** Creates an instance of SqlDatabaseGetPropertiesResource class. */ + public SqlDatabaseGetPropertiesResource() { + } + /** * Get the colls property: A system generated property that specified the addressable path of the collections * resource. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDatabaseListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDatabaseListResult.java index 78a27a554c615..aef08c01819e3 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDatabaseListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDatabaseListResult.java @@ -18,6 +18,10 @@ public final class SqlDatabaseListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of SqlDatabaseListResult class. */ + public SqlDatabaseListResult() { + } + /** * Get the value property: List of SQL databases and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDatabaseResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDatabaseResource.java index 4a2baac83ff5a..5ce5992242936 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDatabaseResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDatabaseResource.java @@ -17,6 +17,10 @@ public class SqlDatabaseResource { @JsonProperty(value = "id", required = true) private String id; + /** Creates an instance of SqlDatabaseResource class. */ + public SqlDatabaseResource() { + } + /** * Get the id property: Name of the Cosmos DB SQL database. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDedicatedGatewayRegionalServiceResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDedicatedGatewayRegionalServiceResource.java index eeee2992710c4..271d4e9aecfdd 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDedicatedGatewayRegionalServiceResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDedicatedGatewayRegionalServiceResource.java @@ -16,6 +16,10 @@ public final class SqlDedicatedGatewayRegionalServiceResource extends RegionalSe @JsonProperty(value = "sqlDedicatedGatewayEndpoint", access = JsonProperty.Access.WRITE_ONLY) private String sqlDedicatedGatewayEndpoint; + /** Creates an instance of SqlDedicatedGatewayRegionalServiceResource class. */ + public SqlDedicatedGatewayRegionalServiceResource() { + } + /** * Get the sqlDedicatedGatewayEndpoint property: The regional endpoint for SqlDedicatedGateway. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDedicatedGatewayServiceResourceProperties.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDedicatedGatewayServiceResourceProperties.java index b73e3c14032ce..6449c6d9bfada 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDedicatedGatewayServiceResourceProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlDedicatedGatewayServiceResourceProperties.java @@ -27,6 +27,10 @@ public final class SqlDedicatedGatewayServiceResourceProperties extends ServiceR @JsonProperty(value = "locations", access = JsonProperty.Access.WRITE_ONLY) private List locations; + /** Creates an instance of SqlDedicatedGatewayServiceResourceProperties class. */ + public SqlDedicatedGatewayServiceResourceProperties() { + } + /** * Get the sqlDedicatedGatewayEndpoint property: SqlDedicatedGateway endpoint for the service. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlRoleAssignmentCreateUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlRoleAssignmentCreateUpdateParameters.java index 2936478d4746e..a71af99d6f6b1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlRoleAssignmentCreateUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlRoleAssignmentCreateUpdateParameters.java @@ -17,6 +17,10 @@ public final class SqlRoleAssignmentCreateUpdateParameters { @JsonProperty(value = "properties") private SqlRoleAssignmentResource innerProperties; + /** Creates an instance of SqlRoleAssignmentCreateUpdateParameters class. */ + public SqlRoleAssignmentCreateUpdateParameters() { + } + /** * Get the innerProperties property: Properties to create and update an Azure Cosmos DB SQL Role Assignment. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlRoleAssignmentListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlRoleAssignmentListResult.java index ef4fe62963714..2f34452340097 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlRoleAssignmentListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlRoleAssignmentListResult.java @@ -18,6 +18,10 @@ public final class SqlRoleAssignmentListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of SqlRoleAssignmentListResult class. */ + public SqlRoleAssignmentListResult() { + } + /** * Get the value property: List of Role Assignments and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlRoleDefinitionCreateUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlRoleDefinitionCreateUpdateParameters.java index d07691e487cc0..0990f5ad7c968 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlRoleDefinitionCreateUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlRoleDefinitionCreateUpdateParameters.java @@ -18,6 +18,10 @@ public final class SqlRoleDefinitionCreateUpdateParameters { @JsonProperty(value = "properties") private SqlRoleDefinitionResource innerProperties; + /** Creates an instance of SqlRoleDefinitionCreateUpdateParameters class. */ + public SqlRoleDefinitionCreateUpdateParameters() { + } + /** * Get the innerProperties property: Properties to create and update an Azure Cosmos DB SQL Role Definition. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlRoleDefinitionListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlRoleDefinitionListResult.java index 29886f369efaa..0215e7b05b2eb 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlRoleDefinitionListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlRoleDefinitionListResult.java @@ -18,6 +18,10 @@ public final class SqlRoleDefinitionListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of SqlRoleDefinitionListResult class. */ + public SqlRoleDefinitionListResult() { + } + /** * Get the value property: List of Role Definitions and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlStoredProcedureCreateUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlStoredProcedureCreateUpdateParameters.java index bb7655fc44f36..f23881168cfd2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlStoredProcedureCreateUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlStoredProcedureCreateUpdateParameters.java @@ -19,6 +19,10 @@ public final class SqlStoredProcedureCreateUpdateParameters extends ArmResourceP @JsonProperty(value = "properties", required = true) private SqlStoredProcedureCreateUpdateProperties innerProperties = new SqlStoredProcedureCreateUpdateProperties(); + /** Creates an instance of SqlStoredProcedureCreateUpdateParameters class. */ + public SqlStoredProcedureCreateUpdateParameters() { + } + /** * Get the innerProperties property: Properties to create and update Azure Cosmos DB storedProcedure. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlStoredProcedureGetPropertiesResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlStoredProcedureGetPropertiesResource.java index fdd39b566dfbc..b0ea3102c624e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlStoredProcedureGetPropertiesResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlStoredProcedureGetPropertiesResource.java @@ -28,6 +28,10 @@ public final class SqlStoredProcedureGetPropertiesResource extends SqlStoredProc @JsonProperty(value = "_etag", access = JsonProperty.Access.WRITE_ONLY) private String etag; + /** Creates an instance of SqlStoredProcedureGetPropertiesResource class. */ + public SqlStoredProcedureGetPropertiesResource() { + } + /** * Get the rid property: A system generated property. A unique identifier. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlStoredProcedureListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlStoredProcedureListResult.java index f9374c9f2b3e7..1392a03c59eaf 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlStoredProcedureListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlStoredProcedureListResult.java @@ -18,6 +18,10 @@ public final class SqlStoredProcedureListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of SqlStoredProcedureListResult class. */ + public SqlStoredProcedureListResult() { + } + /** * Get the value property: List of storedProcedures and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlStoredProcedureResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlStoredProcedureResource.java index fc2b5b19a1209..ebdfe437df220 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlStoredProcedureResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlStoredProcedureResource.java @@ -23,6 +23,10 @@ public class SqlStoredProcedureResource { @JsonProperty(value = "body") private String body; + /** Creates an instance of SqlStoredProcedureResource class. */ + public SqlStoredProcedureResource() { + } + /** * Get the id property: Name of the Cosmos DB SQL storedProcedure. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlTriggerCreateUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlTriggerCreateUpdateParameters.java index bca6dc0520490..7bcadfe0ba9d2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlTriggerCreateUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlTriggerCreateUpdateParameters.java @@ -19,6 +19,10 @@ public final class SqlTriggerCreateUpdateParameters extends ArmResourcePropertie @JsonProperty(value = "properties", required = true) private SqlTriggerCreateUpdateProperties innerProperties = new SqlTriggerCreateUpdateProperties(); + /** Creates an instance of SqlTriggerCreateUpdateParameters class. */ + public SqlTriggerCreateUpdateParameters() { + } + /** * Get the innerProperties property: Properties to create and update Azure Cosmos DB trigger. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlTriggerGetPropertiesResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlTriggerGetPropertiesResource.java index 28636bf7cde10..c8d1ccb7094d6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlTriggerGetPropertiesResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlTriggerGetPropertiesResource.java @@ -28,6 +28,10 @@ public final class SqlTriggerGetPropertiesResource extends SqlTriggerResource { @JsonProperty(value = "_etag", access = JsonProperty.Access.WRITE_ONLY) private String etag; + /** Creates an instance of SqlTriggerGetPropertiesResource class. */ + public SqlTriggerGetPropertiesResource() { + } + /** * Get the rid property: A system generated property. A unique identifier. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlTriggerListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlTriggerListResult.java index 688105c4997c0..69a096058018e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlTriggerListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlTriggerListResult.java @@ -18,6 +18,10 @@ public final class SqlTriggerListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of SqlTriggerListResult class. */ + public SqlTriggerListResult() { + } + /** * Get the value property: List of triggers and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlTriggerResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlTriggerResource.java index 4e753ce17fc4d..6fe6a98de138d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlTriggerResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlTriggerResource.java @@ -35,6 +35,10 @@ public class SqlTriggerResource { @JsonProperty(value = "triggerOperation") private TriggerOperation triggerOperation; + /** Creates an instance of SqlTriggerResource class. */ + public SqlTriggerResource() { + } + /** * Get the id property: Name of the Cosmos DB SQL trigger. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlUserDefinedFunctionCreateUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlUserDefinedFunctionCreateUpdateParameters.java index cfec40d5fec99..65c8f5909212f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlUserDefinedFunctionCreateUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlUserDefinedFunctionCreateUpdateParameters.java @@ -20,6 +20,10 @@ public final class SqlUserDefinedFunctionCreateUpdateParameters extends ArmResou private SqlUserDefinedFunctionCreateUpdateProperties innerProperties = new SqlUserDefinedFunctionCreateUpdateProperties(); + /** Creates an instance of SqlUserDefinedFunctionCreateUpdateParameters class. */ + public SqlUserDefinedFunctionCreateUpdateParameters() { + } + /** * Get the innerProperties property: Properties to create and update Azure Cosmos DB userDefinedFunction. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlUserDefinedFunctionGetPropertiesResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlUserDefinedFunctionGetPropertiesResource.java index b397d7d102c8a..64df33c77608a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlUserDefinedFunctionGetPropertiesResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlUserDefinedFunctionGetPropertiesResource.java @@ -28,6 +28,10 @@ public final class SqlUserDefinedFunctionGetPropertiesResource extends SqlUserDe @JsonProperty(value = "_etag", access = JsonProperty.Access.WRITE_ONLY) private String etag; + /** Creates an instance of SqlUserDefinedFunctionGetPropertiesResource class. */ + public SqlUserDefinedFunctionGetPropertiesResource() { + } + /** * Get the rid property: A system generated property. A unique identifier. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlUserDefinedFunctionListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlUserDefinedFunctionListResult.java index 83fb1e132e05a..b51134f8a941c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlUserDefinedFunctionListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlUserDefinedFunctionListResult.java @@ -18,6 +18,10 @@ public final class SqlUserDefinedFunctionListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of SqlUserDefinedFunctionListResult class. */ + public SqlUserDefinedFunctionListResult() { + } + /** * Get the value property: List of userDefinedFunctions and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlUserDefinedFunctionResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlUserDefinedFunctionResource.java index 26c957720fca9..97e2df0d14d53 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlUserDefinedFunctionResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/SqlUserDefinedFunctionResource.java @@ -23,6 +23,10 @@ public class SqlUserDefinedFunctionResource { @JsonProperty(value = "body") private String body; + /** Creates an instance of SqlUserDefinedFunctionResource class. */ + public SqlUserDefinedFunctionResource() { + } + /** * Get the id property: Name of the Cosmos DB SQL userDefinedFunction. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TableCreateUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TableCreateUpdateParameters.java index d364bf47c09b6..6d4bb5ef3c159 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TableCreateUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TableCreateUpdateParameters.java @@ -19,6 +19,10 @@ public final class TableCreateUpdateParameters extends ArmResourceProperties { @JsonProperty(value = "properties", required = true) private TableCreateUpdateProperties innerProperties = new TableCreateUpdateProperties(); + /** Creates an instance of TableCreateUpdateParameters class. */ + public TableCreateUpdateParameters() { + } + /** * Get the innerProperties property: Properties to create and update Azure Cosmos DB Table. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TableGetPropertiesOptions.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TableGetPropertiesOptions.java index bcf96b37e933a..808ab2df0ea80 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TableGetPropertiesOptions.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TableGetPropertiesOptions.java @@ -9,6 +9,10 @@ /** The TableGetPropertiesOptions model. */ @Fluent public final class TableGetPropertiesOptions extends OptionsResource { + /** Creates an instance of TableGetPropertiesOptions class. */ + public TableGetPropertiesOptions() { + } + /** {@inheritDoc} */ @Override public TableGetPropertiesOptions withThroughput(Integer throughput) { diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TableGetPropertiesResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TableGetPropertiesResource.java index ec0ac16ff72ae..5a655bae89a77 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TableGetPropertiesResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TableGetPropertiesResource.java @@ -28,6 +28,10 @@ public final class TableGetPropertiesResource extends TableResource { @JsonProperty(value = "_etag", access = JsonProperty.Access.WRITE_ONLY) private String etag; + /** Creates an instance of TableGetPropertiesResource class. */ + public TableGetPropertiesResource() { + } + /** * Get the rid property: A system generated property. A unique identifier. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TableListResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TableListResult.java index 6acaee147a8db..7536a9765464e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TableListResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TableListResult.java @@ -18,6 +18,10 @@ public final class TableListResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of TableListResult class. */ + public TableListResult() { + } + /** * Get the value property: List of Table and their properties. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TableResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TableResource.java index 6714d6805eb68..6d993f1faa5a9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TableResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TableResource.java @@ -17,6 +17,10 @@ public class TableResource { @JsonProperty(value = "id", required = true) private String id; + /** Creates an instance of TableResource class. */ + public TableResource() { + } + /** * Get the id property: Name of the Cosmos DB table. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ThroughputPolicyResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ThroughputPolicyResource.java index 187c17b4c91e0..d8bb7a9a735d8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ThroughputPolicyResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ThroughputPolicyResource.java @@ -22,6 +22,10 @@ public final class ThroughputPolicyResource { @JsonProperty(value = "incrementPercent") private Integer incrementPercent; + /** Creates an instance of ThroughputPolicyResource class. */ + public ThroughputPolicyResource() { + } + /** * Get the isEnabled property: Determines whether the ThroughputPolicy is active or not. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ThroughputSettingsGetPropertiesResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ThroughputSettingsGetPropertiesResource.java index c167a762931cf..67277f43c7333 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ThroughputSettingsGetPropertiesResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ThroughputSettingsGetPropertiesResource.java @@ -28,6 +28,10 @@ public final class ThroughputSettingsGetPropertiesResource extends ThroughputSet @JsonProperty(value = "_etag", access = JsonProperty.Access.WRITE_ONLY) private String etag; + /** Creates an instance of ThroughputSettingsGetPropertiesResource class. */ + public ThroughputSettingsGetPropertiesResource() { + } + /** * Get the rid property: A system generated property. A unique identifier. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ThroughputSettingsResource.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ThroughputSettingsResource.java index 1d3f7705c8d64..bfeb081e9d9ef 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ThroughputSettingsResource.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ThroughputSettingsResource.java @@ -38,6 +38,10 @@ public class ThroughputSettingsResource { @JsonProperty(value = "offerReplacePending", access = JsonProperty.Access.WRITE_ONLY) private String offerReplacePending; + /** Creates an instance of ThroughputSettingsResource class. */ + public ThroughputSettingsResource() { + } + /** * Get the throughput property: Value of the Cosmos DB resource throughput. Either throughput is required or * autoscaleSettings is required, but not both. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ThroughputSettingsUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ThroughputSettingsUpdateParameters.java index 67e4d803dcf9d..6ba896fb8e68f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ThroughputSettingsUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/ThroughputSettingsUpdateParameters.java @@ -19,6 +19,10 @@ public final class ThroughputSettingsUpdateParameters extends ArmResourcePropert @JsonProperty(value = "properties", required = true) private ThroughputSettingsUpdateProperties innerProperties = new ThroughputSettingsUpdateProperties(); + /** Creates an instance of ThroughputSettingsUpdateParameters class. */ + public ThroughputSettingsUpdateParameters() { + } + /** * Get the innerProperties property: Properties to update Azure Cosmos DB resource throughput. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TriggerOperation.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TriggerOperation.java index 82879de9b0aff..1d8e330853224 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TriggerOperation.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/TriggerOperation.java @@ -25,6 +25,15 @@ public final class TriggerOperation extends ExpandableStringEnum { /** Static value Post for TriggerType. */ public static final TriggerType POST = fromString("Post"); + /** + * Creates a new instance of TriggerType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public TriggerType() { + } + /** * Creates or finds a TriggerType from its string representation. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/UniqueKey.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/UniqueKey.java index a305d041b04d2..1d99c7689a35c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/UniqueKey.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/UniqueKey.java @@ -19,6 +19,10 @@ public final class UniqueKey { @JsonProperty(value = "paths") private List paths; + /** Creates an instance of UniqueKey class. */ + public UniqueKey() { + } + /** * Get the paths property: List of paths must be unique for each document in the Azure Cosmos DB service. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/UniqueKeyPolicy.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/UniqueKeyPolicy.java index 52ac4a7e8ee4f..f9a36f8334147 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/UniqueKeyPolicy.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/UniqueKeyPolicy.java @@ -21,6 +21,10 @@ public final class UniqueKeyPolicy { @JsonProperty(value = "uniqueKeys") private List uniqueKeys; + /** Creates an instance of UniqueKeyPolicy class. */ + public UniqueKeyPolicy() { + } + /** * Get the uniqueKeys property: List of unique keys on that enforces uniqueness constraint on documents in the * collection in the Azure Cosmos DB service. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/UnitType.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/UnitType.java index b02f0fda422c7..3a4df628dbc62 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/UnitType.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/UnitType.java @@ -31,6 +31,15 @@ public final class UnitType extends ExpandableStringEnum { /** Static value Milliseconds for UnitType. */ public static final UnitType MILLISECONDS = fromString("Milliseconds"); + /** + * Creates a new instance of UnitType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public UnitType() { + } + /** * Creates or finds a UnitType from its string representation. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/UsagesResult.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/UsagesResult.java index 6b7b75cba0faf..3ea29d70f8cee 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/UsagesResult.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/UsagesResult.java @@ -18,6 +18,10 @@ public final class UsagesResult { @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY) private List value; + /** Creates an instance of UsagesResult class. */ + public UsagesResult() { + } + /** * Get the value property: The list of usages for the database. A usage is a point in time metric. * diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/VirtualNetworkRule.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/VirtualNetworkRule.java index 6f2a4d68dc3da..fd99d011e959a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/VirtualNetworkRule.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/VirtualNetworkRule.java @@ -23,6 +23,10 @@ public final class VirtualNetworkRule { @JsonProperty(value = "ignoreMissingVNetServiceEndpoint") private Boolean ignoreMissingVNetServiceEndpoint; + /** Creates an instance of VirtualNetworkRule class. */ + public VirtualNetworkRule() { + } + /** * Get the id property: Resource ID of a subnet, for example: * /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/java/com/azure/resourcemanager/cosmos/CosmosDBTests.java b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/java/com/azure/resourcemanager/cosmos/CosmosDBTests.java index c0d13f12e5637..bfec8cf8bc970 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/java/com/azure/resourcemanager/cosmos/CosmosDBTests.java +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/java/com/azure/resourcemanager/cosmos/CosmosDBTests.java @@ -85,7 +85,7 @@ public void canCreateCosmosDbSqlAccount() { .withDataModelSql() .withEventualConsistency() .withWriteReplication(Region.US_EAST) - .withReadReplication(Region.US_CENTRAL) + .withReadReplication(Region.US_WEST3) .withMultipleWriteLocationsEnabled(true) .withTag("tag1", "value1") .create(); @@ -191,7 +191,7 @@ public void canCreateCosmosDbMongoDBAccount() { .withDataModelMongoDB() .withEventualConsistency() .withWriteReplication(Region.US_EAST) - .withReadReplication(Region.US_CENTRAL) + .withReadReplication(Region.US_WEST3) .withTag("tag1", "value1") .create(); diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canCreateCosmosDbAzureTableAccount.json b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canCreateCosmosDbAzureTableAccount.json index 24a4a8e674923..b632b543aab8f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canCreateCosmosDbAzureTableAccount.json +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canCreateCosmosDbAzureTableAccount.json @@ -1,553 +1,475 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb75238d1?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb979934e?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "06cb73dc-0767-4d97-aafd-5c32494302a0", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "55dd1581-16a6-4b43-9172-e0f54c431d1e", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "238", "X-Content-Type-Options" : "nosniff", "x-ms-ratelimit-remaining-subscription-writes" : "1199", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "386e2eaa-ddf9-41f0-b09f-8fa64e9814b2", - "Date" : "Thu, 08 Sep 2022 06:29:19 GMT", + "Date" : "Tue, 14 Feb 2023 07:22:42 GMT", + "x-ms-correlation-request-id" : "2d602164-80c6-4646-ac34-0da6474f05c1", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T062919Z:386e2eaa-ddf9-41f0-b09f-8fa64e9814b2", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072243Z:2d602164-80c6-4646-ac34-0da6474f05c1", "Expires" : "-1", - "x-ms-request-id" : "386e2eaa-ddf9-41f0-b09f-8fa64e9814b2", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb75238d1\",\"name\":\"rgcosmosdb75238d1\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westcentralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "Content-Length" : "238", + "x-ms-request-id" : "2d602164-80c6-4646-ac34-0da6474f05c1", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb979934e\",\"name\":\"rgcosmosdb979934e\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westcentralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb75238d1/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb1044127b4?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb979934e/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb4790833f2?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "f37bf866-1e42-4661-a8cd-8fb2b95f9d54", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "83a990fb-9eeb-49f1-8e40-781844d13587", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "2371", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "x-ms-ratelimit-remaining-subscription-writes" : "1198", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "da167122-3655-4c0e-a8a8-be37488f8fe1", - "Date" : "Thu, 08 Sep 2022 06:29:38 GMT", + "Date" : "Tue, 14 Feb 2023 07:22:59 GMT", + "x-ms-correlation-request-id" : "c78c745e-a147-460e-8cd9-6c46b3b58d55", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T062938Z:da167122-3655-4c0e-a8a8-be37488f8fe1", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072300Z:c78c745e-a147-460e-8cd9-6c46b3b58d55", "x-ms-gatewayversion" : "version=2.14.0", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/5484f040-ac09-4879-8965-11a9461eb4a9?api-version=2022-08-15", - "x-ms-request-id" : "5484f040-ac09-4879-8965-11a9461eb4a9", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb75238d1/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb1044127b4\",\"name\":\"cosmosdb1044127b4\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Table\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2022-09-08T06:29:32.7744001Z\"},\"properties\":{\"provisioningState\":\"Creating\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Table, Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"c8c55246-a22f-4a22-b074-66ad54824e5e\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb1044127b4-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb1044127b4-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb1044127b4-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb1044127b4-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableTable\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Invalid\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:29:32.7744001Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:29:32.7744001Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:29:32.7744001Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:29:32.7744001Z\"}}},\"identity\":{\"type\":\"None\"}}", - "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb75238d1/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb1044127b4/operationResults/5484f040-ac09-4879-8965-11a9461eb4a9?api-version=2022-08-15" + "Content-Length" : "2397", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1960cff5-52bc-48cb-9af7-b88d13d2cbdf?api-version=2022-11-15", + "x-ms-request-id" : "1960cff5-52bc-48cb-9af7-b88d13d2cbdf", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb979934e/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb4790833f2\",\"name\":\"cosmosdb4790833f2\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Table\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2023-02-14T07:22:53.2468315Z\"},\"properties\":{\"provisioningState\":\"Creating\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Table, Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"a53a870f-9061-4bd3-acc4-d39ef0b65f24\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb4790833f2-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb4790833f2-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb4790833f2-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb4790833f2-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableTable\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Invalid\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:22:53.2468315Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:22:53.2468315Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:22:53.2468315Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:22:53.2468315Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb979934e/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb4790833f2/operationResults/1960cff5-52bc-48cb-9af7-b88d13d2cbdf?api-version=2022-11-15", + "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/5484f040-ac09-4879-8965-11a9461eb4a9?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1960cff5-52bc-48cb-9af7-b88d13d2cbdf?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "6fc753b9-9b84-4a10-946f-7abc9ab1c405" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "9d409e7e-4a01-4bcc-b24b-db8abc74f72d" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", "StatusCode" : "200", - "x-ms-correlation-request-id" : "aec2a958-e8fd-4256-b24a-b3f54b5c4df4", - "Date" : "Thu, 08 Sep 2022 06:30:08 GMT", + "x-ms-correlation-request-id" : "2024d213-c16b-4378-836f-36ea2e277052", + "Date" : "Tue, 14 Feb 2023 07:23:29 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063009Z:aec2a958-e8fd-4256-b24a-b3f54b5c4df4", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072330Z:2024d213-c16b-4378-836f-36ea2e277052", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "aec2a958-e8fd-4256-b24a-b3f54b5c4df4", + "Content-Length" : "21", + "x-ms-request-id" : "2024d213-c16b-4378-836f-36ea2e277052", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/5484f040-ac09-4879-8965-11a9461eb4a9?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1960cff5-52bc-48cb-9af7-b88d13d2cbdf?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "3c3ab8a9-5e0e-48e7-b92c-9325b6d2c6a8" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "3774de83-ae32-479d-8fa8-1fbef5317009" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", "StatusCode" : "200", - "x-ms-correlation-request-id" : "c4b7b883-13b0-45d3-a097-b569777414e8", - "Date" : "Thu, 08 Sep 2022 06:30:39 GMT", + "x-ms-correlation-request-id" : "42810bbd-9206-4da8-86b5-dcba92c971ef", + "Date" : "Tue, 14 Feb 2023 07:24:00 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063039Z:c4b7b883-13b0-45d3-a097-b569777414e8", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072400Z:42810bbd-9206-4da8-86b5-dcba92c971ef", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "c4b7b883-13b0-45d3-a097-b569777414e8", + "Content-Length" : "21", + "x-ms-request-id" : "42810bbd-9206-4da8-86b5-dcba92c971ef", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/5484f040-ac09-4879-8965-11a9461eb4a9?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1960cff5-52bc-48cb-9af7-b88d13d2cbdf?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "d73e2375-6bfa-4ade-9a6f-6742d43debee" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "5061b847-ee2b-4a8d-8878-b68d9d21e840" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11997", "StatusCode" : "200", - "x-ms-correlation-request-id" : "6e9aada5-5949-4f97-8425-a68c7be489af", - "Date" : "Thu, 08 Sep 2022 06:31:10 GMT", + "x-ms-correlation-request-id" : "b4268d76-a47b-41d2-8eb5-5685b05ba6d5", + "Date" : "Tue, 14 Feb 2023 07:24:31 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063110Z:6e9aada5-5949-4f97-8425-a68c7be489af", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072431Z:b4268d76-a47b-41d2-8eb5-5685b05ba6d5", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "6e9aada5-5949-4f97-8425-a68c7be489af", + "Content-Length" : "21", + "x-ms-request-id" : "b4268d76-a47b-41d2-8eb5-5685b05ba6d5", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/5484f040-ac09-4879-8965-11a9461eb4a9?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1960cff5-52bc-48cb-9af7-b88d13d2cbdf?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "a6fef5e2-65f0-4f7d-a042-4177b4fa9c7f" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "9fdf9895-94d9-4e29-b0a5-d6655e68b06a" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11996", "StatusCode" : "200", - "x-ms-correlation-request-id" : "3c78791c-fe63-461e-b584-1de59de039ea", - "Date" : "Thu, 08 Sep 2022 06:31:40 GMT", + "x-ms-correlation-request-id" : "2463d6d3-776d-4007-bc04-21061b95643d", + "Date" : "Tue, 14 Feb 2023 07:25:02 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063140Z:3c78791c-fe63-461e-b584-1de59de039ea", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072502Z:2463d6d3-776d-4007-bc04-21061b95643d", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "3c78791c-fe63-461e-b584-1de59de039ea", + "Content-Length" : "21", + "x-ms-request-id" : "2463d6d3-776d-4007-bc04-21061b95643d", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/5484f040-ac09-4879-8965-11a9461eb4a9?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1960cff5-52bc-48cb-9af7-b88d13d2cbdf?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "9e3d41cc-b4ea-4284-9c0c-5de784c94320" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "f58c5adf-e6f7-4f56-bf65-39adb806c813" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", "StatusCode" : "200", - "x-ms-correlation-request-id" : "40fb8f03-7561-4609-967f-01e1f6b2b215", - "Date" : "Thu, 08 Sep 2022 06:32:11 GMT", + "x-ms-correlation-request-id" : "52ce51b5-e545-4f73-b6f3-39e0fdef8733", + "Date" : "Tue, 14 Feb 2023 07:25:33 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063211Z:40fb8f03-7561-4609-967f-01e1f6b2b215", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072533Z:52ce51b5-e545-4f73-b6f3-39e0fdef8733", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "40fb8f03-7561-4609-967f-01e1f6b2b215", + "Content-Length" : "21", + "x-ms-request-id" : "52ce51b5-e545-4f73-b6f3-39e0fdef8733", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/5484f040-ac09-4879-8965-11a9461eb4a9?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1960cff5-52bc-48cb-9af7-b88d13d2cbdf?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "140c2022-e545-4e7e-a15c-d9a24a169752" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "277e1bd0-6f90-4301-a0ce-dad756241d94" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11994", "StatusCode" : "200", - "x-ms-correlation-request-id" : "01e5fba5-eced-4950-befd-d3a4d24da8a3", - "Date" : "Thu, 08 Sep 2022 06:32:41 GMT", + "x-ms-correlation-request-id" : "865c9cfa-d0c2-4021-b1c0-1fab86f0ad11", + "Date" : "Tue, 14 Feb 2023 07:26:03 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063241Z:01e5fba5-eced-4950-befd-d3a4d24da8a3", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072603Z:865c9cfa-d0c2-4021-b1c0-1fab86f0ad11", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "01e5fba5-eced-4950-befd-d3a4d24da8a3", + "Content-Length" : "21", + "x-ms-request-id" : "865c9cfa-d0c2-4021-b1c0-1fab86f0ad11", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/5484f040-ac09-4879-8965-11a9461eb4a9?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1960cff5-52bc-48cb-9af7-b88d13d2cbdf?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "3af3843e-aa1c-4f40-85bc-52239ed42e47" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "0f1dd6ce-8d3c-422b-9463-e931f43c4e93" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11993", "StatusCode" : "200", - "x-ms-correlation-request-id" : "9df7758f-53e6-4ef7-a82c-312128b98099", - "Date" : "Thu, 08 Sep 2022 06:33:11 GMT", + "x-ms-correlation-request-id" : "71db57d6-a705-4a79-8943-61a12f738070", + "Date" : "Tue, 14 Feb 2023 07:26:32 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063311Z:9df7758f-53e6-4ef7-a82c-312128b98099", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072633Z:71db57d6-a705-4a79-8943-61a12f738070", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "9df7758f-53e6-4ef7-a82c-312128b98099", + "Content-Length" : "21", + "x-ms-request-id" : "71db57d6-a705-4a79-8943-61a12f738070", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/5484f040-ac09-4879-8965-11a9461eb4a9?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1960cff5-52bc-48cb-9af7-b88d13d2cbdf?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "203355db-9b8c-4802-b27a-4bf3f9ea8bbf" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "efd1451c-70ca-44d9-b456-0dfdb452a073" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", "StatusCode" : "200", - "x-ms-correlation-request-id" : "9e94d3c0-3471-4f97-866d-404a450d0160", - "Date" : "Thu, 08 Sep 2022 06:33:41 GMT", + "x-ms-correlation-request-id" : "cad406a7-7c7b-48a3-beb3-d6fe97ee4765", + "Date" : "Tue, 14 Feb 2023 07:27:03 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063342Z:9e94d3c0-3471-4f97-866d-404a450d0160", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072704Z:cad406a7-7c7b-48a3-beb3-d6fe97ee4765", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "9e94d3c0-3471-4f97-866d-404a450d0160", + "Content-Length" : "21", + "x-ms-request-id" : "cad406a7-7c7b-48a3-beb3-d6fe97ee4765", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/5484f040-ac09-4879-8965-11a9461eb4a9?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1960cff5-52bc-48cb-9af7-b88d13d2cbdf?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "6f11822d-e5ca-470c-80a2-120fba13be5f" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "4f390bef-7f9b-4981-a04c-534d3e78e2ab" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11991", "StatusCode" : "200", - "x-ms-correlation-request-id" : "1e0aaf51-4c1a-46ab-8e23-43c3fead55b3", - "Date" : "Thu, 08 Sep 2022 06:34:11 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063412Z:1e0aaf51-4c1a-46ab-8e23-43c3fead55b3", - "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "1e0aaf51-4c1a-46ab-8e23-43c3fead55b3", - "Body" : "{\"status\":\"Dequeued\"}", - "Content-Type" : "application/json" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/5484f040-ac09-4879-8965-11a9461eb4a9?api-version=2022-08-15", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "f2e07027-07ee-41df-b635-5cd2be4fa028" - }, - "Response" : { - "content-length" : "21", - "Server" : "Microsoft-HTTPAPI/2.0", - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11979", - "StatusCode" : "200", - "x-ms-correlation-request-id" : "52241e89-ed91-4584-a165-fb9964a54645", - "Date" : "Thu, 08 Sep 2022 06:34:42 GMT", + "x-ms-correlation-request-id" : "a3ec4e3d-c95c-40ea-a67f-32d437e90eb4", + "Date" : "Tue, 14 Feb 2023 07:27:34 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063443Z:52241e89-ed91-4584-a165-fb9964a54645", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072735Z:a3ec4e3d-c95c-40ea-a67f-32d437e90eb4", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "52241e89-ed91-4584-a165-fb9964a54645", + "Content-Length" : "21", + "x-ms-request-id" : "a3ec4e3d-c95c-40ea-a67f-32d437e90eb4", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/5484f040-ac09-4879-8965-11a9461eb4a9?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1960cff5-52bc-48cb-9af7-b88d13d2cbdf?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "62cc27eb-3c60-477f-b7fb-1b4e92d6bed4" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "cdf50016-b034-4fd7-a77f-59c19413b727" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11978", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", "StatusCode" : "200", - "x-ms-correlation-request-id" : "623cbbcf-d228-4f75-a20c-f1bf4128a782", - "Date" : "Thu, 08 Sep 2022 06:35:12 GMT", + "x-ms-correlation-request-id" : "735e3afe-8e5e-4f29-b5c2-09827898bca1", + "Date" : "Tue, 14 Feb 2023 07:28:05 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063513Z:623cbbcf-d228-4f75-a20c-f1bf4128a782", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072806Z:735e3afe-8e5e-4f29-b5c2-09827898bca1", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "623cbbcf-d228-4f75-a20c-f1bf4128a782", + "Content-Length" : "21", + "x-ms-request-id" : "735e3afe-8e5e-4f29-b5c2-09827898bca1", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/5484f040-ac09-4879-8965-11a9461eb4a9?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1960cff5-52bc-48cb-9af7-b88d13d2cbdf?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "1c73c20a-debc-439c-85a3-09e3c0074e68" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "f440eb8f-60c4-4f52-8232-9a661f4afd3b" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", "StatusCode" : "200", - "x-ms-correlation-request-id" : "18a515e1-d0cd-4e64-a7fc-7f4273fd2fe5", - "Date" : "Thu, 08 Sep 2022 06:35:43 GMT", + "x-ms-correlation-request-id" : "3f7a0cc5-c421-40ce-8def-5588866d34ac", + "Date" : "Tue, 14 Feb 2023 07:28:36 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063543Z:18a515e1-d0cd-4e64-a7fc-7f4273fd2fe5", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072837Z:3f7a0cc5-c421-40ce-8def-5588866d34ac", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "18a515e1-d0cd-4e64-a7fc-7f4273fd2fe5", + "Content-Length" : "21", + "x-ms-request-id" : "3f7a0cc5-c421-40ce-8def-5588866d34ac", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/5484f040-ac09-4879-8965-11a9461eb4a9?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1960cff5-52bc-48cb-9af7-b88d13d2cbdf?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "fc809fcd-736d-4fd3-acda-9bf14b08bab0" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "347a06e8-32b5-4c0f-9177-16c32d9b308d" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11989", "StatusCode" : "200", - "x-ms-correlation-request-id" : "f5efedc4-beb0-41f2-8e94-f0390b5faadc", - "Date" : "Thu, 08 Sep 2022 06:36:14 GMT", + "x-ms-correlation-request-id" : "0744e8ce-e898-4ac2-917e-58b2ad15570b", + "Date" : "Tue, 14 Feb 2023 07:29:07 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063614Z:f5efedc4-beb0-41f2-8e94-f0390b5faadc", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072907Z:0744e8ce-e898-4ac2-917e-58b2ad15570b", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "f5efedc4-beb0-41f2-8e94-f0390b5faadc", + "Content-Length" : "21", + "x-ms-request-id" : "0744e8ce-e898-4ac2-917e-58b2ad15570b", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/5484f040-ac09-4879-8965-11a9461eb4a9?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1960cff5-52bc-48cb-9af7-b88d13d2cbdf?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "5810dd0f-5d70-426c-b9dd-e4fd0b80483b" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "18f8943b-0b84-4ee6-9c50-f5cee86aa7a8" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11988", "StatusCode" : "200", - "x-ms-correlation-request-id" : "7a4eed1e-2ab7-4b2f-a500-5cec6b7e4aa1", - "Date" : "Thu, 08 Sep 2022 06:36:44 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063645Z:7a4eed1e-2ab7-4b2f-a500-5cec6b7e4aa1", - "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "7a4eed1e-2ab7-4b2f-a500-5cec6b7e4aa1", - "Body" : "{\"status\":\"Dequeued\"}", - "Content-Type" : "application/json" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/5484f040-ac09-4879-8965-11a9461eb4a9?api-version=2022-08-15", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "331ff566-b547-4921-a28f-1ace8310587b" - }, - "Response" : { - "content-length" : "21", - "Server" : "Microsoft-HTTPAPI/2.0", - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", - "StatusCode" : "200", - "x-ms-correlation-request-id" : "22ff85c9-8e66-4d5d-831c-53b6d9ccf009", - "Date" : "Thu, 08 Sep 2022 06:37:15 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063715Z:22ff85c9-8e66-4d5d-831c-53b6d9ccf009", - "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "22ff85c9-8e66-4d5d-831c-53b6d9ccf009", - "Body" : "{\"status\":\"Dequeued\"}", - "Content-Type" : "application/json" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/5484f040-ac09-4879-8965-11a9461eb4a9?api-version=2022-08-15", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "cd0e583f-29f4-4fb8-bcaa-8a8a7f215041" - }, - "Response" : { - "content-length" : "22", - "Server" : "Microsoft-HTTPAPI/2.0", - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11971", - "StatusCode" : "200", - "x-ms-correlation-request-id" : "91b6b3ab-6441-4272-84c5-6ad2c580e404", - "Date" : "Thu, 08 Sep 2022 06:37:45 GMT", + "x-ms-correlation-request-id" : "54b20a0b-9a09-40de-8998-7c0e7f4e19d4", + "Date" : "Tue, 14 Feb 2023 07:29:37 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063746Z:91b6b3ab-6441-4272-84c5-6ad2c580e404", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072938Z:54b20a0b-9a09-40de-8998-7c0e7f4e19d4", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "91b6b3ab-6441-4272-84c5-6ad2c580e404", + "Content-Length" : "22", + "x-ms-request-id" : "54b20a0b-9a09-40de-8998-7c0e7f4e19d4", "Body" : "{\"status\":\"Succeeded\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb75238d1/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb1044127b4?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb979934e/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb4790833f2?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "9a0d5b41-1a26-4023-9312-8980e1aec93c" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "c489bc19-ef7f-4ba3-9e13-a705b087bbf6" }, "Response" : { - "content-length" : "3280", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", "StatusCode" : "200", - "x-ms-correlation-request-id" : "85f97a22-5094-4b47-aaff-f80dd59afa63", - "Date" : "Thu, 08 Sep 2022 06:37:46 GMT", + "x-ms-correlation-request-id" : "bc53eb35-270d-4921-bec3-68b08bab64b2", + "Date" : "Tue, 14 Feb 2023 07:29:38 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063746Z:85f97a22-5094-4b47-aaff-f80dd59afa63", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072939Z:bc53eb35-270d-4921-bec3-68b08bab64b2", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "85f97a22-5094-4b47-aaff-f80dd59afa63", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb75238d1/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb1044127b4\",\"name\":\"cosmosdb1044127b4\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Table\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2022-09-08T06:33:35.2282222Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb1044127b4.documents.azure.com:443/\",\"tableEndpoint\":\"https://cosmosdb1044127b4.table.cosmos.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Table, Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"c8c55246-a22f-4a22-b074-66ad54824e5e\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb1044127b4-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb1044127b4-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb1044127b4-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb1044127b4-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb1044127b4-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb1044127b4-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb1044127b4-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb1044127b4-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb1044127b4-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb1044127b4-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb1044127b4-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"cosmosdb1044127b4-westus\",\"locationName\":\"West US\",\"failoverPriority\":1}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableTable\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:33:35.2282222Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:33:35.2282222Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:33:35.2282222Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:33:35.2282222Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Content-Length" : "3373", + "x-ms-request-id" : "bc53eb35-270d-4921-bec3-68b08bab64b2", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb979934e/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb4790833f2\",\"name\":\"cosmosdb4790833f2\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Table\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2023-02-14T07:26:33.4427894Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb4790833f2.documents.azure.com:443/\",\"tableEndpoint\":\"https://cosmosdb4790833f2.table.cosmos.azure.com:443/\",\"sqlEndpoint\":\"https://cosmosdb4790833f2.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Table, Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"a53a870f-9061-4bd3-acc4-d39ef0b65f24\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb4790833f2-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb4790833f2-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb4790833f2-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb4790833f2-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb4790833f2-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb4790833f2-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb4790833f2-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb4790833f2-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb4790833f2-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb4790833f2-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb4790833f2-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"cosmosdb4790833f2-westus\",\"locationName\":\"West US\",\"failoverPriority\":1}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableTable\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:26:33.4427894Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:26:33.4427894Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:26:33.4427894Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:26:33.4427894Z\"}}},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb75238d1/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb1044127b4?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb979934e/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb4790833f2?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "ab82e034-4e93-4345-a19a-9553507153eb", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "8ca3c4a2-8d52-407e-80b8-7baf0f01c1ac", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "3280", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11970", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", "StatusCode" : "200", - "x-ms-correlation-request-id" : "408d752a-34d5-4921-803c-9ca2bc166b9d", - "Date" : "Thu, 08 Sep 2022 06:37:46 GMT", + "Date" : "Tue, 14 Feb 2023 07:29:39 GMT", + "x-ms-correlation-request-id" : "402a9d16-153d-473b-9975-e54e16b9acb4", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063747Z:408d752a-34d5-4921-803c-9ca2bc166b9d", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072940Z:402a9d16-153d-473b-9975-e54e16b9acb4", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "408d752a-34d5-4921-803c-9ca2bc166b9d", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb75238d1/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb1044127b4\",\"name\":\"cosmosdb1044127b4\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Table\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2022-09-08T06:33:35.2282222Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb1044127b4.documents.azure.com:443/\",\"tableEndpoint\":\"https://cosmosdb1044127b4.table.cosmos.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Table, Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"c8c55246-a22f-4a22-b074-66ad54824e5e\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb1044127b4-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb1044127b4-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb1044127b4-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb1044127b4-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb1044127b4-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb1044127b4-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb1044127b4-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb1044127b4-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb1044127b4-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb1044127b4-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb1044127b4-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"cosmosdb1044127b4-westus\",\"locationName\":\"West US\",\"failoverPriority\":1}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableTable\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:33:35.2282222Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:33:35.2282222Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:33:35.2282222Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:33:35.2282222Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Content-Length" : "3373", + "x-ms-request-id" : "402a9d16-153d-473b-9975-e54e16b9acb4", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb979934e/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb4790833f2\",\"name\":\"cosmosdb4790833f2\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Table\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2023-02-14T07:26:33.4427894Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb4790833f2.documents.azure.com:443/\",\"tableEndpoint\":\"https://cosmosdb4790833f2.table.cosmos.azure.com:443/\",\"sqlEndpoint\":\"https://cosmosdb4790833f2.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Table, Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"a53a870f-9061-4bd3-acc4-d39ef0b65f24\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb4790833f2-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb4790833f2-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb4790833f2-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb4790833f2-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb4790833f2-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb4790833f2-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb4790833f2-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb4790833f2-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb4790833f2-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb4790833f2-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb4790833f2-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"cosmosdb4790833f2-westus\",\"locationName\":\"West US\",\"failoverPriority\":1}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableTable\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:26:33.4427894Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:26:33.4427894Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:26:33.4427894Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:26:33.4427894Z\"}}},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb75238d1?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb979934e?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "12bd20a3-7646-480d-a032-ca2722020734", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "d830f506-e1d4-482c-90e4-136bf90a885b", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "0", - "x-ms-ratelimit-remaining-subscription-deletes" : "14998", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "4dfc71cd-6d1c-4125-8b20-8842468ef8f5", - "Date" : "Thu, 08 Sep 2022 06:37:49 GMT", + "Date" : "Tue, 14 Feb 2023 07:29:43 GMT", + "x-ms-correlation-request-id" : "83827671-27ee-4098-b612-4c2be60bbc95", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063750Z:4dfc71cd-6d1c-4125-8b20-8842468ef8f5", + "Cache-Control" : "no-cache", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072943Z:83827671-27ee-4098-b612-4c2be60bbc95", "Expires" : "-1", - "x-ms-request-id" : "4dfc71cd-6d1c-4125-8b20-8842468ef8f5", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SR0NPU01PU0RCNzUyMzhEMS1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" + "Content-Length" : "0", + "x-ms-request-id" : "83827671-27ee-4098-b612-4c2be60bbc95", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SR0NPU01PU0RCOTc5OTM0RS1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null } ], - "variables" : [ "rgcosmosdb75238d1", "cosmosdb1044127b4" ] + "variables" : [ "rgcosmosdb979934e", "cosmosdb4790833f2" ] } \ No newline at end of file diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canCreateCosmosDbCassandraAccount.json b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canCreateCosmosDbCassandraAccount.json index 9f522a551fc1b..c38ae15766809 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canCreateCosmosDbCassandraAccount.json +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canCreateCosmosDbCassandraAccount.json @@ -1,553 +1,475 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb6255544?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb575447f?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "7e346211-fd8d-463a-ace9-44654b1b83c4", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "ac37b1a7-c71a-4d07-aae5-ced51b1c9c6b", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "238", "X-Content-Type-Options" : "nosniff", "x-ms-ratelimit-remaining-subscription-writes" : "1199", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "c50f519d-55b7-41f5-baee-0878193cb9eb", - "Date" : "Thu, 08 Sep 2022 06:29:19 GMT", + "Date" : "Tue, 14 Feb 2023 07:22:44 GMT", + "x-ms-correlation-request-id" : "cbb75ed8-f4af-4e05-aa97-498f97ec1550", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T062919Z:c50f519d-55b7-41f5-baee-0878193cb9eb", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072245Z:cbb75ed8-f4af-4e05-aa97-498f97ec1550", "Expires" : "-1", - "x-ms-request-id" : "c50f519d-55b7-41f5-baee-0878193cb9eb", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6255544\",\"name\":\"rgcosmosdb6255544\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westcentralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "Content-Length" : "238", + "x-ms-request-id" : "cbb75ed8-f4af-4e05-aa97-498f97ec1550", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb575447f\",\"name\":\"rgcosmosdb575447f\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westcentralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6255544/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb5846888b2?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb575447f/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb21926ed37?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "f2abf1d7-261d-4d45-8e41-b4397c46a860", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "ac1dc8a1-5104-4f53-83ea-64fa38af3f93", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "2373", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "x-ms-ratelimit-remaining-subscription-writes" : "1198", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "bcc12829-f164-4415-9dde-ee1a8f126a8c", - "Date" : "Thu, 08 Sep 2022 06:29:33 GMT", + "Date" : "Tue, 14 Feb 2023 07:23:01 GMT", + "x-ms-correlation-request-id" : "4484ba22-48d5-4662-bc58-98d69cd043a2", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T062934Z:bcc12829-f164-4415-9dde-ee1a8f126a8c", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072302Z:4484ba22-48d5-4662-bc58-98d69cd043a2", "x-ms-gatewayversion" : "version=2.14.0", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1248aced-5391-4029-8484-3e49b1afa4b7?api-version=2022-08-15", - "x-ms-request-id" : "1248aced-5391-4029-8484-3e49b1afa4b7", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6255544/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb5846888b2\",\"name\":\"cosmosdb5846888b2\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Cassandra\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2022-09-08T06:29:28.431578Z\"},\"properties\":{\"provisioningState\":\"Creating\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Cassandra\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"e95efa5e-2477-4236-85ac-6937da318ebf\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb5846888b2-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb5846888b2-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb5846888b2-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb5846888b2-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableCassandra\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Invalid\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:29:28.431578Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:29:28.431578Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:29:28.431578Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:29:28.431578Z\"}}},\"identity\":{\"type\":\"None\"}}", - "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6255544/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb5846888b2/operationResults/1248aced-5391-4029-8484-3e49b1afa4b7?api-version=2022-08-15" + "Content-Length" : "2406", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/452afab6-a177-4ce3-b727-bb162c2f847a?api-version=2022-11-15", + "x-ms-request-id" : "452afab6-a177-4ce3-b727-bb162c2f847a", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb575447f/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb21926ed37\",\"name\":\"cosmosdb21926ed37\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Cassandra\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2023-02-14T07:22:55.7074128Z\"},\"properties\":{\"provisioningState\":\"Creating\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Cassandra\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"55579b2a-4575-4471-a2a3-4d3f0bb8ee17\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls12\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb21926ed37-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb21926ed37-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb21926ed37-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb21926ed37-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableCassandra\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Invalid\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:22:55.7074128Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:22:55.7074128Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:22:55.7074128Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:22:55.7074128Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb575447f/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb21926ed37/operationResults/452afab6-a177-4ce3-b727-bb162c2f847a?api-version=2022-11-15", + "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1248aced-5391-4029-8484-3e49b1afa4b7?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/452afab6-a177-4ce3-b727-bb162c2f847a?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "6ff1c493-c3d2-4357-a1f3-aee7a02c858e" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "4f717834-93ff-441b-b97b-9a8c1c20fa05" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11999", "StatusCode" : "200", - "x-ms-correlation-request-id" : "d0db7dd0-912a-48d5-92c1-bcfd4adef73b", - "Date" : "Thu, 08 Sep 2022 06:30:04 GMT", + "x-ms-correlation-request-id" : "4e183ad0-519b-46cc-a327-643ae03a349d", + "Date" : "Tue, 14 Feb 2023 07:23:32 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063004Z:d0db7dd0-912a-48d5-92c1-bcfd4adef73b", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072332Z:4e183ad0-519b-46cc-a327-643ae03a349d", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "d0db7dd0-912a-48d5-92c1-bcfd4adef73b", + "Content-Length" : "21", + "x-ms-request-id" : "4e183ad0-519b-46cc-a327-643ae03a349d", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1248aced-5391-4029-8484-3e49b1afa4b7?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/452afab6-a177-4ce3-b727-bb162c2f847a?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "b461cef4-fc43-45d1-9195-778a333f0f7c" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "f6177118-654d-41d4-8502-1643a2d3e7ad" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11995", "StatusCode" : "200", - "x-ms-correlation-request-id" : "b94327e3-0665-478b-ad33-5b919466e84d", - "Date" : "Thu, 08 Sep 2022 06:30:34 GMT", + "x-ms-correlation-request-id" : "5beb2b3c-78f1-43d0-a475-439f715287a8", + "Date" : "Tue, 14 Feb 2023 07:24:03 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063034Z:b94327e3-0665-478b-ad33-5b919466e84d", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072403Z:5beb2b3c-78f1-43d0-a475-439f715287a8", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "b94327e3-0665-478b-ad33-5b919466e84d", + "Content-Length" : "21", + "x-ms-request-id" : "5beb2b3c-78f1-43d0-a475-439f715287a8", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1248aced-5391-4029-8484-3e49b1afa4b7?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/452afab6-a177-4ce3-b727-bb162c2f847a?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "1826457b-b130-4b3e-aa08-ccb6f3c7f506" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "9f5915bb-9861-4c73-9087-bb5dd6bcf4ee" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", "StatusCode" : "200", - "x-ms-correlation-request-id" : "13712456-dbdb-4f2e-b360-7b8bef40a611", - "Date" : "Thu, 08 Sep 2022 06:31:05 GMT", + "x-ms-correlation-request-id" : "14da59ba-a0e4-411d-a590-862bc52d0bf3", + "Date" : "Tue, 14 Feb 2023 07:24:32 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063106Z:13712456-dbdb-4f2e-b360-7b8bef40a611", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072433Z:14da59ba-a0e4-411d-a590-862bc52d0bf3", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "13712456-dbdb-4f2e-b360-7b8bef40a611", + "Content-Length" : "21", + "x-ms-request-id" : "14da59ba-a0e4-411d-a590-862bc52d0bf3", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1248aced-5391-4029-8484-3e49b1afa4b7?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/452afab6-a177-4ce3-b727-bb162c2f847a?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "31954a70-2225-4e94-87fb-9126c3574d41" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "e11b210e-4882-427b-be2f-933eac9978c8" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", "StatusCode" : "200", - "x-ms-correlation-request-id" : "872520b4-9242-4a80-9610-5a019fd8d4a9", - "Date" : "Thu, 08 Sep 2022 06:31:35 GMT", + "x-ms-correlation-request-id" : "2a139920-66e8-4e1b-8b98-0cae7218b1cd", + "Date" : "Tue, 14 Feb 2023 07:25:04 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063136Z:872520b4-9242-4a80-9610-5a019fd8d4a9", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072504Z:2a139920-66e8-4e1b-8b98-0cae7218b1cd", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "872520b4-9242-4a80-9610-5a019fd8d4a9", + "Content-Length" : "21", + "x-ms-request-id" : "2a139920-66e8-4e1b-8b98-0cae7218b1cd", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1248aced-5391-4029-8484-3e49b1afa4b7?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/452afab6-a177-4ce3-b727-bb162c2f847a?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "d2ea6395-08f6-4cc1-82d3-f5b95ccd7b93" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "d97fddcf-3ef2-437c-8774-57e649b846b4" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", "StatusCode" : "200", - "x-ms-correlation-request-id" : "7964985f-4993-46da-af86-4c36fae78be5", - "Date" : "Thu, 08 Sep 2022 06:32:06 GMT", + "x-ms-correlation-request-id" : "abc555ac-d27d-46ca-b03f-634b88036597", + "Date" : "Tue, 14 Feb 2023 07:25:34 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063206Z:7964985f-4993-46da-af86-4c36fae78be5", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072534Z:abc555ac-d27d-46ca-b03f-634b88036597", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "7964985f-4993-46da-af86-4c36fae78be5", + "Content-Length" : "21", + "x-ms-request-id" : "abc555ac-d27d-46ca-b03f-634b88036597", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1248aced-5391-4029-8484-3e49b1afa4b7?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/452afab6-a177-4ce3-b727-bb162c2f847a?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "ea6606d9-a737-4fb8-89ec-0f4ab2269abf" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "167bf860-646a-46d9-8251-23e167b47bae" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11994", "StatusCode" : "200", - "x-ms-correlation-request-id" : "dc5c3434-59f1-4631-b49e-9f2bd7989799", - "Date" : "Thu, 08 Sep 2022 06:32:37 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063237Z:dc5c3434-59f1-4631-b49e-9f2bd7989799", - "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "dc5c3434-59f1-4631-b49e-9f2bd7989799", - "Body" : "{\"status\":\"Dequeued\"}", - "Content-Type" : "application/json" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1248aced-5391-4029-8484-3e49b1afa4b7?api-version=2022-08-15", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "6970dcc2-53df-4dbc-83e2-5c8e411aba7f" - }, - "Response" : { - "content-length" : "21", - "Server" : "Microsoft-HTTPAPI/2.0", - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", - "StatusCode" : "200", - "x-ms-correlation-request-id" : "6f9c8522-bc70-40e3-aa03-75e66bdf99c8", - "Date" : "Thu, 08 Sep 2022 06:33:07 GMT", + "x-ms-correlation-request-id" : "ea9eef46-aca2-4a99-a86c-99711b534c9b", + "Date" : "Tue, 14 Feb 2023 07:26:04 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063307Z:6f9c8522-bc70-40e3-aa03-75e66bdf99c8", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072605Z:ea9eef46-aca2-4a99-a86c-99711b534c9b", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "6f9c8522-bc70-40e3-aa03-75e66bdf99c8", + "Content-Length" : "21", + "x-ms-request-id" : "ea9eef46-aca2-4a99-a86c-99711b534c9b", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1248aced-5391-4029-8484-3e49b1afa4b7?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/452afab6-a177-4ce3-b727-bb162c2f847a?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "a31033eb-4573-4368-9db5-b405b2c4dfd9" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "fb47503a-6a9d-4373-a773-d5d8dd0f6106" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11993", "StatusCode" : "200", - "x-ms-correlation-request-id" : "039f61d1-14b8-45cf-81a2-ec16a417ade9", - "Date" : "Thu, 08 Sep 2022 06:33:38 GMT", + "x-ms-correlation-request-id" : "45d074d3-fef0-450b-a26a-fa4f8e83c05f", + "Date" : "Tue, 14 Feb 2023 07:26:34 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063338Z:039f61d1-14b8-45cf-81a2-ec16a417ade9", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072635Z:45d074d3-fef0-450b-a26a-fa4f8e83c05f", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "039f61d1-14b8-45cf-81a2-ec16a417ade9", + "Content-Length" : "21", + "x-ms-request-id" : "45d074d3-fef0-450b-a26a-fa4f8e83c05f", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1248aced-5391-4029-8484-3e49b1afa4b7?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/452afab6-a177-4ce3-b727-bb162c2f847a?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "af488d03-ab6c-431e-b4fa-b8258ec93723" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "1c7aa47d-4855-4299-a8f6-d4cdd12c494e" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", "StatusCode" : "200", - "x-ms-correlation-request-id" : "87162b2d-1340-499d-bd4a-3ca5b332cd0c", - "Date" : "Thu, 08 Sep 2022 06:34:09 GMT", + "x-ms-correlation-request-id" : "cd4ccccc-16c4-4176-aee9-eb7498b1c38e", + "Date" : "Tue, 14 Feb 2023 07:27:04 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063409Z:87162b2d-1340-499d-bd4a-3ca5b332cd0c", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072705Z:cd4ccccc-16c4-4176-aee9-eb7498b1c38e", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "87162b2d-1340-499d-bd4a-3ca5b332cd0c", + "Content-Length" : "21", + "x-ms-request-id" : "cd4ccccc-16c4-4176-aee9-eb7498b1c38e", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1248aced-5391-4029-8484-3e49b1afa4b7?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/452afab6-a177-4ce3-b727-bb162c2f847a?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "067b596d-3929-45ce-aedd-ff365a302140" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "adc8da40-8135-4822-ae3f-1cee1b64ff9b" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11991", "StatusCode" : "200", - "x-ms-correlation-request-id" : "dd0410ee-3812-4ecc-8f28-ff72f1dae965", - "Date" : "Thu, 08 Sep 2022 06:34:39 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063440Z:dd0410ee-3812-4ecc-8f28-ff72f1dae965", - "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "dd0410ee-3812-4ecc-8f28-ff72f1dae965", - "Body" : "{\"status\":\"Dequeued\"}", - "Content-Type" : "application/json" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1248aced-5391-4029-8484-3e49b1afa4b7?api-version=2022-08-15", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "2fda96f0-13c3-4a78-af6b-cc0e327d3732" - }, - "Response" : { - "content-length" : "21", - "Server" : "Microsoft-HTTPAPI/2.0", - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", - "StatusCode" : "200", - "x-ms-correlation-request-id" : "05314ce5-dc8e-4253-8fd1-000ae7c225c2", - "Date" : "Thu, 08 Sep 2022 06:35:10 GMT", + "x-ms-correlation-request-id" : "67b25731-2ae0-489f-b7b7-00ed29fb517c", + "Date" : "Tue, 14 Feb 2023 07:27:35 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063511Z:05314ce5-dc8e-4253-8fd1-000ae7c225c2", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072735Z:67b25731-2ae0-489f-b7b7-00ed29fb517c", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "05314ce5-dc8e-4253-8fd1-000ae7c225c2", + "Content-Length" : "21", + "x-ms-request-id" : "67b25731-2ae0-489f-b7b7-00ed29fb517c", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1248aced-5391-4029-8484-3e49b1afa4b7?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/452afab6-a177-4ce3-b727-bb162c2f847a?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "4df7b737-e0b8-417e-b948-a16526f9b2ff" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "4cf10e4c-f233-4f47-b5f6-07c9b445b7b9" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11990", "StatusCode" : "200", - "x-ms-correlation-request-id" : "b7847e60-721c-4d74-bcdb-85843b616df1", - "Date" : "Thu, 08 Sep 2022 06:35:41 GMT", + "x-ms-correlation-request-id" : "ffd6d496-6444-4d61-afe9-d287e5afe2d1", + "Date" : "Tue, 14 Feb 2023 07:28:06 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063542Z:b7847e60-721c-4d74-bcdb-85843b616df1", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072806Z:ffd6d496-6444-4d61-afe9-d287e5afe2d1", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "b7847e60-721c-4d74-bcdb-85843b616df1", + "Content-Length" : "21", + "x-ms-request-id" : "ffd6d496-6444-4d61-afe9-d287e5afe2d1", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1248aced-5391-4029-8484-3e49b1afa4b7?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/452afab6-a177-4ce3-b727-bb162c2f847a?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "f67b9424-d0d8-4806-b3aa-b152c54aeed2" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "c0182af8-9253-4a27-985a-e8c28819031a" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11990", "StatusCode" : "200", - "x-ms-correlation-request-id" : "4231ec98-cf01-4969-8d88-a6025bb836c7", - "Date" : "Thu, 08 Sep 2022 06:36:12 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063613Z:4231ec98-cf01-4969-8d88-a6025bb836c7", - "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "4231ec98-cf01-4969-8d88-a6025bb836c7", - "Body" : "{\"status\":\"Dequeued\"}", - "Content-Type" : "application/json" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1248aced-5391-4029-8484-3e49b1afa4b7?api-version=2022-08-15", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "1b6ec961-e9ee-4a43-96c7-1c5cb15fc685" - }, - "Response" : { - "content-length" : "21", - "Server" : "Microsoft-HTTPAPI/2.0", - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", - "StatusCode" : "200", - "x-ms-correlation-request-id" : "b08cb047-b471-43c8-9c87-2f0a84fa3dd3", - "Date" : "Thu, 08 Sep 2022 06:36:43 GMT", + "x-ms-correlation-request-id" : "576ed667-f3ef-4cbb-94f2-159b1097ab7a", + "Date" : "Tue, 14 Feb 2023 07:28:37 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063644Z:b08cb047-b471-43c8-9c87-2f0a84fa3dd3", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072837Z:576ed667-f3ef-4cbb-94f2-159b1097ab7a", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "b08cb047-b471-43c8-9c87-2f0a84fa3dd3", + "Content-Length" : "21", + "x-ms-request-id" : "576ed667-f3ef-4cbb-94f2-159b1097ab7a", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1248aced-5391-4029-8484-3e49b1afa4b7?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/452afab6-a177-4ce3-b727-bb162c2f847a?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "bffcd3b7-b0d1-4147-8622-c76fb2352d29" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "4ee7f95e-60e8-4602-b4d8-e084c43474d7" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11973", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", "StatusCode" : "200", - "x-ms-correlation-request-id" : "8dd85bd8-e87a-46e9-a768-745908b45cdd", - "Date" : "Thu, 08 Sep 2022 06:37:14 GMT", + "x-ms-correlation-request-id" : "314d5b84-84c5-4c3e-95b3-9ebdc03cfa99", + "Date" : "Tue, 14 Feb 2023 07:29:08 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063714Z:8dd85bd8-e87a-46e9-a768-745908b45cdd", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072908Z:314d5b84-84c5-4c3e-95b3-9ebdc03cfa99", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "8dd85bd8-e87a-46e9-a768-745908b45cdd", + "Content-Length" : "21", + "x-ms-request-id" : "314d5b84-84c5-4c3e-95b3-9ebdc03cfa99", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/1248aced-5391-4029-8484-3e49b1afa4b7?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/452afab6-a177-4ce3-b727-bb162c2f847a?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "8d42f309-9212-433e-a48e-6429ced42e8c" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "15f02fca-ba24-49b4-94df-3bf46fa229c8" }, "Response" : { - "content-length" : "22", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11988", "StatusCode" : "200", - "x-ms-correlation-request-id" : "1998e9e1-a5db-4c49-83a2-149106741ab0", - "Date" : "Thu, 08 Sep 2022 06:37:44 GMT", + "x-ms-correlation-request-id" : "8b079f69-064b-42e2-b00c-41484cbf058e", + "Date" : "Tue, 14 Feb 2023 07:29:38 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063745Z:1998e9e1-a5db-4c49-83a2-149106741ab0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072939Z:8b079f69-064b-42e2-b00c-41484cbf058e", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "1998e9e1-a5db-4c49-83a2-149106741ab0", + "Content-Length" : "22", + "x-ms-request-id" : "8b079f69-064b-42e2-b00c-41484cbf058e", "Body" : "{\"status\":\"Succeeded\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6255544/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb5846888b2?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb575447f/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb21926ed37?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "ef71ef99-0bb7-4124-8ebd-a0e9dc2dc46c" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "a9a6d2e3-dc73-4daf-8bdc-b8a9c1b396f0" }, "Response" : { - "content-length" : "3295", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", "StatusCode" : "200", - "x-ms-correlation-request-id" : "c6910e2a-0a7c-4b4d-9d62-affac6747a18", - "Date" : "Thu, 08 Sep 2022 06:37:45 GMT", + "x-ms-correlation-request-id" : "c2fe9172-d461-4d82-ba63-131cebd5eb06", + "Date" : "Tue, 14 Feb 2023 07:29:38 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063745Z:c6910e2a-0a7c-4b4d-9d62-affac6747a18", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072939Z:c2fe9172-d461-4d82-ba63-131cebd5eb06", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "c6910e2a-0a7c-4b4d-9d62-affac6747a18", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6255544/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb5846888b2\",\"name\":\"cosmosdb5846888b2\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Cassandra\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2022-09-08T06:33:35.4157251Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb5846888b2.documents.azure.com:443/\",\"cassandraEndpoint\":\"https://cosmosdb5846888b2.cassandra.cosmos.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Cassandra\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"e95efa5e-2477-4236-85ac-6937da318ebf\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb5846888b2-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb5846888b2-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb5846888b2-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb5846888b2-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb5846888b2-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb5846888b2-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb5846888b2-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb5846888b2-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb5846888b2-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb5846888b2-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb5846888b2-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"cosmosdb5846888b2-westus\",\"locationName\":\"West US\",\"failoverPriority\":1}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableCassandra\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:33:35.4157251Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:33:35.4157251Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:33:35.4157251Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:33:35.4157251Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Content-Length" : "3390", + "x-ms-request-id" : "c2fe9172-d461-4d82-ba63-131cebd5eb06", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb575447f/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb21926ed37\",\"name\":\"cosmosdb21926ed37\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Cassandra\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2023-02-14T07:25:59.7244954Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb21926ed37.documents.azure.com:443/\",\"cassandraEndpoint\":\"https://cosmosdb21926ed37.cassandra.cosmos.azure.com:443/\",\"sqlEndpoint\":\"https://cosmosdb21926ed37.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Cassandra\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"55579b2a-4575-4471-a2a3-4d3f0bb8ee17\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls12\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb21926ed37-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb21926ed37-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb21926ed37-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb21926ed37-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb21926ed37-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb21926ed37-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb21926ed37-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb21926ed37-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb21926ed37-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb21926ed37-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb21926ed37-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"cosmosdb21926ed37-westus\",\"locationName\":\"West US\",\"failoverPriority\":1}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableCassandra\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:25:59.7244954Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:25:59.7244954Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:25:59.7244954Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:25:59.7244954Z\"}}},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6255544/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb5846888b2?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb575447f/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb21926ed37?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "355ec2da-bc72-4c09-887d-f5d93ee6e456", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "3b5e5fae-4fcf-4e10-8bdd-f16505783a4a", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "3295", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", "StatusCode" : "200", - "x-ms-correlation-request-id" : "25b91afb-4780-4607-a0ce-6eb5d5c3509f", - "Date" : "Thu, 08 Sep 2022 06:37:45 GMT", + "Date" : "Tue, 14 Feb 2023 07:29:39 GMT", + "x-ms-correlation-request-id" : "d6e06677-040e-471f-b492-aebb85d38f70", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063746Z:25b91afb-4780-4607-a0ce-6eb5d5c3509f", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072940Z:d6e06677-040e-471f-b492-aebb85d38f70", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "25b91afb-4780-4607-a0ce-6eb5d5c3509f", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb6255544/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb5846888b2\",\"name\":\"cosmosdb5846888b2\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Cassandra\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2022-09-08T06:33:35.4157251Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb5846888b2.documents.azure.com:443/\",\"cassandraEndpoint\":\"https://cosmosdb5846888b2.cassandra.cosmos.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Cassandra\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"e95efa5e-2477-4236-85ac-6937da318ebf\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb5846888b2-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb5846888b2-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb5846888b2-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb5846888b2-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb5846888b2-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb5846888b2-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb5846888b2-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb5846888b2-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb5846888b2-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb5846888b2-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb5846888b2-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"cosmosdb5846888b2-westus\",\"locationName\":\"West US\",\"failoverPriority\":1}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableCassandra\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:33:35.4157251Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:33:35.4157251Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:33:35.4157251Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:33:35.4157251Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Content-Length" : "3390", + "x-ms-request-id" : "d6e06677-040e-471f-b492-aebb85d38f70", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb575447f/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb21926ed37\",\"name\":\"cosmosdb21926ed37\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Cassandra\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2023-02-14T07:25:59.7244954Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb21926ed37.documents.azure.com:443/\",\"cassandraEndpoint\":\"https://cosmosdb21926ed37.cassandra.cosmos.azure.com:443/\",\"sqlEndpoint\":\"https://cosmosdb21926ed37.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Cassandra\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"55579b2a-4575-4471-a2a3-4d3f0bb8ee17\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls12\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb21926ed37-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb21926ed37-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb21926ed37-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb21926ed37-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb21926ed37-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb21926ed37-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb21926ed37-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb21926ed37-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb21926ed37-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb21926ed37-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb21926ed37-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"cosmosdb21926ed37-westus\",\"locationName\":\"West US\",\"failoverPriority\":1}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableCassandra\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:25:59.7244954Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:25:59.7244954Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:25:59.7244954Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:25:59.7244954Z\"}}},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb6255544?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb575447f?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "ab0503ed-e1b6-48c1-a1c5-65a28557ddbd", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "9ebe0f8d-f2d7-4816-9fa6-8477219280ee", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "0", - "x-ms-ratelimit-remaining-subscription-deletes" : "14998", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "d59d51d1-0909-4623-a33c-9a411a05eb72", - "Date" : "Thu, 08 Sep 2022 06:37:48 GMT", + "Date" : "Tue, 14 Feb 2023 07:29:43 GMT", + "x-ms-correlation-request-id" : "2ac4f51a-8961-4a1e-b653-125295ee6963", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063748Z:d59d51d1-0909-4623-a33c-9a411a05eb72", + "Cache-Control" : "no-cache", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072943Z:2ac4f51a-8961-4a1e-b653-125295ee6963", "Expires" : "-1", - "x-ms-request-id" : "d59d51d1-0909-4623-a33c-9a411a05eb72", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SR0NPU01PU0RCNjI1NTU0NC1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" + "Content-Length" : "0", + "x-ms-request-id" : "2ac4f51a-8961-4a1e-b653-125295ee6963", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SR0NPU01PU0RCNTc1NDQ3Ri1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null } ], - "variables" : [ "rgcosmosdb6255544", "cosmosdb5846888b2" ] + "variables" : [ "rgcosmosdb575447f", "cosmosdb21926ed37" ] } \ No newline at end of file diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canCreateCosmosDbMongoDBAccount.json b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canCreateCosmosDbMongoDBAccount.json index 9b27776b4f124..b9e3cb5bb8fa8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canCreateCosmosDbMongoDBAccount.json +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canCreateCosmosDbMongoDBAccount.json @@ -1,527 +1,449 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb360820e?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb59497b6?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "7b3b44aa-4f57-49a2-a048-81de584b9e97", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "66a65a1b-4942-4e5a-9255-08fd6ddd69ff", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "238", "X-Content-Type-Options" : "nosniff", "x-ms-ratelimit-remaining-subscription-writes" : "1199", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "a32913cf-c976-4c37-989e-0aed054cc584", - "Date" : "Thu, 08 Sep 2022 06:29:18 GMT", + "Date" : "Tue, 14 Feb 2023 07:22:45 GMT", + "x-ms-correlation-request-id" : "20fb6ffc-6606-49d4-9712-facab1da227b", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T062919Z:a32913cf-c976-4c37-989e-0aed054cc584", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072246Z:20fb6ffc-6606-49d4-9712-facab1da227b", "Expires" : "-1", - "x-ms-request-id" : "a32913cf-c976-4c37-989e-0aed054cc584", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb360820e\",\"name\":\"rgcosmosdb360820e\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westcentralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "Content-Length" : "238", + "x-ms-request-id" : "20fb6ffc-6606-49d4-9712-facab1da227b", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb59497b6\",\"name\":\"rgcosmosdb59497b6\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westcentralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb360820e/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88148f6d4?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb59497b6/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb04450c65f?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "d52901cf-67af-4e1b-8a1a-664e36ef911f", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "abf7ed9e-3e51-4ff8-970e-065c8208aaa4", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "2372", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "x-ms-ratelimit-remaining-subscription-writes" : "1198", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "7a3deae5-de78-40ec-952a-142c24c34892", - "Date" : "Thu, 08 Sep 2022 06:29:34 GMT", + "Date" : "Tue, 14 Feb 2023 07:23:07 GMT", + "x-ms-correlation-request-id" : "e02a81f3-2877-491a-92b8-f6b537d874c1", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T062935Z:7a3deae5-de78-40ec-952a-142c24c34892", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072308Z:e02a81f3-2877-491a-92b8-f6b537d874c1", "x-ms-gatewayversion" : "version=2.14.0", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/23a9475d-ff3a-47dd-a814-2676807a9fb1?api-version=2022-08-15", - "x-ms-request-id" : "23a9475d-ff3a-47dd-a814-2676807a9fb1", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb360820e/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88148f6d4\",\"name\":\"cosmosdb88148f6d4\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"MongoDB\",\"tags\":{\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2022-09-08T06:29:29.2065443Z\"},\"properties\":{\"provisioningState\":\"Creating\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"MongoDB\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"FullFidelity\"},\"instanceId\":\"a3a0b2cd-91b0-4cfb-8b1a-d0eee9f7e572\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"apiProperties\":{\"serverVersion\":\"3.6\"},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb88148f6d4-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb88148f6d4-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb88148f6d4-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb88148f6d4-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableMongo\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Invalid\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:29:29.2065443Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:29:29.2065443Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:29:29.2065443Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:29:29.2065443Z\"}}},\"identity\":{\"type\":\"None\"}}", - "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb360820e/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88148f6d4/operationResults/23a9475d-ff3a-47dd-a814-2676807a9fb1?api-version=2022-08-15" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/23a9475d-ff3a-47dd-a814-2676807a9fb1?api-version=2022-08-15", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "76705d7d-af72-4c92-9da8-bee62f186c0b" - }, - "Response" : { - "content-length" : "21", - "Server" : "Microsoft-HTTPAPI/2.0", - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", - "StatusCode" : "200", - "x-ms-correlation-request-id" : "94f8e7d3-0a5e-4146-9bb3-e2ae7a05453c", - "Date" : "Thu, 08 Sep 2022 06:30:05 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063005Z:94f8e7d3-0a5e-4146-9bb3-e2ae7a05453c", - "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "94f8e7d3-0a5e-4146-9bb3-e2ae7a05453c", - "Body" : "{\"status\":\"Dequeued\"}", + "Content-Length" : "2400", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/ecc4a293-459f-4e2f-87ba-f014f0742d78?api-version=2022-11-15", + "x-ms-request-id" : "ecc4a293-459f-4e2f-87ba-f014f0742d78", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb59497b6/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb04450c65f\",\"name\":\"cosmosdb04450c65f\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"MongoDB\",\"tags\":{\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2023-02-14T07:23:03.4361765Z\"},\"properties\":{\"provisioningState\":\"Creating\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"MongoDB\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"FullFidelity\"},\"instanceId\":\"07402f5d-069d-4d41-b2ca-acbc8bc11cc8\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls12\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"apiProperties\":{\"serverVersion\":\"3.6\"},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb04450c65f-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb04450c65f-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb04450c65f-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb04450c65f-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableMongo\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Invalid\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:23:03.4361765Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:23:03.4361765Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:23:03.4361765Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:23:03.4361765Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb59497b6/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb04450c65f/operationResults/ecc4a293-459f-4e2f-87ba-f014f0742d78?api-version=2022-11-15", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/23a9475d-ff3a-47dd-a814-2676807a9fb1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/ecc4a293-459f-4e2f-87ba-f014f0742d78?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "069b7ff0-9cb5-44fe-a20a-12ed634f68a6" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "db6e25f7-f0e4-4721-b385-c2eb905c845b" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", "StatusCode" : "200", - "x-ms-correlation-request-id" : "8a087e64-e657-49e1-a8a4-7dd9b59ca169", - "Date" : "Thu, 08 Sep 2022 06:30:35 GMT", + "x-ms-correlation-request-id" : "819c8165-c07d-4e92-8084-a2afdc01192d", + "Date" : "Tue, 14 Feb 2023 07:23:38 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063036Z:8a087e64-e657-49e1-a8a4-7dd9b59ca169", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072338Z:819c8165-c07d-4e92-8084-a2afdc01192d", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "8a087e64-e657-49e1-a8a4-7dd9b59ca169", + "Content-Length" : "21", + "x-ms-request-id" : "819c8165-c07d-4e92-8084-a2afdc01192d", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/23a9475d-ff3a-47dd-a814-2676807a9fb1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/ecc4a293-459f-4e2f-87ba-f014f0742d78?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "c68e0543-e36e-4c63-bb97-7beb6a266f74" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "745eb482-e94b-4490-9e43-7e1a45fd1d00" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", "StatusCode" : "200", - "x-ms-correlation-request-id" : "208fe52e-8cdb-4f84-abee-766336a18c5e", - "Date" : "Thu, 08 Sep 2022 06:31:05 GMT", + "x-ms-correlation-request-id" : "48c7e534-b588-4631-9762-1e4b9bd03024", + "Date" : "Tue, 14 Feb 2023 07:24:07 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063106Z:208fe52e-8cdb-4f84-abee-766336a18c5e", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072408Z:48c7e534-b588-4631-9762-1e4b9bd03024", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "208fe52e-8cdb-4f84-abee-766336a18c5e", + "Content-Length" : "21", + "x-ms-request-id" : "48c7e534-b588-4631-9762-1e4b9bd03024", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/23a9475d-ff3a-47dd-a814-2676807a9fb1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/ecc4a293-459f-4e2f-87ba-f014f0742d78?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "9e1578ab-880e-4492-9f56-24ca90a0e1e5" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "7f7b0546-dfcc-4a3a-a860-b9aabf49867d" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", "StatusCode" : "200", - "x-ms-correlation-request-id" : "a6c8c75f-478d-49de-b9ff-c928e1372ec0", - "Date" : "Thu, 08 Sep 2022 06:31:36 GMT", + "x-ms-correlation-request-id" : "fb4d8ab9-b64c-449f-aea5-7dcfa956022e", + "Date" : "Tue, 14 Feb 2023 07:24:38 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063137Z:a6c8c75f-478d-49de-b9ff-c928e1372ec0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072438Z:fb4d8ab9-b64c-449f-aea5-7dcfa956022e", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "a6c8c75f-478d-49de-b9ff-c928e1372ec0", + "Content-Length" : "21", + "x-ms-request-id" : "fb4d8ab9-b64c-449f-aea5-7dcfa956022e", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/23a9475d-ff3a-47dd-a814-2676807a9fb1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/ecc4a293-459f-4e2f-87ba-f014f0742d78?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "db067e1e-7a06-48a1-a339-574ff108d829" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "86aea7bf-8df9-4dbe-b677-6dbb6866c69f" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11995", "StatusCode" : "200", - "x-ms-correlation-request-id" : "f5dd398c-39c0-494b-ad48-1d027ec0bdc9", - "Date" : "Thu, 08 Sep 2022 06:32:07 GMT", + "x-ms-correlation-request-id" : "e51bacaf-0490-47c8-bf95-13a3ccefa7ff", + "Date" : "Tue, 14 Feb 2023 07:25:10 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063207Z:f5dd398c-39c0-494b-ad48-1d027ec0bdc9", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072510Z:e51bacaf-0490-47c8-bf95-13a3ccefa7ff", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "f5dd398c-39c0-494b-ad48-1d027ec0bdc9", + "Content-Length" : "21", + "x-ms-request-id" : "e51bacaf-0490-47c8-bf95-13a3ccefa7ff", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/23a9475d-ff3a-47dd-a814-2676807a9fb1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/ecc4a293-459f-4e2f-87ba-f014f0742d78?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "094ab81d-a898-4865-ae1e-8e8b7bd19660" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "23fd0e76-fd9d-4542-9059-6cef14aec3a9" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11994", "StatusCode" : "200", - "x-ms-correlation-request-id" : "6fada049-2297-4ad9-8111-8f9d624f9597", - "Date" : "Thu, 08 Sep 2022 06:32:38 GMT", + "x-ms-correlation-request-id" : "de356f28-a193-4950-a95e-57ac6227e63f", + "Date" : "Tue, 14 Feb 2023 07:25:40 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063238Z:6fada049-2297-4ad9-8111-8f9d624f9597", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072540Z:de356f28-a193-4950-a95e-57ac6227e63f", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "6fada049-2297-4ad9-8111-8f9d624f9597", + "Content-Length" : "21", + "x-ms-request-id" : "de356f28-a193-4950-a95e-57ac6227e63f", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/23a9475d-ff3a-47dd-a814-2676807a9fb1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/ecc4a293-459f-4e2f-87ba-f014f0742d78?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "b91b8aee-920e-447e-87ab-8b258634885d" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "66cd4d6c-d35d-4143-a666-9d9a9f84aa70" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", "StatusCode" : "200", - "x-ms-correlation-request-id" : "071aee55-dc06-4f9f-8384-0d18c9f4841e", - "Date" : "Thu, 08 Sep 2022 06:33:07 GMT", + "x-ms-correlation-request-id" : "eb9d4bd5-fa84-4838-a5ef-849559f5da1f", + "Date" : "Tue, 14 Feb 2023 07:26:10 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063308Z:071aee55-dc06-4f9f-8384-0d18c9f4841e", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072610Z:eb9d4bd5-fa84-4838-a5ef-849559f5da1f", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "071aee55-dc06-4f9f-8384-0d18c9f4841e", + "Content-Length" : "21", + "x-ms-request-id" : "eb9d4bd5-fa84-4838-a5ef-849559f5da1f", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/23a9475d-ff3a-47dd-a814-2676807a9fb1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/ecc4a293-459f-4e2f-87ba-f014f0742d78?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "ba1c380a-6740-4f57-a13d-143326564638" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "234e63a0-20af-4c1a-b031-3c53af924c6f" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11993", "StatusCode" : "200", - "x-ms-correlation-request-id" : "43b70b26-9fb9-4389-8389-eb57d22909b4", - "Date" : "Thu, 08 Sep 2022 06:33:37 GMT", + "x-ms-correlation-request-id" : "0afbc79b-63a9-4e08-a797-04049b17014a", + "Date" : "Tue, 14 Feb 2023 07:26:40 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063338Z:43b70b26-9fb9-4389-8389-eb57d22909b4", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072640Z:0afbc79b-63a9-4e08-a797-04049b17014a", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "43b70b26-9fb9-4389-8389-eb57d22909b4", + "Content-Length" : "21", + "x-ms-request-id" : "0afbc79b-63a9-4e08-a797-04049b17014a", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/23a9475d-ff3a-47dd-a814-2676807a9fb1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/ecc4a293-459f-4e2f-87ba-f014f0742d78?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "c6ae7698-f861-43d4-b7aa-fa9739fae2ff" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "78cf3a1f-435f-4231-92c5-f24819f84a04" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11992", "StatusCode" : "200", - "x-ms-correlation-request-id" : "3472023b-2ea3-4100-a05f-16ebb74c5edf", - "Date" : "Thu, 08 Sep 2022 06:34:08 GMT", + "x-ms-correlation-request-id" : "22d63aed-23dc-40cc-88c5-ac94f32a8176", + "Date" : "Tue, 14 Feb 2023 07:27:11 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063409Z:3472023b-2ea3-4100-a05f-16ebb74c5edf", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072712Z:22d63aed-23dc-40cc-88c5-ac94f32a8176", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "3472023b-2ea3-4100-a05f-16ebb74c5edf", + "Content-Length" : "21", + "x-ms-request-id" : "22d63aed-23dc-40cc-88c5-ac94f32a8176", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/23a9475d-ff3a-47dd-a814-2676807a9fb1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/ecc4a293-459f-4e2f-87ba-f014f0742d78?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "ed401908-abc1-43b6-91ad-8ee92ee88f8d" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "fdeeadad-3d5c-4e4f-b1c9-1fa7cee8b848" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", "StatusCode" : "200", - "x-ms-correlation-request-id" : "969a9aaa-8f24-4163-b3d8-097ad9130c8f", - "Date" : "Thu, 08 Sep 2022 06:34:38 GMT", + "x-ms-correlation-request-id" : "836afb01-0dc9-4ef1-9c8d-e54919736b52", + "Date" : "Tue, 14 Feb 2023 07:27:41 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063439Z:969a9aaa-8f24-4163-b3d8-097ad9130c8f", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072742Z:836afb01-0dc9-4ef1-9c8d-e54919736b52", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "969a9aaa-8f24-4163-b3d8-097ad9130c8f", + "Content-Length" : "21", + "x-ms-request-id" : "836afb01-0dc9-4ef1-9c8d-e54919736b52", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/23a9475d-ff3a-47dd-a814-2676807a9fb1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/ecc4a293-459f-4e2f-87ba-f014f0742d78?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "a882ba26-37eb-4ffb-bd34-625e570fec66" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "49a7231b-8474-4ead-8068-bdfe89e68f0b" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11990", "StatusCode" : "200", - "x-ms-correlation-request-id" : "666664ef-0514-42a3-aad5-f9bd19bb001a", - "Date" : "Thu, 08 Sep 2022 06:35:09 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063510Z:666664ef-0514-42a3-aad5-f9bd19bb001a", - "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "666664ef-0514-42a3-aad5-f9bd19bb001a", - "Body" : "{\"status\":\"Dequeued\"}", - "Content-Type" : "application/json" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/23a9475d-ff3a-47dd-a814-2676807a9fb1?api-version=2022-08-15", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "929b7dc4-4029-46f3-b1f6-08966d07238f" - }, - "Response" : { - "content-length" : "21", - "Server" : "Microsoft-HTTPAPI/2.0", - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11977", - "StatusCode" : "200", - "x-ms-correlation-request-id" : "1153a674-ab86-465b-bc32-778b61dac4b9", - "Date" : "Thu, 08 Sep 2022 06:35:40 GMT", + "x-ms-correlation-request-id" : "818df6e2-33e8-4c39-9d56-73382888e68b", + "Date" : "Tue, 14 Feb 2023 07:28:12 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063541Z:1153a674-ab86-465b-bc32-778b61dac4b9", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072813Z:818df6e2-33e8-4c39-9d56-73382888e68b", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "1153a674-ab86-465b-bc32-778b61dac4b9", + "Content-Length" : "21", + "x-ms-request-id" : "818df6e2-33e8-4c39-9d56-73382888e68b", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/23a9475d-ff3a-47dd-a814-2676807a9fb1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/ecc4a293-459f-4e2f-87ba-f014f0742d78?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "f76fb8a7-ef45-4393-a75a-5fab5b34b463" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "64b699ed-1d99-4a51-b85d-bad5a65a277b" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11976", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", "StatusCode" : "200", - "x-ms-correlation-request-id" : "b7ebe274-0337-44c4-9cbe-e3194e9ab18d", - "Date" : "Thu, 08 Sep 2022 06:36:11 GMT", + "x-ms-correlation-request-id" : "ab823a03-7d16-4607-addd-3ae716e9f6a9", + "Date" : "Tue, 14 Feb 2023 07:28:42 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063611Z:b7ebe274-0337-44c4-9cbe-e3194e9ab18d", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072843Z:ab823a03-7d16-4607-addd-3ae716e9f6a9", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "b7ebe274-0337-44c4-9cbe-e3194e9ab18d", + "Content-Length" : "21", + "x-ms-request-id" : "ab823a03-7d16-4607-addd-3ae716e9f6a9", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/23a9475d-ff3a-47dd-a814-2676807a9fb1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/ecc4a293-459f-4e2f-87ba-f014f0742d78?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "d12c3cda-6ed7-4013-bb09-ea0bb8910b40" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "35a9622d-ce8a-4650-b963-7d67f24654af" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11989", "StatusCode" : "200", - "x-ms-correlation-request-id" : "5d5079c6-7e90-4e7e-b6c8-3856bfa20323", - "Date" : "Thu, 08 Sep 2022 06:36:42 GMT", + "x-ms-correlation-request-id" : "af12043f-f1a7-4109-a879-4e639e2d5606", + "Date" : "Tue, 14 Feb 2023 07:29:14 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063642Z:5d5079c6-7e90-4e7e-b6c8-3856bfa20323", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072914Z:af12043f-f1a7-4109-a879-4e639e2d5606", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "5d5079c6-7e90-4e7e-b6c8-3856bfa20323", - "Body" : "{\"status\":\"Dequeued\"}", - "Content-Type" : "application/json" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/23a9475d-ff3a-47dd-a814-2676807a9fb1?api-version=2022-08-15", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "5548d08d-8b64-44e3-aa3d-33c0d1fc4af9" - }, - "Response" : { - "content-length" : "22", - "Server" : "Microsoft-HTTPAPI/2.0", - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", - "StatusCode" : "200", - "x-ms-correlation-request-id" : "46c377fd-cbc0-4b74-92d6-b3ba92d39987", - "Date" : "Thu, 08 Sep 2022 06:37:12 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063713Z:46c377fd-cbc0-4b74-92d6-b3ba92d39987", - "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "46c377fd-cbc0-4b74-92d6-b3ba92d39987", + "Content-Length" : "22", + "x-ms-request-id" : "af12043f-f1a7-4109-a879-4e639e2d5606", "Body" : "{\"status\":\"Succeeded\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb360820e/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88148f6d4?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb59497b6/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb04450c65f?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "c07653b7-5e85-43af-8e05-8505b1fcb791" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "446fc219-0384-4622-82e5-f00938f436c9" }, "Response" : { - "content-length" : "3330", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", "StatusCode" : "200", - "x-ms-correlation-request-id" : "e2bb78a9-a28f-4d14-a4e4-e40572c8935b", - "Date" : "Thu, 08 Sep 2022 06:37:14 GMT", + "x-ms-correlation-request-id" : "b949f0a6-c4e9-4daf-9cba-9d7535541b57", + "Date" : "Tue, 14 Feb 2023 07:29:14 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063714Z:e2bb78a9-a28f-4d14-a4e4-e40572c8935b", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072915Z:b949f0a6-c4e9-4daf-9cba-9d7535541b57", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "e2bb78a9-a28f-4d14-a4e4-e40572c8935b", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb360820e/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88148f6d4\",\"name\":\"cosmosdb88148f6d4\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"MongoDB\",\"tags\":{\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2022-09-08T06:33:20.9926549Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb88148f6d4.documents.azure.com:443/\",\"mongoEndpoint\":\"https://cosmosdb88148f6d4.mongo.cosmos.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"MongoDB\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"FullFidelity\"},\"instanceId\":\"a3a0b2cd-91b0-4cfb-8b1a-d0eee9f7e572\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"apiProperties\":{\"serverVersion\":\"3.6\"},\"configurationOverrides\":{\"EnableBsonSchema\":\"True\"},\"writeLocations\":[{\"id\":\"cosmosdb88148f6d4-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb88148f6d4-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb88148f6d4-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb88148f6d4-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb88148f6d4-centralus\",\"locationName\":\"Central US\",\"documentEndpoint\":\"https://cosmosdb88148f6d4-centralus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb88148f6d4-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb88148f6d4-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb88148f6d4-centralus\",\"locationName\":\"Central US\",\"documentEndpoint\":\"https://cosmosdb88148f6d4-centralus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb88148f6d4-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"cosmosdb88148f6d4-centralus\",\"locationName\":\"Central US\",\"failoverPriority\":1}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableMongo\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:33:20.9926549Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:33:20.9926549Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:33:20.9926549Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:33:20.9926549Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Content-Length" : "3412", + "x-ms-request-id" : "b949f0a6-c4e9-4daf-9cba-9d7535541b57", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb59497b6/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb04450c65f\",\"name\":\"cosmosdb04450c65f\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"MongoDB\",\"tags\":{\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2023-02-14T07:26:36.8334923Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb04450c65f.documents.azure.com:443/\",\"sqlEndpoint\":\"https://cosmosdb04450c65f.documents.azure.com:443/\",\"mongoEndpoint\":\"https://cosmosdb04450c65f.mongo.cosmos.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"MongoDB\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"FullFidelity\"},\"instanceId\":\"07402f5d-069d-4d41-b2ca-acbc8bc11cc8\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls12\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"apiProperties\":{\"serverVersion\":\"3.6\"},\"configurationOverrides\":{\"EnableBsonSchema\":\"True\"},\"writeLocations\":[{\"id\":\"cosmosdb04450c65f-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb04450c65f-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb04450c65f-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb04450c65f-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb04450c65f-westus3\",\"locationName\":\"West US 3\",\"documentEndpoint\":\"https://cosmosdb04450c65f-westus3.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb04450c65f-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb04450c65f-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb04450c65f-westus3\",\"locationName\":\"West US 3\",\"documentEndpoint\":\"https://cosmosdb04450c65f-westus3.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb04450c65f-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"cosmosdb04450c65f-westus3\",\"locationName\":\"West US 3\",\"failoverPriority\":1}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableMongo\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:26:36.8334923Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:26:36.8334923Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:26:36.8334923Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:26:36.8334923Z\"}}},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb360820e/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88148f6d4?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb59497b6/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb04450c65f?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "c40b7b30-7767-4a30-847a-e3abd410bf53", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "dfd71a64-af3b-4a1e-9179-016d9fd950b7", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "3330", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", "StatusCode" : "200", - "x-ms-correlation-request-id" : "5b33da98-972e-4319-b867-bb77f2ecb77c", - "Date" : "Thu, 08 Sep 2022 06:37:15 GMT", + "Date" : "Tue, 14 Feb 2023 07:29:15 GMT", + "x-ms-correlation-request-id" : "99603a15-5ea5-4150-a5bc-468ba75af076", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063715Z:5b33da98-972e-4319-b867-bb77f2ecb77c", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072915Z:99603a15-5ea5-4150-a5bc-468ba75af076", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "5b33da98-972e-4319-b867-bb77f2ecb77c", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb360820e/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb88148f6d4\",\"name\":\"cosmosdb88148f6d4\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"MongoDB\",\"tags\":{\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2022-09-08T06:33:20.9926549Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb88148f6d4.documents.azure.com:443/\",\"mongoEndpoint\":\"https://cosmosdb88148f6d4.mongo.cosmos.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"MongoDB\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"FullFidelity\"},\"instanceId\":\"a3a0b2cd-91b0-4cfb-8b1a-d0eee9f7e572\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"apiProperties\":{\"serverVersion\":\"3.6\"},\"configurationOverrides\":{\"EnableBsonSchema\":\"True\"},\"writeLocations\":[{\"id\":\"cosmosdb88148f6d4-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb88148f6d4-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb88148f6d4-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb88148f6d4-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb88148f6d4-centralus\",\"locationName\":\"Central US\",\"documentEndpoint\":\"https://cosmosdb88148f6d4-centralus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb88148f6d4-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb88148f6d4-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb88148f6d4-centralus\",\"locationName\":\"Central US\",\"documentEndpoint\":\"https://cosmosdb88148f6d4-centralus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb88148f6d4-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"cosmosdb88148f6d4-centralus\",\"locationName\":\"Central US\",\"failoverPriority\":1}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableMongo\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:33:20.9926549Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:33:20.9926549Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:33:20.9926549Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:33:20.9926549Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Content-Length" : "3412", + "x-ms-request-id" : "99603a15-5ea5-4150-a5bc-468ba75af076", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb59497b6/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb04450c65f\",\"name\":\"cosmosdb04450c65f\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"MongoDB\",\"tags\":{\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2023-02-14T07:26:36.8334923Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb04450c65f.documents.azure.com:443/\",\"sqlEndpoint\":\"https://cosmosdb04450c65f.documents.azure.com:443/\",\"mongoEndpoint\":\"https://cosmosdb04450c65f.mongo.cosmos.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"MongoDB\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"FullFidelity\"},\"instanceId\":\"07402f5d-069d-4d41-b2ca-acbc8bc11cc8\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls12\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"apiProperties\":{\"serverVersion\":\"3.6\"},\"configurationOverrides\":{\"EnableBsonSchema\":\"True\"},\"writeLocations\":[{\"id\":\"cosmosdb04450c65f-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb04450c65f-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb04450c65f-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb04450c65f-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb04450c65f-westus3\",\"locationName\":\"West US 3\",\"documentEndpoint\":\"https://cosmosdb04450c65f-westus3.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb04450c65f-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb04450c65f-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb04450c65f-westus3\",\"locationName\":\"West US 3\",\"documentEndpoint\":\"https://cosmosdb04450c65f-westus3.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb04450c65f-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"cosmosdb04450c65f-westus3\",\"locationName\":\"West US 3\",\"failoverPriority\":1}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableMongo\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:26:36.8334923Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:26:36.8334923Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:26:36.8334923Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:26:36.8334923Z\"}}},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb360820e?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb59497b6?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "559c0831-b04a-426b-b788-0132934d47b5", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "1b41f48b-71a6-4294-857e-cf6dc2537a86", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "0", - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "x-ms-ratelimit-remaining-subscription-deletes" : "14998", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "2d0035da-f9a1-4112-aab0-ad900d42e32c", - "Date" : "Thu, 08 Sep 2022 06:37:15 GMT", + "Date" : "Tue, 14 Feb 2023 07:29:18 GMT", + "x-ms-correlation-request-id" : "31412e35-2927-4149-9323-cc38670eda1c", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063716Z:2d0035da-f9a1-4112-aab0-ad900d42e32c", + "Cache-Control" : "no-cache", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072918Z:31412e35-2927-4149-9323-cc38670eda1c", "Expires" : "-1", - "x-ms-request-id" : "2d0035da-f9a1-4112-aab0-ad900d42e32c", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SR0NPU01PU0RCMzYwODIwRS1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" + "Content-Length" : "0", + "x-ms-request-id" : "31412e35-2927-4149-9323-cc38670eda1c", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SR0NPU01PU0RCNTk0OTdCNi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null } ], - "variables" : [ "rgcosmosdb360820e", "cosmosdb88148f6d4" ] + "variables" : [ "rgcosmosdb59497b6", "cosmosdb04450c65f" ] } \ No newline at end of file diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canCreateCosmosDbSqlAccount.json b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canCreateCosmosDbSqlAccount.json index fe13d6c6774c5..6f36a796edaaa 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canCreateCosmosDbSqlAccount.json +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canCreateCosmosDbSqlAccount.json @@ -1,345 +1,345 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb5094249?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb890016c?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "7995951f-578c-45a5-8c09-ad26f4217ef9", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "09074c91-c11d-480c-b109-6d2842fb0a5f", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "238", "X-Content-Type-Options" : "nosniff", "x-ms-ratelimit-remaining-subscription-writes" : "1199", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "6fa9a39e-06e6-4d02-b3b2-34166c9aef3f", - "Date" : "Thu, 08 Sep 2022 06:29:19 GMT", + "Date" : "Tue, 14 Feb 2023 07:22:42 GMT", + "x-ms-correlation-request-id" : "7d7d3b46-9456-4e1c-8bce-f0573d3497f7", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T062920Z:6fa9a39e-06e6-4d02-b3b2-34166c9aef3f", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072242Z:7d7d3b46-9456-4e1c-8bce-f0573d3497f7", "Expires" : "-1", - "x-ms-request-id" : "6fa9a39e-06e6-4d02-b3b2-34166c9aef3f", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb5094249\",\"name\":\"rgcosmosdb5094249\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westcentralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "Content-Length" : "238", + "x-ms-request-id" : "7d7d3b46-9456-4e1c-8bce-f0573d3497f7", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb890016c\",\"name\":\"rgcosmosdb890016c\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westcentralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb5094249/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb177246bfc?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb890016c/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb130577145?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "ff8c5506-c84e-48de-878d-d987a69346b1", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "9aa3c843-1ffc-43e6-b33c-4c9642350cea", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "2313", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "x-ms-ratelimit-remaining-subscription-writes" : "1198", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "dee6060e-bb56-4e6e-baf5-ec7d92d316f1", - "Date" : "Thu, 08 Sep 2022 06:29:33 GMT", + "Date" : "Tue, 14 Feb 2023 07:22:58 GMT", + "x-ms-correlation-request-id" : "6efe8699-06f1-4957-a980-ac4c256c28b5", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T062934Z:dee6060e-bb56-4e6e-baf5-ec7d92d316f1", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072259Z:6efe8699-06f1-4957-a980-ac4c256c28b5", "x-ms-gatewayversion" : "version=2.14.0", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/dd17832b-2b78-439e-882e-f6b9232e4291?api-version=2022-08-15", - "x-ms-request-id" : "dd17832b-2b78-439e-882e-f6b9232e4291", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb5094249/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb177246bfc\",\"name\":\"cosmosdb177246bfc\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2022-09-08T06:29:28.4441287Z\"},\"properties\":{\"provisioningState\":\"Creating\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":true,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"ad1fc384-6de5-48cc-ae10-89440280ec24\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb177246bfc-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb177246bfc-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb177246bfc-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb177246bfc-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Invalid\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:29:28.4441287Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:29:28.4441287Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:29:28.4441287Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:29:28.4441287Z\"}}},\"identity\":{\"type\":\"None\"}}", - "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb5094249/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb177246bfc/operationResults/dd17832b-2b78-439e-882e-f6b9232e4291?api-version=2022-08-15" + "Content-Length" : "2339", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/3c891f71-974c-410a-ad0a-a25516a631ec?api-version=2022-11-15", + "x-ms-request-id" : "3c891f71-974c-410a-ad0a-a25516a631ec", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb890016c/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb130577145\",\"name\":\"cosmosdb130577145\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2023-02-14T07:22:53.8971939Z\"},\"properties\":{\"provisioningState\":\"Creating\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":true,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"78b1d6f5-7a25-498c-83e9-53502d7c8d0c\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb130577145-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb130577145-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb130577145-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb130577145-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Invalid\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:22:53.8971939Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:22:53.8971939Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:22:53.8971939Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:22:53.8971939Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb890016c/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb130577145/operationResults/3c891f71-974c-410a-ad0a-a25516a631ec?api-version=2022-11-15", + "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/dd17832b-2b78-439e-882e-f6b9232e4291?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/3c891f71-974c-410a-ad0a-a25516a631ec?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "33a9446a-3113-4a13-ab30-d212078bbfa9" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "5706f393-bc84-42cd-81a7-4bebd2f77420" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", "StatusCode" : "200", - "x-ms-correlation-request-id" : "196f087b-d02d-4304-9c6c-6a6b8fa92b41", - "Date" : "Thu, 08 Sep 2022 06:30:05 GMT", + "x-ms-correlation-request-id" : "1295595d-a303-4bd7-aa1b-b4bc7032774a", + "Date" : "Tue, 14 Feb 2023 07:23:30 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063005Z:196f087b-d02d-4304-9c6c-6a6b8fa92b41", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072330Z:1295595d-a303-4bd7-aa1b-b4bc7032774a", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "196f087b-d02d-4304-9c6c-6a6b8fa92b41", + "Content-Length" : "21", + "x-ms-request-id" : "1295595d-a303-4bd7-aa1b-b4bc7032774a", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/dd17832b-2b78-439e-882e-f6b9232e4291?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/3c891f71-974c-410a-ad0a-a25516a631ec?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "095367ba-b78e-48a9-a84d-9184d46330c8" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "abcf65be-2db7-4dbe-9a02-77666f5188f7" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", "StatusCode" : "200", - "x-ms-correlation-request-id" : "f4dc1f75-f68a-4943-b286-83ed94b05366", - "Date" : "Thu, 08 Sep 2022 06:30:34 GMT", + "x-ms-correlation-request-id" : "12c2b890-35a8-4083-9040-6f98a7115af5", + "Date" : "Tue, 14 Feb 2023 07:24:00 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063035Z:f4dc1f75-f68a-4943-b286-83ed94b05366", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072401Z:12c2b890-35a8-4083-9040-6f98a7115af5", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "f4dc1f75-f68a-4943-b286-83ed94b05366", + "Content-Length" : "21", + "x-ms-request-id" : "12c2b890-35a8-4083-9040-6f98a7115af5", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/dd17832b-2b78-439e-882e-f6b9232e4291?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/3c891f71-974c-410a-ad0a-a25516a631ec?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "5ebf1648-04c5-46f3-bb77-87cf0930203e" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "dd252ead-8a13-45ab-98de-794eb073b027" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", "StatusCode" : "200", - "x-ms-correlation-request-id" : "2a0a7683-263c-4694-8faf-6d75f35b2d37", - "Date" : "Thu, 08 Sep 2022 06:31:05 GMT", + "x-ms-correlation-request-id" : "16dbfbb3-80b4-4f2b-a2fb-e60e38c21d43", + "Date" : "Tue, 14 Feb 2023 07:24:30 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063105Z:2a0a7683-263c-4694-8faf-6d75f35b2d37", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072431Z:16dbfbb3-80b4-4f2b-a2fb-e60e38c21d43", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "2a0a7683-263c-4694-8faf-6d75f35b2d37", + "Content-Length" : "21", + "x-ms-request-id" : "16dbfbb3-80b4-4f2b-a2fb-e60e38c21d43", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/dd17832b-2b78-439e-882e-f6b9232e4291?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/3c891f71-974c-410a-ad0a-a25516a631ec?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "15d506f0-2adb-498b-a11c-415d4ac90295" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "7e0ed5d6-2c00-445b-8a96-77894e9c0305" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", "StatusCode" : "200", - "x-ms-correlation-request-id" : "0a8842bf-415c-4473-a546-4b54df060644", - "Date" : "Thu, 08 Sep 2022 06:31:36 GMT", + "x-ms-correlation-request-id" : "16827fb8-fc38-4be6-8b14-8f3c75852fb0", + "Date" : "Tue, 14 Feb 2023 07:25:01 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063136Z:0a8842bf-415c-4473-a546-4b54df060644", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072502Z:16827fb8-fc38-4be6-8b14-8f3c75852fb0", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "0a8842bf-415c-4473-a546-4b54df060644", + "Content-Length" : "21", + "x-ms-request-id" : "16827fb8-fc38-4be6-8b14-8f3c75852fb0", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/dd17832b-2b78-439e-882e-f6b9232e4291?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/3c891f71-974c-410a-ad0a-a25516a631ec?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "81fefb6a-2bc5-4b15-bfd8-2fb49fa1e722" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "b13b5f54-7704-4082-9c7a-e3734ea666a3" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11995", "StatusCode" : "200", - "x-ms-correlation-request-id" : "5e9d4663-33b4-4b08-aba8-9440cc3f649e", - "Date" : "Thu, 08 Sep 2022 06:32:06 GMT", + "x-ms-correlation-request-id" : "d66f510c-ce2f-4099-b895-d2114068058f", + "Date" : "Tue, 14 Feb 2023 07:25:32 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063207Z:5e9d4663-33b4-4b08-aba8-9440cc3f649e", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072532Z:d66f510c-ce2f-4099-b895-d2114068058f", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "5e9d4663-33b4-4b08-aba8-9440cc3f649e", + "Content-Length" : "21", + "x-ms-request-id" : "d66f510c-ce2f-4099-b895-d2114068058f", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/dd17832b-2b78-439e-882e-f6b9232e4291?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/3c891f71-974c-410a-ad0a-a25516a631ec?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "32d7d5e8-a964-47c0-9418-32aae781f921" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "4a665f73-4540-412b-a6ee-23d69dd1d26a" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", "StatusCode" : "200", - "x-ms-correlation-request-id" : "3e62e7e1-1d3a-4ecf-af00-c74b83b249d7", - "Date" : "Thu, 08 Sep 2022 06:32:37 GMT", + "x-ms-correlation-request-id" : "05766777-5a25-4545-b8cf-3a4270b57971", + "Date" : "Tue, 14 Feb 2023 07:26:02 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063237Z:3e62e7e1-1d3a-4ecf-af00-c74b83b249d7", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072603Z:05766777-5a25-4545-b8cf-3a4270b57971", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "3e62e7e1-1d3a-4ecf-af00-c74b83b249d7", + "Content-Length" : "21", + "x-ms-request-id" : "05766777-5a25-4545-b8cf-3a4270b57971", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/dd17832b-2b78-439e-882e-f6b9232e4291?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/3c891f71-974c-410a-ad0a-a25516a631ec?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "8de04d81-a24d-4e6d-bbcc-d4d89fa94360" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "c3754dd7-cf31-43a9-b2b7-6e08139ef02f" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", "StatusCode" : "200", - "x-ms-correlation-request-id" : "509a84a2-1bf8-470f-a2e1-1927dfe8ddb0", - "Date" : "Thu, 08 Sep 2022 06:33:07 GMT", + "x-ms-correlation-request-id" : "9b83aaff-ce26-44bf-bf3c-308125881ccf", + "Date" : "Tue, 14 Feb 2023 07:26:33 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063308Z:509a84a2-1bf8-470f-a2e1-1927dfe8ddb0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072634Z:9b83aaff-ce26-44bf-bf3c-308125881ccf", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "509a84a2-1bf8-470f-a2e1-1927dfe8ddb0", + "Content-Length" : "21", + "x-ms-request-id" : "9b83aaff-ce26-44bf-bf3c-308125881ccf", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/dd17832b-2b78-439e-882e-f6b9232e4291?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westcentralus/operationsStatus/3c891f71-974c-410a-ad0a-a25516a631ec?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "e9a02613-98af-46a4-8a09-2fe9bfef6556" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "ce6b60a8-6c4b-4742-a3df-6d3e34fa79a6" }, "Response" : { - "content-length" : "22", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", "StatusCode" : "200", - "x-ms-correlation-request-id" : "44eab907-dc50-405a-bad7-1f0f0445ca6e", - "Date" : "Thu, 08 Sep 2022 06:33:38 GMT", + "x-ms-correlation-request-id" : "e8a97244-7795-4bd8-8a2f-f3e95121ba38", + "Date" : "Tue, 14 Feb 2023 07:27:04 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063338Z:44eab907-dc50-405a-bad7-1f0f0445ca6e", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072705Z:e8a97244-7795-4bd8-8a2f-f3e95121ba38", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "44eab907-dc50-405a-bad7-1f0f0445ca6e", + "Content-Length" : "22", + "x-ms-request-id" : "e8a97244-7795-4bd8-8a2f-f3e95121ba38", "Body" : "{\"status\":\"Succeeded\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb5094249/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb177246bfc?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb890016c/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb130577145?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "d13211d9-a486-4f26-af9c-8511b5a662eb" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "b085cca7-a473-4fab-a9ac-c649d6f50fad" }, "Response" : { - "content-length" : "3398", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11992", "StatusCode" : "200", - "x-ms-correlation-request-id" : "fa1e7f5e-8c06-40c8-b98e-65837f573c47", - "Date" : "Thu, 08 Sep 2022 06:33:39 GMT", + "x-ms-correlation-request-id" : "0097fc7e-3ea9-4f3d-93c4-b342da78879b", + "Date" : "Tue, 14 Feb 2023 07:27:06 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063339Z:fa1e7f5e-8c06-40c8-b98e-65837f573c47", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072706Z:0097fc7e-3ea9-4f3d-93c4-b342da78879b", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "fa1e7f5e-8c06-40c8-b98e-65837f573c47", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb5094249/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb177246bfc\",\"name\":\"cosmosdb177246bfc\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2022-09-08T06:31:10.1173173Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb177246bfc.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":true,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"ad1fc384-6de5-48cc-ae10-89440280ec24\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb177246bfc-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb177246bfc-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb177246bfc-centralus\",\"locationName\":\"Central US\",\"documentEndpoint\":\"https://cosmosdb177246bfc-centralus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb177246bfc-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb177246bfc-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb177246bfc-centralus\",\"locationName\":\"Central US\",\"documentEndpoint\":\"https://cosmosdb177246bfc-centralus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb177246bfc-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb177246bfc-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb177246bfc-centralus\",\"locationName\":\"Central US\",\"documentEndpoint\":\"https://cosmosdb177246bfc-centralus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb177246bfc-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"cosmosdb177246bfc-centralus\",\"locationName\":\"Central US\",\"failoverPriority\":1}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:31:10.1173173Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:31:10.1173173Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:31:10.1173173Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:31:10.1173173Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Content-Length" : "3473", + "x-ms-request-id" : "0097fc7e-3ea9-4f3d-93c4-b342da78879b", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb890016c/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb130577145\",\"name\":\"cosmosdb130577145\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2023-02-14T07:24:53.7540557Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb130577145.documents.azure.com:443/\",\"sqlEndpoint\":\"https://cosmosdb130577145.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":true,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"78b1d6f5-7a25-498c-83e9-53502d7c8d0c\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb130577145-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb130577145-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb130577145-westus3\",\"locationName\":\"West US 3\",\"documentEndpoint\":\"https://cosmosdb130577145-westus3.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb130577145-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb130577145-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb130577145-westus3\",\"locationName\":\"West US 3\",\"documentEndpoint\":\"https://cosmosdb130577145-westus3.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb130577145-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb130577145-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb130577145-westus3\",\"locationName\":\"West US 3\",\"documentEndpoint\":\"https://cosmosdb130577145-westus3.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb130577145-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"cosmosdb130577145-westus3\",\"locationName\":\"West US 3\",\"failoverPriority\":1}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:24:53.7540557Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:24:53.7540557Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:24:53.7540557Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:24:53.7540557Z\"}}},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb5094249/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb177246bfc?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb890016c/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb130577145?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "fe0f208a-26fa-41dc-9c2d-48a4fe0f3ffb", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "66a53911-be63-4716-ab8b-595b7d6c0401", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "3398", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11992", "StatusCode" : "200", - "x-ms-correlation-request-id" : "2a398167-3fdc-4e00-8397-3ee5aebd3db9", - "Date" : "Thu, 08 Sep 2022 06:33:39 GMT", + "Date" : "Tue, 14 Feb 2023 07:27:06 GMT", + "x-ms-correlation-request-id" : "0791b486-3fad-4f22-8a78-4c08d067fa48", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063339Z:2a398167-3fdc-4e00-8397-3ee5aebd3db9", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072707Z:0791b486-3fad-4f22-8a78-4c08d067fa48", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "2a398167-3fdc-4e00-8397-3ee5aebd3db9", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb5094249/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb177246bfc\",\"name\":\"cosmosdb177246bfc\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2022-09-08T06:31:10.1173173Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb177246bfc.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":true,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"ad1fc384-6de5-48cc-ae10-89440280ec24\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb177246bfc-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb177246bfc-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb177246bfc-centralus\",\"locationName\":\"Central US\",\"documentEndpoint\":\"https://cosmosdb177246bfc-centralus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb177246bfc-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb177246bfc-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb177246bfc-centralus\",\"locationName\":\"Central US\",\"documentEndpoint\":\"https://cosmosdb177246bfc-centralus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb177246bfc-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb177246bfc-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb177246bfc-centralus\",\"locationName\":\"Central US\",\"documentEndpoint\":\"https://cosmosdb177246bfc-centralus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb177246bfc-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"cosmosdb177246bfc-centralus\",\"locationName\":\"Central US\",\"failoverPriority\":1}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:31:10.1173173Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:31:10.1173173Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:31:10.1173173Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:31:10.1173173Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Content-Length" : "3473", + "x-ms-request-id" : "0791b486-3fad-4f22-8a78-4c08d067fa48", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb890016c/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb130577145\",\"name\":\"cosmosdb130577145\",\"location\":\"West Central US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2023-02-14T07:24:53.7540557Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb130577145.documents.azure.com:443/\",\"sqlEndpoint\":\"https://cosmosdb130577145.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":true,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"78b1d6f5-7a25-498c-83e9-53502d7c8d0c\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb130577145-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb130577145-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb130577145-westus3\",\"locationName\":\"West US 3\",\"documentEndpoint\":\"https://cosmosdb130577145-westus3.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb130577145-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb130577145-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb130577145-westus3\",\"locationName\":\"West US 3\",\"documentEndpoint\":\"https://cosmosdb130577145-westus3.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb130577145-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://cosmosdb130577145-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"cosmosdb130577145-westus3\",\"locationName\":\"West US 3\",\"documentEndpoint\":\"https://cosmosdb130577145-westus3.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb130577145-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"cosmosdb130577145-westus3\",\"locationName\":\"West US 3\",\"failoverPriority\":1}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:24:53.7540557Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:24:53.7540557Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:24:53.7540557Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:24:53.7540557Z\"}}},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb5094249?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb890016c?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "f3ae795f-eb9c-437d-aee1-8ade624ddb81", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "c7fca9dd-bc8d-4f99-8d38-65ec7bb3145d", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "0", "x-ms-ratelimit-remaining-subscription-deletes" : "14999", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "c79170d9-f60e-4e88-be8b-671e6167ba9a", - "Date" : "Thu, 08 Sep 2022 06:33:42 GMT", + "Date" : "Tue, 14 Feb 2023 07:27:12 GMT", + "x-ms-correlation-request-id" : "9b3ab7f8-a40e-476b-a78a-120f7365f598", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063343Z:c79170d9-f60e-4e88-be8b-671e6167ba9a", + "Cache-Control" : "no-cache", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072713Z:9b3ab7f8-a40e-476b-a78a-120f7365f598", "Expires" : "-1", - "x-ms-request-id" : "c79170d9-f60e-4e88-be8b-671e6167ba9a", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SR0NPU01PU0RCNTA5NDI0OS1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" + "Content-Length" : "0", + "x-ms-request-id" : "9b3ab7f8-a40e-476b-a78a-120f7365f598", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SR0NPU01PU0RCODkwMDE2Qy1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null } ], - "variables" : [ "rgcosmosdb5094249", "cosmosdb177246bfc" ] + "variables" : [ "rgcosmosdb890016c", "cosmosdb130577145" ] } \ No newline at end of file diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canCreateSqlPrivateEndpoint.json b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canCreateSqlPrivateEndpoint.json index 4d722b92b8bd6..7934a0533a32c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canCreateSqlPrivateEndpoint.json +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canCreateSqlPrivateEndpoint.json @@ -1,1152 +1,1126 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb09993b9?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb1606326?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "0847d9b7-494e-4602-ac5c-38a22d383413", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "0b06a937-9bce-42ac-a0be-51cae9b41502", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "231", "X-Content-Type-Options" : "nosniff", "x-ms-ratelimit-remaining-subscription-writes" : "1199", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "d1636bbb-4729-415f-960e-0ec5454f9377", - "Date" : "Thu, 08 Sep 2022 06:29:19 GMT", + "Date" : "Tue, 14 Feb 2023 07:22:42 GMT", + "x-ms-correlation-request-id" : "e2c75929-e9c3-4427-ab8a-1609ba7f7623", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T062919Z:d1636bbb-4729-415f-960e-0ec5454f9377", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072243Z:e2c75929-e9c3-4427-ab8a-1609ba7f7623", "Expires" : "-1", - "x-ms-request-id" : "d1636bbb-4729-415f-960e-0ec5454f9377", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9\",\"name\":\"rgcosmosdb09993b9\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "Content-Length" : "231", + "x-ms-request-id" : "e2c75929-e9c3-4427-ab8a-1609ba7f7623", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326\",\"name\":\"rgcosmosdb1606326\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/virtualNetworks/network1731453821?api-version=2022-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/virtualNetworks/network344964a06e?api-version=2022-07-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "3ed05afe-fde6-4967-beae-5f6cf9983282", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "67eb4451-662e-4220-8b54-bfe3c7e6d36d", "Content-Type" : "application/json" }, "Response" : { - "azure-asyncnotification" : "Enabled", - "content-length" : "1588", "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "x-ms-ratelimit-remaining-subscription-writes" : "1198", "Pragma" : "no-cache", + "Azure-AsyncNotification" : "Enabled", "StatusCode" : "201", - "x-ms-correlation-request-id" : "e822229c-418b-467b-8138-967bb3dc7811", - "Date" : "Thu, 08 Sep 2022 06:29:25 GMT", - "x-ms-arm-service-request-id" : "ae206ffb-754f-4cdb-a8c7-2fd48583d2f5", + "Date" : "Tue, 14 Feb 2023 07:22:50 GMT", + "x-ms-correlation-request-id" : "c553fa9e-2508-4586-9726-9d0f25d22eb8", + "x-ms-arm-service-request-id" : "d4a4240b-456a-4535-b76b-28b4e9053e91", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T062925Z:e822229c-418b-467b-8138-967bb3dc7811", + "Cache-Control" : "no-cache", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072250Z:c553fa9e-2508-4586-9726-9d0f25d22eb8", "Expires" : "-1", - "x-ms-request-id" : "67683a45-97dd-4bcd-a6f4-d6d80be72f65", - "Body" : "{\r\n \"name\": \"network1731453821\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/virtualNetworks/network1731453821\",\r\n \"etag\": \"W/\\\"709f1f78-4edb-4c44-b540-4475b2b944dc\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"9227736f-5201-4fcd-96d3-da12a2e2b990\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"subnet736632ea7e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/virtualNetworks/network1731453821/subnets/subnet736632ea7e\",\r\n \"etag\": \"W/\\\"709f1f78-4edb-4c44-b540-4475b2b944dc\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \"serviceEndpoints\": [\r\n {\r\n \"provisioningState\": \"Updating\",\r\n \"service\": \"Microsoft.AzureCosmosDB\",\r\n \"locations\": [\r\n \"*\"\r\n ]\r\n }\r\n ],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n }\r\n}", - "x-ms-client-request-id" : "3ed05afe-fde6-4967-beae-5f6cf9983282", - "azure-asyncoperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/67683a45-97dd-4bcd-a6f4-d6d80be72f65?api-version=2022-07-01", + "Content-Length" : "1588", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/faf82e12-cc86-420d-ae9a-ab09540b64eb?api-version=2022-07-01", + "x-ms-request-id" : "faf82e12-cc86-420d-ae9a-ab09540b64eb", + "Body" : "{\r\n \"name\": \"network344964a06e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/virtualNetworks/network344964a06e\",\r\n \"etag\": \"W/\\\"e236b4d5-c542-4323-9bc7-59d6cf08135d\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"7b260c2d-e5b8-4635-b6c3-9a912746a8b6\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"subnet38337be01c\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/virtualNetworks/network344964a06e/subnets/subnet38337be01c\",\r\n \"etag\": \"W/\\\"e236b4d5-c542-4323-9bc7-59d6cf08135d\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \"serviceEndpoints\": [\r\n {\r\n \"provisioningState\": \"Updating\",\r\n \"service\": \"Microsoft.AzureCosmosDB\",\r\n \"locations\": [\r\n \"*\"\r\n ]\r\n }\r\n ],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n }\r\n}", + "x-ms-client-request-id" : "67eb4451-662e-4220-8b54-bfe3c7e6d36d", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/67683a45-97dd-4bcd-a6f4-d6d80be72f65?api-version=2022-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/faf82e12-cc86-420d-ae9a-ab09540b64eb?api-version=2022-07-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "96abd190-8175-4727-87c4-60f1d11651a3" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "3e30aa78-8b53-4d38-9cfd-a0455bf30103" }, "Response" : { - "content-length" : "29", "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11999", "StatusCode" : "200", - "x-ms-correlation-request-id" : "3f42a097-6112-44fc-b38c-427e58b8fdfe", - "Date" : "Thu, 08 Sep 2022 06:29:28 GMT", - "x-ms-arm-service-request-id" : "8781d879-786d-4eed-bcb7-67e792198d6c", + "x-ms-correlation-request-id" : "15e5af7f-1d3f-4dc5-976d-d6b68a6b0262", + "Date" : "Tue, 14 Feb 2023 07:22:54 GMT", + "x-ms-arm-service-request-id" : "62cd50e4-2e96-4fd4-aad0-e2ff1a19934c", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T062929Z:3f42a097-6112-44fc-b38c-427e58b8fdfe", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072254Z:15e5af7f-1d3f-4dc5-976d-d6b68a6b0262", "Expires" : "-1", - "x-ms-request-id" : "f19841a4-6408-47b6-ae69-f45d254b7c30", + "Content-Length" : "29", + "x-ms-request-id" : "a42632f1-2575-4793-a9a8-27d87870544c", "Body" : "{\r\n \"status\": \"Succeeded\"\r\n}", - "x-ms-client-request-id" : "96abd190-8175-4727-87c4-60f1d11651a3", + "x-ms-client-request-id" : "3e30aa78-8b53-4d38-9cfd-a0455bf30103", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/virtualNetworks/network1731453821?api-version=2022-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/virtualNetworks/network344964a06e?api-version=2022-07-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "a0914bba-60ac-4460-a814-55fdb9cba8e3" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "5b87cb5e-a7d9-4a95-95ad-1aa041add7dd" }, "Response" : { - "content-length" : "1591", "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", "StatusCode" : "200", - "x-ms-correlation-request-id" : "6d27170a-713a-4c29-80fb-324f9df0a930", - "Date" : "Thu, 08 Sep 2022 06:29:29 GMT", - "x-ms-arm-service-request-id" : "13782ac7-e8ac-4632-9906-ce845b5adebc", + "x-ms-correlation-request-id" : "ab84131d-2792-4377-9052-a7a312b83769", + "Date" : "Tue, 14 Feb 2023 07:22:54 GMT", + "x-ms-arm-service-request-id" : "95ab8827-3f01-4f1a-811a-eccbb90a6a50", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "ETag" : "W/\"4dac3603-72b3-4365-a6e2-dda7cce2571d\"", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T062930Z:6d27170a-713a-4c29-80fb-324f9df0a930", + "ETag" : "W/\"c6976933-5027-41c8-a052-16cb2b35bcb7\"", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072255Z:ab84131d-2792-4377-9052-a7a312b83769", "Expires" : "-1", - "x-ms-request-id" : "9106dbef-268b-4bfb-a524-466308aae02b", - "Body" : "{\r\n \"name\": \"network1731453821\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/virtualNetworks/network1731453821\",\r\n \"etag\": \"W/\\\"4dac3603-72b3-4365-a6e2-dda7cce2571d\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"9227736f-5201-4fcd-96d3-da12a2e2b990\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"subnet736632ea7e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/virtualNetworks/network1731453821/subnets/subnet736632ea7e\",\r\n \"etag\": \"W/\\\"4dac3603-72b3-4365-a6e2-dda7cce2571d\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \"serviceEndpoints\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"service\": \"Microsoft.AzureCosmosDB\",\r\n \"locations\": [\r\n \"*\"\r\n ]\r\n }\r\n ],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n }\r\n}", - "x-ms-client-request-id" : "a0914bba-60ac-4460-a814-55fdb9cba8e3", + "Content-Length" : "1591", + "x-ms-request-id" : "ba6e0441-cf12-4ddb-83dc-94adf3d16332", + "Body" : "{\r\n \"name\": \"network344964a06e\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/virtualNetworks/network344964a06e\",\r\n \"etag\": \"W/\\\"c6976933-5027-41c8-a052-16cb2b35bcb7\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"7b260c2d-e5b8-4635-b6c3-9a912746a8b6\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"subnet38337be01c\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/virtualNetworks/network344964a06e/subnets/subnet38337be01c\",\r\n \"etag\": \"W/\\\"c6976933-5027-41c8-a052-16cb2b35bcb7\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \"serviceEndpoints\": [\r\n {\r\n \"provisioningState\": \"Succeeded\",\r\n \"service\": \"Microsoft.AzureCosmosDB\",\r\n \"locations\": [\r\n \"*\"\r\n ]\r\n }\r\n ],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n }\r\n}", + "x-ms-client-request-id" : "5b87cb5e-a7d9-4a95-95ad-1aa041add7dd", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb09993b9?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb1606326?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "cd1810cd-9e82-484c-87b2-1f59ab219b38", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "6ebc573f-f423-44f7-95d4-5b9905af4d3c", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "231", "X-Content-Type-Options" : "nosniff", "x-ms-ratelimit-remaining-subscription-writes" : "1197", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "43e3f68e-99af-46dd-bc56-49ca2a35a8f6", - "Date" : "Thu, 08 Sep 2022 06:29:30 GMT", + "Date" : "Tue, 14 Feb 2023 07:22:58 GMT", + "x-ms-correlation-request-id" : "671cee88-9efb-4f24-bea8-9c38e8fc3f2a", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T062931Z:43e3f68e-99af-46dd-bc56-49ca2a35a8f6", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072258Z:671cee88-9efb-4f24-bea8-9c38e8fc3f2a", "Expires" : "-1", - "x-ms-request-id" : "43e3f68e-99af-46dd-bc56-49ca2a35a8f6", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9\",\"name\":\"rgcosmosdb09993b9\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "Content-Length" : "231", + "x-ms-request-id" : "671cee88-9efb-4f24-bea8-9c38e8fc3f2a", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326\",\"name\":\"rgcosmosdb1606326\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "e9aed9c6-80e3-4d85-9ecb-11b894b39c21", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "ea68a0d0-0012-44aa-83f8-c766028c94a8", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "2288", - "Server" : "Microsoft-HTTPAPI/2.0", - "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", - "Pragma" : "no-cache", - "retry-after" : "0", - "StatusCode" : "200", - "x-ms-correlation-request-id" : "a790f604-9e44-4a3e-9c9b-08082a95ef16", - "Date" : "Thu, 08 Sep 2022 06:29:38 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T062939Z:a790f604-9e44-4a3e-9c9b-08082a95ef16", - "x-ms-gatewayversion" : "version=2.14.0", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ef59767a-a3ac-4cc0-854a-6c11b98e723d?api-version=2022-08-15", - "x-ms-request-id" : "ef59767a-a3ac-4cc0-854a-6c11b98e723d", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab\",\"name\":\"cosmosdb86998beab\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2022-09-08T06:29:36.2359621Z\"},\"properties\":{\"provisioningState\":\"Creating\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":true,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"301708b1-120e-4a4b-8b03-4afd6490774c\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Invalid\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:29:36.2359621Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:29:36.2359621Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:29:36.2359621Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:29:36.2359621Z\"}}},\"identity\":{\"type\":\"None\"}}", - "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/operationResults/ef59767a-a3ac-4cc0-854a-6c11b98e723d?api-version=2022-08-15" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ef59767a-a3ac-4cc0-854a-6c11b98e723d?api-version=2022-08-15", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "5a874407-8475-4859-b2d5-9037a2e6ce77" - }, - "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", "StatusCode" : "200", - "x-ms-correlation-request-id" : "b6a50761-c13b-4847-bf56-853227154e33", - "Date" : "Thu, 08 Sep 2022 06:30:09 GMT", + "Date" : "Tue, 14 Feb 2023 07:23:09 GMT", + "x-ms-correlation-request-id" : "63e5e433-42b7-4ecf-81bf-f8d7dccd990c", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063009Z:b6a50761-c13b-4847-bf56-853227154e33", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072309Z:63e5e433-42b7-4ecf-81bf-f8d7dccd990c", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "b6a50761-c13b-4847-bf56-853227154e33", - "Body" : "{\"status\":\"Dequeued\"}", + "Content-Length" : "2314", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/76891457-405e-48c6-81fd-4ded34d117e4?api-version=2022-11-15", + "x-ms-request-id" : "76891457-405e-48c6-81fd-4ded34d117e4", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146\",\"name\":\"cosmosdb00252e146\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2023-02-14T07:23:06.0984525Z\"},\"properties\":{\"provisioningState\":\"Creating\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":true,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"3318366b-0a69-4697-95ef-3a1349038e54\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Invalid\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:23:06.0984525Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:23:06.0984525Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:23:06.0984525Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:23:06.0984525Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/operationResults/76891457-405e-48c6-81fd-4ded34d117e4?api-version=2022-11-15", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ef59767a-a3ac-4cc0-854a-6c11b98e723d?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/76891457-405e-48c6-81fd-4ded34d117e4?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "8640d645-c6aa-4fb9-8f42-bc63ba291e77" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "8aaeae9c-b68f-408e-9953-13c3f5a6ec8e" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11998", "StatusCode" : "200", - "x-ms-correlation-request-id" : "545f221b-3a25-48cf-8404-e25da6910178", - "Date" : "Thu, 08 Sep 2022 06:30:39 GMT", + "x-ms-correlation-request-id" : "1a981c26-36c8-4701-bd49-19f37ed84777", + "Date" : "Tue, 14 Feb 2023 07:23:40 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063039Z:545f221b-3a25-48cf-8404-e25da6910178", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072340Z:1a981c26-36c8-4701-bd49-19f37ed84777", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "545f221b-3a25-48cf-8404-e25da6910178", + "Content-Length" : "21", + "x-ms-request-id" : "1a981c26-36c8-4701-bd49-19f37ed84777", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ef59767a-a3ac-4cc0-854a-6c11b98e723d?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/76891457-405e-48c6-81fd-4ded34d117e4?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "5655e2c9-3356-412f-a252-f526a21e78e9" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "55e2b7d7-fa1c-44f8-a59b-b9024ef0cfb4" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", "StatusCode" : "200", - "x-ms-correlation-request-id" : "5f41b8ff-1661-403d-8594-3efbfaee6958", - "Date" : "Thu, 08 Sep 2022 06:31:09 GMT", + "x-ms-correlation-request-id" : "65f6a74a-ac8b-40c3-8db9-dcf5324f98ca", + "Date" : "Tue, 14 Feb 2023 07:24:10 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063109Z:5f41b8ff-1661-403d-8594-3efbfaee6958", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072411Z:65f6a74a-ac8b-40c3-8db9-dcf5324f98ca", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "5f41b8ff-1661-403d-8594-3efbfaee6958", + "Content-Length" : "21", + "x-ms-request-id" : "65f6a74a-ac8b-40c3-8db9-dcf5324f98ca", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/ef59767a-a3ac-4cc0-854a-6c11b98e723d?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/76891457-405e-48c6-81fd-4ded34d117e4?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "9b7b2240-a896-4dd3-9542-c287b35b002f" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "a3439238-6a03-4d37-8cff-c1bc581e9fa0" }, "Response" : { - "content-length" : "22", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", "StatusCode" : "200", - "x-ms-correlation-request-id" : "24d9a7a2-e268-4361-94d2-98f6db3f9759", - "Date" : "Thu, 08 Sep 2022 06:31:39 GMT", + "x-ms-correlation-request-id" : "20fcb327-fec1-48c3-afd9-ea3e16d34c18", + "Date" : "Tue, 14 Feb 2023 07:24:42 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063140Z:24d9a7a2-e268-4361-94d2-98f6db3f9759", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072442Z:20fcb327-fec1-48c3-afd9-ea3e16d34c18", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "24d9a7a2-e268-4361-94d2-98f6db3f9759", + "Content-Length" : "22", + "x-ms-request-id" : "20fcb327-fec1-48c3-afd9-ea3e16d34c18", "Body" : "{\"status\":\"Succeeded\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "8f3fd629-35d5-4d05-9888-84d4f18ad2ae" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "d8e761f0-9ac9-4820-801d-570f3843947c" }, "Response" : { - "content-length" : "2615", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", "StatusCode" : "200", - "x-ms-correlation-request-id" : "3fecb0ab-441c-4857-b069-5cef844d208a", - "Date" : "Thu, 08 Sep 2022 06:31:39 GMT", + "x-ms-correlation-request-id" : "b08b8372-2b17-44ef-9bad-45b49a54d565", + "Date" : "Tue, 14 Feb 2023 07:24:44 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063140Z:3fecb0ab-441c-4857-b069-5cef844d208a", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072444Z:b08b8372-2b17-44ef-9bad-45b49a54d565", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "3fecb0ab-441c-4857-b069-5cef844d208a", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab\",\"name\":\"cosmosdb86998beab\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2022-09-08T06:31:00.9808857Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb86998beab.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":true,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"301708b1-120e-4a4b-8b03-4afd6490774c\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Content-Length" : "2708", + "x-ms-request-id" : "b08b8372-2b17-44ef-9bad-45b49a54d565", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146\",\"name\":\"cosmosdb00252e146\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2023-02-14T07:24:30.4425984Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb00252e146.documents.azure.com:443/\",\"sqlEndpoint\":\"https://cosmosdb00252e146.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":true,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"3318366b-0a69-4697-95ef-3a1349038e54\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"}}},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "727ccdab-d8e9-4c62-b3f9-594931e4eb81", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "01c56f05-3186-44d7-a052-32ebb16531ab", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "2615", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11996", "StatusCode" : "200", - "x-ms-correlation-request-id" : "f04c5311-58a0-4aac-8f7c-d16243400597", - "Date" : "Thu, 08 Sep 2022 06:31:41 GMT", + "Date" : "Tue, 14 Feb 2023 07:24:44 GMT", + "x-ms-correlation-request-id" : "1c1bd28b-77fb-41c8-805d-1fa7385545d2", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063141Z:f04c5311-58a0-4aac-8f7c-d16243400597", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072445Z:1c1bd28b-77fb-41c8-805d-1fa7385545d2", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "f04c5311-58a0-4aac-8f7c-d16243400597", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab\",\"name\":\"cosmosdb86998beab\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2022-09-08T06:31:00.9808857Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb86998beab.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":true,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"301708b1-120e-4a4b-8b03-4afd6490774c\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Content-Length" : "2708", + "x-ms-request-id" : "1c1bd28b-77fb-41c8-805d-1fa7385545d2", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146\",\"name\":\"cosmosdb00252e146\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2023-02-14T07:24:30.4425984Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb00252e146.documents.azure.com:443/\",\"sqlEndpoint\":\"https://cosmosdb00252e146.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":true,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"3318366b-0a69-4697-95ef-3a1349038e54\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"}}},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/privateEndpoints/ped83578a57c82c?api-version=2022-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/privateEndpoints/ped338131830e4c?api-version=2022-07-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "c5dcb322-aa6a-4ef5-9e49-0526572b3ba3", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "7f459ac7-feb2-46a8-a667-5fcae37a61ec", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "2052", "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "x-ms-ratelimit-remaining-subscription-writes" : "1196", "Pragma" : "no-cache", "Azure-AsyncNotification" : "Enabled", "StatusCode" : "201", - "x-ms-correlation-request-id" : "f5aa0b59-5630-410f-9829-dec10a5c3b9a", - "Date" : "Thu, 08 Sep 2022 06:31:44 GMT", - "x-ms-arm-service-request-id" : "9953fbcf-359e-4699-a894-fae2aa0cd499", + "Date" : "Tue, 14 Feb 2023 07:24:49 GMT", + "x-ms-correlation-request-id" : "62055da9-c41d-4f30-8224-9a3da0497363", + "x-ms-arm-service-request-id" : "a0850e10-9d67-4bc4-a8f4-3359bed2e99b", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063145Z:f5aa0b59-5630-410f-9829-dec10a5c3b9a", + "Cache-Control" : "no-cache", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072449Z:62055da9-c41d-4f30-8224-9a3da0497363", "Expires" : "-1", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/78e9540f-6c28-459f-bd93-d524b9120437?api-version=2022-07-01", - "x-ms-request-id" : "78e9540f-6c28-459f-bd93-d524b9120437", - "Body" : "{\r\n \"name\": \"ped83578a57c82c\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/privateEndpoints/ped83578a57c82c\",\r\n \"etag\": \"W/\\\"cab917db-e29b-4bc9-a8fa-c3c51822990e\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"9def72de-72f8-4123-a9ca-e6ba4c826b93\",\r\n \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"plsconnect0618014c\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/privateEndpoints/ped83578a57c82c/privateLinkServiceConnections/plsconnect0618014c\",\r\n \"etag\": \"W/\\\"cab917db-e29b-4bc9-a8fa-c3c51822990e\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab\",\r\n \"groupIds\": [\r\n \"Sql\"\r\n ],\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Approved\",\r\n \"description\": \"Auto Approved\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n \"customNetworkInterfaceName\": \"\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/virtualNetworks/network1731453821/subnets/subnet736632ea7e\"\r\n },\r\n \"ipConfigurations\": [],\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/networkInterfaces/ped83578a57c82c.nic.787324f7-5d7a-4465-be94-92b1cad66b33\"\r\n }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}", - "x-ms-client-request-id" : "c5dcb322-aa6a-4ef5-9e49-0526572b3ba3", + "Content-Length" : "2052", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b61cf971-3962-436e-977e-c19104daf95f?api-version=2022-07-01", + "x-ms-request-id" : "b61cf971-3962-436e-977e-c19104daf95f", + "Body" : "{\r\n \"name\": \"ped338131830e4c\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/privateEndpoints/ped338131830e4c\",\r\n \"etag\": \"W/\\\"4efac57c-8713-4de1-ba54-b934daab90a7\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"734bc8d7-15b3-4bc9-ad4c-09e5759face6\",\r\n \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"plsconnect96369b9d\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/privateEndpoints/ped338131830e4c/privateLinkServiceConnections/plsconnect96369b9d\",\r\n \"etag\": \"W/\\\"4efac57c-8713-4de1-ba54-b934daab90a7\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146\",\r\n \"groupIds\": [\r\n \"Sql\"\r\n ],\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Approved\",\r\n \"description\": \"Auto Approved\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n \"customNetworkInterfaceName\": \"\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/virtualNetworks/network344964a06e/subnets/subnet38337be01c\"\r\n },\r\n \"ipConfigurations\": [],\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/networkInterfaces/ped338131830e4c.nic.c084cb2a-040e-451e-a968-4f4f3c24cdc3\"\r\n }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}", + "x-ms-client-request-id" : "7f459ac7-feb2-46a8-a667-5fcae37a61ec", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/78e9540f-6c28-459f-bd93-d524b9120437?api-version=2022-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b61cf971-3962-436e-977e-c19104daf95f?api-version=2022-07-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "444d8456-5ed8-4362-90a8-6878362d23ca" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "21e36208-b207-4200-8ca1-260790f0ed05" }, "Response" : { - "content-length" : "30", "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", "StatusCode" : "200", - "x-ms-correlation-request-id" : "262b2d61-b73c-46d0-95e5-c5efa48cf61e", - "Date" : "Thu, 08 Sep 2022 06:31:55 GMT", - "x-ms-arm-service-request-id" : "b78232d4-eb20-4f7f-abce-6a11ec3518c0", + "x-ms-correlation-request-id" : "0bde9c8b-c25b-4095-8e00-d1566c17811b", + "Date" : "Tue, 14 Feb 2023 07:24:58 GMT", + "x-ms-arm-service-request-id" : "53c01710-32ae-47a9-9dbe-248fdf0dae83", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063155Z:262b2d61-b73c-46d0-95e5-c5efa48cf61e", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072459Z:0bde9c8b-c25b-4095-8e00-d1566c17811b", "Expires" : "-1", - "x-ms-request-id" : "12183eee-c5c7-4965-92e8-69246327ea3b", + "Content-Length" : "30", + "x-ms-request-id" : "948a3a15-d7de-466f-948e-f97717edf2d6", "Body" : "{\r\n \"status\": \"InProgress\"\r\n}", - "x-ms-client-request-id" : "444d8456-5ed8-4362-90a8-6878362d23ca", + "x-ms-client-request-id" : "21e36208-b207-4200-8ca1-260790f0ed05", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/78e9540f-6c28-459f-bd93-d524b9120437?api-version=2022-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b61cf971-3962-436e-977e-c19104daf95f?api-version=2022-07-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "344bdc01-459b-453c-af40-dca7062b012a" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "072204c7-dde9-4f2a-9c11-6c06b3cc1770" }, "Response" : { - "content-length" : "30", "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "x-ms-ratelimit-remaining-subscription-reads" : "11995", "StatusCode" : "200", - "x-ms-correlation-request-id" : "b9145807-33e1-48cd-a4f0-a54b4520d6b3", - "Date" : "Thu, 08 Sep 2022 06:32:05 GMT", - "x-ms-arm-service-request-id" : "593cc578-5d05-4c80-b6ed-ef98579d794b", + "x-ms-correlation-request-id" : "bff77312-a173-4d96-ae33-067e3e0d823c", + "Date" : "Tue, 14 Feb 2023 07:25:10 GMT", + "x-ms-arm-service-request-id" : "ccf283ee-5414-4376-987c-4b4bd622e899", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063206Z:b9145807-33e1-48cd-a4f0-a54b4520d6b3", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072510Z:bff77312-a173-4d96-ae33-067e3e0d823c", "Expires" : "-1", - "x-ms-request-id" : "69874829-2322-4f23-b97b-8253065148ba", + "Content-Length" : "30", + "x-ms-request-id" : "a26592ee-1d07-4c98-b9f9-ed54bf21e82e", "Body" : "{\r\n \"status\": \"InProgress\"\r\n}", - "x-ms-client-request-id" : "344bdc01-459b-453c-af40-dca7062b012a", + "x-ms-client-request-id" : "072204c7-dde9-4f2a-9c11-6c06b3cc1770", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/78e9540f-6c28-459f-bd93-d524b9120437?api-version=2022-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b61cf971-3962-436e-977e-c19104daf95f?api-version=2022-07-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "6004a1f4-a891-47fb-a35a-46249b92f5d6" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "2bffb33e-05e7-4b58-afbf-656eb3402364" }, "Response" : { - "content-length" : "30", "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "x-ms-ratelimit-remaining-subscription-reads" : "11995", "StatusCode" : "200", - "x-ms-correlation-request-id" : "04de4bf2-9aad-4c6d-9551-894477a5f32b", - "Date" : "Thu, 08 Sep 2022 06:32:26 GMT", - "x-ms-arm-service-request-id" : "d1b0e0a9-26be-4b48-bf49-02e795aba985", + "x-ms-correlation-request-id" : "824ec376-ca2a-4951-b15d-8a865c85c40c", + "Date" : "Tue, 14 Feb 2023 07:25:30 GMT", + "x-ms-arm-service-request-id" : "18ff5780-d45e-4994-b227-26f0fe837113", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063226Z:04de4bf2-9aad-4c6d-9551-894477a5f32b", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072530Z:824ec376-ca2a-4951-b15d-8a865c85c40c", "Expires" : "-1", - "x-ms-request-id" : "3c82cc26-4ab8-40f2-890f-377b38f247d2", + "Content-Length" : "30", + "x-ms-request-id" : "cec9a905-4bd3-4ae9-881f-307d57d13a63", "Body" : "{\r\n \"status\": \"InProgress\"\r\n}", - "x-ms-client-request-id" : "6004a1f4-a891-47fb-a35a-46249b92f5d6", + "x-ms-client-request-id" : "2bffb33e-05e7-4b58-afbf-656eb3402364", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/78e9540f-6c28-459f-bd93-d524b9120437?api-version=2022-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b61cf971-3962-436e-977e-c19104daf95f?api-version=2022-07-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "13928ddf-e741-4f98-a255-be88441043c5" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "7fc12c50-5a3c-4a21-a6b7-c7287382703e" }, "Response" : { - "content-length" : "30", "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", "StatusCode" : "200", - "x-ms-correlation-request-id" : "6f68c687-f75f-4385-8363-d689ee9f6641", - "Date" : "Thu, 08 Sep 2022 06:32:46 GMT", - "x-ms-arm-service-request-id" : "84c9b773-f0d9-4f47-983c-1b115dacd026", + "x-ms-correlation-request-id" : "5da46bb9-1791-4408-b082-920c2a8afc30", + "Date" : "Tue, 14 Feb 2023 07:25:51 GMT", + "x-ms-arm-service-request-id" : "86d0ae40-4033-4ac3-9989-113401286071", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063247Z:6f68c687-f75f-4385-8363-d689ee9f6641", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072551Z:5da46bb9-1791-4408-b082-920c2a8afc30", "Expires" : "-1", - "x-ms-request-id" : "db529d59-bbe1-4ffb-a534-a5e9d26f6998", + "Content-Length" : "30", + "x-ms-request-id" : "e6a18e40-d479-4eca-842f-ff81c79cde02", "Body" : "{\r\n \"status\": \"InProgress\"\r\n}", - "x-ms-client-request-id" : "13928ddf-e741-4f98-a255-be88441043c5", + "x-ms-client-request-id" : "7fc12c50-5a3c-4a21-a6b7-c7287382703e", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/78e9540f-6c28-459f-bd93-d524b9120437?api-version=2022-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b61cf971-3962-436e-977e-c19104daf95f?api-version=2022-07-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "ac1bccfa-6d34-4e23-a536-f02c1d390228" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "6ff86525-05be-41ec-8b26-4c7b4768c28e" }, "Response" : { - "content-length" : "30", "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "x-ms-ratelimit-remaining-subscription-reads" : "11993", "StatusCode" : "200", - "x-ms-correlation-request-id" : "cdda2baa-3538-407d-96e4-34bd31ffdd06", - "Date" : "Thu, 08 Sep 2022 06:33:26 GMT", - "x-ms-arm-service-request-id" : "ccd1d733-625f-4b9b-87b1-befbfbbeadbc", + "x-ms-correlation-request-id" : "680fda01-7ca5-4065-a81f-2bafdfb47a39", + "Date" : "Tue, 14 Feb 2023 07:26:32 GMT", + "x-ms-arm-service-request-id" : "d8754748-72cb-41f5-840e-ec057489ac73", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063327Z:cdda2baa-3538-407d-96e4-34bd31ffdd06", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072632Z:680fda01-7ca5-4065-a81f-2bafdfb47a39", "Expires" : "-1", - "x-ms-request-id" : "fad056bb-d1e3-47ef-ab55-de5081ab5957", + "Content-Length" : "30", + "x-ms-request-id" : "dd65017c-39b3-4f7c-8dfb-97852ba1c695", "Body" : "{\r\n \"status\": \"InProgress\"\r\n}", - "x-ms-client-request-id" : "ac1bccfa-6d34-4e23-a536-f02c1d390228", + "x-ms-client-request-id" : "6ff86525-05be-41ec-8b26-4c7b4768c28e", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/78e9540f-6c28-459f-bd93-d524b9120437?api-version=2022-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b61cf971-3962-436e-977e-c19104daf95f?api-version=2022-07-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "2271a769-f2ee-4351-b97a-171b82462a50" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "3a07358b-4a75-4140-91f9-055df1db7f22" }, "Response" : { - "content-length" : "30", "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", "StatusCode" : "200", - "x-ms-correlation-request-id" : "6f852de4-032e-4951-a9e3-fe4f528ef231", - "Date" : "Thu, 08 Sep 2022 06:34:07 GMT", - "x-ms-arm-service-request-id" : "3f61ff86-eac5-4061-8e21-c21d39297f28", + "x-ms-correlation-request-id" : "21a3b7f5-84cc-443b-9864-842f46078839", + "Date" : "Tue, 14 Feb 2023 07:27:13 GMT", + "x-ms-arm-service-request-id" : "1fd08de0-dbd8-4d0e-bac6-8c3caa843110", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063407Z:6f852de4-032e-4951-a9e3-fe4f528ef231", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072713Z:21a3b7f5-84cc-443b-9864-842f46078839", "Expires" : "-1", - "x-ms-request-id" : "55e3af92-a568-47b8-9585-3e47846f5fd1", + "Content-Length" : "30", + "x-ms-request-id" : "90407682-f610-4295-bf46-24aa3c200df9", "Body" : "{\r\n \"status\": \"InProgress\"\r\n}", - "x-ms-client-request-id" : "2271a769-f2ee-4351-b97a-171b82462a50", + "x-ms-client-request-id" : "3a07358b-4a75-4140-91f9-055df1db7f22", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/78e9540f-6c28-459f-bd93-d524b9120437?api-version=2022-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b61cf971-3962-436e-977e-c19104daf95f?api-version=2022-07-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "362a332d-64e0-4034-8baf-3d97d8b0b5b0" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "e4b382c6-8ef1-4958-903d-bcead0315ae7" }, "Response" : { - "content-length" : "30", "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", "StatusCode" : "200", - "x-ms-correlation-request-id" : "8a2665f9-ea7c-4da5-924f-521f12d33310", - "Date" : "Thu, 08 Sep 2022 06:35:27 GMT", - "x-ms-arm-service-request-id" : "1913178b-4a83-4768-bb80-3001f2c5d1bf", + "x-ms-correlation-request-id" : "0088dc8b-d328-46a5-acb2-797d4017fb09", + "Date" : "Tue, 14 Feb 2023 07:28:33 GMT", + "x-ms-arm-service-request-id" : "b3ecb214-4bf1-47bb-a892-ff504eba62b4", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063528Z:8a2665f9-ea7c-4da5-924f-521f12d33310", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072834Z:0088dc8b-d328-46a5-acb2-797d4017fb09", "Expires" : "-1", - "x-ms-request-id" : "ff9dd250-1c33-4fa9-9cbe-ea4d6829f788", + "Content-Length" : "30", + "x-ms-request-id" : "6c18affe-184d-41e0-8283-cbe171203c71", "Body" : "{\r\n \"status\": \"InProgress\"\r\n}", - "x-ms-client-request-id" : "362a332d-64e0-4034-8baf-3d97d8b0b5b0", + "x-ms-client-request-id" : "e4b382c6-8ef1-4958-903d-bcead0315ae7", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/78e9540f-6c28-459f-bd93-d524b9120437?api-version=2022-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b61cf971-3962-436e-977e-c19104daf95f?api-version=2022-07-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "a817032c-af86-41e4-bddb-612a5a258a49" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "7026a911-0a79-4de0-9e18-d3bbd13d33df" }, "Response" : { - "content-length" : "30", "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", "StatusCode" : "200", - "x-ms-correlation-request-id" : "f4ed4134-1b99-488b-9908-9f8863e3740c", - "Date" : "Thu, 08 Sep 2022 06:38:08 GMT", - "x-ms-arm-service-request-id" : "df4d8619-8170-4a83-8905-35c26a843247", + "x-ms-correlation-request-id" : "3d7854c1-d68d-4b39-a818-e38409cf9435", + "Date" : "Tue, 14 Feb 2023 07:31:14 GMT", + "x-ms-arm-service-request-id" : "5bd86f38-c463-412d-ae62-4e8da035aaf2", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063808Z:f4ed4134-1b99-488b-9908-9f8863e3740c", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073115Z:3d7854c1-d68d-4b39-a818-e38409cf9435", "Expires" : "-1", - "x-ms-request-id" : "5f058db2-061e-42e3-86ba-829f34ffe0c2", + "Content-Length" : "30", + "x-ms-request-id" : "7dbc4077-f37b-41a1-bb6d-b8abe470da78", "Body" : "{\r\n \"status\": \"InProgress\"\r\n}", - "x-ms-client-request-id" : "a817032c-af86-41e4-bddb-612a5a258a49", + "x-ms-client-request-id" : "7026a911-0a79-4de0-9e18-d3bbd13d33df", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/78e9540f-6c28-459f-bd93-d524b9120437?api-version=2022-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b61cf971-3962-436e-977e-c19104daf95f?api-version=2022-07-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "09fa5b4a-daeb-426a-aa68-da36f5119f61" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "000ebf54-2ea8-4024-b9aa-914e74d4141e" }, "Response" : { - "content-length" : "29", "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", "StatusCode" : "200", - "x-ms-correlation-request-id" : "f3312a02-4bfd-4eb7-bb7a-0ad99a67c530", - "Date" : "Thu, 08 Sep 2022 06:39:48 GMT", - "x-ms-arm-service-request-id" : "1115870e-3a43-471d-b2cf-59a4932f48a9", + "x-ms-correlation-request-id" : "694a094c-bc69-4e7f-bc6c-8b9a1baf1d4a", + "Date" : "Tue, 14 Feb 2023 07:32:55 GMT", + "x-ms-arm-service-request-id" : "b702996c-b235-4ca9-be18-c64c63abe50d", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063948Z:f3312a02-4bfd-4eb7-bb7a-0ad99a67c530", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073255Z:694a094c-bc69-4e7f-bc6c-8b9a1baf1d4a", "Expires" : "-1", - "x-ms-request-id" : "c399b253-6ef5-4477-a132-f0d7a6844b68", + "Content-Length" : "29", + "x-ms-request-id" : "82dadfc7-7808-4fa1-9625-f7b50527b665", "Body" : "{\r\n \"status\": \"Succeeded\"\r\n}", - "x-ms-client-request-id" : "09fa5b4a-daeb-426a-aa68-da36f5119f61", + "x-ms-client-request-id" : "000ebf54-2ea8-4024-b9aa-914e74d4141e", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/privateEndpoints/ped83578a57c82c?api-version=2022-07-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/privateEndpoints/ped338131830e4c?api-version=2022-07-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "635d2eb7-c43d-4345-b0a5-99b7f56726a5" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "50ee4d52-0e48-4b96-8b85-128a62f8db30" }, "Response" : { - "content-length" : "2324", "Server" : "Microsoft-HTTPAPI/2.0,Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11967", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", "StatusCode" : "200", - "x-ms-correlation-request-id" : "3452fef0-f5e4-4f1d-9ed4-9b7725d7fcac", - "Date" : "Thu, 08 Sep 2022 06:39:49 GMT", - "x-ms-arm-service-request-id" : "e5901047-d514-43dc-93e9-eb240d6c883c", + "x-ms-correlation-request-id" : "a101d3fc-56b4-44a9-ae01-1f9794db0ea6", + "Date" : "Tue, 14 Feb 2023 07:32:58 GMT", + "x-ms-arm-service-request-id" : "57b7ab80-ade6-40ec-bd03-1d9f7b76a146", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "ETag" : "W/\"273e1ce0-7866-4ab8-a9d2-5ec5baa1e72e\"", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063949Z:3452fef0-f5e4-4f1d-9ed4-9b7725d7fcac", + "ETag" : "W/\"4fd79559-9f1f-4720-95ac-84c875ba5d54\"", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073258Z:a101d3fc-56b4-44a9-ae01-1f9794db0ea6", "Expires" : "-1", - "x-ms-request-id" : "cb410c7a-22e7-4ce8-b320-83cada92301e", - "Body" : "{\r\n \"name\": \"ped83578a57c82c\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/privateEndpoints/ped83578a57c82c\",\r\n \"etag\": \"W/\\\"273e1ce0-7866-4ab8-a9d2-5ec5baa1e72e\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"9def72de-72f8-4123-a9ca-e6ba4c826b93\",\r\n \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"plsconnect0618014c\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/privateEndpoints/ped83578a57c82c/privateLinkServiceConnections/plsconnect0618014c\",\r\n \"etag\": \"W/\\\"273e1ce0-7866-4ab8-a9d2-5ec5baa1e72e\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab\",\r\n \"groupIds\": [\r\n \"Sql\"\r\n ],\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Approved\",\r\n \"description\": \"\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n \"customNetworkInterfaceName\": \"\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/virtualNetworks/network1731453821/subnets/subnet736632ea7e\"\r\n },\r\n \"ipConfigurations\": [],\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/networkInterfaces/ped83578a57c82c.nic.787324f7-5d7a-4465-be94-92b1cad66b33\"\r\n }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": \"cosmosdb86998beab.documents.azure.com\",\r\n \"ipAddresses\": [\r\n \"10.0.0.4\"\r\n ]\r\n },\r\n {\r\n \"fqdn\": \"cosmosdb86998beab-westus.documents.azure.com\",\r\n \"ipAddresses\": [\r\n \"10.0.0.5\"\r\n ]\r\n }\r\n ]\r\n }\r\n}", - "x-ms-client-request-id" : "635d2eb7-c43d-4345-b0a5-99b7f56726a5", + "Content-Length" : "2324", + "x-ms-request-id" : "8e070440-2d54-42d7-aad2-a79cf91e7efa", + "Body" : "{\r\n \"name\": \"ped338131830e4c\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/privateEndpoints/ped338131830e4c\",\r\n \"etag\": \"W/\\\"4fd79559-9f1f-4720-95ac-84c875ba5d54\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"734bc8d7-15b3-4bc9-ad4c-09e5759face6\",\r\n \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"plsconnect96369b9d\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/privateEndpoints/ped338131830e4c/privateLinkServiceConnections/plsconnect96369b9d\",\r\n \"etag\": \"W/\\\"4fd79559-9f1f-4720-95ac-84c875ba5d54\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146\",\r\n \"groupIds\": [\r\n \"Sql\"\r\n ],\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Approved\",\r\n \"description\": \"\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n \"customNetworkInterfaceName\": \"\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/virtualNetworks/network344964a06e/subnets/subnet38337be01c\"\r\n },\r\n \"ipConfigurations\": [],\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/networkInterfaces/ped338131830e4c.nic.c084cb2a-040e-451e-a968-4f4f3c24cdc3\"\r\n }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": \"cosmosdb00252e146.documents.azure.com\",\r\n \"ipAddresses\": [\r\n \"10.0.0.4\"\r\n ]\r\n },\r\n {\r\n \"fqdn\": \"cosmosdb00252e146-westus.documents.azure.com\",\r\n \"ipAddresses\": [\r\n \"10.0.0.5\"\r\n ]\r\n }\r\n ]\r\n }\r\n}", + "x-ms-client-request-id" : "50ee4d52-0e48-4b96-8b85-128a62f8db30", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "907a1c53-1425-4991-ac7d-b0ea2e304ec0", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "c99f020c-943f-4dfd-b583-4ca674a41011", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "3119", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "x-ms-ratelimit-remaining-subscription-writes" : "1195", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "dd415852-27cb-4978-b0da-312b97a64290", - "Date" : "Thu, 08 Sep 2022 06:39:55 GMT", + "Date" : "Tue, 14 Feb 2023 07:33:03 GMT", + "x-ms-correlation-request-id" : "ee2f5d4c-b63f-4e34-b849-aedac46e2295", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063955Z:dd415852-27cb-4978-b0da-312b97a64290", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073303Z:ee2f5d4c-b63f-4e34-b849-aedac46e2295", "x-ms-gatewayversion" : "version=2.14.0", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/45d6153d-d5fa-4255-b179-fe7f6b883dc6?api-version=2022-08-15", - "x-ms-request-id" : "45d6153d-d5fa-4255-b179-fe7f6b883dc6", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab\",\"name\":\"cosmosdb86998beab\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2022-09-08T06:31:00.9808857Z\"},\"properties\":{\"provisioningState\":\"Updating\",\"documentEndpoint\":\"https://cosmosdb86998beab.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"privateEndpointConnections\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/privateEndpointConnections/ped83578a57c82c\",\"properties\":{\"privateEndpoint\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/privateEndpoints/ped83578a57c82c\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"actionsRequired\":\"None\"}}}],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":true,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"301708b1-120e-4a4b-8b03-4afd6490774c\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"}}},\"identity\":{\"type\":\"None\"}}", - "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/operationResults/45d6153d-d5fa-4255-b179-fe7f6b883dc6?api-version=2022-08-15" + "Content-Length" : "3212", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4c2fd978-a471-42b9-a341-6a2aaa3f02df?api-version=2022-11-15", + "x-ms-request-id" : "4c2fd978-a471-42b9-a341-6a2aaa3f02df", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146\",\"name\":\"cosmosdb00252e146\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2023-02-14T07:24:30.4425984Z\"},\"properties\":{\"provisioningState\":\"Updating\",\"documentEndpoint\":\"https://cosmosdb00252e146.documents.azure.com:443/\",\"sqlEndpoint\":\"https://cosmosdb00252e146.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"privateEndpointConnections\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/privateEndpointConnections/ped338131830e4c\",\"properties\":{\"privateEndpoint\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/privateEndpoints/ped338131830e4c\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"actionsRequired\":\"None\"}}}],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":true,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"3318366b-0a69-4697-95ef-3a1349038e54\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/operationResults/4c2fd978-a471-42b9-a341-6a2aaa3f02df?api-version=2022-11-15", + "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/45d6153d-d5fa-4255-b179-fe7f6b883dc6?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4c2fd978-a471-42b9-a341-6a2aaa3f02df?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "b1dc4969-f034-4ab6-aff3-e0e99c4245f8" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "dfce1073-4941-4ae5-a9a0-3e6bbb5e8eb4" }, "Response" : { - "content-length" : "22", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", "StatusCode" : "200", - "x-ms-correlation-request-id" : "917433ac-ed95-4703-b6b9-18b8e8de04e6", - "Date" : "Thu, 08 Sep 2022 06:40:26 GMT", + "x-ms-correlation-request-id" : "a3a66d42-ff46-4690-946b-c14d070444d5", + "Date" : "Tue, 14 Feb 2023 07:33:34 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064026Z:917433ac-ed95-4703-b6b9-18b8e8de04e6", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073334Z:a3a66d42-ff46-4690-946b-c14d070444d5", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "917433ac-ed95-4703-b6b9-18b8e8de04e6", + "Content-Length" : "22", + "x-ms-request-id" : "a3a66d42-ff46-4690-946b-c14d070444d5", "Body" : "{\"status\":\"Succeeded\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "86208be3-2cdf-41c6-a22b-2eb486e49fdf" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "2d2b7943-1269-4515-9531-dcb576918553" }, "Response" : { - "content-length" : "3120", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", "StatusCode" : "200", - "x-ms-correlation-request-id" : "4156e48f-a729-4a71-abe8-72b748d3e60f", - "Date" : "Thu, 08 Sep 2022 06:40:27 GMT", + "x-ms-correlation-request-id" : "a62ae165-8c22-40f7-9da8-489f93a51999", + "Date" : "Tue, 14 Feb 2023 07:33:34 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064028Z:4156e48f-a729-4a71-abe8-72b748d3e60f", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073335Z:a62ae165-8c22-40f7-9da8-489f93a51999", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "4156e48f-a729-4a71-abe8-72b748d3e60f", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab\",\"name\":\"cosmosdb86998beab\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2022-09-08T06:31:00.9808857Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb86998beab.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"privateEndpointConnections\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/privateEndpointConnections/ped83578a57c82c\",\"properties\":{\"privateEndpoint\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/privateEndpoints/ped83578a57c82c\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"actionsRequired\":\"None\"}}}],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":true,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"301708b1-120e-4a4b-8b03-4afd6490774c\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Content-Length" : "3213", + "x-ms-request-id" : "a62ae165-8c22-40f7-9da8-489f93a51999", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146\",\"name\":\"cosmosdb00252e146\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2023-02-14T07:24:30.4425984Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb00252e146.documents.azure.com:443/\",\"sqlEndpoint\":\"https://cosmosdb00252e146.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"privateEndpointConnections\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/privateEndpointConnections/ped338131830e4c\",\"properties\":{\"privateEndpoint\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/privateEndpoints/ped338131830e4c\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"actionsRequired\":\"None\"}}}],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":true,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"3318366b-0a69-4697-95ef-3a1349038e54\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"}}},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "fc1bb058-2aa2-4965-8d8b-431d6f4a95b1", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "1a172a41-6916-4251-ac71-793f5c32c837", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "3120", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", "StatusCode" : "200", - "x-ms-correlation-request-id" : "f217db4d-71b4-4c7b-9463-ab8d5c4f5b02", - "Date" : "Thu, 08 Sep 2022 06:40:29 GMT", + "Date" : "Tue, 14 Feb 2023 07:33:36 GMT", + "x-ms-correlation-request-id" : "0ff30bba-7cf0-48b2-9f2e-a4cf63a820e7", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064029Z:f217db4d-71b4-4c7b-9463-ab8d5c4f5b02", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073337Z:0ff30bba-7cf0-48b2-9f2e-a4cf63a820e7", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "f217db4d-71b4-4c7b-9463-ab8d5c4f5b02", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab\",\"name\":\"cosmosdb86998beab\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2022-09-08T06:31:00.9808857Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb86998beab.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"privateEndpointConnections\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/privateEndpointConnections/ped83578a57c82c\",\"properties\":{\"privateEndpoint\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/privateEndpoints/ped83578a57c82c\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"actionsRequired\":\"None\"}}}],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":true,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"301708b1-120e-4a4b-8b03-4afd6490774c\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Content-Length" : "3213", + "x-ms-request-id" : "0ff30bba-7cf0-48b2-9f2e-a4cf63a820e7", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146\",\"name\":\"cosmosdb00252e146\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2023-02-14T07:24:30.4425984Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb00252e146.documents.azure.com:443/\",\"sqlEndpoint\":\"https://cosmosdb00252e146.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"privateEndpointConnections\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/privateEndpointConnections/ped338131830e4c\",\"properties\":{\"privateEndpoint\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/privateEndpoints/ped338131830e4c\"},\"privateLinkServiceConnectionState\":{\"status\":\"Approved\",\"actionsRequired\":\"None\"}}}],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":true,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"3318366b-0a69-4697-95ef-3a1349038e54\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"}}},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/privateEndpointConnections/ped83578a57c82c?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/privateEndpointConnections/ped338131830e4c?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "bd58ef73-f532-4d9b-b4c4-a8e2583b8caf", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "0a31740f-847c-4f08-ac2c-3635c3b1b61d", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1195", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "202", - "x-ms-correlation-request-id" : "ae011702-ea39-4aa6-8754-60635b39250c", - "Date" : "Thu, 08 Sep 2022 06:40:29 GMT", + "Date" : "Tue, 14 Feb 2023 07:33:38 GMT", + "x-ms-correlation-request-id" : "9efaa099-f346-4637-aba5-189fd5b9f312", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064030Z:ae011702-ea39-4aa6-8754-60635b39250c", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073338Z:9efaa099-f346-4637-aba5-189fd5b9f312", "x-ms-gatewayversion" : "version=2.14.0", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2f75679e-0bc1-415e-ab0d-3c7c4c1703e7?api-version=2022-08-15", - "x-ms-request-id" : "2f75679e-0bc1-415e-ab0d-3c7c4c1703e7", + "Content-Length" : "21", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4606cda0-c1ab-4a35-9f7a-8df2a012d778?api-version=2022-11-15", + "x-ms-request-id" : "4606cda0-c1ab-4a35-9f7a-8df2a012d778", "Body" : "{\"status\":\"Enqueued\"}", - "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/privateEndpointConnections/ped83578a57c82c/operationResults/2f75679e-0bc1-415e-ab0d-3c7c4c1703e7?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/privateEndpointConnections/ped338131830e4c/operationResults/4606cda0-c1ab-4a35-9f7a-8df2a012d778?api-version=2022-11-15", + "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2f75679e-0bc1-415e-ab0d-3c7c4c1703e7?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4606cda0-c1ab-4a35-9f7a-8df2a012d778?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "bb8b00db-5b59-45b1-a562-174a307d5c67" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "12b8edfb-467a-4c4d-9f53-19c67e7c1ae4" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", "StatusCode" : "200", - "x-ms-correlation-request-id" : "568216fa-6d62-4ba0-9b0b-2a82dceca026", - "Date" : "Thu, 08 Sep 2022 06:41:00 GMT", + "x-ms-correlation-request-id" : "faa24a71-a82e-4ddb-bcb6-a315e331f7bf", + "Date" : "Tue, 14 Feb 2023 07:34:09 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064101Z:568216fa-6d62-4ba0-9b0b-2a82dceca026", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073409Z:faa24a71-a82e-4ddb-bcb6-a315e331f7bf", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "568216fa-6d62-4ba0-9b0b-2a82dceca026", + "Content-Length" : "21", + "x-ms-request-id" : "faa24a71-a82e-4ddb-bcb6-a315e331f7bf", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/2f75679e-0bc1-415e-ab0d-3c7c4c1703e7?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/4606cda0-c1ab-4a35-9f7a-8df2a012d778?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "66438850-ef45-4733-ac88-f54f0ea47580" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "a8be5fec-7c1d-4228-9920-793d2b42426c" }, "Response" : { - "content-length" : "22", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", "StatusCode" : "200", - "x-ms-correlation-request-id" : "251b9194-27d4-408c-b2a0-ae9b3520d6b9", - "Date" : "Thu, 08 Sep 2022 06:41:31 GMT", + "x-ms-correlation-request-id" : "cd26d988-69d5-41e8-a59d-354c2eae4df8", + "Date" : "Tue, 14 Feb 2023 07:34:40 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064132Z:251b9194-27d4-408c-b2a0-ae9b3520d6b9", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073440Z:cd26d988-69d5-41e8-a59d-354c2eae4df8", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "251b9194-27d4-408c-b2a0-ae9b3520d6b9", + "Content-Length" : "22", + "x-ms-request-id" : "cd26d988-69d5-41e8-a59d-354c2eae4df8", "Body" : "{\"status\":\"Succeeded\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/privateEndpointConnections/ped83578a57c82c?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/privateEndpointConnections/ped338131830e4c?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "02a56539-0c09-47fb-80c9-7364cfe2ce54" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "fcabbe4c-5026-408f-9811-b3e8d047fb36" }, "Response" : { - "content-length" : "640", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", "StatusCode" : "200", - "x-ms-correlation-request-id" : "37cd0007-0139-47cf-a13d-c1575ce10fe6", - "Date" : "Thu, 08 Sep 2022 06:41:33 GMT", + "x-ms-correlation-request-id" : "e8d681d8-3521-4f11-b247-bd3f6ef32a11", + "Date" : "Tue, 14 Feb 2023 07:34:40 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064133Z:37cd0007-0139-47cf-a13d-c1575ce10fe6", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073441Z:e8d681d8-3521-4f11-b247-bd3f6ef32a11", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "37cd0007-0139-47cf-a13d-c1575ce10fe6", - "Body" : "{\"name\":\"ped83578a57c82c\",\"type\":\"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/privateEndpointConnections/ped83578a57c82c\",\"properties\":{\"provisioningState\":\"Succeeded\",\"groupId\":\"Sql\",\"privateEndpoint\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/privateEndpoints/ped83578a57c82c\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Rej\",\"actionsRequired\":\"None\"}}}", + "Content-Length" : "640", + "x-ms-request-id" : "e8d681d8-3521-4f11-b247-bd3f6ef32a11", + "Body" : "{\"name\":\"ped338131830e4c\",\"type\":\"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/privateEndpointConnections/ped338131830e4c\",\"properties\":{\"provisioningState\":\"Succeeded\",\"groupId\":\"Sql\",\"privateEndpoint\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/privateEndpoints/ped338131830e4c\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Rej\",\"actionsRequired\":\"None\"}}}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/privateEndpointConnections?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/privateEndpointConnections?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "d27073b1-2575-4620-b284-9d1fe90ffbd7", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "28a16083-40a2-4d83-a639-9fb170ba5af1", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "652", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", "StatusCode" : "200", - "x-ms-correlation-request-id" : "3f450d5c-7c7c-43d6-8986-4b276b02d938", - "Date" : "Thu, 08 Sep 2022 06:41:34 GMT", + "Date" : "Tue, 14 Feb 2023 07:34:43 GMT", + "x-ms-correlation-request-id" : "3eca8c5d-a396-4046-bd6f-4e68a50ac375", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064134Z:3f450d5c-7c7c-43d6-8986-4b276b02d938", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073443Z:3eca8c5d-a396-4046-bd6f-4e68a50ac375", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "3f450d5c-7c7c-43d6-8986-4b276b02d938", - "Body" : "{\"value\":[{\"name\":\"ped83578a57c82c\",\"type\":\"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/privateEndpointConnections/ped83578a57c82c\",\"properties\":{\"provisioningState\":\"Succeeded\",\"groupId\":\"Sql\",\"privateEndpoint\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/privateEndpoints/ped83578a57c82c\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Rej\",\"actionsRequired\":\"None\"}}}]}", + "Content-Length" : "652", + "x-ms-request-id" : "3eca8c5d-a396-4046-bd6f-4e68a50ac375", + "Body" : "{\"value\":[{\"name\":\"ped338131830e4c\",\"type\":\"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/privateEndpointConnections/ped338131830e4c\",\"properties\":{\"provisioningState\":\"Succeeded\",\"groupId\":\"Sql\",\"privateEndpoint\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/privateEndpoints/ped338131830e4c\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Rej\",\"actionsRequired\":\"None\"}}}]}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/privateLinkResources?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/privateLinkResources?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "db2545fa-c53b-4e6b-a978-c96e05d6c5a0", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "63442cf2-42f3-443e-bbc5-e2520f42244e", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "431", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11964", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", "StatusCode" : "200", - "x-ms-correlation-request-id" : "15d69e60-3b41-45b3-b8a4-77a330d2daa9", - "Date" : "Thu, 08 Sep 2022 06:41:35 GMT", + "Date" : "Tue, 14 Feb 2023 07:34:43 GMT", + "x-ms-correlation-request-id" : "cb85e641-7ab9-4a56-bfa8-0c02487a6c7e", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064135Z:15d69e60-3b41-45b3-b8a4-77a330d2daa9", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073444Z:cb85e641-7ab9-4a56-bfa8-0c02487a6c7e", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "15d69e60-3b41-45b3-b8a4-77a330d2daa9", - "Body" : "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/privateLinkResources/Sql\",\"name\":\"Sql\",\"type\":\"Microsoft.DocumentDB/databaseAccounts/privateLinkResources\",\"properties\":{\"groupId\":\"Sql\",\"requiredMembers\":[\"cosmosdb86998beab-westus\",\"cosmosdb86998beab\"],\"requiredZoneNames\":[\"privatelink.documents.azure.com\"]}}]}", + "Content-Length" : "431", + "x-ms-request-id" : "cb85e641-7ab9-4a56-bfa8-0c02487a6c7e", + "Body" : "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/privateLinkResources/Sql\",\"name\":\"Sql\",\"type\":\"Microsoft.DocumentDB/databaseAccounts/privateLinkResources\",\"properties\":{\"groupId\":\"Sql\",\"requiredMembers\":[\"cosmosdb00252e146-westus\",\"cosmosdb00252e146\"],\"requiredZoneNames\":[\"privatelink.documents.azure.com\"]}}]}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "2ad5f5e1-bf98-4250-a882-5a6da7ee49c4", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "622ef141-9c79-4c55-a533-27930779bf71", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "3139", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "x-ms-ratelimit-remaining-subscription-writes" : "1197", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "9b932641-01ed-413b-b743-62774647f65a", - "Date" : "Thu, 08 Sep 2022 06:41:40 GMT", + "Date" : "Tue, 14 Feb 2023 07:34:49 GMT", + "x-ms-correlation-request-id" : "fb81ad3c-b563-487a-a6c6-6482b06eecf2", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064140Z:9b932641-01ed-413b-b743-62774647f65a", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073449Z:fb81ad3c-b563-487a-a6c6-6482b06eecf2", "x-ms-gatewayversion" : "version=2.14.0", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c7d832b9-c2ba-4aff-a278-0660559c4aae?api-version=2022-08-15", - "x-ms-request-id" : "c7d832b9-c2ba-4aff-a278-0660559c4aae", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab\",\"name\":\"cosmosdb86998beab\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2022-09-08T06:31:00.9808857Z\"},\"properties\":{\"provisioningState\":\"Updating\",\"documentEndpoint\":\"https://cosmosdb86998beab.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"privateEndpointConnections\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/privateEndpointConnections/ped83578a57c82c\",\"properties\":{\"privateEndpoint\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/privateEndpoints/ped83578a57c82c\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Rej\",\"actionsRequired\":\"None\"}}}],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":true,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"301708b1-120e-4a4b-8b03-4afd6490774c\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"}}},\"identity\":{\"type\":\"None\"}}", - "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/operationResults/c7d832b9-c2ba-4aff-a278-0660559c4aae?api-version=2022-08-15" + "Content-Length" : "3232", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/40319235-8cc2-4c51-8495-ed4de40642b3?api-version=2022-11-15", + "x-ms-request-id" : "40319235-8cc2-4c51-8495-ed4de40642b3", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146\",\"name\":\"cosmosdb00252e146\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2023-02-14T07:24:30.4425984Z\"},\"properties\":{\"provisioningState\":\"Updating\",\"documentEndpoint\":\"https://cosmosdb00252e146.documents.azure.com:443/\",\"sqlEndpoint\":\"https://cosmosdb00252e146.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"privateEndpointConnections\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/privateEndpointConnections/ped338131830e4c\",\"properties\":{\"privateEndpoint\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/privateEndpoints/ped338131830e4c\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Rej\",\"actionsRequired\":\"None\"}}}],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":true,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"3318366b-0a69-4697-95ef-3a1349038e54\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/operationResults/40319235-8cc2-4c51-8495-ed4de40642b3?api-version=2022-11-15", + "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/c7d832b9-c2ba-4aff-a278-0660559c4aae?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/40319235-8cc2-4c51-8495-ed4de40642b3?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "c5912942-53a4-4672-b642-2868c391a508" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "5fbfe558-abad-438d-8c6c-0185461e816a" }, "Response" : { - "content-length" : "22", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11963", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", "StatusCode" : "200", - "x-ms-correlation-request-id" : "589aad9e-8bdf-45a3-9428-14f37824d220", - "Date" : "Thu, 08 Sep 2022 06:42:10 GMT", + "x-ms-correlation-request-id" : "f939b56f-72fe-4ea8-ac98-daa904b900a5", + "Date" : "Tue, 14 Feb 2023 07:35:20 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064211Z:589aad9e-8bdf-45a3-9428-14f37824d220", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073520Z:f939b56f-72fe-4ea8-ac98-daa904b900a5", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "589aad9e-8bdf-45a3-9428-14f37824d220", + "Content-Length" : "22", + "x-ms-request-id" : "f939b56f-72fe-4ea8-ac98-daa904b900a5", "Body" : "{\"status\":\"Succeeded\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "a39faa44-e460-43b8-b626-7b1f2b5b4433" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "397fa2e3-60cf-4268-8712-d7b5d199bd65" }, "Response" : { - "content-length" : "3140", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", "StatusCode" : "200", - "x-ms-correlation-request-id" : "f4f90f8e-c614-4a69-9ef7-c8ed976b2e01", - "Date" : "Thu, 08 Sep 2022 06:42:11 GMT", + "x-ms-correlation-request-id" : "4430daec-0865-489b-a5bf-473103b6fbc1", + "Date" : "Tue, 14 Feb 2023 07:35:20 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064211Z:f4f90f8e-c614-4a69-9ef7-c8ed976b2e01", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073520Z:4430daec-0865-489b-a5bf-473103b6fbc1", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "f4f90f8e-c614-4a69-9ef7-c8ed976b2e01", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab\",\"name\":\"cosmosdb86998beab\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2022-09-08T06:31:00.9808857Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb86998beab.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"privateEndpointConnections\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/privateEndpointConnections/ped83578a57c82c\",\"properties\":{\"privateEndpoint\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/privateEndpoints/ped83578a57c82c\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Rej\",\"actionsRequired\":\"None\"}}}],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":true,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"301708b1-120e-4a4b-8b03-4afd6490774c\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Content-Length" : "3233", + "x-ms-request-id" : "4430daec-0865-489b-a5bf-473103b6fbc1", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146\",\"name\":\"cosmosdb00252e146\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2023-02-14T07:24:30.4425984Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb00252e146.documents.azure.com:443/\",\"sqlEndpoint\":\"https://cosmosdb00252e146.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"privateEndpointConnections\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/privateEndpointConnections/ped338131830e4c\",\"properties\":{\"privateEndpoint\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/privateEndpoints/ped338131830e4c\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Rej\",\"actionsRequired\":\"None\"}}}],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":true,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"3318366b-0a69-4697-95ef-3a1349038e54\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"}}},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "4077077d-90cd-42ab-8910-ee322dc6a5dd", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "805df927-68a4-4a3b-b9d5-07b6ffc3daf9", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "3140", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", "StatusCode" : "200", - "x-ms-correlation-request-id" : "442ed2b7-0709-4d48-89d5-df9936efa00a", - "Date" : "Thu, 08 Sep 2022 06:42:12 GMT", + "Date" : "Tue, 14 Feb 2023 07:35:20 GMT", + "x-ms-correlation-request-id" : "c0ef2f53-5404-49d4-a512-452b08921460", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064212Z:442ed2b7-0709-4d48-89d5-df9936efa00a", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073521Z:c0ef2f53-5404-49d4-a512-452b08921460", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "442ed2b7-0709-4d48-89d5-df9936efa00a", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab\",\"name\":\"cosmosdb86998beab\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2022-09-08T06:31:00.9808857Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb86998beab.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"privateEndpointConnections\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/privateEndpointConnections/ped83578a57c82c\",\"properties\":{\"privateEndpoint\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/privateEndpoints/ped83578a57c82c\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Rej\",\"actionsRequired\":\"None\"}}}],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":true,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"301708b1-120e-4a4b-8b03-4afd6490774c\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb86998beab-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb86998beab-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:31:00.9808857Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Content-Length" : "3233", + "x-ms-request-id" : "c0ef2f53-5404-49d4-a512-452b08921460", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146\",\"name\":\"cosmosdb00252e146\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2023-02-14T07:24:30.4425984Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb00252e146.documents.azure.com:443/\",\"sqlEndpoint\":\"https://cosmosdb00252e146.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"privateEndpointConnections\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/privateEndpointConnections/ped338131830e4c\",\"properties\":{\"privateEndpoint\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/privateEndpoints/ped338131830e4c\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Rej\",\"actionsRequired\":\"None\"}}}],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":true,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"3318366b-0a69-4697-95ef-3a1349038e54\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb00252e146-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb00252e146-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:24:30.4425984Z\"}}},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/privateEndpointConnections/ped83578a57c82c?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/privateEndpointConnections/ped338131830e4c?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "92537155-88f0-4059-bb04-37c948c1096b", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "8b51e1e5-f727-4178-b704-b7720abbc384", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "x-ms-ratelimit-remaining-subscription-writes" : "1196", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "202", - "x-ms-correlation-request-id" : "3da4987b-7da0-4d82-86d8-793e315dd4aa", - "Date" : "Thu, 08 Sep 2022 06:42:13 GMT", + "Date" : "Tue, 14 Feb 2023 07:35:21 GMT", + "x-ms-correlation-request-id" : "db5268dc-71c2-4fc4-9b1a-afd3bd6fd430", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064214Z:3da4987b-7da0-4d82-86d8-793e315dd4aa", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073522Z:db5268dc-71c2-4fc4-9b1a-afd3bd6fd430", "x-ms-gatewayversion" : "version=2.14.0", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a0b0604e-8fc7-4ba4-953d-ff4ef93ac1d9?api-version=2022-08-15", - "x-ms-request-id" : "a0b0604e-8fc7-4ba4-953d-ff4ef93ac1d9", + "Content-Length" : "21", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e382d446-0424-4fd5-bfb0-336447312626?api-version=2022-11-15", + "x-ms-request-id" : "e382d446-0424-4fd5-bfb0-336447312626", "Body" : "{\"status\":\"Enqueued\"}", - "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/privateEndpointConnections/ped83578a57c82c/operationResults/a0b0604e-8fc7-4ba4-953d-ff4ef93ac1d9?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/privateEndpointConnections/ped338131830e4c/operationResults/e382d446-0424-4fd5-bfb0-336447312626?api-version=2022-11-15", + "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/a0b0604e-8fc7-4ba4-953d-ff4ef93ac1d9?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/e382d446-0424-4fd5-bfb0-336447312626?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "beeeba4c-a0ad-4d51-bdc8-d58c539dc179" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "8c8de321-0d21-495c-a90e-ad2306e7781c" }, "Response" : { - "content-length" : "22", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", "StatusCode" : "200", - "x-ms-correlation-request-id" : "6405ad80-1fbc-4a92-a722-e516b324465f", - "Date" : "Thu, 08 Sep 2022 06:42:44 GMT", + "x-ms-correlation-request-id" : "756d2a8a-dbe2-4fbe-b925-32c16160edf2", + "Date" : "Tue, 14 Feb 2023 07:35:52 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064245Z:6405ad80-1fbc-4a92-a722-e516b324465f", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073552Z:756d2a8a-dbe2-4fbe-b925-32c16160edf2", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "6405ad80-1fbc-4a92-a722-e516b324465f", + "Content-Length" : "22", + "x-ms-request-id" : "756d2a8a-dbe2-4fbe-b925-32c16160edf2", "Body" : "{\"status\":\"Succeeded\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/privateEndpointConnections/ped83578a57c82c?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/privateEndpointConnections/ped338131830e4c?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "e38d5d40-6d63-4438-9007-8a4857b36274" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "1c956cb1-1a35-4e04-92b6-23ce53bfeb70" }, "Response" : { - "content-length" : "648", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", "StatusCode" : "200", - "x-ms-correlation-request-id" : "2872a24a-9974-49e8-8ba8-ece5b6cbef12", - "Date" : "Thu, 08 Sep 2022 06:42:46 GMT", + "x-ms-correlation-request-id" : "0331dc52-fe30-4543-8fa4-9279b2122f2e", + "Date" : "Tue, 14 Feb 2023 07:35:53 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064246Z:2872a24a-9974-49e8-8ba8-ece5b6cbef12", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073553Z:0331dc52-fe30-4543-8fa4-9279b2122f2e", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "2872a24a-9974-49e8-8ba8-ece5b6cbef12", - "Body" : "{\"name\":\"ped83578a57c82c\",\"type\":\"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/privateEndpointConnections/ped83578a57c82c\",\"properties\":{\"provisioningState\":\"Succeeded\",\"groupId\":\"Sql\",\"privateEndpoint\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/privateEndpoints/ped83578a57c82c\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Test Update\",\"actionsRequired\":\"None\"}}}", + "Content-Length" : "648", + "x-ms-request-id" : "0331dc52-fe30-4543-8fa4-9279b2122f2e", + "Body" : "{\"name\":\"ped338131830e4c\",\"type\":\"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/privateEndpointConnections/ped338131830e4c\",\"properties\":{\"provisioningState\":\"Succeeded\",\"groupId\":\"Sql\",\"privateEndpoint\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/privateEndpoints/ped338131830e4c\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Test Update\",\"actionsRequired\":\"None\"}}}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/privateEndpointConnections/ped83578a57c82c?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/privateEndpointConnections/ped338131830e4c?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "15aaed21-d489-4475-9665-3e33a51b68fa", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "02d66879-ecc5-46d7-9ebe-684a2f105844", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "648", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11961", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", "StatusCode" : "200", - "x-ms-correlation-request-id" : "f8352ba9-93d4-45eb-88b0-b39f9f41a311", - "Date" : "Thu, 08 Sep 2022 06:42:46 GMT", + "Date" : "Tue, 14 Feb 2023 07:35:53 GMT", + "x-ms-correlation-request-id" : "fccfc006-d63c-46f2-98ac-ea6e066ac6da", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064246Z:f8352ba9-93d4-45eb-88b0-b39f9f41a311", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073554Z:fccfc006-d63c-46f2-98ac-ea6e066ac6da", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "f8352ba9-93d4-45eb-88b0-b39f9f41a311", - "Body" : "{\"name\":\"ped83578a57c82c\",\"type\":\"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb86998beab/privateEndpointConnections/ped83578a57c82c\",\"properties\":{\"provisioningState\":\"Succeeded\",\"groupId\":\"Sql\",\"privateEndpoint\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb09993b9/providers/Microsoft.Network/privateEndpoints/ped83578a57c82c\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Test Update\",\"actionsRequired\":\"None\"}}}", + "Content-Length" : "648", + "x-ms-request-id" : "fccfc006-d63c-46f2-98ac-ea6e066ac6da", + "Body" : "{\"name\":\"ped338131830e4c\",\"type\":\"Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb00252e146/privateEndpointConnections/ped338131830e4c\",\"properties\":{\"provisioningState\":\"Succeeded\",\"groupId\":\"Sql\",\"privateEndpoint\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb1606326/providers/Microsoft.Network/privateEndpoints/ped338131830e4c\"},\"privateLinkServiceConnectionState\":{\"status\":\"Rejected\",\"description\":\"Test Update\",\"actionsRequired\":\"None\"}}}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb09993b9?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb1606326?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "5c42773e-de0e-4306-b77e-55b1bae171df", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "c5b0aa4f-5c20-48f6-ab02-1f30810b1341", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "0", - "x-ms-ratelimit-remaining-subscription-deletes" : "14997", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "45af2e09-ec62-4153-942f-6fc79e919d1e", - "Date" : "Thu, 08 Sep 2022 06:42:50 GMT", + "Date" : "Tue, 14 Feb 2023 07:35:57 GMT", + "x-ms-correlation-request-id" : "70695ffb-58d4-47da-a97d-179373d2d8b8", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064251Z:45af2e09-ec62-4153-942f-6fc79e919d1e", + "Cache-Control" : "no-cache", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073558Z:70695ffb-58d4-47da-a97d-179373d2d8b8", "Expires" : "-1", - "x-ms-request-id" : "45af2e09-ec62-4153-942f-6fc79e919d1e", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SR0NPU01PU0RCMDk5OTNCOS1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2021-01-01" + "Content-Length" : "0", + "x-ms-request-id" : "70695ffb-58d4-47da-a97d-179373d2d8b8", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SR0NPU01PU0RCMTYwNjMyNi1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null } ], - "variables" : [ "rgcosmosdb09993b9", "cosmosdb86998beab", "network1731453821", "subnet736632ea7e", "plsconnect0618014c", "ped83578a57c82c" ] + "variables" : [ "rgcosmosdb1606326", "cosmosdb00252e146", "network344964a06e", "subnet38337be01c", "plsconnect96369b9d", "ped338131830e4c" ] } \ No newline at end of file diff --git a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canUpdateCosmosDbCassandraConnector.json b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canUpdateCosmosDbCassandraConnector.json index 8df9b59ebf2a2..9aa5865abd728 100644 --- a/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canUpdateCosmosDbCassandraConnector.json +++ b/sdk/resourcemanager/azure-resourcemanager-cosmos/src/test/resources/session-records/CosmosDBTests.canUpdateCosmosDbCassandraConnector.json @@ -1,1233 +1,1233 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb749913f?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb866715a?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "f6fb51fd-b30c-494f-82c7-e1dbea51edf5", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "5f83cabe-b97d-441f-86d7-2c05abedfd67", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "231", "X-Content-Type-Options" : "nosniff", "x-ms-ratelimit-remaining-subscription-writes" : "1199", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "ff7ac282-3130-47d4-a095-b6cc342438a1", - "Date" : "Thu, 08 Sep 2022 06:29:19 GMT", + "Date" : "Tue, 14 Feb 2023 07:22:41 GMT", + "x-ms-correlation-request-id" : "fe11d87d-5c73-4722-8ca4-6ef89738f683", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T062919Z:ff7ac282-3130-47d4-a095-b6cc342438a1", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072241Z:fe11d87d-5c73-4722-8ca4-6ef89738f683", "Expires" : "-1", - "x-ms-request-id" : "ff7ac282-3130-47d4-a095-b6cc342438a1", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb749913f\",\"name\":\"rgcosmosdb749913f\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "Content-Length" : "231", + "x-ms-request-id" : "fe11d87d-5c73-4722-8ca4-6ef89738f683", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb866715a\",\"name\":\"rgcosmosdb866715a\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb749913f/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb41742d355?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb866715a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb87799bd31?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "b224f62d-4cd2-4b51-a0bc-fe64edda1f58", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "a45ae2aa-6add-4464-a739-619c06ac76b6", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "2372", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "x-ms-ratelimit-remaining-subscription-writes" : "1198", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "3182caa5-f6eb-4723-b552-6e529d46d2cc", - "Date" : "Thu, 08 Sep 2022 06:29:29 GMT", + "Date" : "Tue, 14 Feb 2023 07:22:55 GMT", + "x-ms-correlation-request-id" : "20da22ff-5c2a-43d1-a934-75c8a2cd1054", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T062929Z:3182caa5-f6eb-4723-b552-6e529d46d2cc", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072255Z:20da22ff-5c2a-43d1-a934-75c8a2cd1054", "x-ms-gatewayversion" : "version=2.14.0", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f3148372-8e35-4f4a-baa5-fdf788ebb438?api-version=2022-08-15", - "x-ms-request-id" : "f3148372-8e35-4f4a-baa5-fdf788ebb438", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb749913f/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb41742d355\",\"name\":\"cosmosdb41742d355\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Cassandra\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2022-09-08T06:29:26.5462814Z\"},\"properties\":{\"provisioningState\":\"Creating\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Cassandra\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"163a3f06-f95c-4c02-9410-131712c81f8b\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":true,\"connectorOffer\":\"Small\",\"defaultIdentity\":\"\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableCassandra\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Invalid\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:29:26.5462814Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:29:26.5462814Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:29:26.5462814Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:29:26.5462814Z\"}}},\"identity\":{\"type\":\"None\"}}", - "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb749913f/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb41742d355/operationResults/f3148372-8e35-4f4a-baa5-fdf788ebb438?api-version=2022-08-15" + "Content-Length" : "2400", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92cb848c-f882-43a8-8a83-f190c5159870?api-version=2022-11-15", + "x-ms-request-id" : "92cb848c-f882-43a8-8a83-f190c5159870", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb866715a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb87799bd31\",\"name\":\"cosmosdb87799bd31\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Cassandra\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2023-02-14T07:22:50.9171883Z\"},\"properties\":{\"provisioningState\":\"Creating\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Cassandra\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"980c56a8-1200-4525-a9ab-45527690dcb6\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":true,\"connectorOffer\":\"Small\",\"defaultIdentity\":\"\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls12\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableCassandra\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Invalid\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:22:50.9171883Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:22:50.9171883Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:22:50.9171883Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:22:50.9171883Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb866715a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb87799bd31/operationResults/92cb848c-f882-43a8-8a83-f190c5159870?api-version=2022-11-15", + "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f3148372-8e35-4f4a-baa5-fdf788ebb438?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92cb848c-f882-43a8-8a83-f190c5159870?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "9d851ba4-a5fc-4a88-9b63-1594542b1bc9" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "1e3fda18-0c57-48a6-bedb-6ba4d8b9732d" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11997", "StatusCode" : "200", - "x-ms-correlation-request-id" : "e1a2936c-3c2e-4851-ab60-0842c9b17e81", - "Date" : "Thu, 08 Sep 2022 06:30:00 GMT", + "x-ms-correlation-request-id" : "96535414-6a5c-4e06-990a-5ba7a6f852f7", + "Date" : "Tue, 14 Feb 2023 07:23:25 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063000Z:e1a2936c-3c2e-4851-ab60-0842c9b17e81", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072325Z:96535414-6a5c-4e06-990a-5ba7a6f852f7", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "e1a2936c-3c2e-4851-ab60-0842c9b17e81", + "Content-Length" : "21", + "x-ms-request-id" : "96535414-6a5c-4e06-990a-5ba7a6f852f7", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f3148372-8e35-4f4a-baa5-fdf788ebb438?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92cb848c-f882-43a8-8a83-f190c5159870?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "33ae1a7c-d24f-45f5-aa06-e070e3487f8b" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "2d27490b-1368-4389-a662-a8517ce18acc" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", "StatusCode" : "200", - "x-ms-correlation-request-id" : "1f44be41-64c9-4eb2-a781-f85cdd86203d", - "Date" : "Thu, 08 Sep 2022 06:30:30 GMT", + "x-ms-correlation-request-id" : "e8746820-917c-4814-91e1-844798bda445", + "Date" : "Tue, 14 Feb 2023 07:23:55 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063030Z:1f44be41-64c9-4eb2-a781-f85cdd86203d", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072356Z:e8746820-917c-4814-91e1-844798bda445", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "1f44be41-64c9-4eb2-a781-f85cdd86203d", + "Content-Length" : "21", + "x-ms-request-id" : "e8746820-917c-4814-91e1-844798bda445", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f3148372-8e35-4f4a-baa5-fdf788ebb438?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92cb848c-f882-43a8-8a83-f190c5159870?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "1e23eb6a-cad2-4b8e-a2f8-8a6fe798a8f4" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "1746e48e-0d07-4bba-96d8-38902194e10e" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", "StatusCode" : "200", - "x-ms-correlation-request-id" : "c3b3c55e-e2d0-438a-8900-23fc60c0ddd1", - "Date" : "Thu, 08 Sep 2022 06:31:00 GMT", + "x-ms-correlation-request-id" : "13aa10a0-9416-4e97-b4ec-996d546e1684", + "Date" : "Tue, 14 Feb 2023 07:24:25 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063100Z:c3b3c55e-e2d0-438a-8900-23fc60c0ddd1", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072426Z:13aa10a0-9416-4e97-b4ec-996d546e1684", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "c3b3c55e-e2d0-438a-8900-23fc60c0ddd1", + "Content-Length" : "21", + "x-ms-request-id" : "13aa10a0-9416-4e97-b4ec-996d546e1684", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f3148372-8e35-4f4a-baa5-fdf788ebb438?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92cb848c-f882-43a8-8a83-f190c5159870?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "fd1ad654-f13f-4624-af48-ea4a4e2fd42d" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "94db313b-7106-4b50-b35a-6c2a8da72d7c" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", "StatusCode" : "200", - "x-ms-correlation-request-id" : "98287193-4f27-41d0-a659-8a44c45250f8", - "Date" : "Thu, 08 Sep 2022 06:31:30 GMT", + "x-ms-correlation-request-id" : "ac45b484-1d96-40f6-9e75-6df48d6c0260", + "Date" : "Tue, 14 Feb 2023 07:24:56 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063131Z:98287193-4f27-41d0-a659-8a44c45250f8", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072457Z:ac45b484-1d96-40f6-9e75-6df48d6c0260", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "98287193-4f27-41d0-a659-8a44c45250f8", + "Content-Length" : "21", + "x-ms-request-id" : "ac45b484-1d96-40f6-9e75-6df48d6c0260", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f3148372-8e35-4f4a-baa5-fdf788ebb438?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92cb848c-f882-43a8-8a83-f190c5159870?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "94c67253-8d88-4ba6-9e2e-e206f5cbdbe5" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "65771574-67dd-4ec4-bf1d-7211ae9622b1" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", "StatusCode" : "200", - "x-ms-correlation-request-id" : "3d57cbbc-deff-40b4-aa0b-d066bd128d80", - "Date" : "Thu, 08 Sep 2022 06:32:01 GMT", + "x-ms-correlation-request-id" : "a430967d-cd70-4106-bd66-d358506fe188", + "Date" : "Tue, 14 Feb 2023 07:25:26 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063201Z:3d57cbbc-deff-40b4-aa0b-d066bd128d80", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072527Z:a430967d-cd70-4106-bd66-d358506fe188", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "3d57cbbc-deff-40b4-aa0b-d066bd128d80", + "Content-Length" : "21", + "x-ms-request-id" : "a430967d-cd70-4106-bd66-d358506fe188", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f3148372-8e35-4f4a-baa5-fdf788ebb438?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92cb848c-f882-43a8-8a83-f190c5159870?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "657c3e5b-1d1a-4031-8b24-94a857fd22e5" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "95ee1b39-9332-48c4-808a-a3c5dd4abfea" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", "StatusCode" : "200", - "x-ms-correlation-request-id" : "be13c6e7-69bb-4cf9-b492-b4d65a5b62ae", - "Date" : "Thu, 08 Sep 2022 06:32:31 GMT", + "x-ms-correlation-request-id" : "b16c734c-2e59-4305-af0f-001c5151ccf5", + "Date" : "Tue, 14 Feb 2023 07:25:57 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063232Z:be13c6e7-69bb-4cf9-b492-b4d65a5b62ae", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072557Z:b16c734c-2e59-4305-af0f-001c5151ccf5", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "be13c6e7-69bb-4cf9-b492-b4d65a5b62ae", + "Content-Length" : "21", + "x-ms-request-id" : "b16c734c-2e59-4305-af0f-001c5151ccf5", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f3148372-8e35-4f4a-baa5-fdf788ebb438?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92cb848c-f882-43a8-8a83-f190c5159870?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "9c0511b0-0913-4a6a-8dbb-a0e4356a1310" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "9397844d-b60d-4a13-9abe-4d8683f2369b" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", "StatusCode" : "200", - "x-ms-correlation-request-id" : "7d7f0f4f-b30a-4726-87d7-0d8da96e4a11", - "Date" : "Thu, 08 Sep 2022 06:33:02 GMT", + "x-ms-correlation-request-id" : "517c02ec-b1d2-4926-a45d-69da65e980b8", + "Date" : "Tue, 14 Feb 2023 07:26:28 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063302Z:7d7f0f4f-b30a-4726-87d7-0d8da96e4a11", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072628Z:517c02ec-b1d2-4926-a45d-69da65e980b8", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "7d7f0f4f-b30a-4726-87d7-0d8da96e4a11", + "Content-Length" : "21", + "x-ms-request-id" : "517c02ec-b1d2-4926-a45d-69da65e980b8", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f3148372-8e35-4f4a-baa5-fdf788ebb438?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92cb848c-f882-43a8-8a83-f190c5159870?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "4b6dd90a-8c79-48f4-b9c6-98f66d1b026e" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "a95be0be-e075-4493-b2e1-2718aa06a061" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", "StatusCode" : "200", - "x-ms-correlation-request-id" : "fa142135-22ab-41c3-8f71-897018fd9193", - "Date" : "Thu, 08 Sep 2022 06:33:32 GMT", + "x-ms-correlation-request-id" : "04bde12c-70ff-40cc-b7bd-355354af5e4c", + "Date" : "Tue, 14 Feb 2023 07:26:58 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063332Z:fa142135-22ab-41c3-8f71-897018fd9193", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072659Z:04bde12c-70ff-40cc-b7bd-355354af5e4c", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "fa142135-22ab-41c3-8f71-897018fd9193", + "Content-Length" : "21", + "x-ms-request-id" : "04bde12c-70ff-40cc-b7bd-355354af5e4c", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f3148372-8e35-4f4a-baa5-fdf788ebb438?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92cb848c-f882-43a8-8a83-f190c5159870?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "0385366d-6201-4bfe-bc44-4c441e660585" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "0ebb2906-76c0-49e0-b3b2-eaee19252d7d" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", "StatusCode" : "200", - "x-ms-correlation-request-id" : "77d01286-c845-4a82-b6fe-6b7707ebaeca", - "Date" : "Thu, 08 Sep 2022 06:34:03 GMT", + "x-ms-correlation-request-id" : "46d91b47-ae28-4c84-bdc7-6fe9901c0df7", + "Date" : "Tue, 14 Feb 2023 07:27:29 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063403Z:77d01286-c845-4a82-b6fe-6b7707ebaeca", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072730Z:46d91b47-ae28-4c84-bdc7-6fe9901c0df7", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "77d01286-c845-4a82-b6fe-6b7707ebaeca", + "Content-Length" : "21", + "x-ms-request-id" : "46d91b47-ae28-4c84-bdc7-6fe9901c0df7", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f3148372-8e35-4f4a-baa5-fdf788ebb438?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92cb848c-f882-43a8-8a83-f190c5159870?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "b1eeaf0e-e4de-4746-811b-617c752a636c" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "0775bc38-7ab2-4743-a185-8f2cd483043f" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11980", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", "StatusCode" : "200", - "x-ms-correlation-request-id" : "6f689400-2153-44ec-89f7-017d0f340486", - "Date" : "Thu, 08 Sep 2022 06:34:34 GMT", + "x-ms-correlation-request-id" : "b0b4ff1d-befc-48c4-b097-d5da298dbf58", + "Date" : "Tue, 14 Feb 2023 07:28:00 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063434Z:6f689400-2153-44ec-89f7-017d0f340486", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072801Z:b0b4ff1d-befc-48c4-b097-d5da298dbf58", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "6f689400-2153-44ec-89f7-017d0f340486", + "Content-Length" : "21", + "x-ms-request-id" : "b0b4ff1d-befc-48c4-b097-d5da298dbf58", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f3148372-8e35-4f4a-baa5-fdf788ebb438?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92cb848c-f882-43a8-8a83-f190c5159870?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "012e450c-09d8-4571-8500-fe4779bfc949" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "aa1cf546-635e-44de-bec4-efb9a0b1742d" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", "StatusCode" : "200", - "x-ms-correlation-request-id" : "a5219ddd-f24b-477e-92e3-10cb8ec8252d", - "Date" : "Thu, 08 Sep 2022 06:35:04 GMT", + "x-ms-correlation-request-id" : "1a9fddaf-50a6-4ddc-a2ca-e3fdb4cba2d8", + "Date" : "Tue, 14 Feb 2023 07:28:30 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063505Z:a5219ddd-f24b-477e-92e3-10cb8ec8252d", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072831Z:1a9fddaf-50a6-4ddc-a2ca-e3fdb4cba2d8", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "a5219ddd-f24b-477e-92e3-10cb8ec8252d", + "Content-Length" : "21", + "x-ms-request-id" : "1a9fddaf-50a6-4ddc-a2ca-e3fdb4cba2d8", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f3148372-8e35-4f4a-baa5-fdf788ebb438?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92cb848c-f882-43a8-8a83-f190c5159870?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "24085d84-db47-4180-8715-04f66d5d02bb" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "0dd9b29a-3324-44aa-a86d-bfbeb53688b3" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", "StatusCode" : "200", - "x-ms-correlation-request-id" : "6389ff5c-8a63-4115-bbf0-f9cb81e8989d", - "Date" : "Thu, 08 Sep 2022 06:35:35 GMT", + "x-ms-correlation-request-id" : "97995eae-4565-4922-b925-ee7609377d11", + "Date" : "Tue, 14 Feb 2023 07:29:02 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063536Z:6389ff5c-8a63-4115-bbf0-f9cb81e8989d", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072902Z:97995eae-4565-4922-b925-ee7609377d11", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "6389ff5c-8a63-4115-bbf0-f9cb81e8989d", + "Content-Length" : "21", + "x-ms-request-id" : "97995eae-4565-4922-b925-ee7609377d11", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f3148372-8e35-4f4a-baa5-fdf788ebb438?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92cb848c-f882-43a8-8a83-f190c5159870?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "e1057062-cbd8-4500-8b39-3707453a706a" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "5c237827-414f-4130-9e79-cf9c21996ec6" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", "StatusCode" : "200", - "x-ms-correlation-request-id" : "558c3018-e5f1-4961-b1e4-c2b74596149c", - "Date" : "Thu, 08 Sep 2022 06:36:06 GMT", + "x-ms-correlation-request-id" : "43323073-305f-4809-b27a-59dc600f2101", + "Date" : "Tue, 14 Feb 2023 07:29:32 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063607Z:558c3018-e5f1-4961-b1e4-c2b74596149c", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T072932Z:43323073-305f-4809-b27a-59dc600f2101", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "558c3018-e5f1-4961-b1e4-c2b74596149c", + "Content-Length" : "21", + "x-ms-request-id" : "43323073-305f-4809-b27a-59dc600f2101", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f3148372-8e35-4f4a-baa5-fdf788ebb438?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92cb848c-f882-43a8-8a83-f190c5159870?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "e59c75c2-0426-481d-9a65-5b7048c8c2fc" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "5aa29061-e815-424f-9d25-75516dc2962d" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11975", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", "StatusCode" : "200", - "x-ms-correlation-request-id" : "281581b9-06d9-43be-8395-4f02b4ab81f4", - "Date" : "Thu, 08 Sep 2022 06:36:37 GMT", + "x-ms-correlation-request-id" : "1a3f76cd-68e5-44b9-8183-e7869b444bda", + "Date" : "Tue, 14 Feb 2023 07:30:03 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063637Z:281581b9-06d9-43be-8395-4f02b4ab81f4", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073003Z:1a3f76cd-68e5-44b9-8183-e7869b444bda", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "281581b9-06d9-43be-8395-4f02b4ab81f4", + "Content-Length" : "21", + "x-ms-request-id" : "1a3f76cd-68e5-44b9-8183-e7869b444bda", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f3148372-8e35-4f4a-baa5-fdf788ebb438?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92cb848c-f882-43a8-8a83-f190c5159870?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "065ce9e8-7ad8-44cd-ab2b-4895806797ab" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "dbf63161-7416-4e92-adb8-036fe1e26833" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11974", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", "StatusCode" : "200", - "x-ms-correlation-request-id" : "7804b3b7-efba-4e0a-a42b-02d62f763933", - "Date" : "Thu, 08 Sep 2022 06:37:07 GMT", + "x-ms-correlation-request-id" : "1f4c2065-8030-4e62-8895-37fe74b4922d", + "Date" : "Tue, 14 Feb 2023 07:30:34 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063708Z:7804b3b7-efba-4e0a-a42b-02d62f763933", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073034Z:1f4c2065-8030-4e62-8895-37fe74b4922d", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "7804b3b7-efba-4e0a-a42b-02d62f763933", + "Content-Length" : "21", + "x-ms-request-id" : "1f4c2065-8030-4e62-8895-37fe74b4922d", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f3148372-8e35-4f4a-baa5-fdf788ebb438?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92cb848c-f882-43a8-8a83-f190c5159870?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "b4e53586-a491-42fd-af52-2df07d1b02eb" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "37c8d9d5-10ba-46d7-8eae-65150b750b15" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11972", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", "StatusCode" : "200", - "x-ms-correlation-request-id" : "81d1329c-64c5-4816-970c-6c6f7874ca8d", - "Date" : "Thu, 08 Sep 2022 06:37:38 GMT", + "x-ms-correlation-request-id" : "72eb5cd4-5954-4b96-ac96-30dd205321e3", + "Date" : "Tue, 14 Feb 2023 07:31:05 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063739Z:81d1329c-64c5-4816-970c-6c6f7874ca8d", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073105Z:72eb5cd4-5954-4b96-ac96-30dd205321e3", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "81d1329c-64c5-4816-970c-6c6f7874ca8d", + "Content-Length" : "21", + "x-ms-request-id" : "72eb5cd4-5954-4b96-ac96-30dd205321e3", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f3148372-8e35-4f4a-baa5-fdf788ebb438?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92cb848c-f882-43a8-8a83-f190c5159870?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "38ca7eb0-7ed5-4439-a1d6-90ee84b965ae" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "73634f1c-f67d-4b47-837a-808542c6ef21" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11969", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", "StatusCode" : "200", - "x-ms-correlation-request-id" : "39f9b9a5-ceda-4250-b79e-4dbb732510ce", - "Date" : "Thu, 08 Sep 2022 06:38:09 GMT", + "x-ms-correlation-request-id" : "7b8e2b90-7323-4306-bb71-452f6654d19f", + "Date" : "Tue, 14 Feb 2023 07:31:36 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063809Z:39f9b9a5-ceda-4250-b79e-4dbb732510ce", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073136Z:7b8e2b90-7323-4306-bb71-452f6654d19f", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "39f9b9a5-ceda-4250-b79e-4dbb732510ce", - "Body" : "{\"status\":\"Dequeued\"}", + "Content-Length" : "22", + "x-ms-request-id" : "7b8e2b90-7323-4306-bb71-452f6654d19f", + "Body" : "{\"status\":\"Succeeded\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/f3148372-8e35-4f4a-baa5-fdf788ebb438?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb866715a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb87799bd31?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "060e3a36-dddc-4fa7-8182-bd43cb2ed054" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "b0c2949b-3eeb-4b04-90bc-e3acc929db0d" }, "Response" : { - "content-length" : "22", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", "StatusCode" : "200", - "x-ms-correlation-request-id" : "4b725ca2-54fc-49a9-9e26-e8bbec15d27c", - "Date" : "Thu, 08 Sep 2022 06:38:39 GMT", + "x-ms-correlation-request-id" : "850f414b-f367-4264-9a5a-548e5bfdb28e", + "Date" : "Tue, 14 Feb 2023 07:31:37 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063840Z:4b725ca2-54fc-49a9-9e26-e8bbec15d27c", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073137Z:850f414b-f367-4264-9a5a-548e5bfdb28e", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "4b725ca2-54fc-49a9-9e26-e8bbec15d27c", - "Body" : "{\"status\":\"Succeeded\"}", + "Content-Length" : "2874", + "x-ms-request-id" : "850f414b-f367-4264-9a5a-548e5bfdb28e", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb866715a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb87799bd31\",\"name\":\"cosmosdb87799bd31\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Cassandra\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2023-02-14T07:31:17.0177951Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb87799bd31.documents.azure.com:443/\",\"cassandraEndpoint\":\"https://cosmosdb87799bd31.cassandra.cosmos.azure.com:443/\",\"sqlEndpoint\":\"https://cosmosdb87799bd31.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Cassandra\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"980c56a8-1200-4525-a9ab-45527690dcb6\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":true,\"connectorOffer\":\"Small\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls12\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb87799bd31-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb87799bd31-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb87799bd31-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableCassandra\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:31:17.0177951Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:31:17.0177951Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:31:17.0177951Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:31:17.0177951Z\"}}},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb749913f/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb41742d355?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb866715a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb87799bd31?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "3365de93-8a98-4cb7-b979-8e93d140cf92" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "2435063d-b352-4a94-bc90-9b46be9575da", + "Content-Type" : "application/json" }, "Response" : { - "content-length" : "2779", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", "StatusCode" : "200", - "x-ms-correlation-request-id" : "3accae9e-7f05-4026-95e1-bc2cc9c46106", - "Date" : "Thu, 08 Sep 2022 06:38:40 GMT", + "Date" : "Tue, 14 Feb 2023 07:31:38 GMT", + "x-ms-correlation-request-id" : "ea733220-7c12-40db-a816-598804eaad9d", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063841Z:3accae9e-7f05-4026-95e1-bc2cc9c46106", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073138Z:ea733220-7c12-40db-a816-598804eaad9d", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "3accae9e-7f05-4026-95e1-bc2cc9c46106", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb749913f/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb41742d355\",\"name\":\"cosmosdb41742d355\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Cassandra\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2022-09-08T06:38:12.2752582Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb41742d355.documents.azure.com:443/\",\"cassandraEndpoint\":\"https://cosmosdb41742d355.cassandra.cosmos.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Cassandra\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"163a3f06-f95c-4c02-9410-131712c81f8b\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":true,\"connectorOffer\":\"Small\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb41742d355-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb41742d355-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb41742d355-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableCassandra\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:38:12.2752582Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:38:12.2752582Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:38:12.2752582Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:38:12.2752582Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Content-Length" : "2874", + "x-ms-request-id" : "ea733220-7c12-40db-a816-598804eaad9d", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb866715a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb87799bd31\",\"name\":\"cosmosdb87799bd31\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Cassandra\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2023-02-14T07:31:17.0177951Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb87799bd31.documents.azure.com:443/\",\"cassandraEndpoint\":\"https://cosmosdb87799bd31.cassandra.cosmos.azure.com:443/\",\"sqlEndpoint\":\"https://cosmosdb87799bd31.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Cassandra\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"980c56a8-1200-4525-a9ab-45527690dcb6\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":true,\"connectorOffer\":\"Small\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls12\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb87799bd31-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb87799bd31-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb87799bd31-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableCassandra\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:31:17.0177951Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:31:17.0177951Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:31:17.0177951Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:31:17.0177951Z\"}}},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json" }, "Exception" : null }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb749913f/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb41742d355?api-version=2022-08-15", + "Method" : "PATCH", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb866715a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb87799bd31?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "da9ffa2a-34aa-4cc9-ab58-5e0b0096f9a7", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "77744f63-adff-4c4a-8fbd-b7c45985fd5c", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "2779", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11968", "StatusCode" : "200", - "x-ms-correlation-request-id" : "99668428-cb96-43e5-bf9e-639ea0d7e98b", - "Date" : "Thu, 08 Sep 2022 06:38:41 GMT", + "Date" : "Tue, 14 Feb 2023 07:31:43 GMT", + "x-ms-correlation-request-id" : "bf30231c-d87c-43aa-888c-76d923b4ddc1", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063842Z:99668428-cb96-43e5-bf9e-639ea0d7e98b", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073143Z:bf30231c-d87c-43aa-888c-76d923b4ddc1", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "99668428-cb96-43e5-bf9e-639ea0d7e98b", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb749913f/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb41742d355\",\"name\":\"cosmosdb41742d355\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Cassandra\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2022-09-08T06:38:12.2752582Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb41742d355.documents.azure.com:443/\",\"cassandraEndpoint\":\"https://cosmosdb41742d355.cassandra.cosmos.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Cassandra\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"163a3f06-f95c-4c02-9410-131712c81f8b\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":true,\"connectorOffer\":\"Small\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb41742d355-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb41742d355-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb41742d355-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableCassandra\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:38:12.2752582Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:38:12.2752582Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:38:12.2752582Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:38:12.2752582Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Content-Length" : "2873", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", + "x-ms-request-id" : "51b186b2-5309-4dfb-a612-8a80fadf700e", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb866715a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb87799bd31\",\"name\":\"cosmosdb87799bd31\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Cassandra\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2023-02-14T07:31:17.0177951Z\"},\"properties\":{\"provisioningState\":\"Updating\",\"documentEndpoint\":\"https://cosmosdb87799bd31.documents.azure.com:443/\",\"cassandraEndpoint\":\"https://cosmosdb87799bd31.cassandra.cosmos.azure.com:443/\",\"sqlEndpoint\":\"https://cosmosdb87799bd31.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Cassandra\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"980c56a8-1200-4525-a9ab-45527690dcb6\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":true,\"connectorOffer\":\"Small\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls12\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb87799bd31-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb87799bd31-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb87799bd31-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableCassandra\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:31:17.0177951Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:31:17.0177951Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:31:17.0177951Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:31:17.0177951Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb866715a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb87799bd31/operationResults/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Content-Type" : "application/json" }, "Exception" : null }, { - "Method" : "PATCH", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb749913f/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb41742d355?api-version=2022-08-15", + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "b204eac0-2ca6-4298-b6eb-e14a87a95517", - "Content-Type" : "application/json" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "0d46e049-3f68-43db-a2c6-cb9d5d836731" }, "Response" : { - "content-length" : "2778", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", "Pragma" : "no-cache", "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", "StatusCode" : "200", - "x-ms-correlation-request-id" : "c88f69e2-2019-4b00-9e39-8ca4dac88d41", - "Date" : "Thu, 08 Sep 2022 06:38:49 GMT", + "x-ms-correlation-request-id" : "ae0580fb-3a10-4f7f-b4fe-1f5870556125", + "Date" : "Tue, 14 Feb 2023 07:32:14 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063849Z:c88f69e2-2019-4b00-9e39-8ca4dac88d41", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073214Z:ae0580fb-3a10-4f7f-b4fe-1f5870556125", "x-ms-gatewayversion" : "version=2.14.0", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", - "x-ms-request-id" : "63268d05-078a-4e44-8dc5-edd0c3aa0f90", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb749913f/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb41742d355\",\"name\":\"cosmosdb41742d355\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Cassandra\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2022-09-08T06:38:12.2752582Z\"},\"properties\":{\"provisioningState\":\"Updating\",\"documentEndpoint\":\"https://cosmosdb41742d355.documents.azure.com:443/\",\"cassandraEndpoint\":\"https://cosmosdb41742d355.cassandra.cosmos.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Cassandra\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"163a3f06-f95c-4c02-9410-131712c81f8b\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":true,\"connectorOffer\":\"Small\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb41742d355-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb41742d355-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb41742d355-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableCassandra\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:38:12.2752582Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:38:12.2752582Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:38:12.2752582Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:38:12.2752582Z\"}}},\"identity\":{\"type\":\"None\"}}", - "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb749913f/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb41742d355/operationResults/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15" + "Content-Length" : "21", + "x-ms-request-id" : "ae0580fb-3a10-4f7f-b4fe-1f5870556125", + "Body" : "{\"status\":\"Dequeued\"}", + "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "da603f6c-2c40-4ce2-bb2a-c5cab3a88471" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "882f29d4-12ea-4806-aca8-80db4d916b70" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", "StatusCode" : "200", - "x-ms-correlation-request-id" : "b96737ff-4ea6-4ac4-ac77-b43982a13ca3", - "Date" : "Thu, 08 Sep 2022 06:39:20 GMT", + "x-ms-correlation-request-id" : "dfe25dd6-d889-4d7b-a7af-09af83440da3", + "Date" : "Tue, 14 Feb 2023 07:32:45 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063920Z:b96737ff-4ea6-4ac4-ac77-b43982a13ca3", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073245Z:dfe25dd6-d889-4d7b-a7af-09af83440da3", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "b96737ff-4ea6-4ac4-ac77-b43982a13ca3", + "Content-Length" : "21", + "x-ms-request-id" : "dfe25dd6-d889-4d7b-a7af-09af83440da3", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "19df292d-1c1e-429e-83d7-4f6eaeca8b3e" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "103495aa-c544-4f14-bd34-e4119e36154f" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", "StatusCode" : "200", - "x-ms-correlation-request-id" : "b8ccc386-d01f-4867-988d-a0d7f7e46876", - "Date" : "Thu, 08 Sep 2022 06:39:51 GMT", + "x-ms-correlation-request-id" : "6d973f21-5935-494b-81bf-8b08709b5c6a", + "Date" : "Tue, 14 Feb 2023 07:33:16 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T063951Z:b8ccc386-d01f-4867-988d-a0d7f7e46876", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073316Z:6d973f21-5935-494b-81bf-8b08709b5c6a", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "b8ccc386-d01f-4867-988d-a0d7f7e46876", + "Content-Length" : "21", + "x-ms-request-id" : "6d973f21-5935-494b-81bf-8b08709b5c6a", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "7393ce77-88b9-4442-9310-13d879b8b81a" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "8754ea49-6a0d-45be-86c4-2d30e60fc120" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11966", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", "StatusCode" : "200", - "x-ms-correlation-request-id" : "d625ecb5-7ab8-423b-8462-e1706e3715b7", - "Date" : "Thu, 08 Sep 2022 06:40:21 GMT", + "x-ms-correlation-request-id" : "cfc90a5b-4258-45b1-967b-f54f78ffe310", + "Date" : "Tue, 14 Feb 2023 07:33:46 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064022Z:d625ecb5-7ab8-423b-8462-e1706e3715b7", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073347Z:cfc90a5b-4258-45b1-967b-f54f78ffe310", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "d625ecb5-7ab8-423b-8462-e1706e3715b7", + "Content-Length" : "21", + "x-ms-request-id" : "cfc90a5b-4258-45b1-967b-f54f78ffe310", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "802474ce-8361-4664-b208-e6f918d3b9fa" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "474c69fc-0f9f-453c-a4f5-a32b7e1a1f47" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", "StatusCode" : "200", - "x-ms-correlation-request-id" : "06df3553-e521-4a41-a2dd-d6dddbbfcc83", - "Date" : "Thu, 08 Sep 2022 06:40:52 GMT", + "x-ms-correlation-request-id" : "867cc450-d7e0-42ea-a5bd-452fa4dec42a", + "Date" : "Tue, 14 Feb 2023 07:34:17 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064053Z:06df3553-e521-4a41-a2dd-d6dddbbfcc83", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073418Z:867cc450-d7e0-42ea-a5bd-452fa4dec42a", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "06df3553-e521-4a41-a2dd-d6dddbbfcc83", + "Content-Length" : "21", + "x-ms-request-id" : "867cc450-d7e0-42ea-a5bd-452fa4dec42a", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "5720c1eb-20f5-4aca-8069-da303b9818da" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "789e7d28-dd0e-4328-8203-d985eb5af4b3" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11965", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", "StatusCode" : "200", - "x-ms-correlation-request-id" : "6a726295-aa71-4364-84cf-b49cd20a0fc6", - "Date" : "Thu, 08 Sep 2022 06:41:23 GMT", + "x-ms-correlation-request-id" : "7fd4de62-51de-4f86-891f-6aa55b273871", + "Date" : "Tue, 14 Feb 2023 07:34:48 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064124Z:6a726295-aa71-4364-84cf-b49cd20a0fc6", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073448Z:7fd4de62-51de-4f86-891f-6aa55b273871", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "6a726295-aa71-4364-84cf-b49cd20a0fc6", + "Content-Length" : "21", + "x-ms-request-id" : "7fd4de62-51de-4f86-891f-6aa55b273871", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "2c5998ff-4e3c-4c76-adee-4de7e9e6a16f" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "18735eb0-267b-4140-8053-f3ba9781f150" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", "StatusCode" : "200", - "x-ms-correlation-request-id" : "2a376efd-8d79-48bd-b3e4-e7efa31ac59e", - "Date" : "Thu, 08 Sep 2022 06:41:54 GMT", + "x-ms-correlation-request-id" : "30707a59-fd12-429b-9208-0c149fc833eb", + "Date" : "Tue, 14 Feb 2023 07:35:19 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064154Z:2a376efd-8d79-48bd-b3e4-e7efa31ac59e", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073519Z:30707a59-fd12-429b-9208-0c149fc833eb", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "2a376efd-8d79-48bd-b3e4-e7efa31ac59e", + "Content-Length" : "21", + "x-ms-request-id" : "30707a59-fd12-429b-9208-0c149fc833eb", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "548b5e8c-336b-43f2-9561-4f330afe9b00" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "bfeae780-e80a-4273-b3ff-9648922c4d16" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11962", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", "StatusCode" : "200", - "x-ms-correlation-request-id" : "2fc34e28-3af5-4975-a40e-8947081aab46", - "Date" : "Thu, 08 Sep 2022 06:42:24 GMT", + "x-ms-correlation-request-id" : "c834ebe1-e496-4886-b88f-4369b18e31c3", + "Date" : "Tue, 14 Feb 2023 07:35:49 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064224Z:2fc34e28-3af5-4975-a40e-8947081aab46", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073550Z:c834ebe1-e496-4886-b88f-4369b18e31c3", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "2fc34e28-3af5-4975-a40e-8947081aab46", + "Content-Length" : "21", + "x-ms-request-id" : "c834ebe1-e496-4886-b88f-4369b18e31c3", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "7bd16bf3-817e-4750-be8a-f4d1b38583d8" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "40f576cd-e96b-4419-99f5-4fb5a7a328a4" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "x-ms-ratelimit-remaining-subscription-reads" : "11982", "StatusCode" : "200", - "x-ms-correlation-request-id" : "176f6ac9-074b-4229-8e4c-cf7543c50ddd", - "Date" : "Thu, 08 Sep 2022 06:42:54 GMT", + "x-ms-correlation-request-id" : "b203edd0-1854-4cb0-9492-72827013b3e4", + "Date" : "Tue, 14 Feb 2023 07:36:20 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064255Z:176f6ac9-074b-4229-8e4c-cf7543c50ddd", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073620Z:b203edd0-1854-4cb0-9492-72827013b3e4", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "176f6ac9-074b-4229-8e4c-cf7543c50ddd", + "Content-Length" : "21", + "x-ms-request-id" : "b203edd0-1854-4cb0-9492-72827013b3e4", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "71489a47-e2f9-4dc9-8d0e-6556083b7d72" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "c8da34d1-0c42-47fd-8156-7bd29e57bee8" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", "StatusCode" : "200", - "x-ms-correlation-request-id" : "9f86026b-8f5f-43c0-819f-656d99faa2d2", - "Date" : "Thu, 08 Sep 2022 06:43:25 GMT", + "x-ms-correlation-request-id" : "535773a9-b6f2-4046-b2df-09cc714dfc03", + "Date" : "Tue, 14 Feb 2023 07:36:50 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064326Z:9f86026b-8f5f-43c0-819f-656d99faa2d2", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073651Z:535773a9-b6f2-4046-b2df-09cc714dfc03", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "9f86026b-8f5f-43c0-819f-656d99faa2d2", + "Content-Length" : "21", + "x-ms-request-id" : "535773a9-b6f2-4046-b2df-09cc714dfc03", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "ee86911f-9c28-4ea5-86ab-22fe26f5788e" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "cdc17c48-e10a-4dcd-8fe2-c0d169e73184" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11960", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", "StatusCode" : "200", - "x-ms-correlation-request-id" : "5c4aeb40-04bb-4949-823e-052cb452c852", - "Date" : "Thu, 08 Sep 2022 06:43:56 GMT", + "x-ms-correlation-request-id" : "708658b5-62f3-4afb-97bc-0d823b649a1c", + "Date" : "Tue, 14 Feb 2023 07:37:21 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064356Z:5c4aeb40-04bb-4949-823e-052cb452c852", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073722Z:708658b5-62f3-4afb-97bc-0d823b649a1c", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "5c4aeb40-04bb-4949-823e-052cb452c852", + "Content-Length" : "21", + "x-ms-request-id" : "708658b5-62f3-4afb-97bc-0d823b649a1c", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "0f432f64-5c95-4c8b-8510-a832cd588cac" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "db73f0fb-9de1-4698-8c1a-22180a684084" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", "StatusCode" : "200", - "x-ms-correlation-request-id" : "d0bffcd4-c5af-4026-b94b-4eaa014e2095", - "Date" : "Thu, 08 Sep 2022 06:44:26 GMT", + "x-ms-correlation-request-id" : "927563eb-679f-4116-a81a-2b4a7c453937", + "Date" : "Tue, 14 Feb 2023 07:37:52 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064427Z:d0bffcd4-c5af-4026-b94b-4eaa014e2095", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073752Z:927563eb-679f-4116-a81a-2b4a7c453937", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "d0bffcd4-c5af-4026-b94b-4eaa014e2095", + "Content-Length" : "21", + "x-ms-request-id" : "927563eb-679f-4116-a81a-2b4a7c453937", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "c2d18a00-1640-4519-aae5-27134ae15959" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "29ce5569-6854-479f-8bb5-492eb9bca733" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "x-ms-ratelimit-remaining-subscription-reads" : "11981", "StatusCode" : "200", - "x-ms-correlation-request-id" : "bc3d06c2-cee5-4b54-8805-ad4a2123fc94", - "Date" : "Thu, 08 Sep 2022 06:44:57 GMT", + "x-ms-correlation-request-id" : "218a326e-a29c-474d-be14-8d6327533ccb", + "Date" : "Tue, 14 Feb 2023 07:38:22 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064458Z:bc3d06c2-cee5-4b54-8805-ad4a2123fc94", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073823Z:218a326e-a29c-474d-be14-8d6327533ccb", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "bc3d06c2-cee5-4b54-8805-ad4a2123fc94", + "Content-Length" : "21", + "x-ms-request-id" : "218a326e-a29c-474d-be14-8d6327533ccb", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "e1b614c7-8a5f-46ff-9d76-2e32804c17f8" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "52409cee-2be9-4088-8af6-d527886b3357" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", "StatusCode" : "200", - "x-ms-correlation-request-id" : "06605689-d0d0-4403-b686-9daa8ac8744b", - "Date" : "Thu, 08 Sep 2022 06:45:28 GMT", + "x-ms-correlation-request-id" : "3fadcdff-93b7-42ec-b1a7-feeb30a38b91", + "Date" : "Tue, 14 Feb 2023 07:38:54 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064529Z:06605689-d0d0-4403-b686-9daa8ac8744b", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073854Z:3fadcdff-93b7-42ec-b1a7-feeb30a38b91", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "06605689-d0d0-4403-b686-9daa8ac8744b", + "Content-Length" : "21", + "x-ms-request-id" : "3fadcdff-93b7-42ec-b1a7-feeb30a38b91", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "88d8e7b0-6815-4729-9077-0ab7475a89bc" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "199bc12c-a7a1-4987-b378-407db089c42c" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11959", + "x-ms-ratelimit-remaining-subscription-reads" : "11982", "StatusCode" : "200", - "x-ms-correlation-request-id" : "94a8d5cf-636d-4140-aa70-ea9cc7ef192c", - "Date" : "Thu, 08 Sep 2022 06:45:58 GMT", + "x-ms-correlation-request-id" : "b838b1e9-c6f2-4323-bcdc-574217136bda", + "Date" : "Tue, 14 Feb 2023 07:39:24 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064559Z:94a8d5cf-636d-4140-aa70-ea9cc7ef192c", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073925Z:b838b1e9-c6f2-4323-bcdc-574217136bda", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "94a8d5cf-636d-4140-aa70-ea9cc7ef192c", + "Content-Length" : "21", + "x-ms-request-id" : "b838b1e9-c6f2-4323-bcdc-574217136bda", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "4bdb9b8b-51a0-41c5-9503-984b5a478d49" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "eeecbc52-5b4c-4b0c-8913-29c2ace602fb" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11980", "StatusCode" : "200", - "x-ms-correlation-request-id" : "5413fa27-d9fe-451f-b42e-ce7191757fba", - "Date" : "Thu, 08 Sep 2022 06:46:29 GMT", + "x-ms-correlation-request-id" : "6e9ec023-cced-421a-ace6-e1d3b8b032f9", + "Date" : "Tue, 14 Feb 2023 07:39:55 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064630Z:5413fa27-d9fe-451f-b42e-ce7191757fba", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T073956Z:6e9ec023-cced-421a-ace6-e1d3b8b032f9", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "5413fa27-d9fe-451f-b42e-ce7191757fba", + "Content-Length" : "21", + "x-ms-request-id" : "6e9ec023-cced-421a-ace6-e1d3b8b032f9", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "67e2b9a5-c4f5-4a5b-b558-cf1aa0f95c8c" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "68f2c519-23aa-4f99-aeb1-e35014df613c" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "x-ms-ratelimit-remaining-subscription-reads" : "11982", "StatusCode" : "200", - "x-ms-correlation-request-id" : "7586be4c-51d7-4c83-a61a-76ba289bafac", - "Date" : "Thu, 08 Sep 2022 06:47:00 GMT", + "x-ms-correlation-request-id" : "9f63f91d-0a22-4c17-92b1-bf64190d976e", + "Date" : "Tue, 14 Feb 2023 07:40:26 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064700Z:7586be4c-51d7-4c83-a61a-76ba289bafac", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T074027Z:9f63f91d-0a22-4c17-92b1-bf64190d976e", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "7586be4c-51d7-4c83-a61a-76ba289bafac", + "Content-Length" : "21", + "x-ms-request-id" : "9f63f91d-0a22-4c17-92b1-bf64190d976e", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "15b2ccf6-3832-4698-b2d6-33e0193a7646" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "7a5bdd58-9aa7-4c0b-b8a6-325a6723c6a8" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11980", + "x-ms-ratelimit-remaining-subscription-reads" : "11981", "StatusCode" : "200", - "x-ms-correlation-request-id" : "74039564-fc1d-4f65-9a98-335b4e34cafd", - "Date" : "Thu, 08 Sep 2022 06:47:31 GMT", + "x-ms-correlation-request-id" : "5e7aff02-975d-463c-8b2b-2a55b8d917f8", + "Date" : "Tue, 14 Feb 2023 07:40:57 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064731Z:74039564-fc1d-4f65-9a98-335b4e34cafd", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T074058Z:5e7aff02-975d-463c-8b2b-2a55b8d917f8", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "74039564-fc1d-4f65-9a98-335b4e34cafd", + "Content-Length" : "21", + "x-ms-request-id" : "5e7aff02-975d-463c-8b2b-2a55b8d917f8", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "16488017-6075-4787-b3a9-a515ff1871d1" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "1e10312c-68d0-4f19-bdd2-160c55998367" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11958", + "x-ms-ratelimit-remaining-subscription-reads" : "11979", "StatusCode" : "200", - "x-ms-correlation-request-id" : "e9e7b02e-2fdc-44c2-be20-0c59e72d7e53", - "Date" : "Thu, 08 Sep 2022 06:48:02 GMT", + "x-ms-correlation-request-id" : "0afdff38-14c9-4fbb-bd10-ac08985b5a40", + "Date" : "Tue, 14 Feb 2023 07:41:28 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064802Z:e9e7b02e-2fdc-44c2-be20-0c59e72d7e53", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T074128Z:0afdff38-14c9-4fbb-bd10-ac08985b5a40", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "e9e7b02e-2fdc-44c2-be20-0c59e72d7e53", + "Content-Length" : "21", + "x-ms-request-id" : "0afdff38-14c9-4fbb-bd10-ac08985b5a40", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "ce63ba3a-d254-452a-b379-7cb717223155" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "8b5fe720-986f-4413-acfe-582f35d416a6" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11979", + "x-ms-ratelimit-remaining-subscription-reads" : "11981", "StatusCode" : "200", - "x-ms-correlation-request-id" : "b98fe81f-4120-4575-8153-9d43caead3cb", - "Date" : "Thu, 08 Sep 2022 06:48:32 GMT", + "x-ms-correlation-request-id" : "9f620a6b-1af6-4d27-a9cb-2831a3f01a76", + "Date" : "Tue, 14 Feb 2023 07:41:58 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064833Z:b98fe81f-4120-4575-8153-9d43caead3cb", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T074159Z:9f620a6b-1af6-4d27-a9cb-2831a3f01a76", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "b98fe81f-4120-4575-8153-9d43caead3cb", + "Content-Length" : "21", + "x-ms-request-id" : "9f620a6b-1af6-4d27-a9cb-2831a3f01a76", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "f95e7e07-7f4f-4608-aaec-eafe3095e28e" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "eee6fb96-74cf-4161-9010-f9c956ce622f" }, "Response" : { - "content-length" : "21", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11980", "StatusCode" : "200", - "x-ms-correlation-request-id" : "277a0968-ad7b-46f9-b433-afe24d9210fe", - "Date" : "Thu, 08 Sep 2022 06:49:03 GMT", + "x-ms-correlation-request-id" : "3735e22f-25f4-420b-a69a-e626c4be2791", + "Date" : "Tue, 14 Feb 2023 07:42:30 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064904Z:277a0968-ad7b-46f9-b433-afe24d9210fe", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T074230Z:3735e22f-25f4-420b-a69a-e626c4be2791", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "277a0968-ad7b-46f9-b433-afe24d9210fe", + "Content-Length" : "21", + "x-ms-request-id" : "3735e22f-25f4-420b-a69a-e626c4be2791", "Body" : "{\"status\":\"Dequeued\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/63268d05-078a-4e44-8dc5-edd0c3aa0f90?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/51b186b2-5309-4dfb-a612-8a80fadf700e?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "5ee56dcb-48ff-4aad-8dde-09df660d0ca7" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "1252797d-5e4d-4d41-aed3-0335cdf74a09" }, "Response" : { - "content-length" : "22", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11979", + "x-ms-ratelimit-remaining-subscription-reads" : "11978", "StatusCode" : "200", - "x-ms-correlation-request-id" : "f774bef2-c4f7-42ba-b60c-3724b7ecf399", - "Date" : "Thu, 08 Sep 2022 06:49:34 GMT", + "x-ms-correlation-request-id" : "9879eb3c-7beb-4b7d-a0d1-9f08b3ca8b9b", + "Date" : "Tue, 14 Feb 2023 07:43:00 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064935Z:f774bef2-c4f7-42ba-b60c-3724b7ecf399", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T074301Z:9879eb3c-7beb-4b7d-a0d1-9f08b3ca8b9b", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "f774bef2-c4f7-42ba-b60c-3724b7ecf399", + "Content-Length" : "22", + "x-ms-request-id" : "9879eb3c-7beb-4b7d-a0d1-9f08b3ca8b9b", "Body" : "{\"status\":\"Succeeded\"}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb749913f/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb41742d355?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb866715a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb87799bd31?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "a5eccef7-e2dc-4790-a07d-db545a8257bf" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "87d0cbc1-1cf2-4bc8-b923-0e2fc9d0c407" }, "Response" : { - "content-length" : "2775", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11957", + "x-ms-ratelimit-remaining-subscription-reads" : "11980", "StatusCode" : "200", - "x-ms-correlation-request-id" : "ab5f0d51-3b5f-407e-b737-01870327d835", - "Date" : "Thu, 08 Sep 2022 06:49:35 GMT", + "x-ms-correlation-request-id" : "c59bcc4e-0482-4a93-9d26-9258dfcefb66", + "Date" : "Tue, 14 Feb 2023 07:43:01 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064936Z:ab5f0d51-3b5f-407e-b737-01870327d835", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T074302Z:c59bcc4e-0482-4a93-9d26-9258dfcefb66", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "ab5f0d51-3b5f-407e-b737-01870327d835", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb749913f/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb41742d355\",\"name\":\"cosmosdb41742d355\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Cassandra\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2022-09-08T06:38:12.2752582Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb41742d355.documents.azure.com:443/\",\"cassandraEndpoint\":\"https://cosmosdb41742d355.cassandra.cosmos.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Cassandra\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"163a3f06-f95c-4c02-9410-131712c81f8b\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb41742d355-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb41742d355-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb41742d355-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableCassandra\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:38:12.2752582Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:38:12.2752582Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:38:12.2752582Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:38:12.2752582Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Content-Length" : "2870", + "x-ms-request-id" : "c59bcc4e-0482-4a93-9d26-9258dfcefb66", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb866715a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb87799bd31\",\"name\":\"cosmosdb87799bd31\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Cassandra\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2023-02-14T07:31:17.0177951Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb87799bd31.documents.azure.com:443/\",\"cassandraEndpoint\":\"https://cosmosdb87799bd31.cassandra.cosmos.azure.com:443/\",\"sqlEndpoint\":\"https://cosmosdb87799bd31.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Cassandra\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"980c56a8-1200-4525-a9ab-45527690dcb6\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls12\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb87799bd31-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb87799bd31-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb87799bd31-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableCassandra\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:31:17.0177951Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:31:17.0177951Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:31:17.0177951Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:31:17.0177951Z\"}}},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb749913f/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb41742d355?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb866715a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb87799bd31?api-version=2022-11-15", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "de401863-b328-4824-af45-f30260bd14b2", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "5979d178-563f-4f80-aed7-dadc09bcce96", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "2775", "Server" : "Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11978", + "x-ms-ratelimit-remaining-subscription-reads" : "11979", "StatusCode" : "200", - "x-ms-correlation-request-id" : "768ccb9f-c6c9-41d1-b908-3fc08ab51fb3", - "Date" : "Thu, 08 Sep 2022 06:49:37 GMT", + "Date" : "Tue, 14 Feb 2023 07:43:02 GMT", + "x-ms-correlation-request-id" : "4f4bc357-e82a-4e13-9767-efd492f66bda", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-store, no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064937Z:768ccb9f-c6c9-41d1-b908-3fc08ab51fb3", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T074302Z:4f4bc357-e82a-4e13-9767-efd492f66bda", "x-ms-gatewayversion" : "version=2.14.0", - "x-ms-request-id" : "768ccb9f-c6c9-41d1-b908-3fc08ab51fb3", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb749913f/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb41742d355\",\"name\":\"cosmosdb41742d355\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Cassandra\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2022-09-08T06:38:12.2752582Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb41742d355.documents.azure.com:443/\",\"cassandraEndpoint\":\"https://cosmosdb41742d355.cassandra.cosmos.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Cassandra\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"163a3f06-f95c-4c02-9410-131712c81f8b\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb41742d355-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb41742d355-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb41742d355-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb41742d355-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableCassandra\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2022-09-08T06:38:12.2752582Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2022-09-08T06:38:12.2752582Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:38:12.2752582Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2022-09-08T06:38:12.2752582Z\"}}},\"identity\":{\"type\":\"None\"}}", + "Content-Length" : "2870", + "x-ms-request-id" : "4f4bc357-e82a-4e13-9767-efd492f66bda", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb866715a/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb87799bd31\",\"name\":\"cosmosdb87799bd31\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Cassandra\",\"tag1\":\"value1\"},\"systemData\":{\"createdAt\":\"2023-02-14T07:31:17.0177951Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://cosmosdb87799bd31.documents.azure.com:443/\",\"cassandraEndpoint\":\"https://cosmosdb87799bd31.cassandra.cosmos.azure.com:443/\",\"sqlEndpoint\":\"https://cosmosdb87799bd31.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Cassandra\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"analyticalStorageConfiguration\":{\"schemaType\":\"WellDefined\"},\"instanceId\":\"980c56a8-1200-4525-a9ab-45527690dcb6\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"FirstPartyIdentity\",\"networkAclBypass\":\"None\",\"disableLocalAuth\":false,\"enablePartitionMerge\":false,\"minimalTlsVersion\":\"Tls12\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb87799bd31-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb87799bd31-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb87799bd31-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb87799bd31-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableCassandra\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[],\"keysMetadata\":{\"primaryMasterKey\":{\"generationTime\":\"2023-02-14T07:31:17.0177951Z\"},\"secondaryMasterKey\":{\"generationTime\":\"2023-02-14T07:31:17.0177951Z\"},\"primaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:31:17.0177951Z\"},\"secondaryReadonlyMasterKey\":{\"generationTime\":\"2023-02-14T07:31:17.0177951Z\"}}},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb749913f?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rgcosmosdb866715a?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.19.0-beta.1 (17.0.3; Mac OS X; 12.5.1)", - "x-ms-client-request-id" : "4616b3c1-9c3a-40c7-968a-cc3aceeaa577", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.24.0-beta.1 (17.0.4.1; Windows 11; 10.0)", + "x-ms-client-request-id" : "e2c07a8d-9852-4a15-bb58-9c7e725c447a", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "0", - "x-ms-ratelimit-remaining-subscription-deletes" : "14997", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "2e9b3055-d51c-4b75-88b5-6ef23277f329", - "Date" : "Thu, 08 Sep 2022 06:49:41 GMT", + "Date" : "Tue, 14 Feb 2023 07:43:06 GMT", + "x-ms-correlation-request-id" : "2622119e-52ef-4216-a429-b36f01bec7da", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20220908T064941Z:2e9b3055-d51c-4b75-88b5-6ef23277f329", + "Cache-Control" : "no-cache", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20230214T074306Z:2622119e-52ef-4216-a429-b36f01bec7da", "Expires" : "-1", - "x-ms-request-id" : "2e9b3055-d51c-4b75-88b5-6ef23277f329", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SR0NPU01PU0RCNzQ5OTEzRi1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2021-01-01" + "Content-Length" : "0", + "x-ms-request-id" : "2622119e-52ef-4216-a429-b36f01bec7da", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1SR0NPU01PU0RCODY2NzE1QS1XRVNUVVMiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null } ], - "variables" : [ "rgcosmosdb749913f", "cosmosdb41742d355" ] + "variables" : [ "rgcosmosdb866715a", "cosmosdb87799bd31" ] } \ No newline at end of file diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/CosmosDBTests.testCreateCosmosDBTableWithVirtualNetworkRule.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/CosmosDBTests.testCreateCosmosDBTableWithVirtualNetworkRule.json index 34ccbda40b220..17516013b8edb 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/CosmosDBTests.testCreateCosmosDBTableWithVirtualNetworkRule.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/CosmosDBTests.testCreateCosmosDBTableWithVirtualNetworkRule.json @@ -198,7 +198,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "76f0d2b2-c52f-4993-97a9-be1a10272ada", @@ -218,16 +218,16 @@ "x-ms-routing-request-id" : "SOUTHEASTASIA:20210226T015534Z:34074b2b-672c-42ef-bc28-cc225678fc45", "x-ms-gatewayversion" : "version=2.11.0", "Content-Length" : "2110", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b56d2192-7a80-482a-8b01-f246fb519cc1?api-version=2022-08-15", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b56d2192-7a80-482a-8b01-f246fb519cc1?api-version=2022-11-15", "x-ms-request-id" : "b56d2192-7a80-482a-8b01-f246fb519cc1", "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267\",\"name\":\"cosmosdb083267\",\"location\":\"East US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Table\"},\"systemData\":{\"createdAt\":\"2021-02-26T01:55:31.4587341Z\"},\"properties\":{\"provisioningState\":\"Creating\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":true,\"virtualNetworkRules\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.Network/virtualNetworks/vnetcosmosdb036088/subnets/subnet1\",\"ignoreMissingVNetServiceEndpoint\":false}],\"EnabledApiTypes\":\"Table, Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"instanceId\":\"3cdd7cc9-1bac-4d5a-a3d6-fea7d2302eca\",\"createMode\":\"Default\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"networkAclBypass\":\"None\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb083267-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb083267-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb083267-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb083267-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableTable\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Local\"}},\"networkAclBypassResourceIds\":[]},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267/operationResults/b56d2192-7a80-482a-8b01-f246fb519cc1?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267/operationResults/b56d2192-7a80-482a-8b01-f246fb519cc1?api-version=2022-11-15" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b56d2192-7a80-482a-8b01-f246fb519cc1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b56d2192-7a80-482a-8b01-f246fb519cc1?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "6ec6b98f-ecc0-480a-8f4b-8c648d5c5017" @@ -253,7 +253,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b56d2192-7a80-482a-8b01-f246fb519cc1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b56d2192-7a80-482a-8b01-f246fb519cc1?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "27d77509-5d57-40e5-8be2-2911de16d8be" @@ -279,7 +279,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b56d2192-7a80-482a-8b01-f246fb519cc1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b56d2192-7a80-482a-8b01-f246fb519cc1?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0727b657-a588-4108-a480-e1ea49a33959" @@ -305,7 +305,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b56d2192-7a80-482a-8b01-f246fb519cc1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b56d2192-7a80-482a-8b01-f246fb519cc1?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "fed5fa15-10a6-49d5-b6d2-79a821d0851e" @@ -331,7 +331,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b56d2192-7a80-482a-8b01-f246fb519cc1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b56d2192-7a80-482a-8b01-f246fb519cc1?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "6959f706-7016-4e3e-ad6e-d1eb5c7bcb5b" @@ -357,7 +357,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b56d2192-7a80-482a-8b01-f246fb519cc1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b56d2192-7a80-482a-8b01-f246fb519cc1?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0cb73ed9-eecd-4c81-8d6e-f7cfbfcb572a" @@ -383,7 +383,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "82faf620-853d-438b-8e9d-6ea814c33a60" @@ -409,7 +409,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "23b9dc78-6f31-4fca-b5dd-c1436670af69", @@ -436,7 +436,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267/listKeys?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267/listKeys?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0ae22a4a-d2a3-4986-8d08-4b9a1bbd37f7", @@ -463,7 +463,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267/readonlykeys?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267/readonlykeys?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "16a5a508-89ef-4be6-af86-707f8ebfa3e2", @@ -490,7 +490,7 @@ "Exception" : null }, { "Method" : "PATCH", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "21bbd5d1-ef0d-4a4b-a3cb-710234d17ef9", @@ -510,16 +510,16 @@ "x-ms-routing-request-id" : "SOUTHEASTASIA:20210226T015849Z:1de1d071-050a-4451-83aa-ee971e0a7763", "x-ms-gatewayversion" : "version=2.11.0", "Content-Length" : "2476", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/04dc7064-18c5-421c-9e6f-0ad1f8ce33b1?api-version=2022-08-15", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/04dc7064-18c5-421c-9e6f-0ad1f8ce33b1?api-version=2022-11-15", "x-ms-request-id" : "04dc7064-18c5-421c-9e6f-0ad1f8ce33b1", "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267\",\"name\":\"cosmosdb083267\",\"location\":\"East US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Table\"},\"systemData\":{\"createdAt\":\"2021-02-26T01:58:33.1340881Z\"},\"properties\":{\"provisioningState\":\"Updating\",\"documentEndpoint\":\"https://cosmosdb083267.documents.azure.com:443/\",\"tableEndpoint\":\"https://cosmosdb083267.table.cosmos.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":true,\"virtualNetworkRules\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.Network/virtualNetworks/vnetcosmosdb036088/subnets/subnet1\",\"ignoreMissingVNetServiceEndpoint\":false}],\"EnabledApiTypes\":\"Table, Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"instanceId\":\"3cdd7cc9-1bac-4d5a-a3d6-fea7d2302eca\",\"createMode\":\"Default\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"networkAclBypass\":\"None\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb083267-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb083267-westus.documents.azure.com:443/\",\"provisioningState\":\"Updating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb083267-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb083267-westus.documents.azure.com:443/\",\"provisioningState\":\"Updating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb083267-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb083267-westus.documents.azure.com:443/\",\"provisioningState\":\"Updating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb083267-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableTable\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Local\"}},\"networkAclBypassResourceIds\":[]},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267/operationResults/04dc7064-18c5-421c-9e6f-0ad1f8ce33b1?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267/operationResults/04dc7064-18c5-421c-9e6f-0ad1f8ce33b1?api-version=2022-11-15" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/04dc7064-18c5-421c-9e6f-0ad1f8ce33b1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/04dc7064-18c5-421c-9e6f-0ad1f8ce33b1?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "97af3643-f2a7-42e8-bc2c-d20a8f6b0b01" @@ -545,7 +545,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/04dc7064-18c5-421c-9e6f-0ad1f8ce33b1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/04dc7064-18c5-421c-9e6f-0ad1f8ce33b1?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "7290627f-ba38-4d63-83b7-923ae3148eab" @@ -571,7 +571,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/04dc7064-18c5-421c-9e6f-0ad1f8ce33b1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/04dc7064-18c5-421c-9e6f-0ad1f8ce33b1?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "05bf57bc-26be-4505-9d96-e21ce6c26034" @@ -597,7 +597,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/04dc7064-18c5-421c-9e6f-0ad1f8ce33b1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/04dc7064-18c5-421c-9e6f-0ad1f8ce33b1?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "a57ac0bc-219f-4465-9d90-5eb4c8298b01" @@ -623,7 +623,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/04dc7064-18c5-421c-9e6f-0ad1f8ce33b1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/04dc7064-18c5-421c-9e6f-0ad1f8ce33b1?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "ff67439f-5e0d-4bab-93ad-6d129fdddbdb" @@ -649,7 +649,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/04dc7064-18c5-421c-9e6f-0ad1f8ce33b1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/04dc7064-18c5-421c-9e6f-0ad1f8ce33b1?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "bdc3f687-4a99-4d28-97a2-198e8f079847" @@ -675,7 +675,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/04dc7064-18c5-421c-9e6f-0ad1f8ce33b1?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/04dc7064-18c5-421c-9e6f-0ad1f8ce33b1?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "15e40475-ce85-446f-ae0c-1afcc4d59af1" @@ -701,7 +701,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "2a79c903-8bd1-4bad-909f-e690d63eb087" @@ -727,7 +727,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "869f8847-9976-4224-bc1a-a223281578fa", @@ -754,7 +754,7 @@ "Exception" : null }, { "Method" : "PATCH", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "89891f57-bbad-4b46-830e-7288bdbdb03d", @@ -774,16 +774,16 @@ "x-ms-routing-request-id" : "SOUTHEASTASIA:20210226T020231Z:75b3340f-037b-4f67-aef2-a1bfcd51c0cf", "x-ms-gatewayversion" : "version=2.11.0", "Content-Length" : "2692", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-08-15", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-11-15", "x-ms-request-id" : "06c5c466-428f-4f5f-957c-f1b91e10075c", "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267\",\"name\":\"cosmosdb083267\",\"location\":\"East US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{\"defaultExperience\":\"Table\"},\"systemData\":{\"createdAt\":\"2021-02-26T01:58:33.1340881Z\"},\"properties\":{\"provisioningState\":\"Updating\",\"documentEndpoint\":\"https://cosmosdb083267.documents.azure.com:443/\",\"tableEndpoint\":\"https://cosmosdb083267.table.cosmos.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":true,\"virtualNetworkRules\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.Network/virtualNetworks/vnetcosmosdb036088/subnets/subnet1\",\"ignoreMissingVNetServiceEndpoint\":false},{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.Network/virtualNetworks/vnetcosmosdb036088/subnets/subnet2\",\"ignoreMissingVNetServiceEndpoint\":false}],\"EnabledApiTypes\":\"Table, Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"instanceId\":\"3cdd7cc9-1bac-4d5a-a3d6-fea7d2302eca\",\"createMode\":\"Default\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"networkAclBypass\":\"None\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"cosmosdb083267-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb083267-westus.documents.azure.com:443/\",\"provisioningState\":\"Updating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"cosmosdb083267-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb083267-westus.documents.azure.com:443/\",\"provisioningState\":\"Updating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"cosmosdb083267-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://cosmosdb083267-westus.documents.azure.com:443/\",\"provisioningState\":\"Updating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"cosmosdb083267-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableTable\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Local\"}},\"networkAclBypassResourceIds\":[]},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267/operationResults/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267/operationResults/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-11-15" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "5c567d56-612f-41ac-9051-f8a815bb50a2" @@ -809,7 +809,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0da3ae7e-da5c-4f71-a006-d6a7d35e4c05" @@ -835,7 +835,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "709d70f8-f74c-4477-be3c-84e5b8f8997d" @@ -861,7 +861,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "3215c067-2e09-44da-95fd-e266a7b4e089" @@ -887,7 +887,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "9b231da7-cb52-406b-a84e-c5c1756391fd" @@ -913,7 +913,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "a60647e2-c36e-484c-86db-3663b04c6269" @@ -939,7 +939,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "73bcabce-fc39-4fe6-b08d-a980bcd7ceb4" @@ -965,7 +965,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "9777fcb4-65cc-4e9f-9f71-362c81220f01" @@ -991,7 +991,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/06c5c466-428f-4f5f-957c-f1b91e10075c?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "da2d7c03-d7a0-4d2c-91a3-26ceed39b25e" @@ -1017,7 +1017,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "08463a9b-d5c4-4c2f-9070-17388057eedc" @@ -1043,7 +1043,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "a0e6c2b7-438f-4f09-99eb-641cd47ec0cb", @@ -1158,7 +1158,7 @@ "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcosmosdb002651b82/providers/Microsoft.DocumentDB/databaseAccounts/cosmosdb083267?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "6863f388-83aa-436d-8844-d3b638e247df", @@ -1178,16 +1178,16 @@ "x-ms-routing-request-id" : "SOUTHEASTASIA:20210226T020719Z:f2ebe781-a7ba-4cb1-b84b-79a6e4e12d7e", "x-ms-gatewayversion" : "version=2.11.0", "Content-Length" : "21", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-08-15", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-11-15", "x-ms-request-id" : "3d6a6f01-a2ff-44fd-a698-1cdc4245e03b", "Body" : "{\"status\":\"Enqueued\"}", "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationResults/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationResults/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-11-15" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "b5a929b7-38b0-4318-8766-27184d936a38" @@ -1213,7 +1213,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "24109797-ab57-4fe7-90a5-02972171e69b" @@ -1239,7 +1239,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "7e7c5e16-ce28-485c-90a0-83a198e49a92" @@ -1265,7 +1265,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "76488ebb-c694-45e7-88b4-a8702c11111a" @@ -1291,7 +1291,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "ad9ccf7e-bf0d-4a39-926d-9a5567377bd5" @@ -1317,7 +1317,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "9eab8579-35e1-464d-8b7c-a7cf03d3760f" @@ -1343,7 +1343,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "865e03b5-8d21-45ff-8aae-605136039fa0" @@ -1369,7 +1369,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "1fac58ea-9f4d-4d66-8443-c03f62cf2bf8" @@ -1395,7 +1395,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "a20f1274-5f0a-4856-8f7c-662bc125b093" @@ -1421,7 +1421,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "ea2f24bb-0b0a-4a45-9c8d-d30f60ebfceb" @@ -1447,7 +1447,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "f35401ab-460a-4eee-86a6-2ed80f62deec" @@ -1473,7 +1473,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c7d766b6-b3e6-48cd-a43a-ccc8e8971b08" @@ -1499,7 +1499,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "e6009208-ff51-456a-b6d6-e4c88e177276" @@ -1525,7 +1525,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c5a23709-e36b-4876-a5c8-8bced7e3dd13" @@ -1551,7 +1551,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "324cfdb3-425b-4525-91e4-d18d0108bac1" @@ -1577,7 +1577,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "1ce1f768-2d24-44f6-a6a0-507141a0f773" @@ -1603,7 +1603,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "25ca7b63-04e5-4cee-902e-76a5fbb50c94" @@ -1629,7 +1629,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationResults/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationResults/3d6a6f01-a2ff-44fd-a698-1cdc4245e03b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "cb2b3274-d0fc-4042-866a-a65d2e96da1d" diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/CosmosDBTests.testCreateCosmosDBWithEventualConsistency.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/CosmosDBTests.testCreateCosmosDBWithEventualConsistency.json index 6a9799623bcc6..02bd10c46cbb6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/CosmosDBTests.testCreateCosmosDBWithEventualConsistency.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/CosmosDBTests.testCreateCosmosDBWithEventualConsistency.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv7521718fa39/providers/Microsoft.DocumentDB/databaseAccounts/docdb42822?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv7521718fa39/providers/Microsoft.DocumentDB/databaseAccounts/docdb42822?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "b0bf4d40-3b47-4a02-9558-987ea9dddd78", @@ -47,16 +47,16 @@ "x-ms-routing-request-id" : "SOUTHEASTASIA:20210226T015512Z:21eb4fd9-c0ee-4af3-b4cf-9a7c5097d305", "x-ms-gatewayversion" : "version=2.11.0", "Content-Length" : "1814", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5c83bf42-eecb-44ef-974b-ba0c825d2d3f?api-version=2022-08-15", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5c83bf42-eecb-44ef-974b-ba0c825d2d3f?api-version=2022-11-15", "x-ms-request-id" : "5c83bf42-eecb-44ef-974b-ba0c825d2d3f", "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv7521718fa39/providers/Microsoft.DocumentDB/databaseAccounts/docdb42822\",\"name\":\"docdb42822\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2021-02-26T01:55:09.4565744Z\"},\"properties\":{\"provisioningState\":\"Creating\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"instanceId\":\"325b9c32-c920-43de-a942-ec063ad83086\",\"createMode\":\"Default\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"networkAclBypass\":\"None\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"docdb42822-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"docdb42822-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"docdb42822-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"docdb42822-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Local\"}},\"networkAclBypassResourceIds\":[]},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv7521718fa39/providers/Microsoft.DocumentDB/databaseAccounts/docdb42822/operationResults/5c83bf42-eecb-44ef-974b-ba0c825d2d3f?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv7521718fa39/providers/Microsoft.DocumentDB/databaseAccounts/docdb42822/operationResults/5c83bf42-eecb-44ef-974b-ba0c825d2d3f?api-version=2022-11-15" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5c83bf42-eecb-44ef-974b-ba0c825d2d3f?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5c83bf42-eecb-44ef-974b-ba0c825d2d3f?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "00c2cc01-08af-4122-8e6a-b8cb771fabd3" @@ -82,7 +82,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5c83bf42-eecb-44ef-974b-ba0c825d2d3f?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5c83bf42-eecb-44ef-974b-ba0c825d2d3f?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "32d3251b-ed99-4503-a4aa-17c066c4c934" @@ -108,7 +108,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5c83bf42-eecb-44ef-974b-ba0c825d2d3f?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5c83bf42-eecb-44ef-974b-ba0c825d2d3f?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "cf7bfbea-6603-4b84-9fe6-3a75f415df15" @@ -134,7 +134,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5c83bf42-eecb-44ef-974b-ba0c825d2d3f?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/5c83bf42-eecb-44ef-974b-ba0c825d2d3f?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "6a6540f1-8c1c-4ffe-bc5f-7ba49348a56f" @@ -160,7 +160,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv7521718fa39/providers/Microsoft.DocumentDB/databaseAccounts/docdb42822?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv7521718fa39/providers/Microsoft.DocumentDB/databaseAccounts/docdb42822?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "71288b8f-c945-48c4-930d-a50bec009c40" @@ -186,7 +186,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv7521718fa39/providers/Microsoft.DocumentDB/databaseAccounts/docdb42822?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv7521718fa39/providers/Microsoft.DocumentDB/databaseAccounts/docdb42822?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "8d3f31d7-3e0d-41d4-90c4-b50fd78edefc", @@ -213,7 +213,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv7521718fa39/providers/Microsoft.DocumentDB/databaseAccounts/docdb42822/listKeys?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv7521718fa39/providers/Microsoft.DocumentDB/databaseAccounts/docdb42822/listKeys?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "7277f676-a2b2-46d1-86f5-3539443b8fc1", @@ -240,7 +240,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv7521718fa39/providers/Microsoft.DocumentDB/databaseAccounts/docdb42822/readonlykeys?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv7521718fa39/providers/Microsoft.DocumentDB/databaseAccounts/docdb42822/readonlykeys?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "27c7a281-9304-417b-8f43-5fb8cc4c5328", @@ -267,7 +267,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv7521718fa39/providers/Microsoft.DocumentDB/databaseAccounts/docdb42822/listKeys?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv7521718fa39/providers/Microsoft.DocumentDB/databaseAccounts/docdb42822/listKeys?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c5e9895e-7170-4102-ab06-95c2b99a49f6", @@ -294,7 +294,7 @@ "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv7521718fa39/providers/Microsoft.DocumentDB/databaseAccounts/docdb42822?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv7521718fa39/providers/Microsoft.DocumentDB/databaseAccounts/docdb42822?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "6f1ba216-7c21-4479-82cf-c9693f41ab86", @@ -314,16 +314,16 @@ "x-ms-routing-request-id" : "SOUTHEASTASIA:20210226T015726Z:b7dfac29-16c2-4070-afa6-501d22f4cd61", "x-ms-gatewayversion" : "version=2.11.0", "Content-Length" : "21", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "x-ms-request-id" : "658c35cb-eaa5-4c6c-beeb-1c7c3b004f09", "Body" : "{\"status\":\"Enqueued\"}", "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationResults/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationResults/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "09287bc4-167c-4e9e-b8a7-dee3ebf0f780" @@ -349,7 +349,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "08ba89af-e3f1-4cd5-8294-cdd4c803bedf" @@ -375,7 +375,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c6431040-1970-41bb-a0c3-84fc54aaf843" @@ -401,7 +401,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "2c450b02-ab3e-4d39-90f4-f16ea4ab74bc" @@ -427,7 +427,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "38d28e46-b4d2-4ab7-8d18-826c2fc2a416" @@ -453,7 +453,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "f486829b-9ff1-4ea1-8d1e-80164dd0b762" @@ -479,7 +479,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "10629fca-d18d-44cd-810b-a00fd266d6b7" @@ -505,7 +505,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "3c9540a0-47c5-4bf3-8ba7-2a21ae921450" @@ -531,7 +531,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "a4dc5a59-b945-43f7-bc84-210710bb9546" @@ -557,7 +557,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "672b7437-f1c7-4fd0-a946-17aa7ad9b9ac" @@ -583,7 +583,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "ed81e2e8-4b47-43c3-be6c-29d426f3c2e7" @@ -609,7 +609,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "852f07cc-541e-4d70-9a09-1048c305baf4" @@ -635,7 +635,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "2b1b0b48-d5fa-4908-94f4-a8b6d9ff2083" @@ -661,7 +661,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "05cb6f56-f6d1-4a56-ae09-dcb3912e0dd5" @@ -687,7 +687,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "f45fbc8c-dce4-4a40-a2a9-36bb52ab98c6" @@ -713,7 +713,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "56ba4ab2-db39-4c66-b2c3-4d56b1de05e4" @@ -739,7 +739,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "98b8519d-f51e-448a-ac2e-b0cf9026dfb2" @@ -765,7 +765,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "8c875d0c-43e8-494e-acd0-8aa33add1bcd" @@ -791,7 +791,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "cbce41ed-6db5-4af0-85a2-eafa4f061617" @@ -817,7 +817,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "671a7ba2-a3b5-49a6-8f70-44dc965b8ee1" @@ -843,7 +843,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "470b8b54-b4d1-4872-ae9a-6dd5dd112488" @@ -869,7 +869,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "66a75f50-b2ab-4ed2-8e3e-e98a0e7496fa" @@ -895,7 +895,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "ea4f2d53-44a7-4e6c-b9a3-c158399ec1da" @@ -921,7 +921,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "b70aa4c8-9ade-4e0d-803b-4414e151d738" @@ -947,7 +947,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "1efbfdd6-e974-4349-9807-ca9262a339b8" @@ -973,7 +973,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "1dfee719-3352-4472-bddc-1d37903c9094" @@ -999,7 +999,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "805f5221-741a-4646-98eb-2a4bc328f438" @@ -1025,7 +1025,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "227d46a9-7b9d-4feb-816b-16e56f6a97c4" @@ -1051,7 +1051,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "445624f6-3fe7-4255-9023-9fb521f86037" @@ -1077,7 +1077,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c34efc87-5e0f-4e8f-b1e8-fd7a8d3bd2fb" @@ -1103,7 +1103,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "8e592879-5995-409e-ab7c-92ecc352ae10" @@ -1129,7 +1129,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "25119ace-c4e9-4d8a-949b-4649a7b0fdce" @@ -1155,7 +1155,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c6546549-5e0d-444e-9023-e7ac130c6dc3" @@ -1181,7 +1181,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "f9f8d1cf-742e-4d59-b8c8-790c93095e3e" @@ -1207,7 +1207,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "f9e943c6-b78e-41b8-aca0-0d2d9cf67a47" @@ -1233,7 +1233,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationResults/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationResults/658c35cb-eaa5-4c6c-beeb-1c7c3b004f09?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "1d67cbbb-5b0f-4da8-b70e-d1dd9d87cddb" diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/CosmosDBTests.testCreateCosmosDBWithIPRange.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/CosmosDBTests.testCreateCosmosDBWithIPRange.json index 41941d1f69186..27503102bcfb2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/CosmosDBTests.testCreateCosmosDBWithIPRange.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/CosmosDBTests.testCreateCosmosDBWithIPRange.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv405620ceca2/providers/Microsoft.DocumentDB/databaseAccounts/docdb96707?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv405620ceca2/providers/Microsoft.DocumentDB/databaseAccounts/docdb96707?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "f22b6ad2-393f-48aa-a52d-ecb96cb7bc34", @@ -47,16 +47,16 @@ "x-ms-routing-request-id" : "SOUTHEASTASIA:20210226T015517Z:2d7f1c1a-d1c9-4dfa-a2f4-27b849eb1dfe", "x-ms-gatewayversion" : "version=2.11.0", "Content-Length" : "1883", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/ab82b4c3-a3ab-4a04-9c55-1964a0d1ad6a?api-version=2022-08-15", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/ab82b4c3-a3ab-4a04-9c55-1964a0d1ad6a?api-version=2022-11-15", "x-ms-request-id" : "ab82b4c3-a3ab-4a04-9c55-1964a0d1ad6a", "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv405620ceca2/providers/Microsoft.DocumentDB/databaseAccounts/docdb96707\",\"name\":\"docdb96707\",\"location\":\"East US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2021-02-26T01:55:12.9482587Z\"},\"properties\":{\"provisioningState\":\"Creating\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"instanceId\":\"83743800-07ff-4ac4-92a3-70c3e96e335f\",\"createMode\":\"Default\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"networkAclBypass\":\"None\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Session\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"docdb96707-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"docdb96707-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"docdb96707-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"docdb96707-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[{\"ipAddressOrRange\":\"13.91.6.132\"},{\"ipAddressOrRange\":\"13.91.6.1/24\"}],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Local\"}},\"networkAclBypassResourceIds\":[]},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv405620ceca2/providers/Microsoft.DocumentDB/databaseAccounts/docdb96707/operationResults/ab82b4c3-a3ab-4a04-9c55-1964a0d1ad6a?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv405620ceca2/providers/Microsoft.DocumentDB/databaseAccounts/docdb96707/operationResults/ab82b4c3-a3ab-4a04-9c55-1964a0d1ad6a?api-version=2022-11-15" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/ab82b4c3-a3ab-4a04-9c55-1964a0d1ad6a?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/ab82b4c3-a3ab-4a04-9c55-1964a0d1ad6a?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "02594f84-4373-4ec1-95fa-28de1ab16df1" @@ -82,7 +82,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/ab82b4c3-a3ab-4a04-9c55-1964a0d1ad6a?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/ab82b4c3-a3ab-4a04-9c55-1964a0d1ad6a?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "74a59993-ee6a-488e-af71-ad0d3a90e5aa" @@ -108,7 +108,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/ab82b4c3-a3ab-4a04-9c55-1964a0d1ad6a?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/ab82b4c3-a3ab-4a04-9c55-1964a0d1ad6a?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "1d7b71d2-165a-492e-bc74-2897ef3cf42a" @@ -134,7 +134,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv405620ceca2/providers/Microsoft.DocumentDB/databaseAccounts/docdb96707?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv405620ceca2/providers/Microsoft.DocumentDB/databaseAccounts/docdb96707?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c4bc339d-4dd4-45e3-aa7d-b1665a5a55a8" @@ -160,7 +160,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv405620ceca2/providers/Microsoft.DocumentDB/databaseAccounts/docdb96707?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv405620ceca2/providers/Microsoft.DocumentDB/databaseAccounts/docdb96707?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "981f4658-8b41-4463-a5ab-3ae80ccd2394", @@ -187,7 +187,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv405620ceca2/providers/Microsoft.DocumentDB/databaseAccounts/docdb96707/listKeys?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv405620ceca2/providers/Microsoft.DocumentDB/databaseAccounts/docdb96707/listKeys?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "13e91709-e6c4-4d4f-a4b5-0b15e2f424bc", @@ -214,7 +214,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv405620ceca2/providers/Microsoft.DocumentDB/databaseAccounts/docdb96707/readonlykeys?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv405620ceca2/providers/Microsoft.DocumentDB/databaseAccounts/docdb96707/readonlykeys?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "6411f0a3-fef6-4691-b033-b0966dbd88e6", @@ -241,7 +241,7 @@ "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv405620ceca2/providers/Microsoft.DocumentDB/databaseAccounts/docdb96707?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv405620ceca2/providers/Microsoft.DocumentDB/databaseAccounts/docdb96707?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "42bc01e8-cb94-4c38-9467-8730259f6454", @@ -261,16 +261,16 @@ "x-ms-routing-request-id" : "SOUTHEASTASIA:20210226T015652Z:79f80a00-dee5-4893-9253-8c1f538bd57d", "x-ms-gatewayversion" : "version=2.11.0", "Content-Length" : "21", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "x-ms-request-id" : "9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff", "Body" : "{\"status\":\"Enqueued\"}", "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationResults/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationResults/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0424cde0-23c2-45a2-9cc8-7e48449bc4de" @@ -296,7 +296,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "9f2778b8-5199-40d5-9d44-886ade8da690" @@ -322,7 +322,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "ec8725f3-5dce-4f79-9202-241fc499374a" @@ -348,7 +348,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "330b36d0-a2ba-4208-a9d6-4cad0c38fd30" @@ -374,7 +374,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "b311a1b6-00c8-453c-a5c9-b46fc5d0dedf" @@ -400,7 +400,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "da18936e-e81d-48fa-a385-ea08f2bf97f3" @@ -426,7 +426,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0c262c42-838b-481e-8a75-2b83274de631" @@ -452,7 +452,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "a56ecbf9-7d58-4567-b713-01997144c4ed" @@ -478,7 +478,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "f6515851-61be-4a92-9f64-b4965060b441" @@ -504,7 +504,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "83740f91-07d7-4bed-bf0a-135c3ca2c824" @@ -530,7 +530,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "98a503a5-7423-48be-a379-6b7387c73df2" @@ -556,7 +556,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "db768d55-83ba-4a04-a2b8-4d722a006e60" @@ -582,7 +582,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "88959756-0757-4894-bd3d-56af153f5cd1" @@ -608,7 +608,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "3e818fba-b4ab-46a2-8c3e-535f9d900433" @@ -634,7 +634,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "52aa8bdf-29aa-45c5-be31-dab1e265148d" @@ -660,7 +660,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "54ab6352-1e28-46e2-9f1f-62eca6e417dd" @@ -686,7 +686,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "4e846184-83f0-4dde-84dd-8b4ce7f49a60" @@ -712,7 +712,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "cb29f3be-5f44-4469-b17b-560cfa888e74" @@ -738,7 +738,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "ec98bf94-5272-418d-b28b-893ce11dbdad" @@ -764,7 +764,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "8502a4db-05fc-4a62-b5e8-c3bcdd48f59b" @@ -790,7 +790,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "790ae532-7506-4729-8ce2-ad940aab2848" @@ -816,7 +816,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "426f681d-53ef-494f-ad4c-aa67ac080f44" @@ -842,7 +842,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "edc54968-73f7-4982-84f7-ab5ab4d9c77b" @@ -868,7 +868,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "f2f359a0-675a-4ec8-95bd-4dc7bd1ee807" @@ -894,7 +894,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "534e8b64-21d2-41bf-91b0-996c286038ab" @@ -920,7 +920,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "7effcf28-aa5c-45eb-ba26-96cbbae463cb" @@ -946,7 +946,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "d0666a01-a56c-4e49-b554-35657bedf621" @@ -972,7 +972,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "61613fa3-52f4-4881-b841-7b8589d32f6a" @@ -998,7 +998,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationResults/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationResults/9a384ba0-f4f9-4e0f-b7b3-66fa1e57fcff?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "dba1deac-d6f3-4ada-ad2d-ff7061a74860" diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/CosmosDBTests.testCreateCosmosDBWithKindMongoDB.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/CosmosDBTests.testCreateCosmosDBWithKindMongoDB.json index 7feaf1273acfb..f415493591f8e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/CosmosDBTests.testCreateCosmosDBWithKindMongoDB.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/CosmosDBTests.testCreateCosmosDBWithKindMongoDB.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv283355013b9/providers/Microsoft.DocumentDB/databaseAccounts/docdb74656?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv283355013b9/providers/Microsoft.DocumentDB/databaseAccounts/docdb74656?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "5f7b8228-518f-4c2e-863c-e5d944f6d3a3", @@ -47,16 +47,16 @@ "x-ms-routing-request-id" : "SOUTHEASTASIA:20210226T015515Z:822ce8e9-d42f-4c14-b5db-c0f5e9e2806a", "x-ms-gatewayversion" : "version=2.11.0", "Content-Length" : "1871", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/64e0c79d-6aab-4fc3-9702-de84db599a79?api-version=2022-08-15", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/64e0c79d-6aab-4fc3-9702-de84db599a79?api-version=2022-11-15", "x-ms-request-id" : "64e0c79d-6aab-4fc3-9702-de84db599a79", "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv283355013b9/providers/Microsoft.DocumentDB/databaseAccounts/docdb74656\",\"name\":\"docdb74656\",\"location\":\"East US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"MongoDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2021-02-26T01:55:12.1763741Z\"},\"properties\":{\"provisioningState\":\"Creating\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"MongoDB\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"instanceId\":\"5cba2095-497e-4a65-9692-f33ad3a622fb\",\"createMode\":\"Default\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"networkAclBypass\":\"None\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"apiProperties\":{\"serverVersion\":\"3.6\"},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"docdb74656-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"docdb74656-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"docdb74656-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"docdb74656-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableMongo\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Local\"}},\"networkAclBypassResourceIds\":[]},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv283355013b9/providers/Microsoft.DocumentDB/databaseAccounts/docdb74656/operationResults/64e0c79d-6aab-4fc3-9702-de84db599a79?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv283355013b9/providers/Microsoft.DocumentDB/databaseAccounts/docdb74656/operationResults/64e0c79d-6aab-4fc3-9702-de84db599a79?api-version=2022-11-15" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/64e0c79d-6aab-4fc3-9702-de84db599a79?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/64e0c79d-6aab-4fc3-9702-de84db599a79?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "02d49723-a9c2-4d0e-80c2-a371b912866b" @@ -82,7 +82,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/64e0c79d-6aab-4fc3-9702-de84db599a79?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/64e0c79d-6aab-4fc3-9702-de84db599a79?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "02c49470-4ae3-4213-a8f5-f889fc24ae26" @@ -108,7 +108,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/64e0c79d-6aab-4fc3-9702-de84db599a79?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/64e0c79d-6aab-4fc3-9702-de84db599a79?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "e3c0d005-3147-4991-a525-9f93b3a1f4a6" @@ -134,7 +134,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/64e0c79d-6aab-4fc3-9702-de84db599a79?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/64e0c79d-6aab-4fc3-9702-de84db599a79?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "2e37423d-14d0-48ac-a2ee-34c20e9b17ad" @@ -160,7 +160,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv283355013b9/providers/Microsoft.DocumentDB/databaseAccounts/docdb74656?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv283355013b9/providers/Microsoft.DocumentDB/databaseAccounts/docdb74656?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "d5860abc-5d36-4967-8a6e-4a41c3cc910f" @@ -186,7 +186,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv283355013b9/providers/Microsoft.DocumentDB/databaseAccounts/docdb74656?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv283355013b9/providers/Microsoft.DocumentDB/databaseAccounts/docdb74656?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "13dccbad-ae75-4611-bf52-f9388ec214c1", @@ -213,7 +213,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv283355013b9/providers/Microsoft.DocumentDB/databaseAccounts/docdb74656/listKeys?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv283355013b9/providers/Microsoft.DocumentDB/databaseAccounts/docdb74656/listKeys?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "f5123e44-1719-437a-97e3-da6e93630cab", @@ -240,7 +240,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv283355013b9/providers/Microsoft.DocumentDB/databaseAccounts/docdb74656/readonlykeys?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv283355013b9/providers/Microsoft.DocumentDB/databaseAccounts/docdb74656/readonlykeys?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "26db6100-289f-4a61-9088-a5c8b1a362ac", @@ -267,7 +267,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv283355013b9/providers/Microsoft.DocumentDB/databaseAccounts/docdb74656/listConnectionStrings?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv283355013b9/providers/Microsoft.DocumentDB/databaseAccounts/docdb74656/listConnectionStrings?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "3c8f1b94-f85e-4ba0-b95c-09728e1f54db", @@ -294,7 +294,7 @@ "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv283355013b9/providers/Microsoft.DocumentDB/databaseAccounts/docdb74656?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv283355013b9/providers/Microsoft.DocumentDB/databaseAccounts/docdb74656?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0e67f041-99b6-46ee-ac08-2961cb0e39f8", @@ -314,16 +314,16 @@ "x-ms-routing-request-id" : "SOUTHEASTASIA:20210226T015723Z:752fee24-d165-40ea-a60e-c25f6c577e90", "x-ms-gatewayversion" : "version=2.11.0", "Content-Length" : "21", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "x-ms-request-id" : "b978982d-1346-4d2c-8ed1-b3bcd52d2e7b", "Body" : "{\"status\":\"Enqueued\"}", "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationResults/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationResults/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c6d29544-abd6-4296-b64c-1d4a78475d94" @@ -349,7 +349,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "ba39fd66-75d7-467d-874b-7398cc6c2bce" @@ -375,7 +375,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "1f6fa20d-7ffd-4b4a-a4b3-b76a8e267066" @@ -401,7 +401,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "695f4565-d9b7-432d-9725-5d3701d9700c" @@ -427,7 +427,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "309f7491-3318-4809-8ac4-7cd7d9365494" @@ -453,7 +453,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "2ed1b67c-05d0-4511-8b0b-55454906973b" @@ -479,7 +479,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "9a184721-095a-4cd4-ab26-509221ccbd7c" @@ -505,7 +505,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "7752c240-1008-4510-ba5a-80823bc7af8d" @@ -531,7 +531,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "72e45dd7-06fb-49e2-a033-e797ac43bfa1" @@ -557,7 +557,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "10651c9b-f25b-42a7-a61e-1c6a4ade0ab4" @@ -583,7 +583,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "aaa85561-9828-4035-8028-eea3afd64530" @@ -609,7 +609,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "8025f322-2697-470a-876b-8bdb17efdde8" @@ -635,7 +635,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "6b90b24e-37b3-436a-8ab1-ad9b419df755" @@ -661,7 +661,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "43ae0737-719e-4da5-a86b-62e4f01feb13" @@ -687,7 +687,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "1472b002-20b2-48a1-a631-3dc50d937567" @@ -713,7 +713,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "5cc9ed7c-faa5-4d8a-a51f-9304e34c1191" @@ -739,7 +739,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "238353ec-f328-4e68-bf9a-fddb2386c9d2" @@ -765,7 +765,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "d0fb7c40-c702-45dc-8694-bd7618ec67e5" @@ -791,7 +791,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "e5e60789-b1a0-4743-9740-605b7f452d3c" @@ -817,7 +817,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "e4d65c65-1d0f-4c63-967e-01b5ef23d0ff" @@ -843,7 +843,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "8d20c52f-875c-4263-8b6a-71022bfc69c6" @@ -869,7 +869,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "b4f95edb-7d22-4a83-967b-1294abb88524" @@ -895,7 +895,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "d3296d73-1625-4c1b-85f0-dcde180d9455" @@ -921,7 +921,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "ef6fac0f-bd4f-4f5d-b998-96f1db88f0fb" @@ -947,7 +947,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "ee53132f-0f91-4134-b287-38425520d4b5" @@ -973,7 +973,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "e1ea8dea-f617-4e3b-a5c0-679884aa5750" @@ -999,7 +999,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "8d8a2854-cadb-4797-827d-ddfb8f8ba8e0" @@ -1025,7 +1025,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "57c69223-3c8e-40e3-8933-ad7512368412" @@ -1051,7 +1051,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "03aa5323-ec42-4dff-acf9-d879e1a0c533" @@ -1077,7 +1077,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "e9d06f5f-b08b-4fb1-8e87-b207652b6c3e" @@ -1103,7 +1103,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "17feccff-eba9-4a08-bd8c-e0baad8d0cc8" @@ -1129,7 +1129,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationResults/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationResults/b978982d-1346-4d2c-8ed1-b3bcd52d2e7b?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "fba425d9-b77d-489a-ac93-fcbb3a11a997" diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/CosmosDBTests.testManageHACosmosDB.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/CosmosDBTests.testManageHACosmosDB.json index ca4c71cf546f2..1c628df4954c2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/CosmosDBTests.testManageHACosmosDB.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/CosmosDBTests.testManageHACosmosDB.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "9d5ce6fa-7dbb-4680-a076-02556814ae4c", @@ -47,16 +47,16 @@ "x-ms-routing-request-id" : "SOUTHEASTASIA:20210226T015514Z:433e3695-3e69-4138-8459-abb813197a59", "x-ms-gatewayversion" : "version=2.11.0", "Content-Length" : "1812", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/97c93b66-6e9b-4fea-a723-c10d199b46b0?api-version=2022-08-15", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/97c93b66-6e9b-4fea-a723-c10d199b46b0?api-version=2022-11-15", "x-ms-request-id" : "97c93b66-6e9b-4fea-a723-c10d199b46b0", "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638\",\"name\":\"docdb27638\",\"location\":\"East US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2021-02-26T01:55:11.627231Z\"},\"properties\":{\"provisioningState\":\"Creating\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"instanceId\":\"135cc17e-24fa-4e3a-b569-f5368c7ec31e\",\"createMode\":\"Default\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"networkAclBypass\":\"None\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Session\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"docdb27638-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"docdb27638-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"docdb27638-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"docdb27638-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Local\"}},\"networkAclBypassResourceIds\":[]},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638/operationResults/97c93b66-6e9b-4fea-a723-c10d199b46b0?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638/operationResults/97c93b66-6e9b-4fea-a723-c10d199b46b0?api-version=2022-11-15" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/97c93b66-6e9b-4fea-a723-c10d199b46b0?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/97c93b66-6e9b-4fea-a723-c10d199b46b0?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "23f7e46f-2cb1-4b29-8f60-69fab8d31162" @@ -82,7 +82,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/97c93b66-6e9b-4fea-a723-c10d199b46b0?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/97c93b66-6e9b-4fea-a723-c10d199b46b0?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "90538539-81a2-4e79-9a03-5c5394ed1781" @@ -108,7 +108,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/97c93b66-6e9b-4fea-a723-c10d199b46b0?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/97c93b66-6e9b-4fea-a723-c10d199b46b0?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "4a9d1d65-2014-4293-a18f-4b11a5da6b6b" @@ -134,7 +134,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/97c93b66-6e9b-4fea-a723-c10d199b46b0?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/97c93b66-6e9b-4fea-a723-c10d199b46b0?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "23e40254-7f93-4efe-9666-ed6ab1860b2d" @@ -160,7 +160,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "6ad0099f-a65e-4950-ac87-c72c154694ee" @@ -186,7 +186,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "6a0c6b0f-4742-4ed9-b0ee-179f8efef593", @@ -213,7 +213,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638/listKeys?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638/listKeys?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "797052e0-4f3d-4cdd-8bf4-5e57faefbb5a", @@ -240,7 +240,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638/readonlykeys?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638/readonlykeys?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "7d085425-c55c-42fa-9ebb-ec9f67816a04", @@ -267,7 +267,7 @@ "Exception" : null }, { "Method" : "PATCH", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "9761f465-be86-40a6-b427-7caaee9c6283", @@ -287,16 +287,16 @@ "x-ms-routing-request-id" : "SOUTHEASTASIA:20210226T015726Z:3ac72aa8-e805-4427-bacc-ca2cf6e1a370", "x-ms-gatewayversion" : "version=2.11.0", "Content-Length" : "2597", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/d38a21cc-eaf4-4d17-a27a-11c77aa1d12c?api-version=2022-08-15", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/d38a21cc-eaf4-4d17-a27a-11c77aa1d12c?api-version=2022-11-15", "x-ms-request-id" : "d38a21cc-eaf4-4d17-a27a-11c77aa1d12c", "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638\",\"name\":\"docdb27638\",\"location\":\"East US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2021-02-26T01:55:40.6768225Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://docdb27638.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"instanceId\":\"135cc17e-24fa-4e3a-b569-f5368c7ec31e\",\"createMode\":\"Default\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"networkAclBypass\":\"None\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Session\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"docdb27638-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://docdb27638-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"docdb27638-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://docdb27638-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"docdb27638-centralus\",\"locationName\":\"Central US\",\"documentEndpoint\":\"https://docdb27638-centralus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"docdb27638-westus\",\"locationName\":\"West US\",\"documentEndpoint\":\"https://docdb27638-westus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"docdb27638-centralus\",\"locationName\":\"Central US\",\"documentEndpoint\":\"https://docdb27638-centralus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"docdb27638-westus\",\"locationName\":\"West US\",\"failoverPriority\":0},{\"id\":\"docdb27638-centralus\",\"locationName\":\"Central US\",\"failoverPriority\":1}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Local\"}},\"networkAclBypassResourceIds\":[]},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638/operationResults/d38a21cc-eaf4-4d17-a27a-11c77aa1d12c?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638/operationResults/d38a21cc-eaf4-4d17-a27a-11c77aa1d12c?api-version=2022-11-15" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "69d9fe43-6842-4c24-9388-86387aae863b", @@ -323,7 +323,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "7a7788d8-f7b9-43b9-95c9-5e9f71603656", @@ -350,7 +350,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "d11dfe30-f408-445b-bc2c-558f94e8c142", @@ -377,7 +377,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "64c62903-ca82-4223-9494-ae4fcf457fa3", @@ -404,7 +404,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "a357c57d-6afd-4497-a970-ee12ac1feeac", @@ -431,7 +431,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "4436d339-2171-4958-832a-ff321590862f", @@ -458,7 +458,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0a6c16c8-d24c-42da-b6e6-0549b159c7fc", @@ -485,7 +485,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638/listKeys?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638/listKeys?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "2b63824b-817f-4f77-ab8a-525250582d2d", @@ -512,7 +512,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638/readonlykeys?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638/readonlykeys?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "6205f41f-99b7-468a-b005-6e8726ab7b94", @@ -539,7 +539,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638/listKeys?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638/listKeys?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "5f420b2b-cf3f-4d0e-a27a-7a5659d69f2c", @@ -566,7 +566,7 @@ "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv077373b27ab/providers/Microsoft.DocumentDB/databaseAccounts/docdb27638?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "d8beba07-c978-4776-b480-e3a8d41630b1", @@ -586,16 +586,16 @@ "x-ms-routing-request-id" : "SOUTHEASTASIA:20210226T020044Z:751bbc4b-8035-4ef6-a80c-7991e44a6356", "x-ms-gatewayversion" : "version=2.11.0", "Content-Length" : "21", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "x-ms-request-id" : "9897e62d-178a-4dc4-ba71-12dff37a34cb", "Body" : "{\"status\":\"Enqueued\"}", "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationResults/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationResults/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "4f282240-a1af-47e8-ba3d-a4c5ee1cc256" @@ -621,7 +621,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "6aaa8a6d-45d5-45f0-8515-ba0fac944887" @@ -647,7 +647,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "ed6ee8ec-95b1-483d-8310-d0934937f945" @@ -673,7 +673,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "bd377224-0c7b-4a60-b118-0d9511fddec7" @@ -699,7 +699,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "00ccfc0f-53a5-45c9-9422-c29ddf6c6575" @@ -725,7 +725,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "76249651-5b3d-4ae5-bf89-db9d3e28d276" @@ -751,7 +751,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "3f7a99d2-2131-4b09-bb56-d90a70a4a6d4" @@ -777,7 +777,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "12a7a049-53fe-4e71-934e-9285ff1ef59a" @@ -803,7 +803,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "3e8fb20d-bce1-4dca-a5c2-ea3698537eee" @@ -829,7 +829,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "a9a2aeca-50e1-4dfc-a73b-5dd03290ca14" @@ -855,7 +855,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "23729935-49a3-4de6-874c-4d4b4dbeb6bc" @@ -881,7 +881,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "915caed5-dee3-418a-9f41-b75078d62f2c" @@ -907,7 +907,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "dc4e18b0-3483-4cda-aa81-f3b31b432d4b" @@ -933,7 +933,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "600f69e2-6d9f-46b6-b0ae-dfa656deaeef" @@ -959,7 +959,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "bc123460-1bf5-41af-a325-a4d78ad284c4" @@ -985,7 +985,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "5de94211-f331-40f0-bfca-547120c53b6e" @@ -1011,7 +1011,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "fc02b866-a84a-48c8-83cc-38fe180da351" @@ -1037,7 +1037,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "47af6c3e-bc67-4d97-855f-12eeccb18acc" @@ -1063,7 +1063,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0094dd67-a8f7-4438-b57b-c2863f75b19a" @@ -1089,7 +1089,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "e6a3c632-bd0e-4c96-a8a3-3dd86b316936" @@ -1115,7 +1115,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "fc79c2cc-3c35-47dd-96cc-481fc4226f06" @@ -1141,7 +1141,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "2c189279-f5b2-4222-9e85-668964e14eac" @@ -1167,7 +1167,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "7440785b-f96e-42e1-920a-fe4f25c6b1c2" @@ -1193,7 +1193,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "8e2d98b5-345c-4e55-a6ad-6981c8c8e986" @@ -1219,7 +1219,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "2514bf2a-0bde-4645-a75e-111309e61e9b" @@ -1245,7 +1245,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "457c3aec-df84-4682-892d-62bdff4a418d" @@ -1271,7 +1271,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "736e1a65-b71d-47e4-8964-56be3bc0160f" @@ -1297,7 +1297,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "f8a1118e-edfd-47e5-b006-086f204a46fc" @@ -1323,7 +1323,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "edf1e709-3d3d-4928-8009-5af95f30f18c" @@ -1349,7 +1349,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "70bc79b0-1ef2-46d5-8a65-a5584dff30fd" @@ -1375,7 +1375,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "3b6be347-6eb5-4d6f-990f-691f1b380549" @@ -1401,7 +1401,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "317c5bde-4308-4ace-9d43-19c85b3137c9" @@ -1427,7 +1427,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c4b28369-ccc0-4741-9d50-d89fe81bdda9" @@ -1453,7 +1453,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "9c22a43f-bd80-4407-bfeb-6c1d2fc31031" @@ -1479,7 +1479,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "bffbf53c-13f3-401a-a7e3-ad3a134cd3fc" @@ -1505,7 +1505,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "2cbf2043-e8f9-4eaf-a842-c9ed013e0abe" @@ -1531,7 +1531,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "cde8ff56-6eb6-413a-a89e-a2ddcd9b2be9" @@ -1557,7 +1557,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "fe224b29-c598-4f29-a783-dfa2efe921a8" @@ -1583,7 +1583,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "12741f51-6d84-4971-8fd9-2240c72f7afb" @@ -1609,7 +1609,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "8eab0e65-6b5a-455b-8791-a54a704323e8" @@ -1635,7 +1635,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "30b56900-e890-4576-bfc6-493bea90c2ac" @@ -1661,7 +1661,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "2a3edf6e-cbb2-4e7c-80b1-43325fb4451e" @@ -1687,7 +1687,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "3bb3fe94-7114-4495-8d98-ad496e626d70" @@ -1713,7 +1713,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "61e1a2bd-a326-4423-a48f-2b07772f9f39" @@ -1739,7 +1739,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "15e5a069-f515-4b71-94c2-bc9162e0b988" @@ -1765,7 +1765,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "3557ebab-d3e9-4bf1-8ec3-f7cdc16c9344" @@ -1791,7 +1791,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "2f44d44f-6bce-4ac9-8d35-dfc157e3a010" @@ -1817,7 +1817,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0a62b50a-b599-40f5-bd69-336e7f853352" @@ -1843,7 +1843,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "632a93e7-80f5-4428-bf39-eb22ec6e1d6f" @@ -1869,7 +1869,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "18470c86-0c88-464e-9005-e8bcbf07b30a" @@ -1895,7 +1895,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "27cbdc69-53b9-44be-9269-6feed7b485a1" @@ -1921,7 +1921,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "2b408067-1a22-4697-a317-ecee4f45c412" @@ -1947,7 +1947,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "b52aa100-5fc1-4ab1-8431-ba41a97b5394" @@ -1973,7 +1973,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "4b0fb442-5206-4103-83f8-c41090ccf4de" @@ -1999,7 +1999,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "886757fd-6f3e-4ac8-95de-fc8c9e4b468a" @@ -2025,7 +2025,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "18b645f8-f248-4757-929f-f7ef0961b081" @@ -2051,7 +2051,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "4fb97ded-b2cc-4f4d-a031-cf2937e3d54d" @@ -2077,7 +2077,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "fa9347ec-7f5b-4367-bca1-985d6a40d6f9" @@ -2103,7 +2103,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "4390d738-ac81-4bb3-b5ed-dfbd5eff1bd9" @@ -2129,7 +2129,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "e4eadaff-dff6-488c-97cb-0a177db7497e" @@ -2155,7 +2155,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "e6cdd7dc-d367-47b7-b950-09fe3351db7f" @@ -2181,7 +2181,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "878bd578-985f-4090-8add-331d2b3c89f1" @@ -2207,7 +2207,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "95b1915c-b2da-4d67-ba35-f9e3d2154810" @@ -2233,7 +2233,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "73d54b25-565f-4b6b-98e0-69d51413fd1a" @@ -2259,7 +2259,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "a548ee24-0c45-4e26-8a3c-484c3ca0d5b7" @@ -2285,7 +2285,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "f80aab0c-1ead-4431-beb7-681a87997b4f" @@ -2311,7 +2311,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "77a34f30-39d7-4adc-b230-89d762e409cd" @@ -2337,7 +2337,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "d171ce4b-ecfe-4c78-a83d-067ed5c9b9a5" @@ -2363,7 +2363,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "940b2095-b57e-4f36-91bf-65723ed38f6a" @@ -2389,7 +2389,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "4f47b862-4a24-4aa1-bc56-fb2767f4336f" @@ -2415,7 +2415,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "e557b96a-b17f-469b-9e33-0ee488a78750" @@ -2441,7 +2441,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "e81cfb55-ab34-4250-8625-ca2b8a8795e3" @@ -2467,7 +2467,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0a2537ee-d3b7-4015-bfd1-1524c65623d6" @@ -2493,7 +2493,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "be05a8f1-0a9e-47d1-ab0e-f881115464c6" @@ -2519,7 +2519,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "d7a9a7dc-8cd3-4e18-acb4-e71fbed042ba" @@ -2545,7 +2545,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "42f69183-df84-464d-90ab-8220533be377" @@ -2571,7 +2571,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "5c4058c6-396b-411d-947d-b09846141bd7" @@ -2597,7 +2597,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "79d0ee07-f5aa-4787-8c18-7f606ca36ed3" @@ -2623,7 +2623,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "ca7240f2-06eb-4760-bcc0-05d7aabb9983" @@ -2649,7 +2649,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "5ffc063c-32e3-449f-8912-d9783a7cebf5" @@ -2675,7 +2675,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "db033b0a-ab5d-46f7-b385-ffafc4660f48" @@ -2701,7 +2701,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "7f237be1-245b-4a56-8175-42c52cefadeb" @@ -2727,7 +2727,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationResults/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationResults/9897e62d-178a-4dc4-ba71-12dff37a34cb?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "d0732558-19e2-4d7b-adb7-7f56bd833071" diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/EventHubsSampleTests.testManageEventHubEvents.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/EventHubsSampleTests.testManageEventHubEvents.json index 34bdf8aee60cc..636bb05a37918 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/EventHubsSampleTests.testManageEventHubEvents.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/EventHubsSampleTests.testManageEventHubEvents.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgevhb094345fbb0d/providers/Microsoft.DocumentDB/databaseAccounts/ns665654304948a?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgevhb094345fbb0d/providers/Microsoft.DocumentDB/databaseAccounts/ns665654304948a?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c52c658a-f68a-4039-915c-490e2446f61b", @@ -47,16 +47,16 @@ "x-ms-routing-request-id" : "SOUTHEASTASIA:20210129T141557Z:9b262226-19a3-43af-9fb7-de784b0890fa", "x-ms-gatewayversion" : "version=2.11.0", "Content-Length" : "1762", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/0d798e9e-3f6d-49f6-ac43-315332468b8c?api-version=2022-08-15", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/0d798e9e-3f6d-49f6-ac43-315332468b8c?api-version=2022-11-15", "x-ms-request-id" : "0d798e9e-3f6d-49f6-ac43-315332468b8c", "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgevhb094345fbb0d/providers/Microsoft.DocumentDB/databaseAccounts/ns665654304948a\",\"name\":\"ns665654304948a\",\"location\":\"East US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"MongoDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2021-01-29T14:15:55.6151211Z\"},\"properties\":{\"provisioningState\":\"Creating\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"MongoDB\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"instanceId\":\"5a7e83a1-f700-4bf3-b6b1-8d60ec0eb942\",\"createMode\":\"Default\",\"databaseAccountOfferType\":\"Standard\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Eventual\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"apiProperties\":{\"serverVersion\":\"3.6\"},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"ns665654304948a-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"ns665654304948a-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"ns665654304948a-westus\",\"locationName\":\"West US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"ns665654304948a-westus\",\"locationName\":\"West US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[{\"name\":\"EnableMongo\"}],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Local\"}}}}", "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgevhb094345fbb0d/providers/Microsoft.DocumentDB/databaseAccounts/ns665654304948a/operationResults/0d798e9e-3f6d-49f6-ac43-315332468b8c?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgevhb094345fbb0d/providers/Microsoft.DocumentDB/databaseAccounts/ns665654304948a/operationResults/0d798e9e-3f6d-49f6-ac43-315332468b8c?api-version=2022-11-15" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/0d798e9e-3f6d-49f6-ac43-315332468b8c?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/0d798e9e-3f6d-49f6-ac43-315332468b8c?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0625267a-65e3-4950-820a-a2f97de2ac7f" @@ -82,7 +82,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/0d798e9e-3f6d-49f6-ac43-315332468b8c?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/0d798e9e-3f6d-49f6-ac43-315332468b8c?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "f59e5875-52b5-468f-9fc6-3875bb8e7d31" @@ -108,7 +108,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/0d798e9e-3f6d-49f6-ac43-315332468b8c?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/0d798e9e-3f6d-49f6-ac43-315332468b8c?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "524e1c49-a029-49a1-a7d2-f8c6b05b4da3" @@ -134,7 +134,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/0d798e9e-3f6d-49f6-ac43-315332468b8c?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/0d798e9e-3f6d-49f6-ac43-315332468b8c?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "1451959d-58df-4569-925d-74e4f50ae91e" @@ -160,7 +160,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgevhb094345fbb0d/providers/Microsoft.DocumentDB/databaseAccounts/ns665654304948a?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgevhb094345fbb0d/providers/Microsoft.DocumentDB/databaseAccounts/ns665654304948a?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "3aa84878-9846-4041-82e5-1c2471211936" @@ -186,7 +186,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgevhb094345fbb0d/providers/Microsoft.DocumentDB/databaseAccounts/ns665654304948a?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgevhb094345fbb0d/providers/Microsoft.DocumentDB/databaseAccounts/ns665654304948a?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "3ed2896f-aa27-4798-aa91-5f12c2457208", @@ -213,7 +213,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgevhb094345fbb0d/providers/Microsoft.DocumentDB/databaseAccounts/ns665654304948a/listKeys?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgevhb094345fbb0d/providers/Microsoft.DocumentDB/databaseAccounts/ns665654304948a/listKeys?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "8d8b1211-f7bb-4eb4-96f5-2dbcad9473a2", @@ -240,7 +240,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgevhb094345fbb0d/providers/Microsoft.DocumentDB/databaseAccounts/ns665654304948a/readonlykeys?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgevhb094345fbb0d/providers/Microsoft.DocumentDB/databaseAccounts/ns665654304948a/readonlykeys?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0abcfb8b-7d89-4472-a9e9-536f7e24b884", diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersCreateUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersCreateUpdateSamples.java index 2585abfff95f8..3feef06283a3a 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersCreateUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersCreateUpdateSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.fluent.models.ClusterResourceInner; import com.azure.resourcemanager.cosmos.models.AuthenticationMethod; import com.azure.resourcemanager.cosmos.models.Certificate; @@ -17,7 +16,7 @@ /** Samples for CassandraClusters CreateUpdate. */ public final class CassandraClustersCreateUpdateSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBManagedCassandraClusterCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBManagedCassandraClusterCreate.json */ /** * Sample code: CosmosDBManagedCassandraClusterCreate. @@ -43,7 +42,7 @@ public static void cosmosDBManagedCassandraClusterCreate(com.azure.resourcemanag .withCassandraVersion("3.11") .withClusterNameOverride("ClusterNameIllegalForAzureResource") .withAuthenticationMethod(AuthenticationMethod.CASSANDRA) - .withInitialCassandraAdminPassword("mypassword") + .withInitialCassandraAdminPassword("fakeTokenPlaceholder") .withClientCertificates( Arrays .asList( @@ -67,7 +66,7 @@ public static void cosmosDBManagedCassandraClusterCreate(com.azure.resourcemanag new SeedNode().withIpAddress("10.52.221.3"), new SeedNode().withIpAddress("10.52.221.4"))) .withHoursBetweenBackups(24)), - Context.NONE); + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersDeallocateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersDeallocateSamples.java index 2b7adcced18fd..87846910ca6eb 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersDeallocateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersDeallocateSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraClusters Deallocate. */ public final class CassandraClustersDeallocateSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBManagedCassandraClusterDeallocate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBManagedCassandraClusterDeallocate.json */ /** * Sample code: CosmosDBManagedCassandraClusterDeallocate. @@ -22,6 +20,6 @@ public static void cosmosDBManagedCassandraClusterDeallocate(com.azure.resourcem .manager() .serviceClient() .getCassandraClusters() - .deallocate("cassandra-prod-rg", "cassandra-prod", Context.NONE); + .deallocate("cassandra-prod-rg", "cassandra-prod", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersDeleteSamples.java index c724e19dc9390..c88af502a3f0e 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersDeleteSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraClusters Delete. */ public final class CassandraClustersDeleteSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBManagedCassandraClusterDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBManagedCassandraClusterDelete.json */ /** * Sample code: CosmosDBManagedCassandraClusterDelete. @@ -22,6 +20,6 @@ public static void cosmosDBManagedCassandraClusterDelete(com.azure.resourcemanag .manager() .serviceClient() .getCassandraClusters() - .delete("cassandra-prod-rg", "cassandra-prod", Context.NONE); + .delete("cassandra-prod-rg", "cassandra-prod", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersGetByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersGetByResourceGroupSamples.java index 6b9f100942e2e..f541a9e73d262 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersGetByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersGetByResourceGroupSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraClusters GetByResourceGroup. */ public final class CassandraClustersGetByResourceGroupSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBManagedCassandraClusterGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBManagedCassandraClusterGet.json */ /** * Sample code: CosmosDBManagedCassandraClusterGet. @@ -22,6 +20,6 @@ public static void cosmosDBManagedCassandraClusterGet(com.azure.resourcemanager. .manager() .serviceClient() .getCassandraClusters() - .getByResourceGroupWithResponse("cassandra-prod-rg", "cassandra-prod", Context.NONE); + .getByResourceGroupWithResponse("cassandra-prod-rg", "cassandra-prod", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersInvokeCommandSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersInvokeCommandSamples.java index e69522128bafd..2f792e03bbe42 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersInvokeCommandSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersInvokeCommandSamples.java @@ -4,13 +4,12 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.CommandPostBody; /** Samples for CassandraClusters InvokeCommand. */ public final class CassandraClustersInvokeCommandSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBManagedCassandraCommand.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBManagedCassandraCommand.json */ /** * Sample code: CosmosDBManagedCassandraCommand. @@ -27,6 +26,6 @@ public static void cosmosDBManagedCassandraCommand(com.azure.resourcemanager.Azu "cassandra-prod-rg", "cassandra-prod", new CommandPostBody().withCommand("nodetool status").withHost("10.0.1.12"), - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersListByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersListByResourceGroupSamples.java index 262cb2d570ab5..b018a86562086 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersListByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersListByResourceGroupSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraClusters ListByResourceGroup. */ public final class CassandraClustersListByResourceGroupSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBManagedCassandraClusterListByResourceGroup.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBManagedCassandraClusterListByResourceGroup.json */ /** * Sample code: CosmosDBManagedCassandraClusterListByResourceGroup. @@ -23,6 +21,6 @@ public static void cosmosDBManagedCassandraClusterListByResourceGroup( .manager() .serviceClient() .getCassandraClusters() - .listByResourceGroup("cassandra-prod-rg", Context.NONE); + .listByResourceGroup("cassandra-prod-rg", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersListSamples.java index 9359b2bedfc3c..0eb78e43faa91 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersListSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraClusters List. */ public final class CassandraClustersListSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBManagedCassandraClusterListBySubscription.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBManagedCassandraClusterListBySubscription.json */ /** * Sample code: CosmosDBManagedCassandraClusterListBySubscription. @@ -18,6 +16,11 @@ public final class CassandraClustersListSamples { */ public static void cosmosDBManagedCassandraClusterListBySubscription( com.azure.resourcemanager.AzureResourceManager azure) { - azure.cosmosDBAccounts().manager().serviceClient().getCassandraClusters().list(Context.NONE); + azure + .cosmosDBAccounts() + .manager() + .serviceClient() + .getCassandraClusters() + .list(com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersStartSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersStartSamples.java index 2484401659a28..135d75dd80692 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersStartSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersStartSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraClusters Start. */ public final class CassandraClustersStartSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBManagedCassandraClusterStart.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBManagedCassandraClusterStart.json */ /** * Sample code: CosmosDBManagedCassandraClusterStart. @@ -22,6 +20,6 @@ public static void cosmosDBManagedCassandraClusterStart(com.azure.resourcemanage .manager() .serviceClient() .getCassandraClusters() - .start("cassandra-prod-rg", "cassandra-prod", Context.NONE); + .start("cassandra-prod-rg", "cassandra-prod", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersStatusSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersStatusSamples.java index fed5e69b5984f..602d6a86e2fba 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersStatusSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersStatusSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraClusters Status. */ public final class CassandraClustersStatusSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBManagedCassandraStatus.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBManagedCassandraStatus.json */ /** * Sample code: CosmosDBManagedCassandraStatus. @@ -22,6 +20,6 @@ public static void cosmosDBManagedCassandraStatus(com.azure.resourcemanager.Azur .manager() .serviceClient() .getCassandraClusters() - .statusWithResponse("cassandra-prod-rg", "cassandra-prod", Context.NONE); + .statusWithResponse("cassandra-prod-rg", "cassandra-prod", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersUpdateSamples.java index 5e7f7d4a2a41c..6deba6c2f53ef 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraClustersUpdateSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.fluent.models.ClusterResourceInner; import com.azure.resourcemanager.cosmos.models.AuthenticationMethod; import com.azure.resourcemanager.cosmos.models.Certificate; @@ -17,7 +16,7 @@ /** Samples for CassandraClusters Update. */ public final class CassandraClustersUpdateSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBManagedCassandraClusterPatch.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBManagedCassandraClusterPatch.json */ /** * Sample code: CosmosDBManagedCassandraClusterPatch. @@ -53,7 +52,7 @@ public static void cosmosDBManagedCassandraClusterPatch(com.azure.resourcemanage new SeedNode().withIpAddress("10.52.221.3"), new SeedNode().withIpAddress("10.52.221.4"))) .withHoursBetweenBackups(12)), - Context.NONE); + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraDataCentersCreateUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraDataCentersCreateUpdateSamples.java index 1d8e58073f320..ec7f81c42fb1a 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraDataCentersCreateUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraDataCentersCreateUpdateSamples.java @@ -4,14 +4,13 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.fluent.models.DataCenterResourceInner; import com.azure.resourcemanager.cosmos.models.DataCenterResourceProperties; /** Samples for CassandraDataCenters CreateUpdate. */ public final class CassandraDataCentersCreateUpdateSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBManagedCassandraDataCenterCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBManagedCassandraDataCenterCreate.json */ /** * Sample code: CosmosDBManagedCassandraDataCenterCreate. @@ -35,8 +34,7 @@ public static void cosmosDBManagedCassandraDataCenterCreate(com.azure.resourcema .withDelegatedSubnetId( "/subscriptions/536e130b-d7d6-4ac7-98a5-de20d69588d2/resourceGroups/customer-vnet-rg/providers/Microsoft.Network/virtualNetworks/customer-vnet/subnets/dc1-subnet") .withNodeCount(9) - .withBase64EncodedCassandraYamlFragment( - "Y29tcGFjdGlvbl90aHJvdWdocHV0X21iX3Blcl9zZWM6IDMyCmNvbXBhY3Rpb25fbGFyZ2VfcGFydGl0aW9uX3dhcm5pbmdfdGhyZXNob2xkX21iOiAxMDA=")), - Context.NONE); + .withBase64EncodedCassandraYamlFragment("fakeTokenPlaceholder")), + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraDataCentersDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraDataCentersDeleteSamples.java index c1e5f3a5a538e..557394e038720 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraDataCentersDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraDataCentersDeleteSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraDataCenters Delete. */ public final class CassandraDataCentersDeleteSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBManagedCassandraDataCenterDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBManagedCassandraDataCenterDelete.json */ /** * Sample code: CosmosDBManagedCassandraDataCenterDelete. @@ -22,6 +20,6 @@ public static void cosmosDBManagedCassandraDataCenterDelete(com.azure.resourcema .manager() .serviceClient() .getCassandraDataCenters() - .delete("cassandra-prod-rg", "cassandra-prod", "dc1", Context.NONE); + .delete("cassandra-prod-rg", "cassandra-prod", "dc1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraDataCentersGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraDataCentersGetSamples.java index b12ea7691dc76..369ee6d25007f 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraDataCentersGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraDataCentersGetSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraDataCenters Get. */ public final class CassandraDataCentersGetSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBManagedCassandraDataCenterGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBManagedCassandraDataCenterGet.json */ /** * Sample code: CosmosDBManagedCassandraDataCenterGet. @@ -22,6 +20,6 @@ public static void cosmosDBManagedCassandraDataCenterGet(com.azure.resourcemanag .manager() .serviceClient() .getCassandraDataCenters() - .getWithResponse("cassandra-prod-rg", "cassandra-prod", "dc1", Context.NONE); + .getWithResponse("cassandra-prod-rg", "cassandra-prod", "dc1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraDataCentersListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraDataCentersListSamples.java index e5f97ea54b6f9..79e2c69df15cc 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraDataCentersListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraDataCentersListSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraDataCenters List. */ public final class CassandraDataCentersListSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBManagedCassandraDataCenterList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBManagedCassandraDataCenterList.json */ /** * Sample code: CosmosDBManagedCassandraDataCenterList. @@ -22,6 +20,6 @@ public static void cosmosDBManagedCassandraDataCenterList(com.azure.resourcemana .manager() .serviceClient() .getCassandraDataCenters() - .list("cassandra-prod-rg", "cassandra-prod", Context.NONE); + .list("cassandra-prod-rg", "cassandra-prod", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraDataCentersUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraDataCentersUpdateSamples.java index d7d3c27db259a..59524194754e8 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraDataCentersUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraDataCentersUpdateSamples.java @@ -4,14 +4,13 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.fluent.models.DataCenterResourceInner; import com.azure.resourcemanager.cosmos.models.DataCenterResourceProperties; /** Samples for CassandraDataCenters Update. */ public final class CassandraDataCentersUpdateSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBManagedCassandraDataCenterPatch.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBManagedCassandraDataCenterPatch.json */ /** * Sample code: CosmosDBManagedCassandraDataCenterUpdate. @@ -35,8 +34,7 @@ public static void cosmosDBManagedCassandraDataCenterUpdate(com.azure.resourcema .withDelegatedSubnetId( "/subscriptions/536e130b-d7d6-4ac7-98a5-de20d69588d2/resourceGroups/customer-vnet-rg/providers/Microsoft.Network/virtualNetworks/customer-vnet/subnets/dc1-subnet") .withNodeCount(9) - .withBase64EncodedCassandraYamlFragment( - "Y29tcGFjdGlvbl90aHJvdWdocHV0X21iX3Blcl9zZWM6IDMyCmNvbXBhY3Rpb25fbGFyZ2VfcGFydGl0aW9uX3dhcm5pbmdfdGhyZXNob2xkX21iOiAxMDA=")), - Context.NONE); + .withBase64EncodedCassandraYamlFragment("fakeTokenPlaceholder")), + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesCreateUpdateCassandraKeyspaceSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesCreateUpdateCassandraKeyspaceSamples.java index 940f74404b796..d4584f98e7bfb 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesCreateUpdateCassandraKeyspaceSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesCreateUpdateCassandraKeyspaceSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.CassandraKeyspaceCreateUpdateParameters; import com.azure.resourcemanager.cosmos.models.CassandraKeyspaceResource; import com.azure.resourcemanager.cosmos.models.CreateUpdateOptions; @@ -14,7 +13,7 @@ /** Samples for CassandraResources CreateUpdateCassandraKeyspace. */ public final class CassandraResourcesCreateUpdateCassandraKeyspaceSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCassandraKeyspaceCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCassandraKeyspaceCreateUpdate.json */ /** * Sample code: CosmosDBCassandraKeyspaceCreateUpdate. @@ -36,7 +35,7 @@ public static void cosmosDBCassandraKeyspaceCreateUpdate(com.azure.resourcemanag .withTags(mapOf()) .withResource(new CassandraKeyspaceResource().withId("keyspaceName")) .withOptions(new CreateUpdateOptions()), - Context.NONE); + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesCreateUpdateCassandraTableSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesCreateUpdateCassandraTableSamples.java index c91b30c8ba402..30907662d88ec 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesCreateUpdateCassandraTableSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesCreateUpdateCassandraTableSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.CassandraPartitionKey; import com.azure.resourcemanager.cosmos.models.CassandraSchema; import com.azure.resourcemanager.cosmos.models.CassandraTableCreateUpdateParameters; @@ -19,7 +18,7 @@ /** Samples for CassandraResources CreateUpdateCassandraTable. */ public final class CassandraResourcesCreateUpdateCassandraTableSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCassandraTableCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCassandraTableCreateUpdate.json */ /** * Sample code: CosmosDBCassandraTableCreateUpdate. @@ -51,7 +50,7 @@ public static void cosmosDBCassandraTableCreateUpdate(com.azure.resourcemanager. .withClusterKeys( Arrays.asList(new ClusterKey().withName("columnA").withOrderBy("Asc"))))) .withOptions(new CreateUpdateOptions()), - Context.NONE); + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesDeleteCassandraKeyspaceSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesDeleteCassandraKeyspaceSamples.java index 4bbd37c1c2c0b..4a6aa1f3c180b 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesDeleteCassandraKeyspaceSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesDeleteCassandraKeyspaceSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraResources DeleteCassandraKeyspace. */ public final class CassandraResourcesDeleteCassandraKeyspaceSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCassandraKeyspaceDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCassandraKeyspaceDelete.json */ /** * Sample code: CosmosDBCassandraKeyspaceDelete. @@ -22,6 +20,6 @@ public static void cosmosDBCassandraKeyspaceDelete(com.azure.resourcemanager.Azu .manager() .serviceClient() .getCassandraResources() - .deleteCassandraKeyspace("rg1", "ddb1", "keyspaceName", Context.NONE); + .deleteCassandraKeyspace("rg1", "ddb1", "keyspaceName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesDeleteCassandraTableSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesDeleteCassandraTableSamples.java index c2d471931356f..f13525a146dd2 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesDeleteCassandraTableSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesDeleteCassandraTableSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraResources DeleteCassandraTable. */ public final class CassandraResourcesDeleteCassandraTableSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCassandraTableDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCassandraTableDelete.json */ /** * Sample code: CosmosDBCassandraTableDelete. @@ -22,6 +20,6 @@ public static void cosmosDBCassandraTableDelete(com.azure.resourcemanager.AzureR .manager() .serviceClient() .getCassandraResources() - .deleteCassandraTable("rg1", "ddb1", "keyspaceName", "tableName", Context.NONE); + .deleteCassandraTable("rg1", "ddb1", "keyspaceName", "tableName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesGetCassandraKeyspaceSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesGetCassandraKeyspaceSamples.java index 634f8566fbb7d..f5c0c6e00fec7 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesGetCassandraKeyspaceSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesGetCassandraKeyspaceSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraResources GetCassandraKeyspace. */ public final class CassandraResourcesGetCassandraKeyspaceSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCassandraKeyspaceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCassandraKeyspaceGet.json */ /** * Sample code: CosmosDBCassandraKeyspaceGet. @@ -22,6 +20,6 @@ public static void cosmosDBCassandraKeyspaceGet(com.azure.resourcemanager.AzureR .manager() .serviceClient() .getCassandraResources() - .getCassandraKeyspaceWithResponse("rg1", "ddb1", "keyspaceName", Context.NONE); + .getCassandraKeyspaceWithResponse("rg1", "ddb1", "keyspaceName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesGetCassandraKeyspaceThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesGetCassandraKeyspaceThroughputSamples.java index 4f0aec8cb3ace..164ec04260dda 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesGetCassandraKeyspaceThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesGetCassandraKeyspaceThroughputSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraResources GetCassandraKeyspaceThroughput. */ public final class CassandraResourcesGetCassandraKeyspaceThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCassandraKeyspaceThroughputGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCassandraKeyspaceThroughputGet.json */ /** * Sample code: CosmosDBCassandraKeyspaceThroughputGet. @@ -22,6 +20,7 @@ public static void cosmosDBCassandraKeyspaceThroughputGet(com.azure.resourcemana .manager() .serviceClient() .getCassandraResources() - .getCassandraKeyspaceThroughputWithResponse("rg1", "ddb1", "keyspaceName", Context.NONE); + .getCassandraKeyspaceThroughputWithResponse( + "rg1", "ddb1", "keyspaceName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesGetCassandraTableSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesGetCassandraTableSamples.java index 6491c46dcfc30..750de190866ac 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesGetCassandraTableSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesGetCassandraTableSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraResources GetCassandraTable. */ public final class CassandraResourcesGetCassandraTableSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCassandraTableGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCassandraTableGet.json */ /** * Sample code: CosmosDBCassandraTableGet. @@ -22,6 +20,7 @@ public static void cosmosDBCassandraTableGet(com.azure.resourcemanager.AzureReso .manager() .serviceClient() .getCassandraResources() - .getCassandraTableWithResponse("rg1", "ddb1", "keyspaceName", "tableName", Context.NONE); + .getCassandraTableWithResponse( + "rg1", "ddb1", "keyspaceName", "tableName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesGetCassandraTableThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesGetCassandraTableThroughputSamples.java index 40dfd3d1fff18..70209c54f5541 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesGetCassandraTableThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesGetCassandraTableThroughputSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraResources GetCassandraTableThroughput. */ public final class CassandraResourcesGetCassandraTableThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCassandraTableThroughputGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCassandraTableThroughputGet.json */ /** * Sample code: CosmosDBCassandraTableThroughputGet. @@ -22,6 +20,7 @@ public static void cosmosDBCassandraTableThroughputGet(com.azure.resourcemanager .manager() .serviceClient() .getCassandraResources() - .getCassandraTableThroughputWithResponse("rg1", "ddb1", "keyspaceName", "tableName", Context.NONE); + .getCassandraTableThroughputWithResponse( + "rg1", "ddb1", "keyspaceName", "tableName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesListCassandraKeyspacesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesListCassandraKeyspacesSamples.java index 18d09ee72dc27..d1caafbc42407 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesListCassandraKeyspacesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesListCassandraKeyspacesSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraResources ListCassandraKeyspaces. */ public final class CassandraResourcesListCassandraKeyspacesSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCassandraKeyspaceList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCassandraKeyspaceList.json */ /** * Sample code: CosmosDBCassandraKeyspaceList. @@ -22,6 +20,6 @@ public static void cosmosDBCassandraKeyspaceList(com.azure.resourcemanager.Azure .manager() .serviceClient() .getCassandraResources() - .listCassandraKeyspaces("rgName", "ddb1", Context.NONE); + .listCassandraKeyspaces("rgName", "ddb1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesListCassandraTablesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesListCassandraTablesSamples.java index c46a2eac33300..36c57009ac0b5 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesListCassandraTablesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesListCassandraTablesSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraResources ListCassandraTables. */ public final class CassandraResourcesListCassandraTablesSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCassandraTableList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCassandraTableList.json */ /** * Sample code: CosmosDBCassandraTableList. @@ -22,6 +20,6 @@ public static void cosmosDBCassandraTableList(com.azure.resourcemanager.AzureRes .manager() .serviceClient() .getCassandraResources() - .listCassandraTables("rgName", "ddb1", "keyspaceName", Context.NONE); + .listCassandraTables("rgName", "ddb1", "keyspaceName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesMigrateCassandraKeyspaceToAutoscaleSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesMigrateCassandraKeyspaceToAutoscaleSamples.java index 75f8a24ecd3c8..913b74a9c3bc8 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesMigrateCassandraKeyspaceToAutoscaleSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesMigrateCassandraKeyspaceToAutoscaleSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraResources MigrateCassandraKeyspaceToAutoscale. */ public final class CassandraResourcesMigrateCassandraKeyspaceToAutoscaleSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCassandraKeyspaceMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCassandraKeyspaceMigrateToAutoscale.json */ /** * Sample code: CosmosDBCassandraKeyspaceMigrateToAutoscale. @@ -23,6 +21,6 @@ public static void cosmosDBCassandraKeyspaceMigrateToAutoscale( .manager() .serviceClient() .getCassandraResources() - .migrateCassandraKeyspaceToAutoscale("rg1", "ddb1", "keyspaceName", Context.NONE); + .migrateCassandraKeyspaceToAutoscale("rg1", "ddb1", "keyspaceName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesMigrateCassandraKeyspaceToManualThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesMigrateCassandraKeyspaceToManualThroughputSamples.java index 2d80a74a7a25f..0a86d2f93b5fc 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesMigrateCassandraKeyspaceToManualThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesMigrateCassandraKeyspaceToManualThroughputSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraResources MigrateCassandraKeyspaceToManualThroughput. */ public final class CassandraResourcesMigrateCassandraKeyspaceToManualThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCassandraKeyspaceMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCassandraKeyspaceMigrateToManualThroughput.json */ /** * Sample code: CosmosDBCassandraKeyspaceMigrateToManualThroughput. @@ -23,6 +21,7 @@ public static void cosmosDBCassandraKeyspaceMigrateToManualThroughput( .manager() .serviceClient() .getCassandraResources() - .migrateCassandraKeyspaceToManualThroughput("rg1", "ddb1", "keyspaceName", Context.NONE); + .migrateCassandraKeyspaceToManualThroughput( + "rg1", "ddb1", "keyspaceName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesMigrateCassandraTableToAutoscaleSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesMigrateCassandraTableToAutoscaleSamples.java index 506ed6b2ab77a..9a67cef5a4c39 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesMigrateCassandraTableToAutoscaleSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesMigrateCassandraTableToAutoscaleSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraResources MigrateCassandraTableToAutoscale. */ public final class CassandraResourcesMigrateCassandraTableToAutoscaleSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCassandraTableMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCassandraTableMigrateToAutoscale.json */ /** * Sample code: CosmosDBCassandraTableMigrateToAutoscale. @@ -22,6 +20,7 @@ public static void cosmosDBCassandraTableMigrateToAutoscale(com.azure.resourcema .manager() .serviceClient() .getCassandraResources() - .migrateCassandraTableToAutoscale("rg1", "ddb1", "keyspaceName", "tableName", Context.NONE); + .migrateCassandraTableToAutoscale( + "rg1", "ddb1", "keyspaceName", "tableName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesMigrateCassandraTableToManualThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesMigrateCassandraTableToManualThroughputSamples.java index b0a46e3689230..c37516efa8fdf 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesMigrateCassandraTableToManualThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesMigrateCassandraTableToManualThroughputSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CassandraResources MigrateCassandraTableToManualThroughput. */ public final class CassandraResourcesMigrateCassandraTableToManualThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCassandraTableMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCassandraTableMigrateToManualThroughput.json */ /** * Sample code: CosmosDBCassandraTableMigrateToManualThroughput. @@ -23,6 +21,7 @@ public static void cosmosDBCassandraTableMigrateToManualThroughput( .manager() .serviceClient() .getCassandraResources() - .migrateCassandraTableToManualThroughput("rg1", "ddb1", "keyspaceName", "tableName", Context.NONE); + .migrateCassandraTableToManualThroughput( + "rg1", "ddb1", "keyspaceName", "tableName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesUpdateCassandraKeyspaceThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesUpdateCassandraKeyspaceThroughputSamples.java index 9f37b9c7b9e3d..55bf77ed637a6 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesUpdateCassandraKeyspaceThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesUpdateCassandraKeyspaceThroughputSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.ThroughputSettingsResource; import com.azure.resourcemanager.cosmos.models.ThroughputSettingsUpdateParameters; import java.util.HashMap; @@ -13,7 +12,7 @@ /** Samples for CassandraResources UpdateCassandraKeyspaceThroughput. */ public final class CassandraResourcesUpdateCassandraKeyspaceThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCassandraKeyspaceThroughputUpdate.json */ /** * Sample code: CosmosDBCassandraKeyspaceThroughputUpdate. @@ -34,7 +33,7 @@ public static void cosmosDBCassandraKeyspaceThroughputUpdate(com.azure.resourcem .withLocation("West US") .withTags(mapOf()) .withResource(new ThroughputSettingsResource().withThroughput(400)), - Context.NONE); + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesUpdateCassandraTableThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesUpdateCassandraTableThroughputSamples.java index af035e8290a2d..5ee625c4ed4a4 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesUpdateCassandraTableThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CassandraResourcesUpdateCassandraTableThroughputSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.ThroughputSettingsResource; import com.azure.resourcemanager.cosmos.models.ThroughputSettingsUpdateParameters; import java.util.HashMap; @@ -13,7 +12,7 @@ /** Samples for CassandraResources UpdateCassandraTableThroughput. */ public final class CassandraResourcesUpdateCassandraTableThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCassandraTableThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCassandraTableThroughputUpdate.json */ /** * Sample code: CosmosDBCassandraTableThroughputUpdate. @@ -35,7 +34,7 @@ public static void cosmosDBCassandraTableThroughputUpdate(com.azure.resourcemana .withLocation("West US") .withTags(mapOf()) .withResource(new ThroughputSettingsResource().withThroughput(400)), - Context.NONE); + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionListMetricDefinitionsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionListMetricDefinitionsSamples.java index 8b9b1beb0b316..c9c9d3e633d02 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionListMetricDefinitionsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionListMetricDefinitionsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for Collection ListMetricDefinitions. */ public final class CollectionListMetricDefinitionsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCollectionGetMetricDefinitions.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCollectionGetMetricDefinitions.json */ /** * Sample code: CosmosDBCollectionGetMetricDefinitions. @@ -22,6 +20,6 @@ public static void cosmosDBCollectionGetMetricDefinitions(com.azure.resourcemana .manager() .serviceClient() .getCollections() - .listMetricDefinitions("rg1", "ddb1", "databaseRid", "collectionRid", Context.NONE); + .listMetricDefinitions("rg1", "ddb1", "databaseRid", "collectionRid", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionListMetricsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionListMetricsSamples.java index 46c2da63c290f..5a26059c8397d 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionListMetricsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionListMetricsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for Collection ListMetrics. */ public final class CollectionListMetricsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCollectionGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCollectionGetMetrics.json */ /** * Sample code: CosmosDBCollectionGetMetrics. @@ -29,6 +27,6 @@ public static void cosmosDBCollectionGetMetrics(com.azure.resourcemanager.AzureR "collectionRid", "$filter=(name.value eq 'Total Requests') and timeGrain eq duration'PT5M' and startTime eq" + " '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z", - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionListUsagesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionListUsagesSamples.java index fa70548ad529d..776b5a15db396 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionListUsagesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionListUsagesSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for Collection ListUsages. */ public final class CollectionListUsagesSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCollectionGetUsages.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCollectionGetUsages.json */ /** * Sample code: CosmosDBCollectionGetUsages. @@ -22,6 +20,12 @@ public static void cosmosDBCollectionGetUsages(com.azure.resourcemanager.AzureRe .manager() .serviceClient() .getCollections() - .listUsages("rg1", "ddb1", "databaseRid", "collectionRid", "$filter=name.value eq 'Storage'", Context.NONE); + .listUsages( + "rg1", + "ddb1", + "databaseRid", + "collectionRid", + "$filter=name.value eq 'Storage'", + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionPartitionListMetricsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionPartitionListMetricsSamples.java index f7bed79e90251..a8f10a17ea6fa 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionPartitionListMetricsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionPartitionListMetricsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CollectionPartition ListMetrics. */ public final class CollectionPartitionListMetricsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCollectionPartitionGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCollectionPartitionGetMetrics.json */ /** * Sample code: CosmosDBDatabaseAccountRegionGetMetrics. @@ -29,6 +27,6 @@ public static void cosmosDBDatabaseAccountRegionGetMetrics(com.azure.resourceman "collectionRid", "$filter=(name.value eq 'Max RUs Per Second') and timeGrain eq duration'PT1M' and startTime eq" + " '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T23:58:55.2780000Z", - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionPartitionListUsagesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionPartitionListUsagesSamples.java index 5c4594a11c8cd..79cd53fbe7470 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionPartitionListUsagesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionPartitionListUsagesSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CollectionPartition ListUsages. */ public final class CollectionPartitionListUsagesSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCollectionPartitionGetUsages.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCollectionPartitionGetUsages.json */ /** * Sample code: CosmosDBCollectionGetUsages. @@ -28,6 +26,6 @@ public static void cosmosDBCollectionGetUsages(com.azure.resourcemanager.AzureRe "databaseRid", "collectionRid", "$filter=name.value eq 'Partition Storage'", - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionPartitionRegionListMetricsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionPartitionRegionListMetricsSamples.java index bfe3618a68390..dabaf1cafd5db 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionPartitionRegionListMetricsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionPartitionRegionListMetricsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CollectionPartitionRegion ListMetrics. */ public final class CollectionPartitionRegionListMetricsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBCollectionPartitionRegionGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBCollectionPartitionRegionGetMetrics.json */ /** * Sample code: CosmosDBDatabaseAccountRegionGetMetrics. @@ -30,6 +28,6 @@ public static void cosmosDBDatabaseAccountRegionGetMetrics(com.azure.resourceman "collectionRid", "$filter=(name.value eq 'Max RUs Per Second') and timeGrain eq duration'PT1M' and startTime eq" + " '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T23:58:55.2780000Z", - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionRegionListMetricsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionRegionListMetricsSamples.java index 991535e378a74..9e9f6950af5b4 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionRegionListMetricsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/CollectionRegionListMetricsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for CollectionRegion ListMetrics. */ public final class CollectionRegionListMetricsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBRegionCollectionGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBRegionCollectionGetMetrics.json */ /** * Sample code: CosmosDBRegionCollectionGetMetrics. @@ -30,6 +28,6 @@ public static void cosmosDBRegionCollectionGetMetrics(com.azure.resourcemanager. "collectionRid", "$filter=(name.value eq 'Total Requests') and timeGrain eq duration'PT5M' and startTime eq" + " '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z", - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountRegionListMetricsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountRegionListMetricsSamples.java index 3bc8e928ad87b..f0c4e9617f021 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountRegionListMetricsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountRegionListMetricsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for DatabaseAccountRegion ListMetrics. */ public final class DatabaseAccountRegionListMetricsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseAccountRegionGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseAccountRegionGetMetrics.json */ /** * Sample code: CosmosDBDatabaseAccountRegionGetMetrics. @@ -28,6 +26,6 @@ public static void cosmosDBDatabaseAccountRegionGetMetrics(com.azure.resourceman "North Europe", "$filter=(name.value eq 'Total Requests') and timeGrain eq duration'PT5M' and startTime eq" + " '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z", - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsCheckNameExistsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsCheckNameExistsSamples.java index 82619867f98bd..d2471b3d10ce1 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsCheckNameExistsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsCheckNameExistsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for DatabaseAccounts CheckNameExists. */ public final class DatabaseAccountsCheckNameExistsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseAccountCheckNameExists.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseAccountCheckNameExists.json */ /** * Sample code: CosmosDBDatabaseAccountCheckNameExists. @@ -22,6 +20,6 @@ public static void cosmosDBDatabaseAccountCheckNameExists(com.azure.resourcemana .manager() .serviceClient() .getDatabaseAccounts() - .checkNameExistsWithResponse("ddb1", Context.NONE); + .checkNameExistsWithResponse("ddb1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsCreateOrUpdateSamples.java index ef86fd2a4e672..106ad8e44ab8c 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsCreateOrUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsCreateOrUpdateSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.AnalyticalStorageConfiguration; import com.azure.resourcemanager.cosmos.models.AnalyticalStorageSchemaType; import com.azure.resourcemanager.cosmos.models.ApiProperties; @@ -22,6 +21,7 @@ import com.azure.resourcemanager.cosmos.models.Location; import com.azure.resourcemanager.cosmos.models.ManagedServiceIdentity; import com.azure.resourcemanager.cosmos.models.ManagedServiceIdentityUserAssignedIdentities; +import com.azure.resourcemanager.cosmos.models.MinimalTlsVersion; import com.azure.resourcemanager.cosmos.models.NetworkAclBypass; import com.azure.resourcemanager.cosmos.models.PeriodicModeBackupPolicy; import com.azure.resourcemanager.cosmos.models.PeriodicModeProperties; @@ -39,7 +39,7 @@ /** Samples for DatabaseAccounts CreateOrUpdate. */ public final class DatabaseAccountsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBRestoreDatabaseAccountCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBRestoreDatabaseAccountCreateUpdate.json */ /** * Sample code: CosmosDBRestoreDatabaseAccountCreateUpdate.json. @@ -72,7 +72,7 @@ public static void cosmosDBRestoreDatabaseAccountCreateUpdateJson( .withLocationName("southcentralus") .withFailoverPriority(0) .withIsZoneRedundant(false))) - .withKeyVaultKeyUri("https://myKeyVault.vault.azure.net") + .withKeyVaultKeyUri("fakeTokenPlaceholder") .withEnableFreeTier(false) .withApiProperties(new ApiProperties().withServerVersion(ServerVersion.THREE_TWO)) .withEnableAnalyticalStorage(true) @@ -92,12 +92,13 @@ public static void cosmosDBRestoreDatabaseAccountCreateUpdateJson( .withCollectionNames(Arrays.asList("collection1", "collection2")), new DatabaseRestoreResource() .withDatabaseName("db2") - .withCollectionNames(Arrays.asList("collection3", "collection4"))))), - Context.NONE); + .withCollectionNames(Arrays.asList("collection3", "collection4"))))) + .withMinimalTlsVersion(MinimalTlsVersion.TLS), + com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseAccountCreateMax.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseAccountCreateMax.json */ /** * Sample code: CosmosDBDatabaseAccountCreateMax. @@ -153,7 +154,7 @@ public static void cosmosDBDatabaseAccountCreateMax(com.azure.resourcemanager.Az .withId( "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1") .withIgnoreMissingVNetServiceEndpoint(false))) - .withKeyVaultKeyUri("https://myKeyVault.vault.azure.net") + .withKeyVaultKeyUri("fakeTokenPlaceholder") .withDefaultIdentity("FirstPartyIdentity") .withPublicNetworkAccess(PublicNetworkAccess.ENABLED) .withEnableFreeTier(false) @@ -175,12 +176,13 @@ public static void cosmosDBDatabaseAccountCreateMax(com.azure.resourcemanager.Az Arrays .asList( "/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName")) - .withCapacity(new Capacity().withTotalThroughputLimit(2000)), - Context.NONE); + .withCapacity(new Capacity().withTotalThroughputLimit(2000)) + .withMinimalTlsVersion(MinimalTlsVersion.TLS12), + com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseAccountCreateMin.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseAccountCreateMin.json */ /** * Sample code: CosmosDBDatabaseAccountCreateMin. @@ -206,7 +208,7 @@ public static void cosmosDBDatabaseAccountCreateMin(com.azure.resourcemanager.Az .withFailoverPriority(0) .withIsZoneRedundant(false))) .withCreateMode(CreateMode.DEFAULT), - Context.NONE); + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsDeleteSamples.java index 1532b733c40cd..80003c913f55a 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsDeleteSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for DatabaseAccounts Delete. */ public final class DatabaseAccountsDeleteSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseAccountDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseAccountDelete.json */ /** * Sample code: CosmosDBDatabaseAccountDelete. @@ -17,6 +15,11 @@ public final class DatabaseAccountsDeleteSamples { * @param azure The entry point for accessing resource management APIs in Azure. */ public static void cosmosDBDatabaseAccountDelete(com.azure.resourcemanager.AzureResourceManager azure) { - azure.cosmosDBAccounts().manager().serviceClient().getDatabaseAccounts().delete("rg1", "ddb1", Context.NONE); + azure + .cosmosDBAccounts() + .manager() + .serviceClient() + .getDatabaseAccounts() + .delete("rg1", "ddb1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsFailoverPriorityChangeSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsFailoverPriorityChangeSamples.java index 065c90f0a6e30..2d8913dcee296 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsFailoverPriorityChangeSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsFailoverPriorityChangeSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.FailoverPolicies; import com.azure.resourcemanager.cosmos.models.FailoverPolicy; import java.util.Arrays; @@ -12,7 +11,7 @@ /** Samples for DatabaseAccounts FailoverPriorityChange. */ public final class DatabaseAccountsFailoverPriorityChangeSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseAccountFailoverPriorityChange.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseAccountFailoverPriorityChange.json */ /** * Sample code: CosmosDBDatabaseAccountFailoverPriorityChange. @@ -35,6 +34,6 @@ public static void cosmosDBDatabaseAccountFailoverPriorityChange( .asList( new FailoverPolicy().withLocationName("eastus").withFailoverPriority(0), new FailoverPolicy().withLocationName("westus").withFailoverPriority(1))), - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsGetByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsGetByResourceGroupSamples.java index 7c09ab2861edb..89af01ea64e7b 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsGetByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsGetByResourceGroupSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for DatabaseAccounts GetByResourceGroup. */ public final class DatabaseAccountsGetByResourceGroupSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseAccountGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseAccountGet.json */ /** * Sample code: CosmosDBDatabaseAccountGet. @@ -22,6 +20,6 @@ public static void cosmosDBDatabaseAccountGet(com.azure.resourcemanager.AzureRes .manager() .serviceClient() .getDatabaseAccounts() - .getByResourceGroupWithResponse("rg1", "ddb1", Context.NONE); + .getByResourceGroupWithResponse("rg1", "ddb1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsGetReadOnlyKeysSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsGetReadOnlyKeysSamples.java index bafa88f7cd3e7..0882fcf7849f6 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsGetReadOnlyKeysSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsGetReadOnlyKeysSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for DatabaseAccounts GetReadOnlyKeys. */ public final class DatabaseAccountsGetReadOnlyKeysSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json */ /** * Sample code: CosmosDBDatabaseAccountListReadOnlyKeys. @@ -22,6 +20,6 @@ public static void cosmosDBDatabaseAccountListReadOnlyKeys(com.azure.resourceman .manager() .serviceClient() .getDatabaseAccounts() - .getReadOnlyKeysWithResponse("rg1", "ddb1", Context.NONE); + .getReadOnlyKeysWithResponse("rg1", "ddb1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListByResourceGroupSamples.java index 98dfaf3243fd9..1d919a28a3bbf 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListByResourceGroupSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for DatabaseAccounts ListByResourceGroup. */ public final class DatabaseAccountsListByResourceGroupSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseAccountListByResourceGroup.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseAccountListByResourceGroup.json */ /** * Sample code: CosmosDBDatabaseAccountListByResourceGroup. @@ -23,6 +21,6 @@ public static void cosmosDBDatabaseAccountListByResourceGroup( .manager() .serviceClient() .getDatabaseAccounts() - .listByResourceGroup("rg1", Context.NONE); + .listByResourceGroup("rg1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListConnectionStringsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListConnectionStringsSamples.java index c12717cb738d8..5bc8e4e1c3a53 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListConnectionStringsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListConnectionStringsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for DatabaseAccounts ListConnectionStrings. */ public final class DatabaseAccountsListConnectionStringsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseAccountListConnectionStrings.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseAccountListConnectionStrings.json */ /** * Sample code: CosmosDBDatabaseAccountListConnectionStrings. @@ -23,11 +21,11 @@ public static void cosmosDBDatabaseAccountListConnectionStrings( .manager() .serviceClient() .getDatabaseAccounts() - .listConnectionStringsWithResponse("rg1", "ddb1", Context.NONE); + .listConnectionStringsWithResponse("rg1", "ddb1", com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseAccountListConnectionStringsMongo.json */ /** * Sample code: CosmosDBDatabaseAccountListConnectionStringsMongo. @@ -41,6 +39,6 @@ public static void cosmosDBDatabaseAccountListConnectionStringsMongo( .manager() .serviceClient() .getDatabaseAccounts() - .listConnectionStringsWithResponse("rg1", "mongo-ddb1", Context.NONE); + .listConnectionStringsWithResponse("rg1", "mongo-ddb1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListKeysSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListKeysSamples.java index b8ba4e861a8f6..84e2b90d8d5a4 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListKeysSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListKeysSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for DatabaseAccounts ListKeys. */ public final class DatabaseAccountsListKeysSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseAccountListKeys.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseAccountListKeys.json */ /** * Sample code: CosmosDBDatabaseAccountListKeys. @@ -22,6 +20,6 @@ public static void cosmosDBDatabaseAccountListKeys(com.azure.resourcemanager.Azu .manager() .serviceClient() .getDatabaseAccounts() - .listKeysWithResponse("rg1", "ddb1", Context.NONE); + .listKeysWithResponse("rg1", "ddb1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListMetricDefinitionsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListMetricDefinitionsSamples.java index 83af3bc3b86df..1b65783494a3c 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListMetricDefinitionsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListMetricDefinitionsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for DatabaseAccounts ListMetricDefinitions. */ public final class DatabaseAccountsListMetricDefinitionsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseAccountGetMetricDefinitions.json */ /** * Sample code: CosmosDBDatabaseAccountGetMetricDefinitions. @@ -23,6 +21,6 @@ public static void cosmosDBDatabaseAccountGetMetricDefinitions( .manager() .serviceClient() .getDatabaseAccounts() - .listMetricDefinitions("rg1", "ddb1", Context.NONE); + .listMetricDefinitions("rg1", "ddb1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListMetricsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListMetricsSamples.java index 130a150b9f990..317bb926ecb5c 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListMetricsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListMetricsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for DatabaseAccounts ListMetrics. */ public final class DatabaseAccountsListMetricsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseAccountGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseAccountGetMetrics.json */ /** * Sample code: CosmosDBDatabaseAccountGetMetrics. @@ -27,6 +25,6 @@ public static void cosmosDBDatabaseAccountGetMetrics(com.azure.resourcemanager.A "ddb1", "$filter=(name.value eq 'Total Requests') and timeGrain eq duration'PT5M' and startTime eq" + " '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z", - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListReadOnlyKeysSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListReadOnlyKeysSamples.java index 9ace4cec94608..0b0d27bf44fbc 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListReadOnlyKeysSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListReadOnlyKeysSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for DatabaseAccounts ListReadOnlyKeys. */ public final class DatabaseAccountsListReadOnlyKeysSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseAccountListReadOnlyKeys.json */ /** * Sample code: CosmosDBDatabaseAccountListReadOnlyKeys. @@ -22,6 +20,6 @@ public static void cosmosDBDatabaseAccountListReadOnlyKeys(com.azure.resourceman .manager() .serviceClient() .getDatabaseAccounts() - .listReadOnlyKeysWithResponse("rg1", "ddb1", Context.NONE); + .listReadOnlyKeysWithResponse("rg1", "ddb1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListSamples.java index a34868dde9f71..42263c48d7b20 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for DatabaseAccounts List. */ public final class DatabaseAccountsListSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseAccountList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseAccountList.json */ /** * Sample code: CosmosDBDatabaseAccountList. @@ -17,6 +15,6 @@ public final class DatabaseAccountsListSamples { * @param azure The entry point for accessing resource management APIs in Azure. */ public static void cosmosDBDatabaseAccountList(com.azure.resourcemanager.AzureResourceManager azure) { - azure.cosmosDBAccounts().manager().serviceClient().getDatabaseAccounts().list(Context.NONE); + azure.cosmosDBAccounts().manager().serviceClient().getDatabaseAccounts().list(com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListUsagesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListUsagesSamples.java index 60b55a154d8ae..5007fe6de2178 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListUsagesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsListUsagesSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for DatabaseAccounts ListUsages. */ public final class DatabaseAccountsListUsagesSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseAccountGetUsages.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseAccountGetUsages.json */ /** * Sample code: CosmosDBDatabaseAccountGetUsages. @@ -22,6 +20,6 @@ public static void cosmosDBDatabaseAccountGetUsages(com.azure.resourcemanager.Az .manager() .serviceClient() .getDatabaseAccounts() - .listUsages("rg1", "ddb1", "$filter=name.value eq 'Storage'", Context.NONE); + .listUsages("rg1", "ddb1", "$filter=name.value eq 'Storage'", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsOfflineRegionSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsOfflineRegionSamples.java index 62cddf434cb22..71dd39a84f076 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsOfflineRegionSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsOfflineRegionSamples.java @@ -4,13 +4,12 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.RegionForOnlineOffline; /** Samples for DatabaseAccounts OfflineRegion. */ public final class DatabaseAccountsOfflineRegionSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseAccountOfflineRegion.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseAccountOfflineRegion.json */ /** * Sample code: CosmosDBDatabaseAccountOfflineRegion. @@ -23,6 +22,6 @@ public static void cosmosDBDatabaseAccountOfflineRegion(com.azure.resourcemanage .manager() .serviceClient() .getDatabaseAccounts() - .offlineRegion("rg1", "ddb1", new RegionForOnlineOffline(), Context.NONE); + .offlineRegion("rg1", "ddb1", new RegionForOnlineOffline(), com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsOnlineRegionSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsOnlineRegionSamples.java index 345b8f2075881..8552505674592 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsOnlineRegionSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsOnlineRegionSamples.java @@ -4,13 +4,12 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.RegionForOnlineOffline; /** Samples for DatabaseAccounts OnlineRegion. */ public final class DatabaseAccountsOnlineRegionSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseAccountOnlineRegion.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseAccountOnlineRegion.json */ /** * Sample code: CosmosDBDatabaseAccountOnlineRegion. @@ -23,6 +22,6 @@ public static void cosmosDBDatabaseAccountOnlineRegion(com.azure.resourcemanager .manager() .serviceClient() .getDatabaseAccounts() - .onlineRegion("rg1", "ddb1", new RegionForOnlineOffline(), Context.NONE); + .onlineRegion("rg1", "ddb1", new RegionForOnlineOffline(), com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsRegenerateKeySamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsRegenerateKeySamples.java index 3fa4e0aa978ea..e83b842854773 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsRegenerateKeySamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsRegenerateKeySamples.java @@ -4,14 +4,13 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.DatabaseAccountRegenerateKeyParameters; import com.azure.resourcemanager.cosmos.models.KeyKind; /** Samples for DatabaseAccounts RegenerateKey. */ public final class DatabaseAccountsRegenerateKeySamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseAccountRegenerateKey.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseAccountRegenerateKey.json */ /** * Sample code: CosmosDBDatabaseAccountRegenerateKey. @@ -25,6 +24,9 @@ public static void cosmosDBDatabaseAccountRegenerateKey(com.azure.resourcemanage .serviceClient() .getDatabaseAccounts() .regenerateKey( - "rg1", "ddb1", new DatabaseAccountRegenerateKeyParameters().withKeyKind(KeyKind.PRIMARY), Context.NONE); + "rg1", + "ddb1", + new DatabaseAccountRegenerateKeyParameters().withKeyKind(KeyKind.PRIMARY), + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsUpdateSamples.java index b5038feca6c4d..9add59d337a9d 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseAccountsUpdateSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.AnalyticalStorageConfiguration; import com.azure.resourcemanager.cosmos.models.AnalyticalStorageSchemaType; import com.azure.resourcemanager.cosmos.models.BackupStorageRedundancy; @@ -15,6 +14,7 @@ import com.azure.resourcemanager.cosmos.models.IpAddressOrRange; import com.azure.resourcemanager.cosmos.models.ManagedServiceIdentity; import com.azure.resourcemanager.cosmos.models.ManagedServiceIdentityUserAssignedIdentities; +import com.azure.resourcemanager.cosmos.models.MinimalTlsVersion; import com.azure.resourcemanager.cosmos.models.NetworkAclBypass; import com.azure.resourcemanager.cosmos.models.PeriodicModeBackupPolicy; import com.azure.resourcemanager.cosmos.models.PeriodicModeProperties; @@ -27,7 +27,7 @@ /** Samples for DatabaseAccounts Update. */ public final class DatabaseAccountsUpdateSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseAccountPatch.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseAccountPatch.json */ /** * Sample code: CosmosDBDatabaseAccountPatch. @@ -89,8 +89,9 @@ public static void cosmosDBDatabaseAccountPatch(com.azure.resourcemanager.AzureR .asList( "/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.Synapse/workspaces/workspaceName")) .withCapacity(new Capacity().withTotalThroughputLimit(2000)) - .withEnablePartitionMerge(true), - Context.NONE); + .withEnablePartitionMerge(true) + .withMinimalTlsVersion(MinimalTlsVersion.TLS), + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseListMetricDefinitionsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseListMetricDefinitionsSamples.java index 28b0581420ba4..1cc7e220a3d0e 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseListMetricDefinitionsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseListMetricDefinitionsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for Database ListMetricDefinitions. */ public final class DatabaseListMetricDefinitionsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseGetMetricDefinitions.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseGetMetricDefinitions.json */ /** * Sample code: CosmosDBDatabaseGetMetricDefinitions. @@ -22,6 +20,6 @@ public static void cosmosDBDatabaseGetMetricDefinitions(com.azure.resourcemanage .manager() .serviceClient() .getDatabases() - .listMetricDefinitions("rg1", "ddb1", "databaseRid", Context.NONE); + .listMetricDefinitions("rg1", "ddb1", "databaseRid", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseListMetricsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseListMetricsSamples.java index a9c928e4bc6e4..14b80707ed19b 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseListMetricsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseListMetricsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for Database ListMetrics. */ public final class DatabaseListMetricsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseGetMetrics.json */ /** * Sample code: CosmosDBDatabaseGetMetrics. @@ -28,6 +26,6 @@ public static void cosmosDBDatabaseGetMetrics(com.azure.resourcemanager.AzureRes "rid", "$filter=(name.value eq 'Total Requests') and timeGrain eq duration'PT5M' and startTime eq" + " '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z", - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseListUsagesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseListUsagesSamples.java index 8c14c701a46fe..92135d784e4ea 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseListUsagesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/DatabaseListUsagesSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for Database ListUsages. */ public final class DatabaseListUsagesSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDatabaseGetUsages.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDatabaseGetUsages.json */ /** * Sample code: CosmosDBDatabaseGetUsages. @@ -22,6 +20,7 @@ public static void cosmosDBDatabaseGetUsages(com.azure.resourcemanager.AzureReso .manager() .serviceClient() .getDatabases() - .listUsages("rg1", "ddb1", "databaseRid", "$filter=name.value eq 'Storage'", Context.NONE); + .listUsages( + "rg1", "ddb1", "databaseRid", "$filter=name.value eq 'Storage'", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesCreateUpdateGremlinDatabaseSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesCreateUpdateGremlinDatabaseSamples.java index e553181fad996..33e65f19efbaa 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesCreateUpdateGremlinDatabaseSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesCreateUpdateGremlinDatabaseSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.CreateUpdateOptions; import com.azure.resourcemanager.cosmos.models.GremlinDatabaseCreateUpdateParameters; import com.azure.resourcemanager.cosmos.models.GremlinDatabaseResource; @@ -14,7 +13,7 @@ /** Samples for GremlinResources CreateUpdateGremlinDatabase. */ public final class GremlinResourcesCreateUpdateGremlinDatabaseSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBGremlinDatabaseCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBGremlinDatabaseCreateUpdate.json */ /** * Sample code: CosmosDBGremlinDatabaseCreateUpdate. @@ -36,7 +35,7 @@ public static void cosmosDBGremlinDatabaseCreateUpdate(com.azure.resourcemanager .withTags(mapOf()) .withResource(new GremlinDatabaseResource().withId("databaseName")) .withOptions(new CreateUpdateOptions()), - Context.NONE); + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesCreateUpdateGremlinGraphSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesCreateUpdateGremlinGraphSamples.java index 1b83384ccd973..a2a4d9af00ebb 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesCreateUpdateGremlinGraphSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesCreateUpdateGremlinGraphSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.ConflictResolutionMode; import com.azure.resourcemanager.cosmos.models.ConflictResolutionPolicy; import com.azure.resourcemanager.cosmos.models.ContainerPartitionKey; @@ -27,7 +26,7 @@ /** Samples for GremlinResources CreateUpdateGremlinGraph. */ public final class GremlinResourcesCreateUpdateGremlinGraphSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBGremlinGraphCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBGremlinGraphCreateUpdate.json */ /** * Sample code: CosmosDBGremlinGraphCreateUpdate. @@ -86,7 +85,7 @@ public static void cosmosDBGremlinGraphCreateUpdate(com.azure.resourcemanager.Az .withMode(ConflictResolutionMode.LAST_WRITER_WINS) .withConflictResolutionPath("/path"))) .withOptions(new CreateUpdateOptions()), - Context.NONE); + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesDeleteGremlinDatabaseSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesDeleteGremlinDatabaseSamples.java index 94aa0a66b1ec8..69b0308d72be6 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesDeleteGremlinDatabaseSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesDeleteGremlinDatabaseSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for GremlinResources DeleteGremlinDatabase. */ public final class GremlinResourcesDeleteGremlinDatabaseSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBGremlinDatabaseDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBGremlinDatabaseDelete.json */ /** * Sample code: CosmosDBGremlinDatabaseDelete. @@ -22,6 +20,6 @@ public static void cosmosDBGremlinDatabaseDelete(com.azure.resourcemanager.Azure .manager() .serviceClient() .getGremlinResources() - .deleteGremlinDatabase("rg1", "ddb1", "databaseName", Context.NONE); + .deleteGremlinDatabase("rg1", "ddb1", "databaseName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesDeleteGremlinGraphSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesDeleteGremlinGraphSamples.java index eb1ede6a117eb..bd33b58ddcc96 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesDeleteGremlinGraphSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesDeleteGremlinGraphSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for GremlinResources DeleteGremlinGraph. */ public final class GremlinResourcesDeleteGremlinGraphSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBGremlinGraphDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBGremlinGraphDelete.json */ /** * Sample code: CosmosDBGremlinGraphDelete. @@ -22,6 +20,6 @@ public static void cosmosDBGremlinGraphDelete(com.azure.resourcemanager.AzureRes .manager() .serviceClient() .getGremlinResources() - .deleteGremlinGraph("rg1", "ddb1", "databaseName", "graphName", Context.NONE); + .deleteGremlinGraph("rg1", "ddb1", "databaseName", "graphName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesGetGremlinDatabaseSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesGetGremlinDatabaseSamples.java index 3c79da38cd130..f00c9774aae05 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesGetGremlinDatabaseSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesGetGremlinDatabaseSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for GremlinResources GetGremlinDatabase. */ public final class GremlinResourcesGetGremlinDatabaseSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBGremlinDatabaseGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBGremlinDatabaseGet.json */ /** * Sample code: CosmosDBGremlinDatabaseGet. @@ -22,6 +20,6 @@ public static void cosmosDBGremlinDatabaseGet(com.azure.resourcemanager.AzureRes .manager() .serviceClient() .getGremlinResources() - .getGremlinDatabaseWithResponse("rg1", "ddb1", "databaseName", Context.NONE); + .getGremlinDatabaseWithResponse("rg1", "ddb1", "databaseName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesGetGremlinDatabaseThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesGetGremlinDatabaseThroughputSamples.java index 2d18c4c73d4e2..7835df362755d 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesGetGremlinDatabaseThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesGetGremlinDatabaseThroughputSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for GremlinResources GetGremlinDatabaseThroughput. */ public final class GremlinResourcesGetGremlinDatabaseThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBGremlinDatabaseThroughputGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBGremlinDatabaseThroughputGet.json */ /** * Sample code: CosmosDBGremlinDatabaseThroughputGet. @@ -22,6 +20,6 @@ public static void cosmosDBGremlinDatabaseThroughputGet(com.azure.resourcemanage .manager() .serviceClient() .getGremlinResources() - .getGremlinDatabaseThroughputWithResponse("rg1", "ddb1", "databaseName", Context.NONE); + .getGremlinDatabaseThroughputWithResponse("rg1", "ddb1", "databaseName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesGetGremlinGraphSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesGetGremlinGraphSamples.java index 0e6b13807010a..2af5feba0d68e 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesGetGremlinGraphSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesGetGremlinGraphSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for GremlinResources GetGremlinGraph. */ public final class GremlinResourcesGetGremlinGraphSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBGremlinGraphGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBGremlinGraphGet.json */ /** * Sample code: CosmosDBGremlinGraphGet. @@ -22,6 +20,7 @@ public static void cosmosDBGremlinGraphGet(com.azure.resourcemanager.AzureResour .manager() .serviceClient() .getGremlinResources() - .getGremlinGraphWithResponse("rgName", "ddb1", "databaseName", "graphName", Context.NONE); + .getGremlinGraphWithResponse( + "rgName", "ddb1", "databaseName", "graphName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesGetGremlinGraphThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesGetGremlinGraphThroughputSamples.java index c127d3e721921..f408a8c4214da 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesGetGremlinGraphThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesGetGremlinGraphThroughputSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for GremlinResources GetGremlinGraphThroughput. */ public final class GremlinResourcesGetGremlinGraphThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBGremlinGraphThroughputGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBGremlinGraphThroughputGet.json */ /** * Sample code: CosmosDBGremlinGraphThroughputGet. @@ -22,6 +20,7 @@ public static void cosmosDBGremlinGraphThroughputGet(com.azure.resourcemanager.A .manager() .serviceClient() .getGremlinResources() - .getGremlinGraphThroughputWithResponse("rg1", "ddb1", "databaseName", "graphName", Context.NONE); + .getGremlinGraphThroughputWithResponse( + "rg1", "ddb1", "databaseName", "graphName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesListGremlinDatabasesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesListGremlinDatabasesSamples.java index 11c4f9f545550..8823b7e7f3599 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesListGremlinDatabasesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesListGremlinDatabasesSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for GremlinResources ListGremlinDatabases. */ public final class GremlinResourcesListGremlinDatabasesSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBGremlinDatabaseList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBGremlinDatabaseList.json */ /** * Sample code: CosmosDBGremlinDatabaseList. @@ -22,6 +20,6 @@ public static void cosmosDBGremlinDatabaseList(com.azure.resourcemanager.AzureRe .manager() .serviceClient() .getGremlinResources() - .listGremlinDatabases("rgName", "ddb1", Context.NONE); + .listGremlinDatabases("rgName", "ddb1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesListGremlinGraphsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesListGremlinGraphsSamples.java index 9a52a4d9eb73f..93409dcd45788 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesListGremlinGraphsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesListGremlinGraphsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for GremlinResources ListGremlinGraphs. */ public final class GremlinResourcesListGremlinGraphsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBGremlinGraphList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBGremlinGraphList.json */ /** * Sample code: CosmosDBGremlinGraphList. @@ -22,6 +20,6 @@ public static void cosmosDBGremlinGraphList(com.azure.resourcemanager.AzureResou .manager() .serviceClient() .getGremlinResources() - .listGremlinGraphs("rgName", "ddb1", "databaseName", Context.NONE); + .listGremlinGraphs("rgName", "ddb1", "databaseName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesMigrateGremlinDatabaseToAutoscaleSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesMigrateGremlinDatabaseToAutoscaleSamples.java index 19fde8655474f..5bd14854ce161 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesMigrateGremlinDatabaseToAutoscaleSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesMigrateGremlinDatabaseToAutoscaleSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for GremlinResources MigrateGremlinDatabaseToAutoscale. */ public final class GremlinResourcesMigrateGremlinDatabaseToAutoscaleSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBGremlinDatabaseMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBGremlinDatabaseMigrateToAutoscale.json */ /** * Sample code: CosmosDBGremlinDatabaseMigrateToAutoscale. @@ -22,6 +20,6 @@ public static void cosmosDBGremlinDatabaseMigrateToAutoscale(com.azure.resourcem .manager() .serviceClient() .getGremlinResources() - .migrateGremlinDatabaseToAutoscale("rg1", "ddb1", "databaseName", Context.NONE); + .migrateGremlinDatabaseToAutoscale("rg1", "ddb1", "databaseName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesMigrateGremlinDatabaseToManualThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesMigrateGremlinDatabaseToManualThroughputSamples.java index 2872223afb50a..e1ba9e3460c92 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesMigrateGremlinDatabaseToManualThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesMigrateGremlinDatabaseToManualThroughputSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for GremlinResources MigrateGremlinDatabaseToManualThroughput. */ public final class GremlinResourcesMigrateGremlinDatabaseToManualThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBGremlinDatabaseMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBGremlinDatabaseMigrateToManualThroughput.json */ /** * Sample code: CosmosDBGremlinDatabaseMigrateToManualThroughput. @@ -23,6 +21,6 @@ public static void cosmosDBGremlinDatabaseMigrateToManualThroughput( .manager() .serviceClient() .getGremlinResources() - .migrateGremlinDatabaseToManualThroughput("rg1", "ddb1", "databaseName", Context.NONE); + .migrateGremlinDatabaseToManualThroughput("rg1", "ddb1", "databaseName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesMigrateGremlinGraphToAutoscaleSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesMigrateGremlinGraphToAutoscaleSamples.java index 804ffa15981d1..bfee1de7ede1c 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesMigrateGremlinGraphToAutoscaleSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesMigrateGremlinGraphToAutoscaleSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for GremlinResources MigrateGremlinGraphToAutoscale. */ public final class GremlinResourcesMigrateGremlinGraphToAutoscaleSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBGremlinGraphMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBGremlinGraphMigrateToAutoscale.json */ /** * Sample code: CosmosDBGremlinGraphMigrateToAutoscale. @@ -22,6 +20,7 @@ public static void cosmosDBGremlinGraphMigrateToAutoscale(com.azure.resourcemana .manager() .serviceClient() .getGremlinResources() - .migrateGremlinGraphToAutoscale("rg1", "ddb1", "databaseName", "graphName", Context.NONE); + .migrateGremlinGraphToAutoscale( + "rg1", "ddb1", "databaseName", "graphName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesMigrateGremlinGraphToManualThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesMigrateGremlinGraphToManualThroughputSamples.java index d812e261fde94..1a1066fe46cc8 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesMigrateGremlinGraphToManualThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesMigrateGremlinGraphToManualThroughputSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for GremlinResources MigrateGremlinGraphToManualThroughput. */ public final class GremlinResourcesMigrateGremlinGraphToManualThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBGremlinGraphMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBGremlinGraphMigrateToManualThroughput.json */ /** * Sample code: CosmosDBGremlinGraphMigrateToManualThroughput. @@ -23,6 +21,7 @@ public static void cosmosDBGremlinGraphMigrateToManualThroughput( .manager() .serviceClient() .getGremlinResources() - .migrateGremlinGraphToManualThroughput("rg1", "ddb1", "databaseName", "graphName", Context.NONE); + .migrateGremlinGraphToManualThroughput( + "rg1", "ddb1", "databaseName", "graphName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesRetrieveContinuousBackupInformationSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesRetrieveContinuousBackupInformationSamples.java new file mode 100644 index 0000000000000..b8e20e5efb44c --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesRetrieveContinuousBackupInformationSamples.java @@ -0,0 +1,33 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.generated; + +import com.azure.resourcemanager.cosmos.models.ContinuousBackupRestoreLocation; + +/** Samples for GremlinResources RetrieveContinuousBackupInformation. */ +public final class GremlinResourcesRetrieveContinuousBackupInformationSamples { + /* + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBGremlinGraphBackupInformation.json + */ + /** + * Sample code: CosmosDBGremlinGraphBackupInformation. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void cosmosDBGremlinGraphBackupInformation(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .cosmosDBAccounts() + .manager() + .serviceClient() + .getGremlinResources() + .retrieveContinuousBackupInformation( + "rgName", + "ddb1", + "databaseName", + "graphName", + new ContinuousBackupRestoreLocation().withLocation("North Europe"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesUpdateGremlinDatabaseThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesUpdateGremlinDatabaseThroughputSamples.java index 86687a7a3e615..bd37bf471b18e 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesUpdateGremlinDatabaseThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesUpdateGremlinDatabaseThroughputSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.ThroughputSettingsResource; import com.azure.resourcemanager.cosmos.models.ThroughputSettingsUpdateParameters; import java.util.HashMap; @@ -13,7 +12,7 @@ /** Samples for GremlinResources UpdateGremlinDatabaseThroughput. */ public final class GremlinResourcesUpdateGremlinDatabaseThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBGremlinDatabaseThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBGremlinDatabaseThroughputUpdate.json */ /** * Sample code: CosmosDBGremlinDatabaseThroughputUpdate. @@ -34,7 +33,7 @@ public static void cosmosDBGremlinDatabaseThroughputUpdate(com.azure.resourceman .withLocation("West US") .withTags(mapOf()) .withResource(new ThroughputSettingsResource().withThroughput(400)), - Context.NONE); + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesUpdateGremlinGraphThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesUpdateGremlinGraphThroughputSamples.java index cdb374bb7a780..ae7235ee8bc6d 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesUpdateGremlinGraphThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/GremlinResourcesUpdateGremlinGraphThroughputSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.ThroughputSettingsResource; import com.azure.resourcemanager.cosmos.models.ThroughputSettingsUpdateParameters; import java.util.HashMap; @@ -13,7 +12,7 @@ /** Samples for GremlinResources UpdateGremlinGraphThroughput. */ public final class GremlinResourcesUpdateGremlinGraphThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBGremlinGraphThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBGremlinGraphThroughputUpdate.json */ /** * Sample code: CosmosDBGremlinGraphThroughputUpdate. @@ -35,7 +34,7 @@ public static void cosmosDBGremlinGraphThroughputUpdate(com.azure.resourcemanage .withLocation("West US") .withTags(mapOf()) .withResource(new ThroughputSettingsResource().withThroughput(400)), - Context.NONE); + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/LocationsGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/LocationsGetSamples.java index b3bcc3d606101..ac3b2f4e766b6 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/LocationsGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/LocationsGetSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for Locations Get. */ public final class LocationsGetSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBLocationGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBLocationGet.json */ /** * Sample code: CosmosDBLocationGet. @@ -17,6 +15,11 @@ public final class LocationsGetSamples { * @param azure The entry point for accessing resource management APIs in Azure. */ public static void cosmosDBLocationGet(com.azure.resourcemanager.AzureResourceManager azure) { - azure.cosmosDBAccounts().manager().serviceClient().getLocations().getWithResponse("westus", Context.NONE); + azure + .cosmosDBAccounts() + .manager() + .serviceClient() + .getLocations() + .getWithResponse("westus", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/LocationsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/LocationsListSamples.java index a0117df551c08..dd0e90664c441 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/LocationsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/LocationsListSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for Locations List. */ public final class LocationsListSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBLocationList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBLocationList.json */ /** * Sample code: CosmosDBLocationList. @@ -17,6 +15,6 @@ public final class LocationsListSamples { * @param azure The entry point for accessing resource management APIs in Azure. */ public static void cosmosDBLocationList(com.azure.resourcemanager.AzureResourceManager azure) { - azure.cosmosDBAccounts().manager().serviceClient().getLocations().list(Context.NONE); + azure.cosmosDBAccounts().manager().serviceClient().getLocations().list(com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesCreateUpdateMongoDBCollectionSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesCreateUpdateMongoDBCollectionSamples.java index 532ccc9d42f25..90dca82123778 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesCreateUpdateMongoDBCollectionSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesCreateUpdateMongoDBCollectionSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.CreateUpdateOptions; import com.azure.resourcemanager.cosmos.models.MongoDBCollectionCreateUpdateParameters; import com.azure.resourcemanager.cosmos.models.MongoDBCollectionResource; @@ -18,7 +17,7 @@ /** Samples for MongoDBResources CreateUpdateMongoDBCollection. */ public final class MongoDBResourcesCreateUpdateMongoDBCollectionSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBCollectionCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBCollectionCreateUpdate.json */ /** * Sample code: CosmosDBMongoDBCollectionCreateUpdate. @@ -52,7 +51,7 @@ public static void cosmosDBMongoDBCollectionCreateUpdate(com.azure.resourcemanag new MongoIndexOptions().withExpireAfterSeconds(100).withUnique(true)), new MongoIndex().withKey(new MongoIndexKeys().withKeys(Arrays.asList("_id")))))) .withOptions(new CreateUpdateOptions()), - Context.NONE); + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesCreateUpdateMongoDBDatabaseSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesCreateUpdateMongoDBDatabaseSamples.java index 55059c800fba2..7d572fef3f15e 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesCreateUpdateMongoDBDatabaseSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesCreateUpdateMongoDBDatabaseSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.CreateUpdateOptions; import com.azure.resourcemanager.cosmos.models.MongoDBDatabaseCreateUpdateParameters; import com.azure.resourcemanager.cosmos.models.MongoDBDatabaseResource; @@ -14,7 +13,7 @@ /** Samples for MongoDBResources CreateUpdateMongoDBDatabase. */ public final class MongoDBResourcesCreateUpdateMongoDBDatabaseSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBDatabaseCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBDatabaseCreateUpdate.json */ /** * Sample code: CosmosDBMongoDBDatabaseCreateUpdate. @@ -36,7 +35,7 @@ public static void cosmosDBMongoDBDatabaseCreateUpdate(com.azure.resourcemanager .withTags(mapOf()) .withResource(new MongoDBDatabaseResource().withId("databaseName")) .withOptions(new CreateUpdateOptions()), - Context.NONE); + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesCreateUpdateMongoRoleDefinitionSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesCreateUpdateMongoRoleDefinitionSamples.java index 44c8a97e193ec..e8892320f8b2a 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesCreateUpdateMongoRoleDefinitionSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesCreateUpdateMongoRoleDefinitionSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.MongoRoleDefinitionCreateUpdateParameters; import com.azure.resourcemanager.cosmos.models.Privilege; import com.azure.resourcemanager.cosmos.models.PrivilegeResource; @@ -14,7 +13,7 @@ /** Samples for MongoDBResources CreateUpdateMongoRoleDefinition. */ public final class MongoDBResourcesCreateUpdateMongoRoleDefinitionSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBRoleDefinitionCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBRoleDefinitionCreateUpdate.json */ /** * Sample code: CosmosDBMongoDBRoleDefinitionCreateUpdate. @@ -41,6 +40,6 @@ public static void cosmosDBMongoDBRoleDefinitionCreateUpdate(com.azure.resourcem .withResource(new PrivilegeResource().withDb("sales").withCollection("sales")) .withActions(Arrays.asList("insert", "find")))) .withRoles(Arrays.asList(new Role().withDb("sales").withRole("myInheritedRole"))), - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesCreateUpdateMongoUserDefinitionSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesCreateUpdateMongoUserDefinitionSamples.java index a3a0f0bf05f0b..bb20990707d1a 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesCreateUpdateMongoUserDefinitionSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesCreateUpdateMongoUserDefinitionSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.MongoUserDefinitionCreateUpdateParameters; import com.azure.resourcemanager.cosmos.models.Role; import java.util.Arrays; @@ -12,7 +11,7 @@ /** Samples for MongoDBResources CreateUpdateMongoUserDefinition. */ public final class MongoDBResourcesCreateUpdateMongoUserDefinitionSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBUserDefinitionCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBUserDefinitionCreateUpdate.json */ /** * Sample code: CosmosDBMongoDBUserDefinitionCreateUpdate. @@ -31,11 +30,11 @@ public static void cosmosDBMongoDBUserDefinitionCreateUpdate(com.azure.resourcem "myAccountName", new MongoUserDefinitionCreateUpdateParameters() .withUsername("myUserName") - .withPassword("myPassword") + .withPassword("fakeTokenPlaceholder") .withDatabaseName("sales") .withCustomData("My custom data") .withRoles(Arrays.asList(new Role().withDb("sales").withRole("myReadRole"))) .withMechanisms("SCRAM-SHA-256"), - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesDeleteMongoDBCollectionSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesDeleteMongoDBCollectionSamples.java index 2599d01c6d6fa..e1eb15ad8d897 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesDeleteMongoDBCollectionSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesDeleteMongoDBCollectionSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for MongoDBResources DeleteMongoDBCollection. */ public final class MongoDBResourcesDeleteMongoDBCollectionSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBCollectionDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBCollectionDelete.json */ /** * Sample code: CosmosDBMongoDBCollectionDelete. @@ -22,6 +20,6 @@ public static void cosmosDBMongoDBCollectionDelete(com.azure.resourcemanager.Azu .manager() .serviceClient() .getMongoDBResources() - .deleteMongoDBCollection("rg1", "ddb1", "databaseName", "collectionName", Context.NONE); + .deleteMongoDBCollection("rg1", "ddb1", "databaseName", "collectionName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesDeleteMongoDBDatabaseSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesDeleteMongoDBDatabaseSamples.java index ae6fbb4203f21..9aa0cbbe76618 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesDeleteMongoDBDatabaseSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesDeleteMongoDBDatabaseSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for MongoDBResources DeleteMongoDBDatabase. */ public final class MongoDBResourcesDeleteMongoDBDatabaseSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBDatabaseDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBDatabaseDelete.json */ /** * Sample code: CosmosDBMongoDBDatabaseDelete. @@ -22,6 +20,6 @@ public static void cosmosDBMongoDBDatabaseDelete(com.azure.resourcemanager.Azure .manager() .serviceClient() .getMongoDBResources() - .deleteMongoDBDatabase("rg1", "ddb1", "databaseName", Context.NONE); + .deleteMongoDBDatabase("rg1", "ddb1", "databaseName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesDeleteMongoRoleDefinitionSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesDeleteMongoRoleDefinitionSamples.java index a096989f7aa91..9e78f0cb7a884 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesDeleteMongoRoleDefinitionSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesDeleteMongoRoleDefinitionSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for MongoDBResources DeleteMongoRoleDefinition. */ public final class MongoDBResourcesDeleteMongoRoleDefinitionSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBRoleDefinitionDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBRoleDefinitionDelete.json */ /** * Sample code: CosmosDBMongoDBRoleDefinitionDelete. @@ -22,6 +20,7 @@ public static void cosmosDBMongoDBRoleDefinitionDelete(com.azure.resourcemanager .manager() .serviceClient() .getMongoDBResources() - .deleteMongoRoleDefinition("myMongoRoleDefinitionId", "myResourceGroupName", "myAccountName", Context.NONE); + .deleteMongoRoleDefinition( + "myMongoRoleDefinitionId", "myResourceGroupName", "myAccountName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesDeleteMongoUserDefinitionSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesDeleteMongoUserDefinitionSamples.java index aa7ef7a3aa98f..fa17489906675 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesDeleteMongoUserDefinitionSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesDeleteMongoUserDefinitionSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for MongoDBResources DeleteMongoUserDefinition. */ public final class MongoDBResourcesDeleteMongoUserDefinitionSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBUserDefinitionDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBUserDefinitionDelete.json */ /** * Sample code: CosmosDBMongoDBUserDefinitionDelete. @@ -22,6 +20,7 @@ public static void cosmosDBMongoDBUserDefinitionDelete(com.azure.resourcemanager .manager() .serviceClient() .getMongoDBResources() - .deleteMongoUserDefinition("myMongoUserDefinitionId", "myResourceGroupName", "myAccountName", Context.NONE); + .deleteMongoUserDefinition( + "myMongoUserDefinitionId", "myResourceGroupName", "myAccountName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoDBCollectionSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoDBCollectionSamples.java index bac871dbc3ee1..316b32fe2c03f 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoDBCollectionSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoDBCollectionSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for MongoDBResources GetMongoDBCollection. */ public final class MongoDBResourcesGetMongoDBCollectionSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBCollectionGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBCollectionGet.json */ /** * Sample code: CosmosDBMongoDBCollectionGet. @@ -22,6 +20,7 @@ public static void cosmosDBMongoDBCollectionGet(com.azure.resourcemanager.AzureR .manager() .serviceClient() .getMongoDBResources() - .getMongoDBCollectionWithResponse("rgName", "ddb1", "databaseName", "collectionName", Context.NONE); + .getMongoDBCollectionWithResponse( + "rgName", "ddb1", "databaseName", "collectionName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoDBCollectionThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoDBCollectionThroughputSamples.java index 324d4497f4fcf..9b2bef4d4a3d0 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoDBCollectionThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoDBCollectionThroughputSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for MongoDBResources GetMongoDBCollectionThroughput. */ public final class MongoDBResourcesGetMongoDBCollectionThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBCollectionThroughputGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBCollectionThroughputGet.json */ /** * Sample code: CosmosDBMongoDBCollectionThroughputGet. @@ -22,6 +20,7 @@ public static void cosmosDBMongoDBCollectionThroughputGet(com.azure.resourcemana .manager() .serviceClient() .getMongoDBResources() - .getMongoDBCollectionThroughputWithResponse("rg1", "ddb1", "databaseName", "collectionName", Context.NONE); + .getMongoDBCollectionThroughputWithResponse( + "rg1", "ddb1", "databaseName", "collectionName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoDBDatabaseSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoDBDatabaseSamples.java index 2f26afdd529e5..d296f4e49140a 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoDBDatabaseSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoDBDatabaseSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for MongoDBResources GetMongoDBDatabase. */ public final class MongoDBResourcesGetMongoDBDatabaseSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBDatabaseGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBDatabaseGet.json */ /** * Sample code: CosmosDBMongoDBDatabaseGet. @@ -22,6 +20,6 @@ public static void cosmosDBMongoDBDatabaseGet(com.azure.resourcemanager.AzureRes .manager() .serviceClient() .getMongoDBResources() - .getMongoDBDatabaseWithResponse("rg1", "ddb1", "databaseName", Context.NONE); + .getMongoDBDatabaseWithResponse("rg1", "ddb1", "databaseName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoDBDatabaseThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoDBDatabaseThroughputSamples.java index d7bb3ce2505b0..b12512ea3d4a0 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoDBDatabaseThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoDBDatabaseThroughputSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for MongoDBResources GetMongoDBDatabaseThroughput. */ public final class MongoDBResourcesGetMongoDBDatabaseThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBDatabaseThroughputGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBDatabaseThroughputGet.json */ /** * Sample code: CosmosDBMongoDBDatabaseThroughputGet. @@ -22,6 +20,6 @@ public static void cosmosDBMongoDBDatabaseThroughputGet(com.azure.resourcemanage .manager() .serviceClient() .getMongoDBResources() - .getMongoDBDatabaseThroughputWithResponse("rg1", "ddb1", "databaseName", Context.NONE); + .getMongoDBDatabaseThroughputWithResponse("rg1", "ddb1", "databaseName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoRoleDefinitionSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoRoleDefinitionSamples.java index 7727024427348..7bb58be8ec155 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoRoleDefinitionSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoRoleDefinitionSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for MongoDBResources GetMongoRoleDefinition. */ public final class MongoDBResourcesGetMongoRoleDefinitionSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBRoleDefinitionGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBRoleDefinitionGet.json */ /** * Sample code: CosmosDBMongoRoleDefinitionGet. @@ -23,6 +21,6 @@ public static void cosmosDBMongoRoleDefinitionGet(com.azure.resourcemanager.Azur .serviceClient() .getMongoDBResources() .getMongoRoleDefinitionWithResponse( - "myMongoRoleDefinitionId", "myResourceGroupName", "myAccountName", Context.NONE); + "myMongoRoleDefinitionId", "myResourceGroupName", "myAccountName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoUserDefinitionSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoUserDefinitionSamples.java index 52369abf5d721..82d543a71cb68 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoUserDefinitionSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesGetMongoUserDefinitionSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for MongoDBResources GetMongoUserDefinition. */ public final class MongoDBResourcesGetMongoUserDefinitionSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBUserDefinitionGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBUserDefinitionGet.json */ /** * Sample code: CosmosDBMongoDBUserDefinitionGet. @@ -23,6 +21,6 @@ public static void cosmosDBMongoDBUserDefinitionGet(com.azure.resourcemanager.Az .serviceClient() .getMongoDBResources() .getMongoUserDefinitionWithResponse( - "myMongoUserDefinitionId", "myResourceGroupName", "myAccountName", Context.NONE); + "myMongoUserDefinitionId", "myResourceGroupName", "myAccountName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesListMongoDBCollectionsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesListMongoDBCollectionsSamples.java index a9f1496208777..f200bad297a74 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesListMongoDBCollectionsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesListMongoDBCollectionsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for MongoDBResources ListMongoDBCollections. */ public final class MongoDBResourcesListMongoDBCollectionsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBCollectionList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBCollectionList.json */ /** * Sample code: CosmosDBMongoDBCollectionList. @@ -22,6 +20,6 @@ public static void cosmosDBMongoDBCollectionList(com.azure.resourcemanager.Azure .manager() .serviceClient() .getMongoDBResources() - .listMongoDBCollections("rgName", "ddb1", "databaseName", Context.NONE); + .listMongoDBCollections("rgName", "ddb1", "databaseName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesListMongoDBDatabasesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesListMongoDBDatabasesSamples.java index 766f3c1eefc1b..c03058868f070 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesListMongoDBDatabasesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesListMongoDBDatabasesSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for MongoDBResources ListMongoDBDatabases. */ public final class MongoDBResourcesListMongoDBDatabasesSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBDatabaseList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBDatabaseList.json */ /** * Sample code: CosmosDBMongoDBDatabaseList. @@ -22,6 +20,6 @@ public static void cosmosDBMongoDBDatabaseList(com.azure.resourcemanager.AzureRe .manager() .serviceClient() .getMongoDBResources() - .listMongoDBDatabases("rgName", "ddb1", Context.NONE); + .listMongoDBDatabases("rgName", "ddb1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesListMongoRoleDefinitionsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesListMongoRoleDefinitionsSamples.java index 8eaa25856c1a0..6bdc6434bbf0b 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesListMongoRoleDefinitionsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesListMongoRoleDefinitionsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for MongoDBResources ListMongoRoleDefinitions. */ public final class MongoDBResourcesListMongoRoleDefinitionsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBRoleDefinitionList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBRoleDefinitionList.json */ /** * Sample code: CosmosDBMongoDBRoleDefinitionList. @@ -22,6 +20,6 @@ public static void cosmosDBMongoDBRoleDefinitionList(com.azure.resourcemanager.A .manager() .serviceClient() .getMongoDBResources() - .listMongoRoleDefinitions("myResourceGroupName", "myAccountName", Context.NONE); + .listMongoRoleDefinitions("myResourceGroupName", "myAccountName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesListMongoUserDefinitionsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesListMongoUserDefinitionsSamples.java index 4ee9301d28bf8..14383844455b7 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesListMongoUserDefinitionsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesListMongoUserDefinitionsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for MongoDBResources ListMongoUserDefinitions. */ public final class MongoDBResourcesListMongoUserDefinitionsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBUserDefinitionList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBUserDefinitionList.json */ /** * Sample code: CosmosDBMongoDBUserDefinitionList. @@ -22,6 +20,6 @@ public static void cosmosDBMongoDBUserDefinitionList(com.azure.resourcemanager.A .manager() .serviceClient() .getMongoDBResources() - .listMongoUserDefinitions("myResourceGroupName", "myAccountName", Context.NONE); + .listMongoUserDefinitions("myResourceGroupName", "myAccountName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesMigrateMongoDBCollectionToAutoscaleSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesMigrateMongoDBCollectionToAutoscaleSamples.java index 6cd1bf1c2fefe..6adfb24a520ea 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesMigrateMongoDBCollectionToAutoscaleSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesMigrateMongoDBCollectionToAutoscaleSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for MongoDBResources MigrateMongoDBCollectionToAutoscale. */ public final class MongoDBResourcesMigrateMongoDBCollectionToAutoscaleSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBCollectionMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBCollectionMigrateToAutoscale.json */ /** * Sample code: CosmosDBMongoDBCollectionMigrateToAutoscale. @@ -23,6 +21,7 @@ public static void cosmosDBMongoDBCollectionMigrateToAutoscale( .manager() .serviceClient() .getMongoDBResources() - .migrateMongoDBCollectionToAutoscale("rg1", "ddb1", "databaseName", "collectionName", Context.NONE); + .migrateMongoDBCollectionToAutoscale( + "rg1", "ddb1", "databaseName", "collectionName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesMigrateMongoDBCollectionToManualThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesMigrateMongoDBCollectionToManualThroughputSamples.java index 87fbc08102956..1d3862aaa7cb9 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesMigrateMongoDBCollectionToManualThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesMigrateMongoDBCollectionToManualThroughputSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for MongoDBResources MigrateMongoDBCollectionToManualThroughput. */ public final class MongoDBResourcesMigrateMongoDBCollectionToManualThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBCollectionMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBCollectionMigrateToManualThroughput.json */ /** * Sample code: CosmosDBMongoDBCollectionMigrateToManualThroughput. @@ -23,6 +21,7 @@ public static void cosmosDBMongoDBCollectionMigrateToManualThroughput( .manager() .serviceClient() .getMongoDBResources() - .migrateMongoDBCollectionToManualThroughput("rg1", "ddb1", "databaseName", "collectionName", Context.NONE); + .migrateMongoDBCollectionToManualThroughput( + "rg1", "ddb1", "databaseName", "collectionName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesMigrateMongoDBDatabaseToAutoscaleSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesMigrateMongoDBDatabaseToAutoscaleSamples.java index 11d56e0ff9714..902d32d59199a 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesMigrateMongoDBDatabaseToAutoscaleSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesMigrateMongoDBDatabaseToAutoscaleSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for MongoDBResources MigrateMongoDBDatabaseToAutoscale. */ public final class MongoDBResourcesMigrateMongoDBDatabaseToAutoscaleSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBDatabaseMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBDatabaseMigrateToAutoscale.json */ /** * Sample code: CosmosDBMongoDBDatabaseMigrateToAutoscale. @@ -22,6 +20,6 @@ public static void cosmosDBMongoDBDatabaseMigrateToAutoscale(com.azure.resourcem .manager() .serviceClient() .getMongoDBResources() - .migrateMongoDBDatabaseToAutoscale("rg1", "ddb1", "databaseName", Context.NONE); + .migrateMongoDBDatabaseToAutoscale("rg1", "ddb1", "databaseName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputSamples.java index 341a1024f2c24..55149c7fdff5b 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for MongoDBResources MigrateMongoDBDatabaseToManualThroughput. */ public final class MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBDatabaseMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBDatabaseMigrateToManualThroughput.json */ /** * Sample code: CosmosDBMongoDBDatabaseMigrateToManualThroughput. @@ -23,6 +21,6 @@ public static void cosmosDBMongoDBDatabaseMigrateToManualThroughput( .manager() .serviceClient() .getMongoDBResources() - .migrateMongoDBDatabaseToManualThroughput("rg1", "ddb1", "databaseName", Context.NONE); + .migrateMongoDBDatabaseToManualThroughput("rg1", "ddb1", "databaseName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesRetrieveContinuousBackupInformationSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesRetrieveContinuousBackupInformationSamples.java index 5c11e0266485c..16d89450c12d0 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesRetrieveContinuousBackupInformationSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesRetrieveContinuousBackupInformationSamples.java @@ -4,13 +4,12 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.ContinuousBackupRestoreLocation; /** Samples for MongoDBResources RetrieveContinuousBackupInformation. */ public final class MongoDBResourcesRetrieveContinuousBackupInformationSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBCollectionBackupInformation.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBCollectionBackupInformation.json */ /** * Sample code: CosmosDBMongoDBCollectionBackupInformation. @@ -30,6 +29,6 @@ public static void cosmosDBMongoDBCollectionBackupInformation( "databaseName", "collectionName", new ContinuousBackupRestoreLocation().withLocation("North Europe"), - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesUpdateMongoDBCollectionThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesUpdateMongoDBCollectionThroughputSamples.java index 5ff0a7d4a0347..dbe0ad20ed9b1 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesUpdateMongoDBCollectionThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesUpdateMongoDBCollectionThroughputSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.ThroughputSettingsResource; import com.azure.resourcemanager.cosmos.models.ThroughputSettingsUpdateParameters; import java.util.HashMap; @@ -13,7 +12,7 @@ /** Samples for MongoDBResources UpdateMongoDBCollectionThroughput. */ public final class MongoDBResourcesUpdateMongoDBCollectionThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBCollectionThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBCollectionThroughputUpdate.json */ /** * Sample code: CosmosDBMongoDBCollectionThroughputUpdate. @@ -35,7 +34,7 @@ public static void cosmosDBMongoDBCollectionThroughputUpdate(com.azure.resourcem .withLocation("West US") .withTags(mapOf()) .withResource(new ThroughputSettingsResource().withThroughput(400)), - Context.NONE); + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesUpdateMongoDBDatabaseThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesUpdateMongoDBDatabaseThroughputSamples.java index 11afaaef23dd8..bf6c1dad79e74 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesUpdateMongoDBDatabaseThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/MongoDBResourcesUpdateMongoDBDatabaseThroughputSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.ThroughputSettingsResource; import com.azure.resourcemanager.cosmos.models.ThroughputSettingsUpdateParameters; import java.util.HashMap; @@ -13,7 +12,7 @@ /** Samples for MongoDBResources UpdateMongoDBDatabaseThroughput. */ public final class MongoDBResourcesUpdateMongoDBDatabaseThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMongoDBDatabaseThroughputUpdate.json */ /** * Sample code: CosmosDBMongoDBDatabaseThroughputUpdate. @@ -34,7 +33,7 @@ public static void cosmosDBMongoDBDatabaseThroughputUpdate(com.azure.resourceman .withLocation("West US") .withTags(mapOf()) .withResource(new ThroughputSettingsResource().withThroughput(400)), - Context.NONE); + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesCreateOrUpdateSamples.java index ae67b3d7b287f..d59eb4a6f6f12 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesCreateOrUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesCreateOrUpdateSamples.java @@ -4,14 +4,13 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.NotebookWorkspaceCreateUpdateParameters; import com.azure.resourcemanager.cosmos.models.NotebookWorkspaceName; /** Samples for NotebookWorkspaces CreateOrUpdate. */ public final class NotebookWorkspacesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBNotebookWorkspaceCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBNotebookWorkspaceCreate.json */ /** * Sample code: CosmosDBNotebookWorkspaceCreate. @@ -29,6 +28,6 @@ public static void cosmosDBNotebookWorkspaceCreate(com.azure.resourcemanager.Azu "ddb1", NotebookWorkspaceName.DEFAULT, new NotebookWorkspaceCreateUpdateParameters(), - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesDeleteSamples.java index 900da47fdbaaa..8a17ce18a0813 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesDeleteSamples.java @@ -4,13 +4,12 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.NotebookWorkspaceName; /** Samples for NotebookWorkspaces Delete. */ public final class NotebookWorkspacesDeleteSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBNotebookWorkspaceDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBNotebookWorkspaceDelete.json */ /** * Sample code: CosmosDBNotebookWorkspaceDelete. @@ -23,6 +22,6 @@ public static void cosmosDBNotebookWorkspaceDelete(com.azure.resourcemanager.Azu .manager() .serviceClient() .getNotebookWorkspaces() - .delete("rg1", "ddb1", NotebookWorkspaceName.DEFAULT, Context.NONE); + .delete("rg1", "ddb1", NotebookWorkspaceName.DEFAULT, com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesGetSamples.java index c233a8b2d9bb8..c6bcb583a270d 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesGetSamples.java @@ -4,13 +4,12 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.NotebookWorkspaceName; /** Samples for NotebookWorkspaces Get. */ public final class NotebookWorkspacesGetSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBNotebookWorkspaceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBNotebookWorkspaceGet.json */ /** * Sample code: CosmosDBNotebookWorkspaceGet. @@ -23,6 +22,6 @@ public static void cosmosDBNotebookWorkspaceGet(com.azure.resourcemanager.AzureR .manager() .serviceClient() .getNotebookWorkspaces() - .getWithResponse("rg1", "ddb1", NotebookWorkspaceName.DEFAULT, Context.NONE); + .getWithResponse("rg1", "ddb1", NotebookWorkspaceName.DEFAULT, com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesListByDatabaseAccountSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesListByDatabaseAccountSamples.java index e735f850a768b..e9aad668fe9b9 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesListByDatabaseAccountSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesListByDatabaseAccountSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for NotebookWorkspaces ListByDatabaseAccount. */ public final class NotebookWorkspacesListByDatabaseAccountSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBNotebookWorkspaceList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBNotebookWorkspaceList.json */ /** * Sample code: CosmosDBNotebookWorkspaceList. @@ -22,6 +20,6 @@ public static void cosmosDBNotebookWorkspaceList(com.azure.resourcemanager.Azure .manager() .serviceClient() .getNotebookWorkspaces() - .listByDatabaseAccount("rg1", "ddb1", Context.NONE); + .listByDatabaseAccount("rg1", "ddb1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesListConnectionInfoSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesListConnectionInfoSamples.java index 6a7fd1119d81e..a7c36811740c7 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesListConnectionInfoSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesListConnectionInfoSamples.java @@ -4,13 +4,12 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.NotebookWorkspaceName; /** Samples for NotebookWorkspaces ListConnectionInfo. */ public final class NotebookWorkspacesListConnectionInfoSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBNotebookWorkspaceListConnectionInfo.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBNotebookWorkspaceListConnectionInfo.json */ /** * Sample code: CosmosDBNotebookWorkspaceListConnectionInfo. @@ -24,6 +23,7 @@ public static void cosmosDBNotebookWorkspaceListConnectionInfo( .manager() .serviceClient() .getNotebookWorkspaces() - .listConnectionInfoWithResponse("rg1", "ddb1", NotebookWorkspaceName.DEFAULT, Context.NONE); + .listConnectionInfoWithResponse( + "rg1", "ddb1", NotebookWorkspaceName.DEFAULT, com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesRegenerateAuthTokenSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesRegenerateAuthTokenSamples.java index aa982976d73d0..42b2701173257 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesRegenerateAuthTokenSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesRegenerateAuthTokenSamples.java @@ -4,13 +4,12 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.NotebookWorkspaceName; /** Samples for NotebookWorkspaces RegenerateAuthToken. */ public final class NotebookWorkspacesRegenerateAuthTokenSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBNotebookWorkspaceRegenerateAuthToken.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBNotebookWorkspaceRegenerateAuthToken.json */ /** * Sample code: CosmosDBNotebookWorkspaceRegenerateAuthToken. @@ -24,6 +23,6 @@ public static void cosmosDBNotebookWorkspaceRegenerateAuthToken( .manager() .serviceClient() .getNotebookWorkspaces() - .regenerateAuthToken("rg1", "ddb1", NotebookWorkspaceName.DEFAULT, Context.NONE); + .regenerateAuthToken("rg1", "ddb1", NotebookWorkspaceName.DEFAULT, com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesStartSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesStartSamples.java index 51bfaa631bfb1..04a0ca41337ab 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesStartSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/NotebookWorkspacesStartSamples.java @@ -4,13 +4,12 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.NotebookWorkspaceName; /** Samples for NotebookWorkspaces Start. */ public final class NotebookWorkspacesStartSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBNotebookWorkspaceStart.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBNotebookWorkspaceStart.json */ /** * Sample code: CosmosDBNotebookWorkspaceStart. @@ -23,6 +22,6 @@ public static void cosmosDBNotebookWorkspaceStart(com.azure.resourcemanager.Azur .manager() .serviceClient() .getNotebookWorkspaces() - .start("rg1", "ddb1", NotebookWorkspaceName.DEFAULT, Context.NONE); + .start("rg1", "ddb1", NotebookWorkspaceName.DEFAULT, com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/OperationsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/OperationsListSamples.java index c7389a049d3f5..64fec77081cda 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/OperationsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/OperationsListSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for Operations List. */ public final class OperationsListSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBOperationsList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBOperationsList.json */ /** * Sample code: CosmosDBOperationsList. @@ -17,6 +15,6 @@ public final class OperationsListSamples { * @param azure The entry point for accessing resource management APIs in Azure. */ public static void cosmosDBOperationsList(com.azure.resourcemanager.AzureResourceManager azure) { - azure.cosmosDBAccounts().manager().serviceClient().getOperations().list(Context.NONE); + azure.cosmosDBAccounts().manager().serviceClient().getOperations().list(com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PartitionKeyRangeIdListMetricsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PartitionKeyRangeIdListMetricsSamples.java index 3afc4fbfed2c5..28d60fb2f7f01 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PartitionKeyRangeIdListMetricsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PartitionKeyRangeIdListMetricsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for PartitionKeyRangeId ListMetrics. */ public final class PartitionKeyRangeIdListMetricsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBPKeyRangeIdGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBPKeyRangeIdGetMetrics.json */ /** * Sample code: CosmosDBDatabaseAccountRegionGetMetrics. @@ -30,6 +28,6 @@ public static void cosmosDBDatabaseAccountRegionGetMetrics(com.azure.resourceman "0", "$filter=(name.value eq 'Max RUs Per Second') and timeGrain eq duration'PT1M' and startTime eq" + " '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T23:58:55.2780000Z", - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PartitionKeyRangeIdRegionListMetricsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PartitionKeyRangeIdRegionListMetricsSamples.java index 879330159f356..66b6ce3a68cf6 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PartitionKeyRangeIdRegionListMetricsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PartitionKeyRangeIdRegionListMetricsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for PartitionKeyRangeIdRegion ListMetrics. */ public final class PartitionKeyRangeIdRegionListMetricsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBPKeyRangeIdRegionGetMetrics.json */ /** * Sample code: CosmosDBDatabaseAccountRegionGetMetrics. @@ -31,6 +29,6 @@ public static void cosmosDBDatabaseAccountRegionGetMetrics(com.azure.resourceman "0", "$filter=(name.value eq 'Max RUs Per Second') and timeGrain eq duration'PT1M' and startTime eq" + " '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T23:58:55.2780000Z", - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PercentileListMetricsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PercentileListMetricsSamples.java index 099fc17efc7c9..48d8f159c7f70 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PercentileListMetricsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PercentileListMetricsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for Percentile ListMetrics. */ public final class PercentileListMetricsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBPercentileGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBPercentileGetMetrics.json */ /** * Sample code: CosmosDBDatabaseAccountRegionGetMetrics. @@ -27,6 +25,6 @@ public static void cosmosDBDatabaseAccountRegionGetMetrics(com.azure.resourceman "ddb1", "$filter=(name.value eq 'Probabilistic Bounded Staleness') and timeGrain eq duration'PT5M' and" + " startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z", - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PercentileSourceTargetListMetricsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PercentileSourceTargetListMetricsSamples.java index 4f1b7fff8dcd1..0424f262163dd 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PercentileSourceTargetListMetricsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PercentileSourceTargetListMetricsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for PercentileSourceTarget ListMetrics. */ public final class PercentileSourceTargetListMetricsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBPercentileSourceTargetGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBPercentileSourceTargetGetMetrics.json */ /** * Sample code: CosmosDBDatabaseAccountRegionGetMetrics. @@ -29,6 +27,6 @@ public static void cosmosDBDatabaseAccountRegionGetMetrics(com.azure.resourceman "East US", "$filter=(name.value eq 'Probabilistic Bounded Staleness') and timeGrain eq duration'PT5M' and" + " startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z", - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PercentileTargetListMetricsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PercentileTargetListMetricsSamples.java index 7b553867efea1..daef5df619cef 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PercentileTargetListMetricsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PercentileTargetListMetricsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for PercentileTarget ListMetrics. */ public final class PercentileTargetListMetricsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBPercentileTargetGetMetrics.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBPercentileTargetGetMetrics.json */ /** * Sample code: CosmosDBDatabaseAccountRegionGetMetrics. @@ -28,6 +26,6 @@ public static void cosmosDBDatabaseAccountRegionGetMetrics(com.azure.resourceman "East US", "$filter=(name.value eq 'Probabilistic Bounded Staleness') and timeGrain eq duration'PT5M' and" + " startTime eq '2017-11-19T23:53:55.2780000Z' and endTime eq '2017-11-20T00:13:55.2780000Z", - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateEndpointConnectionsCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateEndpointConnectionsCreateOrUpdateSamples.java index 60da70c8b7774..6024365a632e9 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateEndpointConnectionsCreateOrUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateEndpointConnectionsCreateOrUpdateSamples.java @@ -4,14 +4,13 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.fluent.models.PrivateEndpointConnectionInner; import com.azure.resourcemanager.cosmos.models.PrivateLinkServiceConnectionStateProperty; /** Samples for PrivateEndpointConnections CreateOrUpdate. */ public final class PrivateEndpointConnectionsCreateOrUpdateSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBPrivateEndpointConnectionUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBPrivateEndpointConnectionUpdate.json */ /** * Sample code: Approve or reject a private endpoint connection with a given name. @@ -34,6 +33,6 @@ public static void approveOrRejectAPrivateEndpointConnectionWithAGivenName( new PrivateLinkServiceConnectionStateProperty() .withStatus("Approved") .withDescription("Approved by johndoe@contoso.com")), - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateEndpointConnectionsDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateEndpointConnectionsDeleteSamples.java index 362e847bbd310..503e885eb1de5 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateEndpointConnectionsDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateEndpointConnectionsDeleteSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for PrivateEndpointConnections Delete. */ public final class PrivateEndpointConnectionsDeleteSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBPrivateEndpointConnectionDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBPrivateEndpointConnectionDelete.json */ /** * Sample code: Deletes a private endpoint connection with a given name. @@ -23,6 +21,6 @@ public static void deletesAPrivateEndpointConnectionWithAGivenName( .manager() .serviceClient() .getPrivateEndpointConnections() - .delete("rg1", "ddb1", "privateEndpointConnectionName", Context.NONE); + .delete("rg1", "ddb1", "privateEndpointConnectionName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateEndpointConnectionsGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateEndpointConnectionsGetSamples.java index 0f6b6eec99a93..609baec2747b9 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateEndpointConnectionsGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateEndpointConnectionsGetSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for PrivateEndpointConnections Get. */ public final class PrivateEndpointConnectionsGetSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBPrivateEndpointConnectionGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBPrivateEndpointConnectionGet.json */ /** * Sample code: Gets private endpoint connection. @@ -22,6 +20,6 @@ public static void getsPrivateEndpointConnection(com.azure.resourcemanager.Azure .manager() .serviceClient() .getPrivateEndpointConnections() - .getWithResponse("rg1", "ddb1", "privateEndpointConnectionName", Context.NONE); + .getWithResponse("rg1", "ddb1", "privateEndpointConnectionName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateEndpointConnectionsListByDatabaseAccountSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateEndpointConnectionsListByDatabaseAccountSamples.java index 6f2a032ed7fea..216bb5de0b65a 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateEndpointConnectionsListByDatabaseAccountSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateEndpointConnectionsListByDatabaseAccountSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for PrivateEndpointConnections ListByDatabaseAccount. */ public final class PrivateEndpointConnectionsListByDatabaseAccountSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBPrivateEndpointConnectionListGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBPrivateEndpointConnectionListGet.json */ /** * Sample code: Gets private endpoint connection. @@ -22,6 +20,6 @@ public static void getsPrivateEndpointConnection(com.azure.resourcemanager.Azure .manager() .serviceClient() .getPrivateEndpointConnections() - .listByDatabaseAccount("rg1", "ddb1", Context.NONE); + .listByDatabaseAccount("rg1", "ddb1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateLinkResourcesGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateLinkResourcesGetSamples.java index 393b085e74b82..005fda4ee860c 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateLinkResourcesGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateLinkResourcesGetSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for PrivateLinkResources Get. */ public final class PrivateLinkResourcesGetSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBPrivateLinkResourceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBPrivateLinkResourceGet.json */ /** * Sample code: Gets private endpoint connection. @@ -22,6 +20,6 @@ public static void getsPrivateEndpointConnection(com.azure.resourcemanager.Azure .manager() .serviceClient() .getPrivateLinkResources() - .getWithResponse("rg1", "ddb1", "sql", Context.NONE); + .getWithResponse("rg1", "ddb1", "sql", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateLinkResourcesListByDatabaseAccountSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateLinkResourcesListByDatabaseAccountSamples.java index 40e5eb99b4525..55a856c8824b0 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateLinkResourcesListByDatabaseAccountSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/PrivateLinkResourcesListByDatabaseAccountSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for PrivateLinkResources ListByDatabaseAccount. */ public final class PrivateLinkResourcesListByDatabaseAccountSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBPrivateLinkResourceListGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBPrivateLinkResourceListGet.json */ /** * Sample code: Gets private endpoint connection. @@ -22,6 +20,6 @@ public static void getsPrivateEndpointConnection(com.azure.resourcemanager.Azure .manager() .serviceClient() .getPrivateLinkResources() - .listByDatabaseAccount("rg1", "ddb1", Context.NONE); + .listByDatabaseAccount("rg1", "ddb1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableDatabaseAccountsGetByLocationSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableDatabaseAccountsGetByLocationSamples.java index 56da7b521255b..63ff2741fca81 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableDatabaseAccountsGetByLocationSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableDatabaseAccountsGetByLocationSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for RestorableDatabaseAccounts GetByLocation. */ public final class RestorableDatabaseAccountsGetByLocationSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBRestorableDatabaseAccountGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBRestorableDatabaseAccountGet.json */ /** * Sample code: CosmosDBRestorableDatabaseAccountGet. @@ -22,6 +20,7 @@ public static void cosmosDBRestorableDatabaseAccountGet(com.azure.resourcemanage .manager() .serviceClient() .getRestorableDatabaseAccounts() - .getByLocationWithResponse("West US", "d9b26648-2f53-4541-b3d8-3044f4f9810d", Context.NONE); + .getByLocationWithResponse( + "West US", "d9b26648-2f53-4541-b3d8-3044f4f9810d", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableDatabaseAccountsListByLocationSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableDatabaseAccountsListByLocationSamples.java index 9a54b3d5e7558..6dbb133eb65dd 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableDatabaseAccountsListByLocationSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableDatabaseAccountsListByLocationSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for RestorableDatabaseAccounts ListByLocation. */ public final class RestorableDatabaseAccountsListByLocationSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBRestorableDatabaseAccountList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBRestorableDatabaseAccountList.json */ /** * Sample code: CosmosDBRestorableDatabaseAccountList. @@ -22,6 +20,6 @@ public static void cosmosDBRestorableDatabaseAccountList(com.azure.resourcemanag .manager() .serviceClient() .getRestorableDatabaseAccounts() - .listByLocation("West US", Context.NONE); + .listByLocation("West US", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableDatabaseAccountsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableDatabaseAccountsListSamples.java index 8d96b063c84d2..d76e7cc9c14ad 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableDatabaseAccountsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableDatabaseAccountsListSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for RestorableDatabaseAccounts List. */ public final class RestorableDatabaseAccountsListSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBRestorableDatabaseAccountNoLocationList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBRestorableDatabaseAccountNoLocationList.json */ /** * Sample code: CosmosDBRestorableDatabaseAccountNoLocationList. @@ -18,6 +16,11 @@ public final class RestorableDatabaseAccountsListSamples { */ public static void cosmosDBRestorableDatabaseAccountNoLocationList( com.azure.resourcemanager.AzureResourceManager azure) { - azure.cosmosDBAccounts().manager().serviceClient().getRestorableDatabaseAccounts().list(Context.NONE); + azure + .cosmosDBAccounts() + .manager() + .serviceClient() + .getRestorableDatabaseAccounts() + .list(com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableGremlinDatabasesListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableGremlinDatabasesListSamples.java new file mode 100644 index 0000000000000..35aa1c783ff78 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableGremlinDatabasesListSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.generated; + +/** Samples for RestorableGremlinDatabases List. */ +public final class RestorableGremlinDatabasesListSamples { + /* + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBRestorableGremlinDatabaseList.json + */ + /** + * Sample code: CosmosDBRestorableGremlinDatabaseList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void cosmosDBRestorableGremlinDatabaseList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .cosmosDBAccounts() + .manager() + .serviceClient() + .getRestorableGremlinDatabases() + .list("WestUS", "d9b26648-2f53-4541-b3d8-3044f4f9810d", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableGremlinGraphsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableGremlinGraphsListSamples.java new file mode 100644 index 0000000000000..d96c9a95ddf62 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableGremlinGraphsListSamples.java @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.generated; + +/** Samples for RestorableGremlinGraphs List. */ +public final class RestorableGremlinGraphsListSamples { + /* + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBRestorableGremlinGraphList.json + */ + /** + * Sample code: CosmosDBRestorableGremlinGraphList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void cosmosDBRestorableGremlinGraphList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .cosmosDBAccounts() + .manager() + .serviceClient() + .getRestorableGremlinGraphs() + .list( + "WestUS", + "98a570f2-63db-4117-91f0-366327b7b353", + "PD5DALigDgw=", + null, + null, + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableGremlinResourcesListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableGremlinResourcesListSamples.java new file mode 100644 index 0000000000000..cd36b138eeb8e --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableGremlinResourcesListSamples.java @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.generated; + +/** Samples for RestorableGremlinResources List. */ +public final class RestorableGremlinResourcesListSamples { + /* + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBRestorableGremlinResourceList.json + */ + /** + * Sample code: CosmosDBRestorableGremlinResourceList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void cosmosDBRestorableGremlinResourceList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .cosmosDBAccounts() + .manager() + .serviceClient() + .getRestorableGremlinResources() + .list( + "WestUS", + "d9b26648-2f53-4541-b3d8-3044f4f9810d", + "WestUS", + "06/01/2022 4:56", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableMongodbCollectionsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableMongodbCollectionsListSamples.java index cf476be896800..e8926c211c19e 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableMongodbCollectionsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableMongodbCollectionsListSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for RestorableMongodbCollections List. */ public final class RestorableMongodbCollectionsListSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBRestorableMongodbCollectionList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBRestorableMongodbCollectionList.json */ /** * Sample code: CosmosDBRestorableMongodbCollectionList. @@ -22,6 +20,12 @@ public static void cosmosDBRestorableMongodbCollectionList(com.azure.resourceman .manager() .serviceClient() .getRestorableMongodbCollections() - .list("WestUS", "98a570f2-63db-4117-91f0-366327b7b353", "PD5DALigDgw=", Context.NONE); + .list( + "WestUS", + "98a570f2-63db-4117-91f0-366327b7b353", + "PD5DALigDgw=", + null, + null, + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableMongodbDatabasesListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableMongodbDatabasesListSamples.java index 1dc00c590f53f..d852697fc7a58 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableMongodbDatabasesListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableMongodbDatabasesListSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for RestorableMongodbDatabases List. */ public final class RestorableMongodbDatabasesListSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBRestorableMongodbDatabaseList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBRestorableMongodbDatabaseList.json */ /** * Sample code: CosmosDBRestorableMongodbDatabaseList. @@ -22,6 +20,6 @@ public static void cosmosDBRestorableMongodbDatabaseList(com.azure.resourcemanag .manager() .serviceClient() .getRestorableMongodbDatabases() - .list("WestUS", "d9b26648-2f53-4541-b3d8-3044f4f9810d", Context.NONE); + .list("WestUS", "d9b26648-2f53-4541-b3d8-3044f4f9810d", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableMongodbResourcesListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableMongodbResourcesListSamples.java index 41b513b0af705..184b65792bd44 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableMongodbResourcesListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableMongodbResourcesListSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for RestorableMongodbResources List. */ public final class RestorableMongodbResourcesListSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBRestorableMongodbResourceList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBRestorableMongodbResourceList.json */ /** * Sample code: CosmosDBRestorableMongodbResourceList. @@ -22,6 +20,11 @@ public static void cosmosDBRestorableMongodbResourceList(com.azure.resourcemanag .manager() .serviceClient() .getRestorableMongodbResources() - .list("WestUS", "d9b26648-2f53-4541-b3d8-3044f4f9810d", "WestUS", "06/01/2022 4:56", Context.NONE); + .list( + "WestUS", + "d9b26648-2f53-4541-b3d8-3044f4f9810d", + "WestUS", + "06/01/2022 4:56", + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableSqlContainersListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableSqlContainersListSamples.java index b458dc4b9191c..e352512cfd421 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableSqlContainersListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableSqlContainersListSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for RestorableSqlContainers List. */ public final class RestorableSqlContainersListSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBRestorableSqlContainerList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBRestorableSqlContainerList.json */ /** * Sample code: CosmosDBRestorableSqlContainerList. @@ -22,6 +20,12 @@ public static void cosmosDBRestorableSqlContainerList(com.azure.resourcemanager. .manager() .serviceClient() .getRestorableSqlContainers() - .list("WestUS", "98a570f2-63db-4117-91f0-366327b7b353", "3fu-hg==", null, null, Context.NONE); + .list( + "WestUS", + "98a570f2-63db-4117-91f0-366327b7b353", + "3fu-hg==", + null, + null, + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableSqlDatabasesListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableSqlDatabasesListSamples.java index b097b59a6e429..e5b2e3d61427f 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableSqlDatabasesListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableSqlDatabasesListSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for RestorableSqlDatabases List. */ public final class RestorableSqlDatabasesListSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBRestorableSqlDatabaseList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBRestorableSqlDatabaseList.json */ /** * Sample code: CosmosDBRestorableSqlDatabaseList. @@ -22,6 +20,6 @@ public static void cosmosDBRestorableSqlDatabaseList(com.azure.resourcemanager.A .manager() .serviceClient() .getRestorableSqlDatabases() - .list("WestUS", "d9b26648-2f53-4541-b3d8-3044f4f9810d", Context.NONE); + .list("WestUS", "d9b26648-2f53-4541-b3d8-3044f4f9810d", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableSqlResourcesListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableSqlResourcesListSamples.java index a7f27855cf280..df23dc3cfb2ce 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableSqlResourcesListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableSqlResourcesListSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for RestorableSqlResources List. */ public final class RestorableSqlResourcesListSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBRestorableSqlResourceList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBRestorableSqlResourceList.json */ /** * Sample code: CosmosDBRestorableSqlResourceList. @@ -22,6 +20,11 @@ public static void cosmosDBRestorableSqlResourceList(com.azure.resourcemanager.A .manager() .serviceClient() .getRestorableSqlResources() - .list("WestUS", "d9b26648-2f53-4541-b3d8-3044f4f9810d", "WestUS", "06/01/2022 4:56", Context.NONE); + .list( + "WestUS", + "d9b26648-2f53-4541-b3d8-3044f4f9810d", + "WestUS", + "06/01/2022 4:56", + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableTableResourcesListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableTableResourcesListSamples.java new file mode 100644 index 0000000000000..72b241cb0a188 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableTableResourcesListSamples.java @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.generated; + +/** Samples for RestorableTableResources List. */ +public final class RestorableTableResourcesListSamples { + /* + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBRestorableTableResourceList.json + */ + /** + * Sample code: CosmosDBRestorableTableResourceList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void cosmosDBRestorableTableResourceList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .cosmosDBAccounts() + .manager() + .serviceClient() + .getRestorableTableResources() + .list( + "WestUS", + "d9b26648-2f53-4541-b3d8-3044f4f9810d", + "WestUS", + "06/01/2022 4:56", + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableTablesListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableTablesListSamples.java new file mode 100644 index 0000000000000..6f48eb1f5312f --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/RestorableTablesListSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.generated; + +/** Samples for RestorableTables List. */ +public final class RestorableTablesListSamples { + /* + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBRestorableTableList.json + */ + /** + * Sample code: CosmosDBRestorableTableList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void cosmosDBRestorableTableList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .cosmosDBAccounts() + .manager() + .serviceClient() + .getRestorableTables() + .list("WestUS", "98a570f2-63db-4117-91f0-366327b7b353", null, null, com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/ServiceCreateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/ServiceCreateSamples.java index 2551831ac8a79..203df771c64b5 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/ServiceCreateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/ServiceCreateSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.ServiceResourceCreateUpdateParameters; import com.azure.resourcemanager.cosmos.models.ServiceSize; import com.azure.resourcemanager.cosmos.models.ServiceType; @@ -12,7 +11,7 @@ /** Samples for Service Create. */ public final class ServiceCreateSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlDedicatedGatewayServiceCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlDedicatedGatewayServiceCreate.json */ /** * Sample code: SqlDedicatedGatewayServiceCreate. @@ -33,11 +32,11 @@ public static void sqlDedicatedGatewayServiceCreate(com.azure.resourcemanager.Az .withInstanceSize(ServiceSize.COSMOS_D4S) .withInstanceCount(1) .withServiceType(ServiceType.SQL_DEDICATED_GATEWAY), - Context.NONE); + com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDataTransferServiceCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDataTransferServiceCreate.json */ /** * Sample code: DataTransferServiceCreate. @@ -58,11 +57,11 @@ public static void dataTransferServiceCreate(com.azure.resourcemanager.AzureReso .withInstanceSize(ServiceSize.COSMOS_D4S) .withInstanceCount(1) .withServiceType(ServiceType.DATA_TRANSFER), - Context.NONE); + com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMaterializedViewsBuilderServiceCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMaterializedViewsBuilderServiceCreate.json */ /** * Sample code: MaterializedViewsBuilderServiceCreate. @@ -83,11 +82,11 @@ public static void materializedViewsBuilderServiceCreate(com.azure.resourcemanag .withInstanceSize(ServiceSize.COSMOS_D4S) .withInstanceCount(1) .withServiceType(ServiceType.MATERIALIZED_VIEWS_BUILDER), - Context.NONE); + com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBGraphAPIComputeServiceCreate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBGraphAPIComputeServiceCreate.json */ /** * Sample code: GraphAPIComputeServiceCreate. @@ -108,6 +107,6 @@ public static void graphAPIComputeServiceCreate(com.azure.resourcemanager.AzureR .withInstanceSize(ServiceSize.COSMOS_D4S) .withInstanceCount(1) .withServiceType(ServiceType.GRAPH_APICOMPUTE), - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/ServiceDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/ServiceDeleteSamples.java index 887931750790d..7df58a7dd3085 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/ServiceDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/ServiceDeleteSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for Service Delete. */ public final class ServiceDeleteSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlDedicatedGatewayServiceDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlDedicatedGatewayServiceDelete.json */ /** * Sample code: SqlDedicatedGatewayServiceDelete. @@ -22,11 +20,11 @@ public static void sqlDedicatedGatewayServiceDelete(com.azure.resourcemanager.Az .manager() .serviceClient() .getServices() - .delete("rg1", "ddb1", "SqlDedicatedGateway", Context.NONE); + .delete("rg1", "ddb1", "SqlDedicatedGateway", com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMaterializedViewsBuilderServiceDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMaterializedViewsBuilderServiceDelete.json */ /** * Sample code: MaterializedViewsBuilderServiceDelete. @@ -39,11 +37,11 @@ public static void materializedViewsBuilderServiceDelete(com.azure.resourcemanag .manager() .serviceClient() .getServices() - .delete("rg1", "ddb1", "MaterializedViewsBuilder", Context.NONE); + .delete("rg1", "ddb1", "MaterializedViewsBuilder", com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDataTransferServiceDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDataTransferServiceDelete.json */ /** * Sample code: DataTransferServiceDelete. @@ -56,11 +54,11 @@ public static void dataTransferServiceDelete(com.azure.resourcemanager.AzureReso .manager() .serviceClient() .getServices() - .delete("rg1", "ddb1", "DataTransfer", Context.NONE); + .delete("rg1", "ddb1", "DataTransfer", com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBGraphAPIComputeServiceDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBGraphAPIComputeServiceDelete.json */ /** * Sample code: GraphAPIComputeServiceDelete. @@ -73,6 +71,6 @@ public static void graphAPIComputeServiceDelete(com.azure.resourcemanager.AzureR .manager() .serviceClient() .getServices() - .delete("rg1", "ddb1", "GraphAPICompute", Context.NONE); + .delete("rg1", "ddb1", "GraphAPICompute", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/ServiceGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/ServiceGetSamples.java index accf173f8da36..142409d016fd3 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/ServiceGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/ServiceGetSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for Service Get. */ public final class ServiceGetSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBDataTransferServiceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBDataTransferServiceGet.json */ /** * Sample code: DataTransferServiceGet. @@ -22,11 +20,11 @@ public static void dataTransferServiceGet(com.azure.resourcemanager.AzureResourc .manager() .serviceClient() .getServices() - .getWithResponse("rg1", "ddb1", "DataTransfer", Context.NONE); + .getWithResponse("rg1", "ddb1", "DataTransfer", com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBGraphAPIComputeServiceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBGraphAPIComputeServiceGet.json */ /** * Sample code: GraphAPIComputeServiceGet. @@ -39,11 +37,11 @@ public static void graphAPIComputeServiceGet(com.azure.resourcemanager.AzureReso .manager() .serviceClient() .getServices() - .getWithResponse("rg1", "ddb1", "GraphAPICompute", Context.NONE); + .getWithResponse("rg1", "ddb1", "GraphAPICompute", com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlDedicatedGatewayServiceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlDedicatedGatewayServiceGet.json */ /** * Sample code: SqlDedicatedGatewayServiceGet. @@ -56,11 +54,11 @@ public static void sqlDedicatedGatewayServiceGet(com.azure.resourcemanager.Azure .manager() .serviceClient() .getServices() - .getWithResponse("rg1", "ddb1", "SqlDedicatedGateway", Context.NONE); + .getWithResponse("rg1", "ddb1", "SqlDedicatedGateway", com.azure.core.util.Context.NONE); } /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBMaterializedViewsBuilderServiceGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBMaterializedViewsBuilderServiceGet.json */ /** * Sample code: MaterializedViewsBuilderServiceGet. @@ -73,6 +71,6 @@ public static void materializedViewsBuilderServiceGet(com.azure.resourcemanager. .manager() .serviceClient() .getServices() - .getWithResponse("rg1", "ddb1", "MaterializedViewsBuilder", Context.NONE); + .getWithResponse("rg1", "ddb1", "MaterializedViewsBuilder", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/ServiceListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/ServiceListSamples.java index 4778b64654a16..f2abaad073921 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/ServiceListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/ServiceListSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for Service List. */ public final class ServiceListSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBServicesList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBServicesList.json */ /** * Sample code: CosmosDBServicesList. @@ -17,6 +15,11 @@ public final class ServiceListSamples { * @param azure The entry point for accessing resource management APIs in Azure. */ public static void cosmosDBServicesList(com.azure.resourcemanager.AzureResourceManager azure) { - azure.cosmosDBAccounts().manager().serviceClient().getServices().list("rg1", "ddb1", Context.NONE); + azure + .cosmosDBAccounts() + .manager() + .serviceClient() + .getServices() + .list("rg1", "ddb1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateClientEncryptionKeySamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateClientEncryptionKeySamples.java new file mode 100644 index 0000000000000..8cdcb562009d9 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateClientEncryptionKeySamples.java @@ -0,0 +1,46 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.generated; + +import com.azure.resourcemanager.cosmos.models.ClientEncryptionKeyCreateUpdateParameters; +import com.azure.resourcemanager.cosmos.models.ClientEncryptionKeyResource; +import com.azure.resourcemanager.cosmos.models.KeyWrapMetadata; + +/** Samples for SqlResources CreateUpdateClientEncryptionKey. */ +public final class SqlResourcesCreateUpdateClientEncryptionKeySamples { + /* + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlClientEncryptionKeyCreateUpdate.json + */ + /** + * Sample code: CosmosDBClientEncryptionKeyCreateUpdate. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void cosmosDBClientEncryptionKeyCreateUpdate(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .cosmosDBAccounts() + .manager() + .serviceClient() + .getSqlResources() + .createUpdateClientEncryptionKey( + "rgName", + "accountName", + "databaseName", + "cekName", + new ClientEncryptionKeyCreateUpdateParameters() + .withResource( + new ClientEncryptionKeyResource() + .withId("cekName") + .withEncryptionAlgorithm("AEAD_AES_256_CBC_HMAC_SHA256") + .withWrappedDataEncryptionKey("U3dhZ2dlciByb2Nrcw==".getBytes()) + .withKeyWrapMetadata( + new KeyWrapMetadata() + .withName("customerManagedKey") + .withType("AzureKeyVault") + .withValue("AzureKeyVault Key URL") + .withAlgorithm("RSA-OAEP"))), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlContainerSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlContainerSamples.java index d5100c0f78324..2a0691cce146b 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlContainerSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlContainerSamples.java @@ -4,7 +4,8 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; +import com.azure.resourcemanager.cosmos.models.ClientEncryptionIncludedPath; +import com.azure.resourcemanager.cosmos.models.ClientEncryptionPolicy; import com.azure.resourcemanager.cosmos.models.ConflictResolutionMode; import com.azure.resourcemanager.cosmos.models.ConflictResolutionPolicy; import com.azure.resourcemanager.cosmos.models.ContainerPartitionKey; @@ -27,7 +28,7 @@ /** Samples for SqlResources CreateUpdateSqlContainer. */ public final class SqlResourcesCreateUpdateSqlContainerSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlContainerCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlContainerCreateUpdate.json */ /** * Sample code: CosmosDBSqlContainerCreateUpdate. @@ -84,9 +85,20 @@ public static void cosmosDBSqlContainerCreateUpdate(com.azure.resourcemanager.Az .withConflictResolutionPolicy( new ConflictResolutionPolicy() .withMode(ConflictResolutionMode.LAST_WRITER_WINS) - .withConflictResolutionPath("/path"))) + .withConflictResolutionPath("/path")) + .withClientEncryptionPolicy( + new ClientEncryptionPolicy() + .withIncludedPaths( + Arrays + .asList( + new ClientEncryptionIncludedPath() + .withPath("/path") + .withClientEncryptionKeyId("fakeTokenPlaceholder") + .withEncryptionType("Deterministic") + .withEncryptionAlgorithm("AEAD_AES_256_CBC_HMAC_SHA256"))) + .withPolicyFormatVersion(2))) .withOptions(new CreateUpdateOptions()), - Context.NONE); + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlDatabaseSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlDatabaseSamples.java index c56561f32c092..151eb08a62904 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlDatabaseSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlDatabaseSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.CreateUpdateOptions; import com.azure.resourcemanager.cosmos.models.SqlDatabaseCreateUpdateParameters; import com.azure.resourcemanager.cosmos.models.SqlDatabaseResource; @@ -14,7 +13,7 @@ /** Samples for SqlResources CreateUpdateSqlDatabase. */ public final class SqlResourcesCreateUpdateSqlDatabaseSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlDatabaseCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlDatabaseCreateUpdate.json */ /** * Sample code: CosmosDBSqlDatabaseCreateUpdate. @@ -36,7 +35,7 @@ public static void cosmosDBSqlDatabaseCreateUpdate(com.azure.resourcemanager.Azu .withTags(mapOf()) .withResource(new SqlDatabaseResource().withId("databaseName")) .withOptions(new CreateUpdateOptions()), - Context.NONE); + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlRoleAssignmentSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlRoleAssignmentSamples.java index f8c6c61dd628c..3f994f13efdf8 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlRoleAssignmentSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlRoleAssignmentSamples.java @@ -4,13 +4,12 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.SqlRoleAssignmentCreateUpdateParameters; /** Samples for SqlResources CreateUpdateSqlRoleAssignment. */ public final class SqlResourcesCreateUpdateSqlRoleAssignmentSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlRoleAssignmentCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlRoleAssignmentCreateUpdate.json */ /** * Sample code: CosmosDBSqlRoleAssignmentCreateUpdate. @@ -33,6 +32,6 @@ public static void cosmosDBSqlRoleAssignmentCreateUpdate(com.azure.resourcemanag .withScope( "/subscriptions/mySubscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.DocumentDB/databaseAccounts/myAccountName/dbs/purchases/colls/redmond-purchases") .withPrincipalId("myPrincipalId"), - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlRoleDefinitionSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlRoleDefinitionSamples.java index 8600ea1bd874d..4335b518f5430 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlRoleDefinitionSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlRoleDefinitionSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.Permission; import com.azure.resourcemanager.cosmos.models.RoleDefinitionType; import com.azure.resourcemanager.cosmos.models.SqlRoleDefinitionCreateUpdateParameters; @@ -13,7 +12,7 @@ /** Samples for SqlResources CreateUpdateSqlRoleDefinition. */ public final class SqlResourcesCreateUpdateSqlRoleDefinitionSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlRoleDefinitionCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlRoleDefinitionCreateUpdate.json */ /** * Sample code: CosmosDBSqlRoleDefinitionCreateUpdate. @@ -48,6 +47,6 @@ public static void cosmosDBSqlRoleDefinitionCreateUpdate(com.azure.resourcemanag "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/create", "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/read")) .withNotDataActions(Arrays.asList()))), - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlStoredProcedureSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlStoredProcedureSamples.java index 36635e4cbb56d..749b4a55608f9 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlStoredProcedureSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlStoredProcedureSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.CreateUpdateOptions; import com.azure.resourcemanager.cosmos.models.SqlStoredProcedureCreateUpdateParameters; import com.azure.resourcemanager.cosmos.models.SqlStoredProcedureResource; @@ -12,7 +11,7 @@ /** Samples for SqlResources CreateUpdateSqlStoredProcedure. */ public final class SqlResourcesCreateUpdateSqlStoredProcedureSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlStoredProcedureCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlStoredProcedureCreateUpdate.json */ /** * Sample code: CosmosDBSqlStoredProcedureCreateUpdate. @@ -34,6 +33,6 @@ public static void cosmosDBSqlStoredProcedureCreateUpdate(com.azure.resourcemana new SqlStoredProcedureCreateUpdateParameters() .withResource(new SqlStoredProcedureResource().withId("storedProcedureName").withBody("body")) .withOptions(new CreateUpdateOptions()), - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlTriggerSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlTriggerSamples.java index 82ded78f598a3..0a0ba8c2a33bc 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlTriggerSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlTriggerSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.CreateUpdateOptions; import com.azure.resourcemanager.cosmos.models.SqlTriggerCreateUpdateParameters; import com.azure.resourcemanager.cosmos.models.SqlTriggerResource; @@ -14,7 +13,7 @@ /** Samples for SqlResources CreateUpdateSqlTrigger. */ public final class SqlResourcesCreateUpdateSqlTriggerSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlTriggerCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlTriggerCreateUpdate.json */ /** * Sample code: CosmosDBSqlTriggerCreateUpdate. @@ -41,6 +40,6 @@ public static void cosmosDBSqlTriggerCreateUpdate(com.azure.resourcemanager.Azur .withTriggerType(TriggerType.fromString("triggerType")) .withTriggerOperation(TriggerOperation.fromString("triggerOperation"))) .withOptions(new CreateUpdateOptions()), - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlUserDefinedFunctionSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlUserDefinedFunctionSamples.java index 2706a95156b69..6dd6d69dbc5c8 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlUserDefinedFunctionSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesCreateUpdateSqlUserDefinedFunctionSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.CreateUpdateOptions; import com.azure.resourcemanager.cosmos.models.SqlUserDefinedFunctionCreateUpdateParameters; import com.azure.resourcemanager.cosmos.models.SqlUserDefinedFunctionResource; @@ -12,7 +11,7 @@ /** Samples for SqlResources CreateUpdateSqlUserDefinedFunction. */ public final class SqlResourcesCreateUpdateSqlUserDefinedFunctionSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json */ /** * Sample code: CosmosDBSqlUserDefinedFunctionCreateUpdate. @@ -36,6 +35,6 @@ public static void cosmosDBSqlUserDefinedFunctionCreateUpdate( .withResource( new SqlUserDefinedFunctionResource().withId("userDefinedFunctionName").withBody("body")) .withOptions(new CreateUpdateOptions()), - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlContainerSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlContainerSamples.java index d766278103c9f..a44dea9fe545c 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlContainerSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlContainerSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources DeleteSqlContainer. */ public final class SqlResourcesDeleteSqlContainerSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlContainerDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlContainerDelete.json */ /** * Sample code: CosmosDBSqlContainerDelete. @@ -22,6 +20,6 @@ public static void cosmosDBSqlContainerDelete(com.azure.resourcemanager.AzureRes .manager() .serviceClient() .getSqlResources() - .deleteSqlContainer("rg1", "ddb1", "databaseName", "containerName", Context.NONE); + .deleteSqlContainer("rg1", "ddb1", "databaseName", "containerName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlDatabaseSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlDatabaseSamples.java index accd703fb76c9..5a108182cdd66 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlDatabaseSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlDatabaseSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources DeleteSqlDatabase. */ public final class SqlResourcesDeleteSqlDatabaseSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlDatabaseDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlDatabaseDelete.json */ /** * Sample code: CosmosDBSqlDatabaseDelete. @@ -22,6 +20,6 @@ public static void cosmosDBSqlDatabaseDelete(com.azure.resourcemanager.AzureReso .manager() .serviceClient() .getSqlResources() - .deleteSqlDatabase("rg1", "ddb1", "databaseName", Context.NONE); + .deleteSqlDatabase("rg1", "ddb1", "databaseName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlRoleAssignmentSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlRoleAssignmentSamples.java index 3b7320da06dc5..eea4d93f1f08c 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlRoleAssignmentSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlRoleAssignmentSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources DeleteSqlRoleAssignment. */ public final class SqlResourcesDeleteSqlRoleAssignmentSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlRoleAssignmentDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlRoleAssignmentDelete.json */ /** * Sample code: CosmosDBSqlRoleAssignmentDelete. @@ -22,6 +20,7 @@ public static void cosmosDBSqlRoleAssignmentDelete(com.azure.resourcemanager.Azu .manager() .serviceClient() .getSqlResources() - .deleteSqlRoleAssignment("myRoleAssignmentId", "myResourceGroupName", "myAccountName", Context.NONE); + .deleteSqlRoleAssignment( + "myRoleAssignmentId", "myResourceGroupName", "myAccountName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlRoleDefinitionSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlRoleDefinitionSamples.java index 81aeccef707c1..404e08c8a53df 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlRoleDefinitionSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlRoleDefinitionSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources DeleteSqlRoleDefinition. */ public final class SqlResourcesDeleteSqlRoleDefinitionSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlRoleDefinitionDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlRoleDefinitionDelete.json */ /** * Sample code: CosmosDBSqlRoleDefinitionDelete. @@ -22,6 +20,7 @@ public static void cosmosDBSqlRoleDefinitionDelete(com.azure.resourcemanager.Azu .manager() .serviceClient() .getSqlResources() - .deleteSqlRoleDefinition("myRoleDefinitionId", "myResourceGroupName", "myAccountName", Context.NONE); + .deleteSqlRoleDefinition( + "myRoleDefinitionId", "myResourceGroupName", "myAccountName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlStoredProcedureSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlStoredProcedureSamples.java index 943d1841cc13e..34ce72467e1c2 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlStoredProcedureSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlStoredProcedureSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources DeleteSqlStoredProcedure. */ public final class SqlResourcesDeleteSqlStoredProcedureSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlStoredProcedureDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlStoredProcedureDelete.json */ /** * Sample code: CosmosDBSqlStoredProcedureDelete. @@ -23,6 +21,11 @@ public static void cosmosDBSqlStoredProcedureDelete(com.azure.resourcemanager.Az .serviceClient() .getSqlResources() .deleteSqlStoredProcedure( - "rg1", "ddb1", "databaseName", "containerName", "storedProcedureName", Context.NONE); + "rg1", + "ddb1", + "databaseName", + "containerName", + "storedProcedureName", + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlTriggerSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlTriggerSamples.java index e0692522bbfea..c2bdd60753ced 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlTriggerSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlTriggerSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources DeleteSqlTrigger. */ public final class SqlResourcesDeleteSqlTriggerSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlTriggerDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlTriggerDelete.json */ /** * Sample code: CosmosDBSqlTriggerDelete. @@ -22,6 +20,7 @@ public static void cosmosDBSqlTriggerDelete(com.azure.resourcemanager.AzureResou .manager() .serviceClient() .getSqlResources() - .deleteSqlTrigger("rg1", "ddb1", "databaseName", "containerName", "triggerName", Context.NONE); + .deleteSqlTrigger( + "rg1", "ddb1", "databaseName", "containerName", "triggerName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlUserDefinedFunctionSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlUserDefinedFunctionSamples.java index 2a1fd9d89541e..9fab0559ce389 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlUserDefinedFunctionSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesDeleteSqlUserDefinedFunctionSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources DeleteSqlUserDefinedFunction. */ public final class SqlResourcesDeleteSqlUserDefinedFunctionSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlUserDefinedFunctionDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlUserDefinedFunctionDelete.json */ /** * Sample code: CosmosDBSqlUserDefinedFunctionDelete. @@ -23,6 +21,11 @@ public static void cosmosDBSqlUserDefinedFunctionDelete(com.azure.resourcemanage .serviceClient() .getSqlResources() .deleteSqlUserDefinedFunction( - "rg1", "ddb1", "databaseName", "containerName", "userDefinedFunctionName", Context.NONE); + "rg1", + "ddb1", + "databaseName", + "containerName", + "userDefinedFunctionName", + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetClientEncryptionKeySamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetClientEncryptionKeySamples.java new file mode 100644 index 0000000000000..653c1cfa24dea --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetClientEncryptionKeySamples.java @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.generated; + +/** Samples for SqlResources GetClientEncryptionKey. */ +public final class SqlResourcesGetClientEncryptionKeySamples { + /* + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlClientEncryptionKeyGet.json + */ + /** + * Sample code: CosmosDBClientEncryptionKeyGet. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void cosmosDBClientEncryptionKeyGet(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .cosmosDBAccounts() + .manager() + .serviceClient() + .getSqlResources() + .getClientEncryptionKeyWithResponse( + "rgName", "accountName", "databaseName", "cekName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlContainerSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlContainerSamples.java index 96153004ff0a8..4d870a7f16dc3 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlContainerSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlContainerSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources GetSqlContainer. */ public final class SqlResourcesGetSqlContainerSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlContainerGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlContainerGet.json */ /** * Sample code: CosmosDBSqlContainerGet. @@ -22,6 +20,7 @@ public static void cosmosDBSqlContainerGet(com.azure.resourcemanager.AzureResour .manager() .serviceClient() .getSqlResources() - .getSqlContainerWithResponse("rgName", "ddb1", "databaseName", "containerName", Context.NONE); + .getSqlContainerWithResponse( + "rgName", "ddb1", "databaseName", "containerName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlContainerThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlContainerThroughputSamples.java index 44923af594b9b..f5900f24d06d1 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlContainerThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlContainerThroughputSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources GetSqlContainerThroughput. */ public final class SqlResourcesGetSqlContainerThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlContainerThroughputGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlContainerThroughputGet.json */ /** * Sample code: CosmosDBSqlContainerThroughputGet. @@ -22,6 +20,7 @@ public static void cosmosDBSqlContainerThroughputGet(com.azure.resourcemanager.A .manager() .serviceClient() .getSqlResources() - .getSqlContainerThroughputWithResponse("rg1", "ddb1", "databaseName", "containerName", Context.NONE); + .getSqlContainerThroughputWithResponse( + "rg1", "ddb1", "databaseName", "containerName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlDatabaseSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlDatabaseSamples.java index 6b06c52afb1dc..e92c5a93480b8 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlDatabaseSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlDatabaseSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources GetSqlDatabase. */ public final class SqlResourcesGetSqlDatabaseSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlDatabaseGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlDatabaseGet.json */ /** * Sample code: CosmosDBSqlDatabaseGet. @@ -22,6 +20,6 @@ public static void cosmosDBSqlDatabaseGet(com.azure.resourcemanager.AzureResourc .manager() .serviceClient() .getSqlResources() - .getSqlDatabaseWithResponse("rg1", "ddb1", "databaseName", Context.NONE); + .getSqlDatabaseWithResponse("rg1", "ddb1", "databaseName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlDatabaseThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlDatabaseThroughputSamples.java index ce1071d4b1b49..831d33aff3cc7 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlDatabaseThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlDatabaseThroughputSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources GetSqlDatabaseThroughput. */ public final class SqlResourcesGetSqlDatabaseThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlDatabaseThroughputGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlDatabaseThroughputGet.json */ /** * Sample code: CosmosDBSqlDatabaseThroughputGet. @@ -22,6 +20,6 @@ public static void cosmosDBSqlDatabaseThroughputGet(com.azure.resourcemanager.Az .manager() .serviceClient() .getSqlResources() - .getSqlDatabaseThroughputWithResponse("rg1", "ddb1", "databaseName", Context.NONE); + .getSqlDatabaseThroughputWithResponse("rg1", "ddb1", "databaseName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlRoleAssignmentSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlRoleAssignmentSamples.java index b597b62b64b8c..4c00125ee2e81 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlRoleAssignmentSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlRoleAssignmentSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources GetSqlRoleAssignment. */ public final class SqlResourcesGetSqlRoleAssignmentSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlRoleAssignmentGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlRoleAssignmentGet.json */ /** * Sample code: CosmosDBSqlRoleAssignmentGet. @@ -23,6 +21,6 @@ public static void cosmosDBSqlRoleAssignmentGet(com.azure.resourcemanager.AzureR .serviceClient() .getSqlResources() .getSqlRoleAssignmentWithResponse( - "myRoleAssignmentId", "myResourceGroupName", "myAccountName", Context.NONE); + "myRoleAssignmentId", "myResourceGroupName", "myAccountName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlRoleDefinitionSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlRoleDefinitionSamples.java index 4aa5cc2de753b..2a59509875ddd 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlRoleDefinitionSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlRoleDefinitionSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources GetSqlRoleDefinition. */ public final class SqlResourcesGetSqlRoleDefinitionSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlRoleDefinitionGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlRoleDefinitionGet.json */ /** * Sample code: CosmosDBSqlRoleDefinitionGet. @@ -23,6 +21,6 @@ public static void cosmosDBSqlRoleDefinitionGet(com.azure.resourcemanager.AzureR .serviceClient() .getSqlResources() .getSqlRoleDefinitionWithResponse( - "myRoleDefinitionId", "myResourceGroupName", "myAccountName", Context.NONE); + "myRoleDefinitionId", "myResourceGroupName", "myAccountName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlStoredProcedureSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlStoredProcedureSamples.java index 6d0fa16b36224..a31092ab24e7b 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlStoredProcedureSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlStoredProcedureSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources GetSqlStoredProcedure. */ public final class SqlResourcesGetSqlStoredProcedureSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlStoredProcedureGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlStoredProcedureGet.json */ /** * Sample code: CosmosDBSqlStoredProcedureGet. @@ -23,6 +21,11 @@ public static void cosmosDBSqlStoredProcedureGet(com.azure.resourcemanager.Azure .serviceClient() .getSqlResources() .getSqlStoredProcedureWithResponse( - "rgName", "ddb1", "databaseName", "containerName", "storedProcedureName", Context.NONE); + "rgName", + "ddb1", + "databaseName", + "containerName", + "storedProcedureName", + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlTriggerSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlTriggerSamples.java index 2d818319b1467..12596ecc12b1c 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlTriggerSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlTriggerSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources GetSqlTrigger. */ public final class SqlResourcesGetSqlTriggerSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlTriggerGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlTriggerGet.json */ /** * Sample code: CosmosDBSqlTriggerGet. @@ -22,6 +20,7 @@ public static void cosmosDBSqlTriggerGet(com.azure.resourcemanager.AzureResource .manager() .serviceClient() .getSqlResources() - .getSqlTriggerWithResponse("rgName", "ddb1", "databaseName", "containerName", "triggerName", Context.NONE); + .getSqlTriggerWithResponse( + "rgName", "ddb1", "databaseName", "containerName", "triggerName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlUserDefinedFunctionSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlUserDefinedFunctionSamples.java index d30d25b302f03..d8f13b4cdc8a3 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlUserDefinedFunctionSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesGetSqlUserDefinedFunctionSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources GetSqlUserDefinedFunction. */ public final class SqlResourcesGetSqlUserDefinedFunctionSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlUserDefinedFunctionGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlUserDefinedFunctionGet.json */ /** * Sample code: CosmosDBSqlUserDefinedFunctionGet. @@ -23,6 +21,11 @@ public static void cosmosDBSqlUserDefinedFunctionGet(com.azure.resourcemanager.A .serviceClient() .getSqlResources() .getSqlUserDefinedFunctionWithResponse( - "rgName", "ddb1", "databaseName", "containerName", "userDefinedFunctionName", Context.NONE); + "rgName", + "ddb1", + "databaseName", + "containerName", + "userDefinedFunctionName", + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListClientEncryptionKeysSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListClientEncryptionKeysSamples.java new file mode 100644 index 0000000000000..a706be6fad08b --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListClientEncryptionKeysSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.generated; + +/** Samples for SqlResources ListClientEncryptionKeys. */ +public final class SqlResourcesListClientEncryptionKeysSamples { + /* + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlClientEncryptionKeysList.json + */ + /** + * Sample code: CosmosDBClientEncryptionKeysList. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void cosmosDBClientEncryptionKeysList(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .cosmosDBAccounts() + .manager() + .serviceClient() + .getSqlResources() + .listClientEncryptionKeys("rgName", "accountName", "databaseName", com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlContainersSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlContainersSamples.java index 474bf15011761..6506c486f20d1 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlContainersSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlContainersSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources ListSqlContainers. */ public final class SqlResourcesListSqlContainersSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlContainerList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlContainerList.json */ /** * Sample code: CosmosDBSqlContainerList. @@ -22,6 +20,6 @@ public static void cosmosDBSqlContainerList(com.azure.resourcemanager.AzureResou .manager() .serviceClient() .getSqlResources() - .listSqlContainers("rgName", "ddb1", "databaseName", Context.NONE); + .listSqlContainers("rgName", "ddb1", "databaseName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlDatabasesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlDatabasesSamples.java index 0936e379b679a..0407b1e210181 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlDatabasesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlDatabasesSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources ListSqlDatabases. */ public final class SqlResourcesListSqlDatabasesSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlDatabaseList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlDatabaseList.json */ /** * Sample code: CosmosDBSqlDatabaseList. @@ -22,6 +20,6 @@ public static void cosmosDBSqlDatabaseList(com.azure.resourcemanager.AzureResour .manager() .serviceClient() .getSqlResources() - .listSqlDatabases("rgName", "ddb1", Context.NONE); + .listSqlDatabases("rgName", "ddb1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlRoleAssignmentsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlRoleAssignmentsSamples.java index 721164c4cbd44..149a41a38fdf7 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlRoleAssignmentsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlRoleAssignmentsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources ListSqlRoleAssignments. */ public final class SqlResourcesListSqlRoleAssignmentsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlRoleAssignmentList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlRoleAssignmentList.json */ /** * Sample code: CosmosDBSqlRoleAssignmentList. @@ -22,6 +20,6 @@ public static void cosmosDBSqlRoleAssignmentList(com.azure.resourcemanager.Azure .manager() .serviceClient() .getSqlResources() - .listSqlRoleAssignments("myResourceGroupName", "myAccountName", Context.NONE); + .listSqlRoleAssignments("myResourceGroupName", "myAccountName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlRoleDefinitionsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlRoleDefinitionsSamples.java index 64e2c328e595c..e631bff773810 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlRoleDefinitionsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlRoleDefinitionsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources ListSqlRoleDefinitions. */ public final class SqlResourcesListSqlRoleDefinitionsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlRoleDefinitionList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlRoleDefinitionList.json */ /** * Sample code: CosmosDBSqlRoleDefinitionList. @@ -22,6 +20,6 @@ public static void cosmosDBSqlRoleDefinitionList(com.azure.resourcemanager.Azure .manager() .serviceClient() .getSqlResources() - .listSqlRoleDefinitions("myResourceGroupName", "myAccountName", Context.NONE); + .listSqlRoleDefinitions("myResourceGroupName", "myAccountName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlStoredProceduresSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlStoredProceduresSamples.java index 162425104bbf2..23f1bee3546a4 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlStoredProceduresSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlStoredProceduresSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources ListSqlStoredProcedures. */ public final class SqlResourcesListSqlStoredProceduresSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlStoredProcedureList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlStoredProcedureList.json */ /** * Sample code: CosmosDBSqlStoredProcedureList. @@ -22,6 +20,7 @@ public static void cosmosDBSqlStoredProcedureList(com.azure.resourcemanager.Azur .manager() .serviceClient() .getSqlResources() - .listSqlStoredProcedures("rgName", "ddb1", "databaseName", "containerName", Context.NONE); + .listSqlStoredProcedures( + "rgName", "ddb1", "databaseName", "containerName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlTriggersSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlTriggersSamples.java index b1d3dd2fbce85..369aa6a92ea20 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlTriggersSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlTriggersSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources ListSqlTriggers. */ public final class SqlResourcesListSqlTriggersSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlTriggerList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlTriggerList.json */ /** * Sample code: CosmosDBSqlTriggerList. @@ -22,6 +20,6 @@ public static void cosmosDBSqlTriggerList(com.azure.resourcemanager.AzureResourc .manager() .serviceClient() .getSqlResources() - .listSqlTriggers("rgName", "ddb1", "databaseName", "containerName", Context.NONE); + .listSqlTriggers("rgName", "ddb1", "databaseName", "containerName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlUserDefinedFunctionsSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlUserDefinedFunctionsSamples.java index 94f7fb9b0660f..a119aa26e31ff 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlUserDefinedFunctionsSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesListSqlUserDefinedFunctionsSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources ListSqlUserDefinedFunctions. */ public final class SqlResourcesListSqlUserDefinedFunctionsSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlUserDefinedFunctionList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlUserDefinedFunctionList.json */ /** * Sample code: CosmosDBSqlUserDefinedFunctionList. @@ -22,6 +20,7 @@ public static void cosmosDBSqlUserDefinedFunctionList(com.azure.resourcemanager. .manager() .serviceClient() .getSqlResources() - .listSqlUserDefinedFunctions("rgName", "ddb1", "databaseName", "containerName", Context.NONE); + .listSqlUserDefinedFunctions( + "rgName", "ddb1", "databaseName", "containerName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesMigrateSqlContainerToAutoscaleSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesMigrateSqlContainerToAutoscaleSamples.java index 4382c0e5e656a..5861881390058 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesMigrateSqlContainerToAutoscaleSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesMigrateSqlContainerToAutoscaleSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources MigrateSqlContainerToAutoscale. */ public final class SqlResourcesMigrateSqlContainerToAutoscaleSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlContainerMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlContainerMigrateToAutoscale.json */ /** * Sample code: CosmosDBSqlContainerMigrateToAutoscale. @@ -22,6 +20,7 @@ public static void cosmosDBSqlContainerMigrateToAutoscale(com.azure.resourcemana .manager() .serviceClient() .getSqlResources() - .migrateSqlContainerToAutoscale("rg1", "ddb1", "databaseName", "containerName", Context.NONE); + .migrateSqlContainerToAutoscale( + "rg1", "ddb1", "databaseName", "containerName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesMigrateSqlContainerToManualThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesMigrateSqlContainerToManualThroughputSamples.java index 07784828e55f3..0623e60e76fed 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesMigrateSqlContainerToManualThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesMigrateSqlContainerToManualThroughputSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources MigrateSqlContainerToManualThroughput. */ public final class SqlResourcesMigrateSqlContainerToManualThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlContainerMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlContainerMigrateToManualThroughput.json */ /** * Sample code: CosmosDBSqlContainerMigrateToManualThroughput. @@ -23,6 +21,7 @@ public static void cosmosDBSqlContainerMigrateToManualThroughput( .manager() .serviceClient() .getSqlResources() - .migrateSqlContainerToManualThroughput("rg1", "ddb1", "databaseName", "containerName", Context.NONE); + .migrateSqlContainerToManualThroughput( + "rg1", "ddb1", "databaseName", "containerName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesMigrateSqlDatabaseToAutoscaleSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesMigrateSqlDatabaseToAutoscaleSamples.java index 134016c312134..6d7cee5b813d8 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesMigrateSqlDatabaseToAutoscaleSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesMigrateSqlDatabaseToAutoscaleSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources MigrateSqlDatabaseToAutoscale. */ public final class SqlResourcesMigrateSqlDatabaseToAutoscaleSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlDatabaseMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlDatabaseMigrateToAutoscale.json */ /** * Sample code: CosmosDBSqlDatabaseMigrateToAutoscale. @@ -22,6 +20,6 @@ public static void cosmosDBSqlDatabaseMigrateToAutoscale(com.azure.resourcemanag .manager() .serviceClient() .getSqlResources() - .migrateSqlDatabaseToAutoscale("rg1", "ddb1", "databaseName", Context.NONE); + .migrateSqlDatabaseToAutoscale("rg1", "ddb1", "databaseName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesMigrateSqlDatabaseToManualThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesMigrateSqlDatabaseToManualThroughputSamples.java index 4cb55e036e905..d1da3884e0d58 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesMigrateSqlDatabaseToManualThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesMigrateSqlDatabaseToManualThroughputSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for SqlResources MigrateSqlDatabaseToManualThroughput. */ public final class SqlResourcesMigrateSqlDatabaseToManualThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlDatabaseMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlDatabaseMigrateToManualThroughput.json */ /** * Sample code: CosmosDBSqlDatabaseMigrateToManualThroughput. @@ -23,6 +21,6 @@ public static void cosmosDBSqlDatabaseMigrateToManualThroughput( .manager() .serviceClient() .getSqlResources() - .migrateSqlDatabaseToManualThroughput("rg1", "ddb1", "databaseName", Context.NONE); + .migrateSqlDatabaseToManualThroughput("rg1", "ddb1", "databaseName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesRetrieveContinuousBackupInformationSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesRetrieveContinuousBackupInformationSamples.java index 97df28dc1e4da..dfef064b84a6d 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesRetrieveContinuousBackupInformationSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesRetrieveContinuousBackupInformationSamples.java @@ -4,13 +4,12 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.ContinuousBackupRestoreLocation; /** Samples for SqlResources RetrieveContinuousBackupInformation. */ public final class SqlResourcesRetrieveContinuousBackupInformationSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlContainerBackupInformation.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlContainerBackupInformation.json */ /** * Sample code: CosmosDBSqlContainerBackupInformation. @@ -29,6 +28,6 @@ public static void cosmosDBSqlContainerBackupInformation(com.azure.resourcemanag "databaseName", "containerName", new ContinuousBackupRestoreLocation().withLocation("North Europe"), - Context.NONE); + com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesUpdateSqlContainerThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesUpdateSqlContainerThroughputSamples.java index 92fc1feda910d..caedd23b40598 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesUpdateSqlContainerThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesUpdateSqlContainerThroughputSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.ThroughputSettingsResource; import com.azure.resourcemanager.cosmos.models.ThroughputSettingsUpdateParameters; import java.util.HashMap; @@ -13,7 +12,7 @@ /** Samples for SqlResources UpdateSqlContainerThroughput. */ public final class SqlResourcesUpdateSqlContainerThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlContainerThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlContainerThroughputUpdate.json */ /** * Sample code: CosmosDBSqlContainerThroughputUpdate. @@ -35,7 +34,7 @@ public static void cosmosDBSqlContainerThroughputUpdate(com.azure.resourcemanage .withLocation("West US") .withTags(mapOf()) .withResource(new ThroughputSettingsResource().withThroughput(400)), - Context.NONE); + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesUpdateSqlDatabaseThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesUpdateSqlDatabaseThroughputSamples.java index c45a393b84daf..7bd9a31991cee 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesUpdateSqlDatabaseThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/SqlResourcesUpdateSqlDatabaseThroughputSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.ThroughputSettingsResource; import com.azure.resourcemanager.cosmos.models.ThroughputSettingsUpdateParameters; import java.util.HashMap; @@ -13,7 +12,7 @@ /** Samples for SqlResources UpdateSqlDatabaseThroughput. */ public final class SqlResourcesUpdateSqlDatabaseThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBSqlDatabaseThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBSqlDatabaseThroughputUpdate.json */ /** * Sample code: CosmosDBSqlDatabaseThroughputUpdate. @@ -34,7 +33,7 @@ public static void cosmosDBSqlDatabaseThroughputUpdate(com.azure.resourcemanager .withLocation("West US") .withTags(mapOf()) .withResource(new ThroughputSettingsResource().withThroughput(400)), - Context.NONE); + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesCreateUpdateTableSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesCreateUpdateTableSamples.java index a96d0ba754f31..5ed398581fc23 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesCreateUpdateTableSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesCreateUpdateTableSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.CreateUpdateOptions; import com.azure.resourcemanager.cosmos.models.TableCreateUpdateParameters; import com.azure.resourcemanager.cosmos.models.TableResource; @@ -14,7 +13,7 @@ /** Samples for TableResources CreateUpdateTable. */ public final class TableResourcesCreateUpdateTableSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBTableCreateUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBTableCreateUpdate.json */ /** * Sample code: CosmosDBTableReplace. @@ -36,7 +35,7 @@ public static void cosmosDBTableReplace(com.azure.resourcemanager.AzureResourceM .withTags(mapOf()) .withResource(new TableResource().withId("tableName")) .withOptions(new CreateUpdateOptions()), - Context.NONE); + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesDeleteTableSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesDeleteTableSamples.java index 824c2838eed3b..10e80c07665f4 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesDeleteTableSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesDeleteTableSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for TableResources DeleteTable. */ public final class TableResourcesDeleteTableSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBTableDelete.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBTableDelete.json */ /** * Sample code: CosmosDBTableDelete. @@ -22,6 +20,6 @@ public static void cosmosDBTableDelete(com.azure.resourcemanager.AzureResourceMa .manager() .serviceClient() .getTableResources() - .deleteTable("rg1", "ddb1", "tableName", Context.NONE); + .deleteTable("rg1", "ddb1", "tableName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesGetTableSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesGetTableSamples.java index 4ac81c2fe7937..1b697c248fb10 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesGetTableSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesGetTableSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for TableResources GetTable. */ public final class TableResourcesGetTableSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBTableGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBTableGet.json */ /** * Sample code: CosmosDBTableGet. @@ -22,6 +20,6 @@ public static void cosmosDBTableGet(com.azure.resourcemanager.AzureResourceManag .manager() .serviceClient() .getTableResources() - .getTableWithResponse("rg1", "ddb1", "tableName", Context.NONE); + .getTableWithResponse("rg1", "ddb1", "tableName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesGetTableThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesGetTableThroughputSamples.java index 9094e8441a503..2b4d03d0b14e6 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesGetTableThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesGetTableThroughputSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for TableResources GetTableThroughput. */ public final class TableResourcesGetTableThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBTableThroughputGet.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBTableThroughputGet.json */ /** * Sample code: CosmosDBTableThroughputGet. @@ -22,6 +20,6 @@ public static void cosmosDBTableThroughputGet(com.azure.resourcemanager.AzureRes .manager() .serviceClient() .getTableResources() - .getTableThroughputWithResponse("rg1", "ddb1", "tableName", Context.NONE); + .getTableThroughputWithResponse("rg1", "ddb1", "tableName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesListTablesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesListTablesSamples.java index e0443341ac412..61b6ad8e6bece 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesListTablesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesListTablesSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for TableResources ListTables. */ public final class TableResourcesListTablesSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBTableList.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBTableList.json */ /** * Sample code: CosmosDBTableList. @@ -22,6 +20,6 @@ public static void cosmosDBTableList(com.azure.resourcemanager.AzureResourceMana .manager() .serviceClient() .getTableResources() - .listTables("rgName", "ddb1", Context.NONE); + .listTables("rgName", "ddb1", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesMigrateTableToAutoscaleSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesMigrateTableToAutoscaleSamples.java index fe20a1a61078b..22b977a02863b 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesMigrateTableToAutoscaleSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesMigrateTableToAutoscaleSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for TableResources MigrateTableToAutoscale. */ public final class TableResourcesMigrateTableToAutoscaleSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBTableMigrateToAutoscale.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBTableMigrateToAutoscale.json */ /** * Sample code: CosmosDBTableMigrateToAutoscale. @@ -22,6 +20,6 @@ public static void cosmosDBTableMigrateToAutoscale(com.azure.resourcemanager.Azu .manager() .serviceClient() .getTableResources() - .migrateTableToAutoscale("rg1", "ddb1", "tableName", Context.NONE); + .migrateTableToAutoscale("rg1", "ddb1", "tableName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesMigrateTableToManualThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesMigrateTableToManualThroughputSamples.java index 4b935b7af8c79..d6f077b03be61 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesMigrateTableToManualThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesMigrateTableToManualThroughputSamples.java @@ -4,12 +4,10 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; - /** Samples for TableResources MigrateTableToManualThroughput. */ public final class TableResourcesMigrateTableToManualThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBTableMigrateToManualThroughput.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBTableMigrateToManualThroughput.json */ /** * Sample code: CosmosDBTableMigrateToManualThroughput. @@ -22,6 +20,6 @@ public static void cosmosDBTableMigrateToManualThroughput(com.azure.resourcemana .manager() .serviceClient() .getTableResources() - .migrateTableToManualThroughput("rg1", "ddb1", "tableName", Context.NONE); + .migrateTableToManualThroughput("rg1", "ddb1", "tableName", com.azure.core.util.Context.NONE); } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesRetrieveContinuousBackupInformationSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesRetrieveContinuousBackupInformationSamples.java new file mode 100644 index 0000000000000..1d6265439bf2f --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesRetrieveContinuousBackupInformationSamples.java @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.cosmos.generated; + +import com.azure.resourcemanager.cosmos.models.ContinuousBackupRestoreLocation; + +/** Samples for TableResources RetrieveContinuousBackupInformation. */ +public final class TableResourcesRetrieveContinuousBackupInformationSamples { + /* + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBTableBackupInformation.json + */ + /** + * Sample code: CosmosDBTableCollectionBackupInformation. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void cosmosDBTableCollectionBackupInformation(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .cosmosDBAccounts() + .manager() + .serviceClient() + .getTableResources() + .retrieveContinuousBackupInformation( + "rgName", + "ddb1", + "tableName1", + new ContinuousBackupRestoreLocation().withLocation("North Europe"), + com.azure.core.util.Context.NONE); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesUpdateTableThroughputSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesUpdateTableThroughputSamples.java index 5bec33f6196c9..2b96232120316 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesUpdateTableThroughputSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/cosmos/generated/TableResourcesUpdateTableThroughputSamples.java @@ -4,7 +4,6 @@ package com.azure.resourcemanager.cosmos.generated; -import com.azure.core.util.Context; import com.azure.resourcemanager.cosmos.models.ThroughputSettingsResource; import com.azure.resourcemanager.cosmos.models.ThroughputSettingsUpdateParameters; import java.util.HashMap; @@ -13,7 +12,7 @@ /** Samples for TableResources UpdateTableThroughput. */ public final class TableResourcesUpdateTableThroughputSamples { /* - * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-08-15/examples/CosmosDBTableThroughputUpdate.json + * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/examples/CosmosDBTableThroughputUpdate.json */ /** * Sample code: CosmosDBTableThroughputUpdate. @@ -34,7 +33,7 @@ public static void cosmosDBTableThroughputUpdate(com.azure.resourcemanager.Azure .withLocation("West US") .withTags(mapOf()) .withResource(new ThroughputSettingsResource().withThroughput(400)), - Context.NONE); + com.azure.core.util.Context.NONE); } @SuppressWarnings("unchecked") diff --git a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testCosmosDB.json b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testCosmosDB.json index 0d3f0b9555252..9151d231b5ecd 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testCosmosDB.json +++ b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testCosmosDB.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/databaseAccounts?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/databaseAccounts?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "db1e2b3c-c75a-4923-98ac-28e465e70705", @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/databaseAccounts?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/databaseAccounts?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "70e25cb3-50d4-4651-9e21-60a3a569b279", @@ -79,7 +79,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "97403da3-bfc7-49ca-9e9d-c7cd173cfac6", @@ -99,16 +99,16 @@ "x-ms-routing-request-id" : "SOUTHEASTASIA:20210129T122849Z:c2869d3f-4f5b-47f8-a9bc-3c172ec66a75", "x-ms-gatewayversion" : "version=2.11.0", "Content-Length" : "1679", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92786f01-52fc-4821-93d9-3a1899be5bb5?api-version=2022-08-15", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92786f01-52fc-4821-93d9-3a1899be5bb5?api-version=2022-11-15", "x-ms-request-id" : "92786f01-52fc-4821-93d9-3a1899be5bb5", "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756\",\"name\":\"docdb841756\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2021-01-29T12:28:47.5262699Z\"},\"properties\":{\"provisioningState\":\"Creating\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"instanceId\":\"e78b1eb4-daaa-47fa-b549-396f12d7c6eb\",\"createMode\":\"Default\",\"databaseAccountOfferType\":\"Standard\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Session\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"docdb841756-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"docdb841756-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"docdb841756-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"docdb841756-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Local\"}}}}", "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756/operationResults/92786f01-52fc-4821-93d9-3a1899be5bb5?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756/operationResults/92786f01-52fc-4821-93d9-3a1899be5bb5?api-version=2022-11-15" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92786f01-52fc-4821-93d9-3a1899be5bb5?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92786f01-52fc-4821-93d9-3a1899be5bb5?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "9a88df1b-cbcc-4f11-a046-54f639923c91" @@ -134,7 +134,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92786f01-52fc-4821-93d9-3a1899be5bb5?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92786f01-52fc-4821-93d9-3a1899be5bb5?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "5ede9427-10cc-4f86-bf20-143ffe0ee17f" @@ -160,7 +160,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92786f01-52fc-4821-93d9-3a1899be5bb5?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/92786f01-52fc-4821-93d9-3a1899be5bb5?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "e894e55c-f5c2-4121-ac42-b14adf45a7ef" @@ -186,7 +186,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "8c49bc4c-b362-4d12-a840-878e11f4aabe" @@ -212,7 +212,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "688536aa-c06b-4536-ad96-bdef7d58a71e", @@ -239,7 +239,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/databaseAccounts?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/databaseAccounts?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "e6380ad3-dc92-4a39-937e-bea2be8cd420", @@ -266,7 +266,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/databaseAccounts?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/databaseAccounts?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "751210d2-ad95-4f72-9d4a-0d64af5700ee", @@ -293,7 +293,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "356a641a-0aa9-4bf5-a30b-0dcc2adcd5d0", @@ -320,7 +320,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "2c309acc-ae22-487e-813e-9b71c173be5a", @@ -347,7 +347,7 @@ "Exception" : null }, { "Method" : "PATCH", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0d361317-b7ec-415c-8f26-f7835d3b9fad", @@ -367,16 +367,16 @@ "x-ms-routing-request-id" : "SOUTHEASTASIA:20210129T123036Z:cdcde4eb-058a-4a94-ac7b-b0eb5aa058ed", "x-ms-gatewayversion" : "version=2.11.0", "Content-Length" : "2471", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6946b045-6290-400b-a3d7-a26532737365?api-version=2022-08-15", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/6946b045-6290-400b-a3d7-a26532737365?api-version=2022-11-15", "x-ms-request-id" : "6946b045-6290-400b-a3d7-a26532737365", "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756\",\"name\":\"docdb841756\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2021-01-29T12:29:11.402883Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"documentEndpoint\":\"https://docdb841756.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"instanceId\":\"e78b1eb4-daaa-47fa-b549-396f12d7c6eb\",\"createMode\":\"Default\",\"databaseAccountOfferType\":\"Standard\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Session\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"docdb841756-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://docdb841756-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"docdb841756-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://docdb841756-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"docdb841756-centralus\",\"locationName\":\"Central US\",\"documentEndpoint\":\"https://docdb841756-centralus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"docdb841756-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://docdb841756-eastus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"docdb841756-centralus\",\"locationName\":\"Central US\",\"documentEndpoint\":\"https://docdb841756-centralus.documents.azure.com:443/\",\"provisioningState\":\"Succeeded\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"docdb841756-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"docdb841756-centralus\",\"locationName\":\"Central US\",\"failoverPriority\":1}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Local\"}}}}", "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756/operationResults/6946b045-6290-400b-a3d7-a26532737365?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756/operationResults/6946b045-6290-400b-a3d7-a26532737365?api-version=2022-11-15" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "8fb5f22a-52db-4c06-9c69-fb962b9e3b72", @@ -403,7 +403,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "25d43785-3e53-44b6-99f7-53ce5690cf44", @@ -430,7 +430,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "506fff73-86de-4a95-bcd0-3e4c3e45e838", @@ -457,7 +457,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "4ac5f8ca-0db7-4c65-8072-c1ea5cb2d226", @@ -484,7 +484,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "469bde4e-dd82-4955-97ec-e71086b00cb9", @@ -511,7 +511,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "b9d6fa41-1d8a-4d8c-94a2-34566e0a8fa8", @@ -538,7 +538,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "6ae277fd-d41b-43e4-a730-ee9aed8a3e49", @@ -565,7 +565,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "f3b4fe51-34b2-45f6-8655-9f46c2ea9bfe", @@ -592,7 +592,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "518a848c-3afa-458e-901b-e30cf79cd5c8", @@ -619,7 +619,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "b5cc7715-7f60-4787-909d-67489e79c6bd", @@ -646,7 +646,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "5f7d32c6-47f3-4462-915b-8f4a5a4ccc94", @@ -673,7 +673,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "4374ffe4-ee69-4153-910c-5bbb56670073", @@ -700,7 +700,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "f044675e-4b61-4e45-bed0-07dc14f0a941", @@ -727,7 +727,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "258d0126-aeb0-4b0c-b774-33e8a47143c8", @@ -754,7 +754,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "4f09146b-3a7c-4be0-8d10-57bd7cc1bfa1", @@ -781,7 +781,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "092b4839-8b2c-4608-88cb-020ce818ae30", @@ -808,7 +808,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "8b9e902f-20eb-46af-842d-7f257068c2f0", @@ -835,7 +835,7 @@ "Exception" : null }, { "Method" : "PATCH", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "ae58b044-0568-4d3b-9066-3f1c79ce6969", @@ -855,16 +855,16 @@ "x-ms-routing-request-id" : "SOUTHEASTASIA:20210129T123855Z:281b3801-8126-4c54-a3ff-860ac7f04735", "x-ms-gatewayversion" : "version=2.11.0", "Content-Length" : "2497", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/538a7afd-f3c1-4106-850b-a252ba30fee8?api-version=2022-08-15", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/538a7afd-f3c1-4106-850b-a252ba30fee8?api-version=2022-11-15", "x-ms-request-id" : "538a7afd-f3c1-4106-850b-a252ba30fee8", "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756\",\"name\":\"docdb841756\",\"location\":\"West US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2021-01-29T12:29:11.402883Z\"},\"properties\":{\"provisioningState\":\"Updating\",\"documentEndpoint\":\"https://docdb841756.documents.azure.com:443/\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"instanceId\":\"e78b1eb4-daaa-47fa-b549-396f12d7c6eb\",\"createMode\":\"Default\",\"databaseAccountOfferType\":\"Standard\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Session\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"docdb841756-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://docdb841756-eastus.documents.azure.com:443/\",\"provisioningState\":\"Updating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"docdb841756-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://docdb841756-eastus.documents.azure.com:443/\",\"provisioningState\":\"Updating\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"docdb841756-southeastasia\",\"locationName\":\"Southeast Asia\",\"documentEndpoint\":\"https://docdb841756-southeastasia.documents.azure.com:443/\",\"provisioningState\":\"Updating\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"docdb841756-eastus\",\"locationName\":\"East US\",\"documentEndpoint\":\"https://docdb841756-eastus.documents.azure.com:443/\",\"provisioningState\":\"Updating\",\"failoverPriority\":0,\"isZoneRedundant\":false},{\"id\":\"docdb841756-southeastasia\",\"locationName\":\"Southeast Asia\",\"documentEndpoint\":\"https://docdb841756-southeastasia.documents.azure.com:443/\",\"provisioningState\":\"Updating\",\"failoverPriority\":1,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"docdb841756-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0},{\"id\":\"docdb841756-southeastasia\",\"locationName\":\"Southeast Asia\",\"failoverPriority\":1}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Local\"}}}}", "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756/operationResults/538a7afd-f3c1-4106-850b-a252ba30fee8?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756/operationResults/538a7afd-f3c1-4106-850b-a252ba30fee8?api-version=2022-11-15" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/538a7afd-f3c1-4106-850b-a252ba30fee8?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/538a7afd-f3c1-4106-850b-a252ba30fee8?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "e217f82f-5d5a-423e-9cd3-f09c73c9c297" @@ -890,7 +890,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "849d9f1f-1a10-48df-b5bc-9f62bb47efd9" @@ -916,7 +916,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "8abd949f-c0eb-4876-9250-1a1637664bc3", @@ -943,7 +943,7 @@ "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/docdb841756group/providers/Microsoft.DocumentDB/databaseAccounts/docdb841756?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0ebd2e0b-bdb6-46d6-a23c-7bb1c131f71c", @@ -963,16 +963,16 @@ "x-ms-routing-request-id" : "SOUTHEASTASIA:20210129T123928Z:c0bcb29a-f2b7-442c-9c84-3934f3259a15", "x-ms-gatewayversion" : "version=2.11.0", "Content-Length" : "21", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "x-ms-request-id" : "8a9195f6-d783-4a2e-8f4b-ab2bf931b184", "Body" : "{\"status\":\"Enqueued\"}", "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationResults/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationResults/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "27c45a13-410d-4456-8ad2-93d147acbd64" @@ -998,7 +998,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "34921fa8-c4c3-4866-a936-5bb9ec808972" @@ -1024,7 +1024,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "9e7ff5be-43d0-4442-97eb-4c9445be1549" @@ -1050,7 +1050,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "1a8838ec-3936-4e91-b005-38aaeb3f6f5c" @@ -1076,7 +1076,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "331df0df-ce00-4d3f-8b88-103ce397e663" @@ -1102,7 +1102,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "4179774c-a316-4347-afbd-1a8759ed5ca2" @@ -1128,7 +1128,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "8489b26e-ef81-40a1-8cdf-94cf5f6cd483" @@ -1154,7 +1154,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "ec018b1e-219a-4a69-a609-443cf2db171c" @@ -1180,7 +1180,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "5f15c910-ac9e-4114-ab8a-06907b08997c" @@ -1206,7 +1206,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "eedcf774-9067-46e6-9f36-97c35f6716e3" @@ -1232,7 +1232,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "70ddb72b-8850-4810-a81e-e6210bb67ad5" @@ -1258,7 +1258,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0f78c4f7-d8c2-4907-8983-f42f6de128ef" @@ -1284,7 +1284,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "7e6f6390-e8a9-48c3-aba4-1130dcf41cd4" @@ -1310,7 +1310,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c01df6e1-a479-4fb5-876b-98e1e934990e" @@ -1336,7 +1336,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "009ceec0-c217-47eb-bb0c-5011cfeea88e" @@ -1362,7 +1362,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "dd5a9b65-96cc-4250-a07d-f41e807de83e" @@ -1388,7 +1388,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "17964f43-9e2a-43c4-9584-8640f9d8694f" @@ -1414,7 +1414,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "ec32f0cc-15db-4950-91be-35494b911944" @@ -1440,7 +1440,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "6f760972-f6dd-4af0-9d28-0e6c4b853852" @@ -1466,7 +1466,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0fca2020-321a-4192-991d-e39f31e788c2" @@ -1492,7 +1492,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "8456337e-60c8-4194-8e5f-975a442e4265" @@ -1518,7 +1518,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "d2088060-9e9c-413d-98f1-cd84d58c193e" @@ -1544,7 +1544,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "aa83f6c2-1856-4ba2-9d4d-bcb1f180b755" @@ -1570,7 +1570,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "75b7880a-79fe-4a0f-897a-370b22e22e77" @@ -1596,7 +1596,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "05f67118-7980-4270-9c46-92007b57a772" @@ -1622,7 +1622,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationsStatus/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "5f560f1a-186f-445b-84dd-00c49e7e68cf" @@ -1648,7 +1648,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationResults/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/westus/operationResults/8a9195f6-d783-4a2e-8f4b-ab2bf931b184?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "ad7b71b8-3f40-4b85-9e8b-3df49eb53535" diff --git a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/PrivateLinkTests.testPrivateEndpointCosmos.json b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/PrivateLinkTests.testPrivateEndpointCosmos.json index 6fb6e57f02f23..af5f1101ba83a 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/PrivateLinkTests.testPrivateEndpointCosmos.json +++ b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/PrivateLinkTests.testPrivateEndpointCosmos.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg41940/providers/Microsoft.DocumentDB/databaseAccounts/d348e7e23f?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg41940/providers/Microsoft.DocumentDB/databaseAccounts/d348e7e23f?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "feff6f09-74f4-43b6-8276-a6a1b660d1b0", @@ -47,16 +47,16 @@ "Cache-Control" : "no-store, no-cache", "x-ms-routing-request-id" : "SOUTHEASTASIA:20210421T080505Z:9440d8bc-fee6-48c3-85dc-022c7ff4bb91", "x-ms-gatewayversion" : "version=2.11.0", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/05702f59-91c5-4fc7-8a17-47cf274bde45?api-version=2022-08-15", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/05702f59-91c5-4fc7-8a17-47cf274bde45?api-version=2022-11-15", "x-ms-request-id" : "05702f59-91c5-4fc7-8a17-47cf274bde45", "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg41940/providers/Microsoft.DocumentDB/databaseAccounts/d348e7e23f\",\"name\":\"d348e7e23f\",\"location\":\"East US\",\"type\":\"Microsoft.DocumentDB/databaseAccounts\",\"kind\":\"GlobalDocumentDB\",\"tags\":{},\"systemData\":{\"createdAt\":\"2021-04-21T08:05:02.3059531Z\"},\"properties\":{\"provisioningState\":\"Creating\",\"publicNetworkAccess\":\"Enabled\",\"enableAutomaticFailover\":false,\"enableMultipleWriteLocations\":false,\"enablePartitionKeyMonitor\":false,\"isVirtualNetworkFilterEnabled\":false,\"virtualNetworkRules\":[],\"EnabledApiTypes\":\"Sql\",\"disableKeyBasedMetadataWriteAccess\":false,\"enableFreeTier\":false,\"enableAnalyticalStorage\":false,\"instanceId\":\"24f534d4-985d-437e-b3b9-5b89adbcdd93\",\"createMode\":\"Default\",\"databaseAccountOfferType\":\"Standard\",\"enableCassandraConnector\":false,\"connectorOffer\":\"\",\"defaultIdentity\":\"\",\"networkAclBypass\":\"None\",\"consistencyPolicy\":{\"defaultConsistencyLevel\":\"Strong\",\"maxIntervalInSeconds\":5,\"maxStalenessPrefix\":100},\"configurationOverrides\":{},\"writeLocations\":[{\"id\":\"d348e7e23f-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"readLocations\":[{\"id\":\"d348e7e23f-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"locations\":[{\"id\":\"d348e7e23f-eastus\",\"locationName\":\"East US\",\"provisioningState\":\"Creating\",\"failoverPriority\":0,\"isZoneRedundant\":false}],\"failoverPolicies\":[{\"id\":\"d348e7e23f-eastus\",\"locationName\":\"East US\",\"failoverPriority\":0}],\"cors\":[],\"capabilities\":[],\"ipRules\":[],\"backupPolicy\":{\"type\":\"Periodic\",\"periodicModeProperties\":{\"backupIntervalInMinutes\":240,\"backupRetentionIntervalInHours\":8,\"backupStorageRedundancy\":\"Geo\"}},\"networkAclBypassResourceIds\":[]},\"identity\":{\"type\":\"None\"}}", "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg41940/providers/Microsoft.DocumentDB/databaseAccounts/d348e7e23f/operationResults/05702f59-91c5-4fc7-8a17-47cf274bde45?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg41940/providers/Microsoft.DocumentDB/databaseAccounts/d348e7e23f/operationResults/05702f59-91c5-4fc7-8a17-47cf274bde45?api-version=2022-11-15" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/05702f59-91c5-4fc7-8a17-47cf274bde45?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/05702f59-91c5-4fc7-8a17-47cf274bde45?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "e56e0832-0437-478b-8480-4dbc2a63949c" @@ -82,7 +82,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/05702f59-91c5-4fc7-8a17-47cf274bde45?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/05702f59-91c5-4fc7-8a17-47cf274bde45?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "1648975d-802e-4f99-95cf-bd063559e8e4" @@ -108,7 +108,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/05702f59-91c5-4fc7-8a17-47cf274bde45?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/05702f59-91c5-4fc7-8a17-47cf274bde45?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0efbcaf9-7e10-49db-bc3b-95f98be279fa" @@ -134,7 +134,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg41940/providers/Microsoft.DocumentDB/databaseAccounts/d348e7e23f?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg41940/providers/Microsoft.DocumentDB/databaseAccounts/d348e7e23f?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "983ad1a5-4b16-42b1-8dc0-43668f74e4f4" @@ -160,7 +160,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg41940/providers/Microsoft.DocumentDB/databaseAccounts/d348e7e23f?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg41940/providers/Microsoft.DocumentDB/databaseAccounts/d348e7e23f?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "d7f35d1b-cfa9-4db7-b305-0fc7b3f4e755", @@ -391,7 +391,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg41940/providers/Microsoft.DocumentDB/databaseAccounts/d348e7e23f/privateEndpointConnections?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg41940/providers/Microsoft.DocumentDB/databaseAccounts/d348e7e23f/privateEndpointConnections?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "6a8dfb0c-daba-493a-af1e-80e79f2d8781", @@ -418,7 +418,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg41940/providers/Microsoft.DocumentDB/databaseAccounts/d348e7e23f/privateEndpointConnections/pe770104?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg41940/providers/Microsoft.DocumentDB/databaseAccounts/d348e7e23f/privateEndpointConnections/pe770104?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.cosmos/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "99264cd5-728d-49dd-8c5e-fe35553310ee", @@ -438,16 +438,16 @@ "Cache-Control" : "no-store, no-cache", "x-ms-routing-request-id" : "SOUTHEASTASIA:20210421T080725Z:e1c6bdc8-ed3a-44e1-b2ec-f20a603ab470", "x-ms-gatewayversion" : "version=2.11.0", - "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-08-15", + "Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-11-15", "x-ms-request-id" : "7c133eec-47aa-406f-8934-678a89fa2ef6", "Body" : "{\"status\":\"Enqueued\"}", "Content-Type" : "application/json", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg41940/providers/Microsoft.DocumentDB/databaseAccounts/d348e7e23f/privateEndpointConnections/pe770104/operationResults/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-08-15" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg41940/providers/Microsoft.DocumentDB/databaseAccounts/d348e7e23f/privateEndpointConnections/pe770104/operationResults/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-11-15" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "22e06d78-9aea-4f02-a8e7-9c0aeabee5de" @@ -473,7 +473,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "1ed36e3c-b607-4bde-94e4-20dd40392ce1" @@ -499,7 +499,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "8284d63d-d94f-449d-921b-fe5814851929" @@ -525,7 +525,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c8d1c2e5-36a1-42cf-8c62-e7b04d069efb" @@ -551,7 +551,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "a228ad11-4b57-4fc4-801d-8f195e8950ca" @@ -577,7 +577,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "81115686-2e2b-4be8-8b61-63f13641c657" @@ -603,7 +603,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "1ffe4f37-7596-4d0a-8add-4f784698a74e" @@ -629,7 +629,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "b409e8c9-f467-493a-aa2f-18a6bb0896f3" @@ -655,7 +655,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "fef71717-cee2-46a5-8196-23e3448181e2" @@ -681,7 +681,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "bb6b2773-4d0e-40f6-b0cc-df237fc2bd03" @@ -707,7 +707,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "70090182-1032-4d95-81cd-12c9d15868cd" @@ -733,7 +733,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "a304f207-9c20-4e96-9be9-2e27e4f4e70d" @@ -759,7 +759,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "728ca4dd-5b4a-47d9-93af-bbcd5f483042" @@ -785,7 +785,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "61009101-3bbb-437b-9347-8863b07fb8ac" @@ -811,7 +811,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DocumentDB/locations/eastus/operationsStatus/7c133eec-47aa-406f-8934-678a89fa2ef6?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "53162d47-ef07-46a8-be2a-59a95df615c0" @@ -837,7 +837,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg41940/providers/Microsoft.DocumentDB/databaseAccounts/d348e7e23f/privateEndpointConnections/pe770104?api-version=2022-08-15", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg41940/providers/Microsoft.DocumentDB/databaseAccounts/d348e7e23f/privateEndpointConnections/pe770104?api-version=2022-11-15", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c4c773fd-63ae-4ff0-b0f9-8b2b02e863aa"