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] New swagger for 2019-08-01 API #495

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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ namespace Microsoft.Azure.Management.NetApp
using Microsoft.Rest.Azure;
using Models;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

/// <summary>
/// Microsoft NetApp Azure Resource Provider specification
Expand Down Expand Up @@ -80,6 +76,11 @@ public partial interface IAzureNetAppFilesManagementClient : System.IDisposable
/// </summary>
IOperations Operations { get; }

/// <summary>
/// Gets the INetAppResourceOperations.
/// </summary>
INetAppResourceOperations NetAppResource { get; }

/// <summary>
/// Gets the IAccountsOperations.
/// </summary>
Expand All @@ -105,65 +106,5 @@ public partial interface IAzureNetAppFilesManagementClient : System.IDisposable
/// </summary>
ISnapshotsOperations Snapshots { get; }

/// <summary>
/// Check resource name availability
/// </summary>
/// <remarks>
/// Check if a resource name is available.
/// </remarks>
/// <param name='location'>
/// The location
/// </param>
/// <param name='name'>
/// Resource name to verify.
/// </param>
/// <param name='type'>
/// Resource type used for verification. Possible values include:
/// 'Microsoft.NetApp/netAppAccounts',
/// 'Microsoft.NetApp/netAppAccounts/capacityPools',
/// 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes',
/// 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'
/// </param>
/// <param name='resourceGroup'>
/// Resource group name.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
Task<AzureOperationResponse<ResourceNameAvailability>> CheckNameAvailabilityWithHttpMessagesAsync(string location, string name, string type, string resourceGroup, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));

