Skip to content

Commit

Permalink
CodeGen from PR 29585 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 31b6d1adc734b53990bd2ca54394438c1235cdf2 into a2b526504c60d58ef977ab63ac326ccefb8a208e
  • Loading branch information
SDKAuto committed Jun 28, 2024
1 parent c2b68a7 commit 8f2e46e
Show file tree
Hide file tree
Showing 221 changed files with 408 additions and 10,583 deletions.
54 changes: 1 addition & 53 deletions sdk/oracledatabase/arm-oracledatabase/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,57 +1,5 @@
# Release History

## 1.0.0-beta.2 (2024-06-17)
Compared with version 1.0.0-beta.1

### Features Added

- Added operation group SystemVersions
- Added operation AutonomousDatabases.beginRestore
- Added operation AutonomousDatabases.beginRestoreAndWait
- Added operation AutonomousDatabases.beginShrink
- Added operation AutonomousDatabases.beginShrinkAndWait
- Added Interface AutonomousDatabasesRestoreHeaders
- Added Interface AutonomousDatabasesRestoreOptionalParams
- Added Interface AutonomousDatabasesShrinkHeaders
- Added Interface AutonomousDatabasesShrinkOptionalParams
- Added Interface LongTermBackUpScheduleDetails
- Added Interface NsgCidr
- Added Interface PlanUpdate
- Added Interface RestoreAutonomousDatabaseDetails
- Added Interface SystemVersion
- Added Interface SystemVersionListResult
- Added Interface SystemVersionProperties
- Added Interface SystemVersionsFilter
- Added Interface SystemVersionsGetOptionalParams
- Added Interface SystemVersionsListByLocationNextOptionalParams
- Added Interface SystemVersionsListByLocationOptionalParams
- Added Type Alias AutonomousDatabasesRestoreResponse
- Added Type Alias AutonomousDatabasesShrinkResponse
- Added Type Alias RepeatCadenceType
- Added Type Alias SystemVersionsGetResponse
- Added Type Alias SystemVersionsListByLocationNextResponse
- Added Type Alias SystemVersionsListByLocationResponse
- Interface AutonomousDatabaseBackupProperties has a new optional parameter autonomousDatabaseOcid
- Interface AutonomousDatabaseBackupProperties has a new optional parameter backupType
- Interface AutonomousDatabaseBackupProperties has a new optional parameter databaseSizeInTbs
- Interface AutonomousDatabaseBackupProperties has a new optional parameter sizeInTbs
- Interface AutonomousDatabaseBackupProperties has a new optional parameter timeStarted
- Interface AutonomousDatabaseBaseProperties has a new optional parameter longTermBackupSchedule
- Interface AutonomousDatabaseBaseProperties has a new optional parameter nextLongTermBackupTimeStamp
- Interface AutonomousDatabaseUpdateProperties has a new optional parameter longTermBackupSchedule
- Added Enum KnownRepeatCadenceType

### Breaking Changes

- Interface AutonomousDatabaseBackupProperties no longer has parameter autonomousDatabaseId
- Interface AutonomousDatabaseBackupProperties no longer has parameter databaseSizeInTBs
- Interface AutonomousDatabaseBackupProperties no longer has parameter sizeInTBs
- Interface AutonomousDatabaseBackupProperties no longer has parameter type
- Type of parameter nsgCidrs of interface CloudVmClusterProperties is changed from NSGCidr[] to NsgCidr[]
- Type of parameter plan of interface OracleSubscriptionUpdate is changed from ResourcePlanTypeUpdate to PlanUpdate
- Removed Enum KnownVersions


## 1.0.0-beta.1 (2024-05-14)
## 1.0.0 (2024-06-28)

The package of @azure/arm-oracledatabase is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).
2 changes: 1 addition & 1 deletion sdk/oracledatabase/arm-oracledatabase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/oracledatabase/arm-oracledatabase) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-oracledatabase) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-oracledatabase?view=azure-node-preview) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-oracledatabase) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
Expand Down
6 changes: 3 additions & 3 deletions sdk/oracledatabase/arm-oracledatabase/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "f1546dc981fa5d164d7ecd13588520457462c22c",
"commit": "03deae10e936d375ba8d5ac1d1d6695622689f54",
"readme": "specification/oracle/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\oracle\\resource-manager\\readme.md --use=@autorest/[email protected].23 --generate-sample=true",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/oracle/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/[email protected]",
"use": "@autorest/[email protected].23"
"use": "@autorest/typescript@^6.0.12"
}
6 changes: 0 additions & 6 deletions sdk/oracledatabase/arm-oracledatabase/assets.json

