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
2 changes: 1 addition & 1 deletion sdk/storagecache/arm-storagecache/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/feature/v4/sdk/storagecache/arm-storagecache",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/storagecache/arm-storagecache",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
13 changes: 13 additions & 0 deletions sdk/storagecache/arm-storagecache/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -852,6 +852,11 @@ export interface StorageTarget extends StorageTargetResource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly provisioningState?: ProvisioningStateType;
/**
* Storage target operational state. Possible values include: 'Ready', 'Busy', 'Suspended',
* 'Flushing'
*/
state?: OperationalStateType;
/**
* Properties when targetType is nfs3.
*/
Expand Down Expand Up @@ -1227,6 +1232,14 @@ export type UsernameDownloadedType = 'Yes' | 'No' | 'Error';
*/
export type StorageTargetType = 'nfs3' | 'clfs' | 'unknown' | 'blobNfs';

/**
* Defines values for OperationalStateType.
* Possible values include: 'Ready', 'Busy', 'Suspended', 'Flushing'
* @readonly
* @enum {string}
*/
export type OperationalStateType = 'Ready' | 'Busy' | 'Suspended' | 'Flushing';

/**
* Defines values for ReasonCode.
* Possible values include: 'QuotaId', 'NotAvailableForSubscription'
Expand Down
6 changes: 6 additions & 0 deletions sdk/storagecache/arm-storagecache/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1363,6 +1363,12 @@ export const StorageTarget: msRest.CompositeMapper = {
name: "String"
}
},
state: {
serializedName: "properties.state",
type: {
name: "String"
}
},
nfs3: {
serializedName: "properties.nfs3",
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class StorageCacheManagementClientContext extends msRestAzure.AzureServic

super(credentials, options);

this.apiVersion = '2021-05-01';
this.apiVersion = '2021-09-01';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
Expand Down