/// <summary>
/// Check file path availability
/// </summary>
/// <remarks>
/// Check if a file path is available.
/// </remarks>
/// <param name='location'>
/// The location
/// </param>
/// <param name='name'>
/// Resource name to verify.
/// </param>
/// <param name='type'>
/// Resource type used for verification. Possible values include:
/// 'Microsoft.NetApp/netAppAccounts',
/// 'Microsoft.NetApp/netAppAccounts/capacityPools',
/// 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes',
/// 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'
/// </param>
/// <param name='resourceGroup'>
/// Resource group name.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
Task<AzureOperationResponse<ResourceNameAvailability>> CheckFilePathAvailabilityWithHttpMessagesAsync(string location, string name, string type, string resourceGroup, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
// <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
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;

/// <summary>
/// NetAppResourceOperations operations.
/// </summary>
public partial interface INetAppResourceOperations
{
/// <summary>
/// Check resource name availability
/// </summary>
/// <remarks>
/// Check if a resource name is available.
/// </remarks>
/// <param name='location'>
/// The location
/// </param>
/// <param name='name'>
/// Resource name to verify.
/// </param>
/// <param name='type'>
/// Resource type used for verification. Possible values include:
/// 'Microsoft.NetApp/netAppAccounts',
/// 'Microsoft.NetApp/netAppAccounts/capacityPools',
/// 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes',
/// 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'
/// </param>
/// <param name='resourceGroup'>
/// Resource group name.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<ResourceNameAvailability>> CheckNameAvailabilityWithHttpMessagesAsync(string location, string name, string type, string resourceGroup, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Check file path availability
/// </summary>
/// <remarks>
/// Check if a file path is available.
/// </remarks>
/// <param name='location'>
/// The location
/// </param>
/// <param name='name'>
/// Resource name to verify.
/// </param>
/// <param name='type'>
/// Resource type used for verification. Possible values include:
/// 'Microsoft.NetApp/netAppAccounts',
/// 'Microsoft.NetApp/netAppAccounts/capacityPools',
/// 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes',
/// 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'
/// </param>
/// <param name='resourceGroup'>
/// Resource group name.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
/// <exception cref="Microsoft.Rest.Azure.CloudException">
/// Thrown when the operation returned an invalid status code
/// </exception>
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown when a required parameter is null
/// </exception>
Task<AzureOperationResponse<ResourceNameAvailability>> CheckFilePathAvailabilityWithHttpMessagesAsync(string location, string name, string type, string resourceGroup, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public ActiveDirectory()
/// domain administrator</param>
/// <param name="domain">Name of the Active Directory domain</param>
/// <param name="dns">Comma separated list of DNS server IP addresses
/// for the Active Directory domain</param>
/// (IPv4 only) for the Active Directory domain</param>
/// <param name="status">Status of the Active Directory</param>
/// <param name="smbServerName">NetBIOS name of the SMB server. This
/// name will be registered as a computer account in the AD and used to
Expand Down Expand Up @@ -87,8 +87,8 @@ public ActiveDirectory()
public string Domain { get; set; }

/// <summary>
/// Gets or sets comma separated list of DNS server IP addresses for
/// the Active Directory domain
/// Gets or sets comma separated list of DNS server IP addresses (IPv4
/// only) for the Active Directory domain
/// </summary>
[JsonProperty(PropertyName = "dns")]
public string Dns { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ namespace Microsoft.Azure.Management.NetApp.Models
using Microsoft.Rest.Azure;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;

/// <summary>
Expand Down Expand Up @@ -42,7 +44,7 @@ public CapacityPool()
/// <param name="tags">Resource tags</param>
/// <param name="poolId">poolId</param>
/// <param name="provisioningState">Azure lifecycle management</param>
public CapacityPool(string location, long size, string serviceLevel, string id = default(string), string name = default(string), string type = default(string), object tags = default(object), string poolId = default(string), string provisioningState = default(string))
public CapacityPool(string location, long size, string serviceLevel, string id = default(string), string name = default(string), string type = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), string poolId = default(string), string provisioningState = default(string))
{
Location = location;
Id = id;
Expand Down Expand Up @@ -89,7 +91,7 @@ public CapacityPool()
/// Gets or sets resource tags
/// </summary>
[JsonProperty(PropertyName = "tags")]
public object Tags { get; set; }
public IDictionary<string, string> Tags { get; set; }

/// <summary>
/// Gets poolId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ namespace Microsoft.Azure.Management.NetApp.Models
using Microsoft.Rest.Azure;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;

/// <summary>
Expand All @@ -40,7 +42,7 @@ public CapacityPoolPatch()
/// <param name="tags">Resource tags</param>
/// <param name="size">size</param>
/// <param name="serviceLevel">serviceLevel</param>
public CapacityPoolPatch(string location = default(string), string id = default(string), string name = default(string), string type = default(string), object tags = default(object), long? size = default(long?), string serviceLevel = default(string))
public CapacityPoolPatch(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), long? size = default(long?), string serviceLevel = default(string))
{
Location = location;
Id = id;
Expand Down Expand Up @@ -85,7 +87,7 @@ public CapacityPoolPatch()
/// Gets or sets resource tags
/// </summary>
[JsonProperty(PropertyName = "tags")]
public object Tags { get; set; }
public IDictionary<string, string> Tags { get; set; }

/// <summary>
/// Gets or sets size
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ namespace Microsoft.Azure.Management.NetApp.Models
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;

/// <summary>
Expand All @@ -36,6 +38,7 @@ public MountTarget()
/// <param name="fileSystemId">fileSystemId</param>
/// <param name="id">Resource Id</param>
/// <param name="name">Resource name</param>
/// <param name="type">Resource type</param>
/// <param name="tags">Resource tags</param>
/// <param name="mountTargetId">mountTargetId</param>
/// <param name="ipAddress">ipAddress</param>
Expand All @@ -46,11 +49,12 @@ public MountTarget()
/// <param name="netmask">netmask</param>
/// <param name="smbServerFqdn">smbServerFQDN</param>
/// <param name="provisioningState">Azure lifecycle management</param>
public MountTarget(string location, string fileSystemId, string id = default(string), string name = default(string), object tags = default(object), string mountTargetId = default(string), string ipAddress = default(string), string subnet = default(string), string startIp = default(string), string endIp = default(string), string gateway = default(string), string netmask = default(string), string smbServerFqdn = default(string), string provisioningState = default(string))
public MountTarget(string location, string fileSystemId, string id = default(string), string name = default(string), string type = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), string mountTargetId = default(string), string ipAddress = default(string), string subnet = default(string), string startIp = default(string), string endIp = default(string), string gateway = default(string), string netmask = default(string), string smbServerFqdn = default(string), string provisioningState = default(string))
{
Location = location;
Id = id;
Name = name;
Type = type;
Tags = tags;
MountTargetId = mountTargetId;
FileSystemId = fileSystemId;
Expand Down Expand Up @@ -88,11 +92,17 @@ public MountTarget()
[JsonProperty(PropertyName = "name")]
public string Name { get; private set; }

/// <summary>
/// Gets resource type
/// </summary>
[JsonProperty(PropertyName = "type")]
public string Type { get; private set; }

/// <summary>
/// Gets or sets resource tags
/// </summary>
[JsonProperty(PropertyName = "tags")]
public object Tags { get; set; }
public IDictionary<string, string> Tags { get; set; }

/// <summary>
/// Gets mountTargetId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public NetAppAccount()
/// <param name="tags">Resource tags</param>
/// <param name="provisioningState">Azure lifecycle management</param>
/// <param name="activeDirectories">Active Directories</param>
public NetAppAccount(string location, string id = default(string), string name = default(string), string type = default(string), object tags = default(object), string provisioningState = default(string), IList<ActiveDirectory> activeDirectories = default(IList<ActiveDirectory>))
public NetAppAccount(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), string provisioningState = default(string), IList<ActiveDirectory> activeDirectories = default(IList<ActiveDirectory>))
{
Location = location;
Id = id;
Expand Down Expand Up @@ -87,7 +87,7 @@ public NetAppAccount()
/// Gets or sets resource tags
/// </summary>
[JsonProperty(PropertyName = "tags")]
public object Tags { get; set; }
public IDictionary<string, string> Tags { get; set; }

/// <summary>
/// Gets azure lifecycle management
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public NetAppAccountPatch()
/// <param name="tags">Resource tags</param>
/// <param name="provisioningState">Azure lifecycle management</param>
/// <param name="activeDirectories">Active Directories</param>
public NetAppAccountPatch(string location = default(string), string id = default(string), string name = default(string), string type = default(string), object tags = default(object), string provisioningState = default(string), IList<ActiveDirectory> activeDirectories = default(IList<ActiveDirectory>))
public NetAppAccountPatch(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), string provisioningState = default(string), IList<ActiveDirectory> activeDirectories = default(IList<ActiveDirectory>))
{
Location = location;
Id = id;
Expand Down Expand Up @@ -87,7 +87,7 @@ public NetAppAccountPatch()
/// Gets or sets resource tags
/// </summary>
[JsonProperty(PropertyName = "tags")]
public object Tags { get; set; }
public IDictionary<string, string> Tags { get; set; }

/// <summary>
/// Gets azure lifecycle management
Expand Down
Loading