Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
750 changes: 376 additions & 374 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions sdk/netapp/arm-netapp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Release History

## 20.0.0 (2023-11-27)

**Features**

- Enum KnownRelationshipStatus has a new value Failed
- Enum KnownRelationshipStatus has a new value Unknown

**Breaking Changes**

- Interface VolumeGroupMetaData no longer has parameter deploymentSpecId
- Type of parameter userAssignedIdentities of interface ManagedServiceIdentity is changed from {
[propertyName: string]: UserAssignedIdentity;
} to {
[propertyName: string]: UserAssignedIdentity | null;
}


## 19.0.0 (2023-09-25)

**Features**
Expand Down
8 changes: 4 additions & 4 deletions sdk/netapp/arm-netapp/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "06479e897f635086bd40e6ee879e94f4a803ddd9",
"commit": "fd04bd893130075b78ed33a28a9bccf4712a8b95",
"readme": "specification/netapp/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\\netapp\\resource-manager\\readme.md --use=@autorest/typescript@6.0.9 --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/netapp/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/js-sdk-release-tools@2.7.2",
"use": "@autorest/typescript@6.0.9"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.4",
"use": "@autorest/typescript@^6.0.12"
}
18 changes: 6 additions & 12 deletions sdk/netapp/arm-netapp/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 NetAppManagementClient.",
"version": "19.0.0",
"version": "20.0.0",
"engines": {
"node": ">=18.0.0"
},
Expand Down Expand Up @@ -34,15 +34,17 @@
"uglify-js": "^3.4.9",
"rimraf": "^5.0.0",
"dotenv": "^16.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^3.3.0",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^10.0.0",
"@types/mocha": "^10.0.0",
"esm": "^3.2.18",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@types/node": "^18.0.0",
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0"
},
"repository": {
Expand Down Expand Up @@ -105,13 +107,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/netapp/arm-netapp",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-netapp?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/netapp/arm-netapp"
}
7 changes: 4 additions & 3 deletions sdk/netapp/arm-netapp/review/arm-netapp.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -598,8 +598,10 @@ export enum KnownRegionStorageToNetworkProximity {

// @public
export enum KnownRelationshipStatus {
Failed = "Failed",
Idle = "Idle",
Transferring = "Transferring"
Transferring = "Transferring",
Unknown = "Unknown"
}

// @public
Expand Down Expand Up @@ -675,7 +677,7 @@ export interface ManagedServiceIdentity {
readonly tenantId?: string;
type: ManagedServiceIdentityType;
userAssignedIdentities?: {
[propertyName: string]: UserAssignedIdentity;
[propertyName: string]: UserAssignedIdentity | null;
};
}

Expand Down Expand Up @@ -1585,7 +1587,6 @@ export interface VolumeGroupList {
export interface VolumeGroupMetaData {
applicationIdentifier?: string;
applicationType?: ApplicationType;
deploymentSpecId?: string;
globalPlacementRules?: PlacementKeyValuePairs[];
groupDescription?: string;
readonly volumesCount?: number;
Expand Down
144 changes: 75 additions & 69 deletions sdk/netapp/arm-netapp/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,55 @@ export interface LogSpecification {
displayName?: string;
}

/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
export interface ErrorResponse {
/** The error object. */
error?: ErrorDetail;
}

/** The error detail. */
export interface ErrorDetail {
/**
* The error code.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly code?: string;
/**
* The error message.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly message?: string;
/**
* The error target.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly target?: string;
/**
* The error details.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly details?: ErrorDetail[];
/**
* The error additional info.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly additionalInfo?: ErrorAdditionalInfo[];
}

/** The resource management error additional info. */
export interface ErrorAdditionalInfo {
/**
* The additional info type.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly type?: string;
/**
* The additional info.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly info?: Record<string, unknown>;
}

/** Resource name availability request content. */
export interface ResourceNameAvailabilityRequest {
/** Resource name to verify. */
Expand Down Expand Up @@ -145,7 +194,7 @@ export interface SubscriptionQuotaItemList {
/** Common fields that are returned in the response for all Azure Resource Manager resources */
export interface Resource {
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly id?: string;
Expand Down Expand Up @@ -235,55 +284,6 @@ export interface NicInfo {
volumeResourceIds?: string[];
}

/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
export interface ErrorResponse {
/** The error object. */
error?: ErrorDetail;
}

/** The error detail. */
export interface ErrorDetail {
/**
* The error code.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly code?: string;
/**
* The error message.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly message?: string;
/**
* The error target.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly target?: string;
/**
* The error details.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly details?: ErrorDetail[];
/**
* The error additional info.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly additionalInfo?: ErrorAdditionalInfo[];
}

/** The resource management error additional info. */
export interface ErrorAdditionalInfo {
/**
* The additional info type.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly type?: string;
/**
* The additional info.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly info?: Record<string, unknown>;
}

/** Network sibling set update. */
export interface UpdateNetworkSiblingSetRequest {
/** Network Sibling Set ID for a group of volumes sharing networking resources in a subnet. */
Expand Down Expand Up @@ -426,7 +426,9 @@ export interface ManagedServiceIdentity {
/** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */
type: ManagedServiceIdentityType;
/** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */
userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentity };
userAssignedIdentities?: {
[propertyName: string]: UserAssignedIdentity | null;
};
}

/** User assigned identity properties */
Expand Down Expand Up @@ -482,20 +484,6 @@ export interface NetAppAccountPatch {
readonly disableShowmount?: boolean;
}

/** An error response from the service. */
export interface CloudError {
/** Cloud error body. */
error?: CloudErrorBody;
}

/** An error response from the service. */
export interface CloudErrorBody {
/** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
code?: string;
/** A message describing the error, intended to be suitable for display in a user interface. */
message?: string;
}

/** List of capacity pool resources */
export interface CapacityPoolList {
/** List of Capacity pools */
Expand Down Expand Up @@ -1091,8 +1079,6 @@ export interface VolumeGroupMetaData {
applicationIdentifier?: string;
/** Application specific placement rules for the volume group */
globalPlacementRules?: PlacementKeyValuePairs[];
/** Application specific identifier of deployment rules for the volume group */
deploymentSpecId?: string;
/**
* Number of volumes in volume group
* NOTE: This property will not be serialized. It can only be populated by the server.
Expand Down Expand Up @@ -1457,6 +1443,20 @@ export interface SnapshotPolicyDetails {
readonly provisioningState?: string;
}

/** An error response from the service. */
export interface CloudError {
/** Cloud error body. */
error?: CloudErrorBody;
}

/** An error response from the service. */
export interface CloudErrorBody {
/** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
code?: string;
/** A message describing the error, intended to be suitable for display in a user interface. */
message?: string;
}

/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
export interface ProxyResource extends Resource {}

Expand Down Expand Up @@ -2428,7 +2428,11 @@ export enum KnownRelationshipStatus {
/** Idle */
Idle = "Idle",
/** Transferring */
Transferring = "Transferring"
Transferring = "Transferring",
/** Failed */
Failed = "Failed",
/** Unknown */
Unknown = "Unknown"
}

/**
Expand All @@ -2437,7 +2441,9 @@ export enum KnownRelationshipStatus {
* this enum contains the known values that the service supports.
* ### Known values supported by the service
* **Idle** \
* **Transferring**
* **Transferring** \
* **Failed** \
* **Unknown**
*/
export type RelationshipStatus = string;

Expand Down
Loading