Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR Microsoft.Azure.Management.NetApp] chore: jsonfmt netapp #181

Merged
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
Expand Up @@ -356,7 +356,7 @@ private void Initialize()
MountTargets = new MountTargetsOperations(this);
Snapshots = new SnapshotsOperations(this);
BaseUri = new System.Uri("https://management.azure.com");
ApiVersion = "2019-06-01";
ApiVersion = "2019-07-01";
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
GenerateClientRequestId = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,18 @@ public ExportPolicyRule()
/// <param name="unixReadWrite">Read and write access</param>
/// <param name="cifs">Allows CIFS protocol</param>
/// <param name="nfsv3">Allows NFSv3 protocol</param>
/// <param name="nfsv4">Allows NFSv4 protocol</param>
/// <param name="nfsv41">Allows NFSv4.1 protocol</param>
/// <param name="allowedClients">Client ingress specification as comma
/// separated string with IPv4 CIDRs, IPv4 host addresses and host
/// names</param>
public ExportPolicyRule(int? ruleIndex = default(int?), bool? unixReadOnly = default(bool?), bool? unixReadWrite = default(bool?), bool? cifs = default(bool?), bool? nfsv3 = default(bool?), bool? nfsv4 = default(bool?), string allowedClients = default(string))
public ExportPolicyRule(int? ruleIndex = default(int?), bool? unixReadOnly = default(bool?), bool? unixReadWrite = default(bool?), bool? cifs = default(bool?), bool? nfsv3 = default(bool?), bool? nfsv41 = default(bool?), string allowedClients = default(string))
{
RuleIndex = ruleIndex;
UnixReadOnly = unixReadOnly;
UnixReadWrite = unixReadWrite;
Cifs = cifs;
Nfsv3 = nfsv3;
Nfsv4 = nfsv4;
Nfsv41 = nfsv41;
AllowedClients = allowedClients;
CustomInit();
}
Expand Down Expand Up @@ -86,10 +86,10 @@ public ExportPolicyRule()
public bool? Nfsv3 { get; set; }

/// <summary>
/// Gets or sets allows NFSv4 protocol
/// Gets or sets allows NFSv4.1 protocol
/// </summary>
[JsonProperty(PropertyName = "nfsv4")]
public bool? Nfsv4 { get; set; }
[JsonProperty(PropertyName = "nfsv41")]
public bool? Nfsv41 { get; set; }

/// <summary>
/// Gets or sets client ingress specification as comma separated string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ public Snapshot()
/// <param name="tags">Resource tags</param>
/// <param name="snapshotId">snapshotId</param>
/// <param name="fileSystemId">fileSystemId</param>
/// <param name="creationDate">name</param>
/// <param name="created">name</param>
/// <param name="provisioningState">Azure lifecycle management</param>
public Snapshot(string location, string id = default(string), string name = default(string), string type = default(string), object tags = default(object), string snapshotId = default(string), string fileSystemId = default(string), System.DateTime? creationDate = default(System.DateTime?), string provisioningState = default(string))
public Snapshot(string location, string id = default(string), string name = default(string), string type = default(string), object tags = default(object), string snapshotId = default(string), string fileSystemId = default(string), System.DateTime? created = default(System.DateTime?), string provisioningState = default(string))
{
Location = location;
Id = id;
Expand All @@ -51,7 +51,7 @@ public Snapshot()
Tags = tags;
SnapshotId = snapshotId;
FileSystemId = fileSystemId;
CreationDate = creationDate;
Created = created;
ProvisioningState = provisioningState;
CustomInit();
}
Expand Down Expand Up @@ -115,8 +115,8 @@ public Snapshot()
/// <remarks>
/// The creation date of the snapshot
/// </remarks>
[JsonProperty(PropertyName = "properties.creationDate")]
public System.DateTime? CreationDate { get; private set; }
[JsonProperty(PropertyName = "properties.created")]
public System.DateTime? Created { get; private set; }

/// <summary>
/// Gets azure lifecycle management
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ public static IEnumerable<Tuple<string, string, string>> ApiInfo_NetAppManagemen
{
return new Tuple<string, string, string>[]
{
new Tuple<string, string, string>("NetApp", "Accounts", "2019-06-01"),
new Tuple<string, string, string>("NetApp", "CheckFilePathAvailability", "2019-06-01"),
new Tuple<string, string, string>("NetApp", "CheckNameAvailability", "2019-06-01"),
new Tuple<string, string, string>("NetApp", "MountTargets", "2019-06-01"),
new Tuple<string, string, string>("NetApp", "Operations", "2019-06-01"),
new Tuple<string, string, string>("NetApp", "Pools", "2019-06-01"),
new Tuple<string, string, string>("NetApp", "Snapshots", "2019-06-01"),
new Tuple<string, string, string>("NetApp", "Volumes", "2019-06-01"),
new Tuple<string, string, string>("NetApp", "Accounts", "2019-07-01"),
new Tuple<string, string, string>("NetApp", "CheckFilePathAvailability", "2019-07-01"),
new Tuple<string, string, string>("NetApp", "CheckNameAvailability", "2019-07-01"),
new Tuple<string, string, string>("NetApp", "MountTargets", "2019-07-01"),
new Tuple<string, string, string>("NetApp", "Operations", "2019-07-01"),
new Tuple<string, string, string>("NetApp", "Pools", "2019-07-01"),
new Tuple<string, string, string>("NetApp", "Snapshots", "2019-07-01"),
new Tuple<string, string, string>("NetApp", "Volumes", "2019-07-01"),
}.AsEnumerable();
}
}
Expand Down