This file was deleted.

12 changes: 2 additions & 10 deletions sdk/oracledatabase/arm-oracledatabase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for OracleDatabaseManagementClient.",
"version": "1.0.0-beta.2",
"version": "1.0.0",
"engines": {
"node": ">=18.0.0"
},
Expand Down Expand Up @@ -106,13 +106,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/oracledatabase/arm-oracledatabase",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-oracledatabase?view=azure-node-preview"
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/oracledatabase/arm-oracledatabase"
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ export interface AddRemoveDbNode {
dbServers: string[];
}

// @public
export type AddSubscriptionOperationState = string;

// @public
export interface AllConnectionStringType {
high?: string;
Expand Down Expand Up @@ -261,7 +264,7 @@ export interface AutonomousDatabaseCharacterSetListResult {

// @public
export interface AutonomousDatabaseCharacterSetProperties {
readonly characterSet: string;
readonly characterSet?: string;
}

// @public
Expand Down Expand Up @@ -326,7 +329,7 @@ export interface AutonomousDatabaseNationalCharacterSetListResult {

// @public
export interface AutonomousDatabaseNationalCharacterSetProperties {
readonly characterSet: string;
readonly characterSet?: string;
}

// @public
Expand Down Expand Up @@ -623,7 +626,7 @@ export interface AutonomousDbVersionProperties {
readonly isDefaultForPaid?: boolean;
readonly isFreeTierEnabled?: boolean;
readonly isPaidEnabled?: boolean;
readonly version: string;
readonly version?: string;
}

// @public
Expand All @@ -632,6 +635,11 @@ export type AutonomousMaintenanceScheduleType = string;
// @public
export type AzureResourceProvisioningState = string;

// @public
export interface AzureSubscriptions {
azureSubscriptionIds: string[];
}

// @public
export type CloneType = string;

Expand Down Expand Up @@ -1146,15 +1154,15 @@ export interface DbNodeProperties {
readonly cpuCoreCount?: number;
readonly dbNodeStorageSizeInGbs?: number;
readonly dbServerId?: string;
readonly dbSystemId: string;
readonly dbSystemId?: string;
readonly faultDomain?: string;
readonly hostIpId?: string;
readonly hostname?: string;
readonly lifecycleDetails?: string;
readonly lifecycleState?: DbNodeProvisioningState;
readonly maintenanceType?: DbNodeMaintenanceType;
readonly memorySizeInGbs?: number;
readonly ocid: string;
readonly ocid?: string;
readonly provisioningState?: ResourceProvisioningState;
readonly softwareStorageSizeInGb?: number;
readonly timeCreated?: Date;
Expand Down Expand Up @@ -1300,7 +1308,7 @@ export interface DbSystemShapeListResult {

// @public
export interface DbSystemShapeProperties {
readonly availableCoreCount: number;
readonly availableCoreCount?: number;
readonly availableCoreCountPerNode?: number;
readonly availableDataStorageInTbs?: number;
readonly availableDataStoragePerServerInTbs?: number;
Expand Down Expand Up @@ -1369,13 +1377,13 @@ export interface DnsPrivateViewListResult {
// @public
export interface DnsPrivateViewProperties {
readonly displayName?: string;
readonly isProtected: boolean;
readonly isProtected?: boolean;
readonly lifecycleState?: DnsPrivateViewsLifecycleState;
readonly ocid: string;
readonly ocid?: string;
readonly provisioningState?: ResourceProvisioningState;
readonly self: string;
readonly timeCreated: Date;
readonly timeUpdated: Date;
readonly self?: string;
readonly timeCreated?: Date;
readonly timeUpdated?: Date;
}

// @public
Expand Down Expand Up @@ -1421,16 +1429,16 @@ export interface DnsPrivateZoneListResult {

// @public
export interface DnsPrivateZoneProperties {
readonly isProtected: boolean;
readonly isProtected?: boolean;
readonly lifecycleState?: DnsPrivateZonesLifecycleState;
readonly ocid: string;
readonly ocid?: string;
readonly provisioningState?: ResourceProvisioningState;
readonly self: string;
readonly serial: number;
readonly timeCreated: Date;
readonly version: string;
readonly self?: string;
readonly serial?: number;
readonly timeCreated?: Date;
readonly version?: string;
readonly viewId?: string;
readonly zoneType: ZoneType;
readonly zoneType?: ZoneType;
}

// @public
Expand Down Expand Up @@ -1525,7 +1533,7 @@ export interface GiVersionListResult {

// @public
export interface GiVersionProperties {
readonly version: string;
readonly version?: string;
}

// @public
Expand Down Expand Up @@ -1569,6 +1577,13 @@ export enum KnownActionType {
Internal = "Internal"
}

// @public
export enum KnownAddSubscriptionOperationState {
Failed = "Failed",
Succeeded = "Succeeded",
Updating = "Updating"
}

// @public
export enum KnownAutonomousDatabaseBackupLifecycleState {
Active = "Active",
Expand Down Expand Up @@ -2158,9 +2173,12 @@ export interface OracleSubscriptionListResult {

// @public
export interface OracleSubscriptionProperties {
readonly addSubscriptionOperationState?: AddSubscriptionOperationState;
readonly azureSubscriptionIds?: string[];
readonly cloudAccountId?: string;
readonly cloudAccountState?: CloudAccountProvisioningState;
intent?: Intent;
readonly lastOperationStatusDetail?: string;
productCode?: string;
readonly provisioningState?: OracleSubscriptionProvisioningState;
readonly saasSubscriptionId?: string;
Expand All @@ -2172,6 +2190,8 @@ export type OracleSubscriptionProvisioningState = string;

// @public
export interface OracleSubscriptions {
beginAddAzureSubscriptions(body: AzureSubscriptions, options?: OracleSubscriptionsAddAzureSubscriptionsOptionalParams): Promise<SimplePollerLike<OperationState<OracleSubscriptionsAddAzureSubscriptionsResponse>, OracleSubscriptionsAddAzureSubscriptionsResponse>>;
beginAddAzureSubscriptionsAndWait(body: AzureSubscriptions, options?: OracleSubscriptionsAddAzureSubscriptionsOptionalParams): Promise<OracleSubscriptionsAddAzureSubscriptionsResponse>;
beginCreateOrUpdate(resource: OracleSubscription, options?: OracleSubscriptionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<OracleSubscriptionsCreateOrUpdateResponse>, OracleSubscriptionsCreateOrUpdateResponse>>;
beginCreateOrUpdateAndWait(resource: OracleSubscription, options?: OracleSubscriptionsCreateOrUpdateOptionalParams): Promise<OracleSubscriptionsCreateOrUpdateResponse>;
beginDelete(options?: OracleSubscriptionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<OracleSubscriptionsDeleteResponse>, OracleSubscriptionsDeleteResponse>>;
Expand All @@ -2188,6 +2208,21 @@ export interface OracleSubscriptions {
listBySubscription(options?: OracleSubscriptionsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<OracleSubscription>;
}

// @public
export interface OracleSubscriptionsAddAzureSubscriptionsHeaders {
location?: string;
retryAfter?: number;
}

// @public
export interface OracleSubscriptionsAddAzureSubscriptionsOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}

// @public
export type OracleSubscriptionsAddAzureSubscriptionsResponse = OracleSubscriptionsAddAzureSubscriptionsHeaders;

// @public
export interface OracleSubscriptionsCreateOrUpdateHeaders {
retryAfter?: number;
Expand Down Expand Up @@ -2476,7 +2511,7 @@ export interface SystemVersionListResult {

// @public
export interface SystemVersionProperties {
readonly systemVersion: string;
readonly systemVersion?: string;
}

// @public
Expand Down

This file was deleted.

Loading

0 comments on commit 8f2e46e

Please sign in to comment.