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
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>

namespace Microsoft.Azure.Management.NetApp.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;

/// <summary>
/// List of Mount Targets
/// </summary>
public partial class MountTargetList
{
/// <summary>
/// Initializes a new instance of the MountTargetList class.
/// </summary>
public MountTargetList()
{
CustomInit();
}

/// <summary>
/// Initializes a new instance of the MountTargetList class.
/// </summary>
/// <param name="value">A list of Mount targets</param>
public MountTargetList(IList<MountTarget> value = default(IList<MountTarget>))
{
Value = value;
CustomInit();
}

/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();

/// <summary>
/// Gets or sets a list of Mount targets
/// </summary>
[JsonProperty(PropertyName = "value")]
public IList<MountTarget> Value { get; set; }

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public Volume()
/// <param name="volumeType">What type of volume is this</param>
/// <param name="dataProtection">DataProtection</param>
/// <param name="isRestoring">Restoring</param>
public Volume(string location, string creationToken, long usageThreshold, string subnetId, string id = default(string), string name = default(string), string type = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), string fileSystemId = default(string), string serviceLevel = default(string), VolumePropertiesExportPolicy exportPolicy = default(VolumePropertiesExportPolicy), IList<string> protocolTypes = default(IList<string>), string provisioningState = default(string), string snapshotId = default(string), string baremetalTenantId = default(string), object mountTargets = default(object), string volumeType = default(string), VolumePropertiesDataProtection dataProtection = default(VolumePropertiesDataProtection), bool? isRestoring = default(bool?))
public Volume(string location, string creationToken, long usageThreshold, string subnetId, string id = default(string), string name = default(string), string type = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), string fileSystemId = default(string), string serviceLevel = default(string), VolumePropertiesExportPolicy exportPolicy = default(VolumePropertiesExportPolicy), IList<string> protocolTypes = default(IList<string>), string provisioningState = default(string), string snapshotId = default(string), string baremetalTenantId = default(string), IList<MountTargetList> mountTargets = default(IList<MountTargetList>), string volumeType = default(string), VolumePropertiesDataProtection dataProtection = default(VolumePropertiesDataProtection), bool? isRestoring = default(bool?))
{
Location = location;
Id = id;
Expand Down Expand Up @@ -209,7 +209,7 @@ public Volume()
/// List of mount targets
/// </remarks>
[JsonProperty(PropertyName = "properties.mountTargets")]
public object MountTargets { get; set; }
public IList<MountTargetList> MountTargets { get; set; }

/// <summary>
/// Gets or sets what type of volume is this
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,5 @@ public static IEnumerable<Tuple<string, string, string>> ApiInfo_NetAppManagemen
}.AsEnumerable();
}
}
// BEGIN: Code Generation Metadata Section
public static readonly String AutoRestVersion = "latest";
public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4407";
public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/netapp/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=C:\\azure-sdk-for-net\\sdk";
public static readonly String GithubForkName = "Azure";
public static readonly String GithubBranchName = "master";
public static readonly String GithubCommidId = "06b9412319ada8678c0ce07016cac1bf66258b1d";
public static readonly String CodeGenerationErrors = "";
public static readonly String GithubRepoName = "azure-rest-api-specs";
// END: Code Generation Metadata Section
}
}