Skip to content

Commit 236986d

Browse files
author
SDKAuto
committed
CodeGen from PR 23722 in Azure/azure-rest-api-specs
Merge f87b4274cdbb7fd2bb92caed7493beed49eff20d into ecf3f60d2730f9fb95ec2250c02ee8f92a29216b
1 parent a2949d1 commit 236986d

File tree

20 files changed

+702
-193
lines changed

20 files changed

+702
-193
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 12 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/netapp/arm-netapp/CHANGELOG.md

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,32 @@
11
# Release History
2+
3+
## 18.1.0 (2023-06-12)
4+
5+
**Features**
26

3-
## 18.0.1 (Unreleased)
4-
5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
7+
- Added operation Volumes.beginListGetGroupIdListForLdapUser
8+
- Added operation Volumes.beginListGetGroupIdListForLdapUserAndWait
9+
- Added Interface ErrorAdditionalInfo
10+
- Added Interface ErrorDetail
11+
- Added Interface ErrorResponse
12+
- Added Interface GetGroupIdListForLdapUserRequest
13+
- Added Interface GetGroupIdListForLdapUserResponse
14+
- Added Interface VolumesListGetGroupIdListForLdapUserHeaders
15+
- Added Interface VolumesListGetGroupIdListForLdapUserOptionalParams
16+
- Added Type Alias VolumesListGetGroupIdListForLdapUserResponse
17+
- Interface NetAppAccountPatch has a new optional parameter identity
18+
- Interface Volume has a new optional parameter actualThroughputMibps
19+
- Interface Volume has a new optional parameter originatingResourceId
20+
- Interface VolumeGroupVolumeProperties has a new optional parameter actualThroughputMibps
21+
- Interface VolumeGroupVolumeProperties has a new optional parameter originatingResourceId
22+
- Interface VolumePatch has a new optional parameter snapshotDirectoryVisible
23+
- Enum KnownRegionStorageToNetworkProximity has a new value AcrossT2
24+
- Enum KnownRegionStorageToNetworkProximity has a new value T1AndAcrossT2
25+
- Enum KnownRegionStorageToNetworkProximity has a new value T1AndT2AndAcrossT2
26+
- Enum KnownRegionStorageToNetworkProximity has a new value T2AndAcrossT2
27+
- Enum KnownVolumeStorageToNetworkProximity has a new value AcrossT2
28+
29+
1330
## 18.0.0 (2023-03-08)
1431

1532
**Features**

sdk/netapp/arm-netapp/_meta.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "4f4044394791773e6e7e82a9bd90d3935caaca1b",
2+
"commit": "eb4f03826b34f1b83c50cff6543f2226116162c0",
33
"readme": "specification/netapp/resource-manager/readme.md",
4-
"autorest_command": "autorest --version=3.9.3 --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\\netapp\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.9 --generate-sample=true",
4+
"autorest_command": "autorest --version=3.9.3 --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/netapp/resource-manager/readme.md --use=@autorest/typescript@6.0.0-rc.10",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.2",
7-
"use": "@autorest/typescript@6.0.0-rc.9"
6+
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.0",
7+
"use": "@autorest/typescript@6.0.0-rc.10"
88
}

sdk/netapp/arm-netapp/package.json

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for NetAppManagementClient.",
6-
"version": "18.0.1",
6+
"version": "18.1.0",
77
"engines": {
88
"node": ">=14.0.0"
99
},
@@ -36,7 +36,7 @@
3636
"mkdirp": "^2.1.2",
3737
"rollup": "^2.66.1",
3838
"rollup-plugin-sourcemaps": "^0.6.3",
39-
"typescript": "~5.0.0",
39+
"typescript": "~4.8.0",
4040
"uglify-js": "^3.4.9",
4141
"rimraf": "^3.0.0",
4242
"dotenv": "^16.0.0",
@@ -111,13 +111,5 @@
111111
]
112112
},
113113
"autoPublish": true,
114-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/netapp/arm-netapp",
115-
"//sampleConfiguration": {
116-
"productName": "",
117-
"productSlugs": [
118-
"azure"
119-
],
120-
"disableDocsMs": true,
121-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-netapp?view=azure-node-preview"
122-
}
123-
}
114+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/netapp/arm-netapp"
115+
}

