Skip to content
Open
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/netapp/arm-netapp/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2019 Microsoft
Copyright (c) 2020 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 0 additions & 2 deletions sdk/netapp/arm-netapp/src/azureNetAppFilesManagementClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class AzureNetAppFilesManagementClient extends AzureNetAppFilesManagementClientC
accounts: operations.Accounts;
pools: operations.Pools;
volumes: operations.Volumes;
mountTargets: operations.MountTargets;
snapshots: operations.Snapshots;

/**
Expand All @@ -39,7 +38,6 @@ class AzureNetAppFilesManagementClient extends AzureNetAppFilesManagementClientC
this.accounts = new operations.Accounts(this);
this.pools = new operations.Pools(this);
this.volumes = new operations.Volumes(this);
this.mountTargets = new operations.MountTargets(this);
this.snapshots = new operations.Snapshots(this);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class AzureNetAppFilesManagementClientContext extends msRestAzure.AzureSe

super(credentials, options);

this.apiVersion = '2019-10-01';
this.apiVersion = '2019-11-01';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
Expand Down
1 change: 0 additions & 1 deletion sdk/netapp/arm-netapp/src/models/accountsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export {
NetAppAccountPatch,
ReplicationObject,
Snapshot,
SnapshotPatch,
Volume,
VolumePatch,
VolumePatchPropertiesExportPolicy,
Expand Down
151 changes: 104 additions & 47 deletions sdk/netapp/arm-netapp/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ export interface ActiveDirectory {
* The Organizational Unit (OU) within the Windows Active Directory
*/
organizationalUnit?: string;
/**
* The Active Directory site the service will limit Domain Controller discovery to
*/
site?: string;
}

/**
Expand Down Expand Up @@ -669,35 +673,20 @@ export interface MountTarget {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly ipAddress?: string;
/**
* subnet. The subnet
*/
subnet?: string;
/**
* startIp. The start of IPv4 address range to use when creating a new mount target
*/
startIp?: string;
/**
* endIp. The end of IPv4 address range to use when creating a new mount target
*/
endIp?: string;
/**
* gateway. The gateway of the IPv4 address range to use when creating a new mount target
*/
gateway?: string;
/**
* netmask. The netmask of the IPv4 address range to use when creating a new mount target
*/
netmask?: string;
/**
* smbServerFQDN. The SMB server's Fully Qualified Domain Name, FQDN
*/
smbServerFqdn?: string;
}

/**
* List of Mount Targets
*/
export interface MountTargetList {
/**
* Azure lifecycle management
* **NOTE: This property will not be serialized. It can only be populated by the server.**
* A list of Mount targets
*/
readonly provisioningState?: string;
value?: MountTarget[];
}

/**
Expand All @@ -723,10 +712,6 @@ export interface Snapshot extends BaseResource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly type?: string;
/**
* Resource tags
*/
tags?: { [propertyName: string]: string };
/**
* snapshotId. UUID v4 used to identify the Snapshot
* **NOTE: This property will not be serialized. It can only be populated by the server.**
Expand All @@ -749,43 +734,83 @@ export interface Snapshot extends BaseResource {
}

/**
* Snapshot patch
* revert a volume to the snapshot
*/
export interface SnapshotPatch extends BaseResource {
export interface VolumeRevert {
/**
* Resource tags
* Resource id of the snapshot
*/
tags?: { [propertyName: string]: string };
snapshotId?: string;
}

/**
* Authorize request
*/
export interface AuthorizeRequest {
/**
* Resource id
* Resource id of the remote volume
*/
remoteVolumeResourceId?: string;
}

/**
* Optional Parameters.
*/
export interface VolumesRevertOptionalParams extends msRest.RequestOptionsBase {
/**
* Resource id of the snapshot
*/
snapshotId?: string;
}

/**
* Optional Parameters.
*/
export interface VolumesAuthorizeReplicationOptionalParams extends msRest.RequestOptionsBase {
/**
* Resource id
* Resource id of the remote volume
*/
remoteVolumeResourceId?: string;
}

/**
* Optional Parameters.
*/
export interface SnapshotsUpdateOptionalParams extends msRest.RequestOptionsBase {
export interface VolumesBeginRevertOptionalParams extends msRest.RequestOptionsBase {
/**
* Resource tags
* Resource id of the snapshot
*/
tags?: { [propertyName: string]: string };
snapshotId?: string;
}

/**
* Optional Parameters.
*/
export interface VolumesBeginAuthorizeReplicationOptionalParams extends msRest.RequestOptionsBase {
/**
* Resource id of the remote volume
*/
remoteVolumeResourceId?: string;
}

/**
* Optional Parameters.
*/
export interface SnapshotsCreateOptionalParams extends msRest.RequestOptionsBase {
/**
* fileSystemId UUID v4 used to identify the FileSystem
*/
fileSystemId?: string;
}

/**
* Optional Parameters.
*/
export interface SnapshotsBeginCreateOptionalParams extends msRest.RequestOptionsBase {
/**
* fileSystemId UUID v4 used to identify the FileSystem
*/
fileSystemId?: string;
}

/**
Expand Down Expand Up @@ -828,14 +853,6 @@ export interface CapacityPoolList extends Array<CapacityPool> {
export interface VolumeList extends Array<Volume> {
}

/**
* @interface
* List of Mount Targets
* @extends Array<MountTarget>
*/
export interface MountTargetList extends Array<MountTarget> {
}

/**
* @interface
* List of Snapshots
Expand Down Expand Up @@ -1163,6 +1180,26 @@ export type PoolsBeginCreateOrUpdateResponse = CapacityPool & {
};
};

/**
* Contains response data for the beginUpdate operation.
*/
export type PoolsBeginUpdateResponse = CapacityPool & {
/**
* 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: CapacityPool;
};
};

/**
* Contains response data for the list operation.
*/
Expand Down Expand Up @@ -1284,9 +1321,9 @@ export type VolumesBeginCreateOrUpdateResponse = Volume & {
};

/**
* Contains response data for the list operation.
* Contains response data for the beginUpdate operation.
*/
export type MountTargetsListResponse = MountTargetList & {
export type VolumesBeginUpdateResponse = Volume & {
/**
* The underlying HTTP response.
*/
Expand All @@ -1299,7 +1336,7 @@ export type MountTargetsListResponse = MountTargetList & {
/**
* The response body as parsed JSON or XML
*/
parsedBody: MountTargetList;
parsedBody: Volume;
};
};

Expand Down Expand Up @@ -1402,3 +1439,23 @@ export type SnapshotsBeginCreateResponse = Snapshot & {
parsedBody: Snapshot;
};
};

/**
* Contains response data for the beginUpdate operation.
*/
export type SnapshotsBeginUpdateResponse = Snapshot & {
/**
* 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: Snapshot;
};
};
Loading