Skip to content

Commit

Permalink
Update from master
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed May 15, 2020
1 parent c10c9ff commit ba989dd
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class AzureNetAppFilesManagementClientContext extends msRestAzure.AzureSe
if (!options) {
options = {};
}
if (!options.userAgent) {
if(!options.userAgent) {
const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
}
Expand All @@ -53,10 +53,10 @@ export class AzureNetAppFilesManagementClientContext extends msRestAzure.AzureSe
this.credentials = credentials;
this.subscriptionId = subscriptionId;

if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
this.acceptLanguage = options.acceptLanguage;
}
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
}
}
Expand Down
30 changes: 20 additions & 10 deletions sdk/netapp/arm-netapp/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,26 @@ 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
*/
Expand Down Expand Up @@ -679,16 +699,6 @@ export interface VolumePatch extends BaseResource {
exportPolicy?: VolumePatchPropertiesExportPolicy;
}

/**
* List of Mount Targets
*/
export interface MountTargetList {
/**
* A list of Mount targets
*/
value?: MountTarget[];
}

/**
* Snapshot of a Volume
*/
Expand Down
52 changes: 30 additions & 22 deletions sdk/netapp/arm-netapp/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,36 @@ export const MountTarget: msRest.CompositeMapper = {
name: "String"
}
},
subnet: {
serializedName: "properties.subnet",
type: {
name: "String"
}
},
startIp: {
serializedName: "properties.startIp",
type: {
name: "String"
}
},
endIp: {
serializedName: "properties.endIp",
type: {
name: "String"
}
},
gateway: {
serializedName: "properties.gateway",
type: {
name: "String"
}
},
netmask: {
serializedName: "properties.netmask",
type: {
name: "String"
}
},
smbServerFqdn: {
serializedName: "properties.smbServerFqdn",
type: {
Expand Down Expand Up @@ -1139,28 +1169,6 @@ export const VolumePatch: msRest.CompositeMapper = {
}
};

export const MountTargetList: msRest.CompositeMapper = {
serializedName: "mountTargetList",
type: {
name: "Composite",
className: "MountTargetList",
modelProperties: {
value: {
serializedName: "value",
type: {
name: "Sequence",
element: {
type: {
name: "Composite",
className: "MountTarget"
}
}
}
}
}
}
};

export const Snapshot: msRest.CompositeMapper = {
serializedName: "snapshot",
type: {
Expand Down

0 comments on commit ba989dd

Please sign in to comment.