Skip to content

Commit

Permalink
CodeGen from PR 15213 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 42df67297c4451fc8a672120e9e80a1e48043d79 into 7026463801584950d4ccbaa6b05b15d29555dd3a
  • Loading branch information
SDKAuto committed Jul 15, 2021
1 parent eb5b44c commit cace76a
Show file tree
Hide file tree
Showing 6 changed files with 417 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sdk/netapp/arm-netapp/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
## Azure AzureNetAppFilesManagementClient SDK for JavaScript

This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureNetAppFilesManagementClient.
This package contains an isomorphic SDK (runs both in node.js and in browsers) for AzureNetAppFilesManagementClient.

### Currently supported environments

- [LTS versions of Node.js](https://nodejs.org/about/releases/)
- Latest versions of Safari, Chrome, Edge, and Firefox.
- Latest versions of Safari, Chrome, Edge and Firefox.

### Prerequisites

Expand Down
2 changes: 1 addition & 1 deletion sdk/netapp/arm-netapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.6.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/netapp/arm-netapp",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/netapp/arm-netapp",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
145 changes: 144 additions & 1 deletion sdk/netapp/arm-netapp/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,26 @@ export interface MetricSpecification {
* Unit could be Bytes or Count.
*/
unit?: string;
/**
* Support metric aggregation type.
*/
supportedAggregationTypes?: MetricAggregationType[];
/**
* The supported time grain types for the metrics.
*/
supportedTimeGrainTypes?: string[];
/**
* The internal metric name.
*/
internalMetricName?: string;
/**
* The source MDM account.
*/
sourceMdmAccount?: string;
/**
* The source MDM namespace.
*/
sourceMdmNamespace?: string;
/**
* Dimensions of blobs, including blob type and access tier.
*/
Expand Down Expand Up @@ -361,6 +381,11 @@ export interface NetAppAccount extends BaseResource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly name?: string;
/**
* A unique read-only string that changes whenever the resource is updated.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly etag?: string;
/**
* Resource type
* **NOTE: This property will not be serialized. It can only be populated by the server.**
Expand Down Expand Up @@ -450,6 +475,11 @@ export interface CapacityPool extends BaseResource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly name?: string;
/**
* A unique read-only string that changes whenever the resource is updated.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly etag?: string;
/**
* Resource type
* **NOTE: This property will not be serialized. It can only be populated by the server.**
Expand Down Expand Up @@ -498,6 +528,12 @@ export interface CapacityPool extends BaseResource {
* If enabled (true) the pool can contain cool Access enabled volumes. Default value: false.
*/
coolAccess?: boolean;
/**
* encryptionType. Encryption type of the capacity pool, set encryption type for data at rest for
* this pool and all volumes in it. This value can only be set when creating new pool. Possible
* values include: 'Single', 'Double'. Default value: 'Single'.
*/
encryptionType?: EncryptionType;
}

/**
Expand Down Expand Up @@ -746,6 +782,11 @@ export interface Volume extends BaseResource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly name?: string;
/**
* A unique read-only string that changes whenever the resource is updated.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly etag?: string;
/**
* Resource type
* **NOTE: This property will not be serialized. It can only be populated by the server.**
Expand Down Expand Up @@ -875,7 +916,8 @@ export interface Volume extends BaseResource {
* user ID(4), set group ID (2) and sticky (1) attributes. Second digit selects permission for
* the owner of the file: read (4), write (2) and execute (1). Third selects permissions for
* other users in the same group. the fourth for other users not in the group. 0755 - gives
* read/write/execute permissions to owner and read/execute to group and other users.
* read/write/execute permissions to owner and read/execute to group and other users. Default
* value: '0770'.
*/
unixPermissions?: string;
}
Expand Down Expand Up @@ -1203,6 +1245,11 @@ export interface SnapshotPolicy extends BaseResource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly name?: string;
/**
* A unique read-only string that changes whenever the resource is updated.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly etag?: string;
/**
* Resource type
* **NOTE: This property will not be serialized. It can only be populated by the server.**
Expand Down Expand Up @@ -1557,6 +1604,11 @@ export interface BackupPolicy extends BaseResource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly name?: string;
/**
* A unique read-only string that changes whenever the resource is updated.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly etag?: string;
/**
* Resource type
* **NOTE: This property will not be serialized. It can only be populated by the server.**
Expand All @@ -1571,6 +1623,11 @@ export interface BackupPolicy extends BaseResource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly name1?: string;
/**
* Backup Policy Resource ID
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly backupPolicyId?: string;
/**
* Azure lifecycle management
* **NOTE: This property will not be serialized. It can only be populated by the server.**
Expand Down Expand Up @@ -1638,6 +1695,11 @@ export interface BackupPolicyDetails extends BaseResource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly name1?: string;
/**
* Backup Policy Resource ID
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly backupPolicyId?: string;
/**
* Azure lifecycle management
* **NOTE: This property will not be serialized. It can only be populated by the server.**
Expand Down Expand Up @@ -1705,6 +1767,11 @@ export interface BackupPolicyPatch extends BaseResource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly name1?: string;
/**
* Backup Policy Resource ID
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly backupPolicyId?: string;
/**
* Azure lifecycle management
* **NOTE: This property will not be serialized. It can only be populated by the server.**
Expand Down Expand Up @@ -2025,6 +2092,14 @@ export interface BackupPoliciesList extends Array<BackupPolicy> {
export interface VaultList extends Array<Vault> {
}

/**
* Defines values for MetricAggregationType.
* Possible values include: 'Average'
* @readonly
* @enum {string}
*/
export type MetricAggregationType = 'Average';

/**
* Defines values for InAvailabilityReasonType.
* Possible values include: 'Invalid', 'AlreadyExists'
Expand Down Expand Up @@ -2087,6 +2162,14 @@ export type ServiceLevel = 'Standard' | 'Premium' | 'Ultra';
*/
export type QosType = 'Auto' | 'Manual';

/**
* Defines values for EncryptionType.
* Possible values include: 'Single', 'Double'
* @readonly
* @enum {string}
*/
export type EncryptionType = 'Single' | 'Double';

/**
* Defines values for ChownMode.
* Possible values include: 'Restricted', 'Unrestricted'
Expand Down Expand Up @@ -2223,6 +2306,26 @@ export type NetAppResourceCheckQuotaAvailabilityResponse = CheckAvailabilityResp
};
};

/**
* Contains response data for the listBySubscription operation.
*/
export type AccountsListBySubscriptionResponse = NetAppAccountList & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: NetAppAccountList;
};
};

/**
* Contains response data for the list operation.
*/
Expand Down Expand Up @@ -2343,6 +2446,26 @@ export type AccountsBeginUpdateResponse = NetAppAccount & {
};
};

/**
* Contains response data for the listBySubscriptionNext operation.
*/
export type AccountsListBySubscriptionNextResponse = NetAppAccountList & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: NetAppAccountList;
};
};

/**
* Contains response data for the listNext operation.
*/
Expand Down Expand Up @@ -2883,6 +3006,26 @@ export type SnapshotPoliciesListVolumesResponse = SnapshotPolicyVolumeList & {
};
};

/**
* Contains response data for the listVolumesOldVersion operation.
*/
export type SnapshotPoliciesListVolumesOldVersionResponse = SnapshotPolicyVolumeList & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: SnapshotPolicyVolumeList;
};
};

/**
* Contains response data for the beginUpdate operation.
*/
Expand Down
Loading

0 comments on commit cace76a

Please sign in to comment.