diff --git a/sdk/netapp/arm-netapp/src/azureNetAppFilesManagementClientContext.ts b/sdk/netapp/arm-netapp/src/azureNetAppFilesManagementClientContext.ts index c5064991a8c2..14fa1793f7d1 100644 --- a/sdk/netapp/arm-netapp/src/azureNetAppFilesManagementClientContext.ts +++ b/sdk/netapp/arm-netapp/src/azureNetAppFilesManagementClientContext.ts @@ -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}`; } @@ -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; } } diff --git a/sdk/netapp/arm-netapp/src/models/index.ts b/sdk/netapp/arm-netapp/src/models/index.ts index 7351a335cdd3..c73843ade621 100644 --- a/sdk/netapp/arm-netapp/src/models/index.ts +++ b/sdk/netapp/arm-netapp/src/models/index.ts @@ -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 */ @@ -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 */ diff --git a/sdk/netapp/arm-netapp/src/models/mappers.ts b/sdk/netapp/arm-netapp/src/models/mappers.ts index ca14ed64076f..8136b93ee618 100644 --- a/sdk/netapp/arm-netapp/src/models/mappers.ts +++ b/sdk/netapp/arm-netapp/src/models/mappers.ts @@ -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: { @@ -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: {