sdk/netapp/arm-netapp/review/arm-netapp.api.md

Lines changed: 59 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -264,18 +264,6 @@ export interface BackupPolicy extends TrackedResource {
264264
weeklyBackupsToKeep?: number;
265265
}
266266

267-
// @public
268-
export interface BackupPolicyDetails extends TrackedResource {
269-
readonly backupPolicyId?: string;
270-
dailyBackupsToKeep?: number;
271-
enabled?: boolean;
272-
monthlyBackupsToKeep?: number;
273-
readonly provisioningState?: string;
274-
readonly volumeBackups?: VolumeBackups[];
275-
readonly volumesAssigned?: number;
276-
weeklyBackupsToKeep?: number;
277-
}
278-
279267
// @public
280268
export interface BackupPolicyPatch {
281269
readonly backupPolicyId?: string;
@@ -510,6 +498,26 @@ export type EncryptionType = string;
510498
// @public
511499
export type EndpointType = string;
512500

501+
// @public
502+
export interface ErrorAdditionalInfo {
503+
readonly info?: Record<string, unknown>;
504+
readonly type?: string;
505+
}
506+
507+
// @public
508+
export interface ErrorDetail {
509+
readonly additionalInfo?: ErrorAdditionalInfo[];
510+
readonly code?: string;
511+
readonly details?: ErrorDetail[];
512+
readonly message?: string;
513+
readonly target?: string;
514+
}
515+
516+
// @public
517+
export interface ErrorResponse {
518+
error?: ErrorDetail;
519+
}
520+
513521
// @public
514522
export interface ExportPolicyRule {
515523
allowedClients?: string;
@@ -541,6 +549,16 @@ export interface FilePathAvailabilityRequest {
541549
// @public
542550
export function getContinuationToken(page: unknown): string | undefined;
543551

552+
// @public
553+
export interface GetGroupIdListForLdapUserRequest {
554+
username: string;
555+
}
556+
557+
// @public
558+
export interface GetGroupIdListForLdapUserResponse {
559+
groupIdsForLdapUser?: string[];
560+
}
561+
544562
// @public
545563
export interface HourlySchedule {
546564
minute?: number;
@@ -707,10 +725,14 @@ export enum KnownQosType {
707725

708726
// @public
709727
export enum KnownRegionStorageToNetworkProximity {
728+
AcrossT2 = "AcrossT2",
710729
Default = "Default",
711730
T1 = "T1",
731+
T1AndAcrossT2 = "T1AndAcrossT2",
712732
T1AndT2 = "T1AndT2",
713-
T2 = "T2"
733+
T1AndT2AndAcrossT2 = "T1AndT2AndAcrossT2",
734+
T2 = "T2",
735+
T2AndAcrossT2 = "T2AndAcrossT2"
714736
}
715737

716738
// @public
@@ -762,6 +784,7 @@ export enum KnownType {
762784

763785
// @public
764786
export enum KnownVolumeStorageToNetworkProximity {
787+
AcrossT2 = "AcrossT2",
765788
Default = "Default",
766789
T1 = "T1",
767790
T2 = "T2"
@@ -878,6 +901,7 @@ export interface NetAppAccountPatch {
878901
readonly disableShowmount?: boolean;
879902
encryption?: AccountEncryption;
880903
readonly id?: string;
904+
identity?: ManagedServiceIdentity;
881905
location?: string;
882906
readonly name?: string;
883907
readonly provisioningState?: string;
@@ -1549,6 +1573,7 @@ export interface UserAssignedIdentity {
15491573

15501574
// @public
15511575
export interface Volume extends TrackedResource {
1576+
readonly actualThroughputMibps?: number;
15521577
avsDataStore?: AvsDataStore;
15531578
backupId?: string;
15541579
readonly baremetalTenantId?: string;
@@ -1579,6 +1604,7 @@ export interface Volume extends TrackedResource {
15791604
readonly mountTargets?: MountTargetProperties[];
15801605
networkFeatures?: NetworkFeatures;
15811606
readonly networkSiblingSetId?: string;
1607+
readonly originatingResourceId?: string;
15821608
placementRules?: PlacementKeyValuePairs[];
15831609
protocolTypes?: string[];
15841610
readonly provisionedAvailabilityZone?: string;
@@ -1695,6 +1721,7 @@ export type VolumeGroupsListByNetAppAccountResponse = VolumeGroupList;
16951721

16961722
// @public
16971723
export interface VolumeGroupVolumeProperties {
1724+
readonly actualThroughputMibps?: number;
16981725
avsDataStore?: AvsDataStore;
16991726
backupId?: string;
17001727
readonly baremetalTenantId?: string;
@@ -1726,6 +1753,7 @@ export interface VolumeGroupVolumeProperties {
17261753
name?: string;
17271754
networkFeatures?: NetworkFeatures;
17281755
readonly networkSiblingSetId?: string;
1756+
readonly originatingResourceId?: string;
17291757
placementRules?: PlacementKeyValuePairs[];
17301758
protocolTypes?: string[];
17311759
readonly provisionedAvailabilityZone?: string;
@@ -1773,6 +1801,7 @@ export interface VolumePatch {
17731801
location?: string;
17741802
readonly name?: string;
17751803
serviceLevel?: ServiceLevel;
1804+
snapshotDirectoryVisible?: boolean;
17761805
tags?: {
17771806
[propertyName: string]: string;
17781807
};
@@ -1907,6 +1936,8 @@ export interface Volumes {
19071936
beginDeleteReplicationAndWait(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: VolumesDeleteReplicationOptionalParams): Promise<void>;
19081937
beginFinalizeRelocation(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: VolumesFinalizeRelocationOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
19091938
beginFinalizeRelocationAndWait(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: VolumesFinalizeRelocationOptionalParams): Promise<void>;
1939+
beginListGetGroupIdListForLdapUser(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, body: GetGroupIdListForLdapUserRequest, options?: VolumesListGetGroupIdListForLdapUserOptionalParams): Promise<SimplePollerLike<OperationState<VolumesListGetGroupIdListForLdapUserResponse>, VolumesListGetGroupIdListForLdapUserResponse>>;
1940+
beginListGetGroupIdListForLdapUserAndWait(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, body: GetGroupIdListForLdapUserRequest, options?: VolumesListGetGroupIdListForLdapUserOptionalParams): Promise<VolumesListGetGroupIdListForLdapUserResponse>;
19101941
beginPoolChange(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, body: PoolChangeRequest, options?: VolumesPoolChangeOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
19111942
beginPoolChangeAndWait(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, body: PoolChangeRequest, options?: VolumesPoolChangeOptionalParams): Promise<void>;
19121943
beginReestablishReplication(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, body: ReestablishReplicationRequest, options?: VolumesReestablishReplicationOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
@@ -1992,6 +2023,21 @@ export interface VolumesGetOptionalParams extends coreClient.OperationOptions {
19922023
// @public
19932024
export type VolumesGetResponse = Volume;
19942025

2026+
// @public
2027+
export interface VolumesListGetGroupIdListForLdapUserHeaders {
2028+
// (undocumented)
2029+
location?: string;
2030+
}
2031+
2032+
// @public
2033+
export interface VolumesListGetGroupIdListForLdapUserOptionalParams extends coreClient.OperationOptions {
2034+
resumeFrom?: string;
2035+
updateIntervalInMs?: number;
2036+
}
2037+
2038+
// @public
2039+
export type VolumesListGetGroupIdListForLdapUserResponse = GetGroupIdListForLdapUserResponse;
2040+
19952041
// @public
19962042
export interface VolumesListNextOptionalParams extends coreClient.OperationOptions {
19972043
}

0 commit comments

Comments
 (0)