Skip to content

Commit

Permalink
Merge pull request #2139 from hyonholee/AutoRest
Browse files Browse the repository at this point in the history
[AzureRT] Update Compute library with nextLink update
  • Loading branch information
markcowl authored Jun 30, 2016
2 parents f1b864a + cb1de14 commit 5893d4c
Show file tree
Hide file tree
Showing 82 changed files with 580 additions and 396 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public partial class ComputeManagementClient : ServiceClient<ComputeManagementCl
public ServiceClientCredentials Credentials { get; private set; }

/// <summary>
/// Gets subscription credentials which uniquely identify Microsoft Azure
/// subscription credentials which uniquely identify Microsoft Azure
/// subscription. The subscription ID forms part of the URI for every service
/// call.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ public partial interface IComputeManagementClient : IDisposable
ServiceClientCredentials Credentials { get; }

/// <summary>
/// Gets subscription credentials which uniquely identify Microsoft
/// Azure subscription. The subscription ID forms part of the URI for
/// every service call.
/// subscription credentials which uniquely identify Microsoft Azure
/// subscription. The subscription ID forms part of the URI for every
/// service call.
/// </summary>
string SubscriptionId { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public partial interface IVirtualMachineScaleSetsOperations
/// The name of the virtual machine scale set.
/// </param>
/// <param name='instanceIds'>
/// Gets or sets the virtual machine scale set instance ids.
/// the virtual machine scale set instance ids.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -101,7 +101,7 @@ public partial interface IVirtualMachineScaleSetsOperations
/// The name of the virtual machine scale set.
/// </param>
/// <param name='instanceIds'>
/// Gets or sets the virtual machine scale set instance ids.
/// the virtual machine scale set instance ids.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand Down Expand Up @@ -169,7 +169,7 @@ public partial interface IVirtualMachineScaleSetsOperations
/// The name of the virtual machine scale set.
/// </param>
/// <param name='instanceIds'>
/// Gets or sets the virtual machine scale set instance ids.
/// the virtual machine scale set instance ids.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -189,7 +189,7 @@ public partial interface IVirtualMachineScaleSetsOperations
/// The name of the virtual machine scale set.
/// </param>
/// <param name='instanceIds'>
/// Gets or sets the virtual machine scale set instance ids.
/// the virtual machine scale set instance ids.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand Down Expand Up @@ -271,7 +271,7 @@ public partial interface IVirtualMachineScaleSetsOperations
/// The name of the virtual machine scale set.
/// </param>
/// <param name='instanceIds'>
/// Gets or sets the virtual machine scale set instance ids.
/// the virtual machine scale set instance ids.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -293,7 +293,7 @@ public partial interface IVirtualMachineScaleSetsOperations
/// The name of the virtual machine scale set.
/// </param>
/// <param name='instanceIds'>
/// Gets or sets the virtual machine scale set instance ids.
/// the virtual machine scale set instance ids.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -313,7 +313,7 @@ public partial interface IVirtualMachineScaleSetsOperations
/// The name of the virtual machine scale set.
/// </param>
/// <param name='instanceIds'>
/// Gets or sets the virtual machine scale set instance ids.
/// the virtual machine scale set instance ids.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -333,7 +333,7 @@ public partial interface IVirtualMachineScaleSetsOperations
/// The name of the virtual machine scale set.
/// </param>
/// <param name='instanceIds'>
/// Gets or sets the virtual machine scale set instance ids.
/// the virtual machine scale set instance ids.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -353,7 +353,7 @@ public partial interface IVirtualMachineScaleSetsOperations
/// The name of the virtual machine scale set.
/// </param>
/// <param name='instanceIds'>
/// Gets or sets the virtual machine scale set instance ids.
/// the virtual machine scale set instance ids.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -373,7 +373,7 @@ public partial interface IVirtualMachineScaleSetsOperations
/// The name of the virtual machine scale set.
/// </param>
/// <param name='instanceIds'>
/// Gets or sets the virtual machine scale set instance ids.
/// the virtual machine scale set instance ids.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -393,7 +393,7 @@ public partial interface IVirtualMachineScaleSetsOperations
/// The name of the virtual machine scale set.
/// </param>
/// <param name='instanceIds'>
/// Gets or sets the virtual machine scale set instance ids.
/// the virtual machine scale set instance ids.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -413,7 +413,7 @@ public partial interface IVirtualMachineScaleSetsOperations
/// The name of the virtual machine scale set.
/// </param>
/// <param name='instanceIds'>
/// Gets or sets the virtual machine scale set instance ids.
/// the virtual machine scale set instance ids.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public partial interface IVirtualMachinesOperations
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
Task<AzureOperationResponse<IEnumerable<VirtualMachine>>> ListWithHttpMessagesAsync(string resourceGroupName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
Task<AzureOperationResponse<IPage<VirtualMachine>>> ListWithHttpMessagesAsync(string resourceGroupName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Gets the list of Virtual Machines in the subscription. Use
/// nextLink property in the response to get the next page of Virtual
Expand Down Expand Up @@ -376,6 +376,19 @@ public partial interface IVirtualMachinesOperations
/// </param>
Task<AzureOperationResponse> BeginRedeployWithHttpMessagesAsync(string resourceGroupName, string vmName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// The operation to list virtual machines under a resource group.
/// </summary>
/// <param name='nextPageLink'>
/// The NextLink from the previous successful call to List operation.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
Task<AzureOperationResponse<IPage<VirtualMachine>>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Gets the list of Virtual Machines in the subscription. Use
/// nextLink property in the response to get the next page of Virtual
/// Machines. Do this till nextLink is not null to fetch all the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ namespace Microsoft.Azure.Management.Compute.Models
using Microsoft.Rest.Azure;

/// <summary>
/// Gets or sets additional XML formatted information that can be included
/// in the Unattend.xml file, which is used by Windows Setup. Contents
/// are defined by setting name, component name, and the pass in which
/// the content is a applied.
/// additional XML formatted information that can be included in the
/// Unattend.xml file, which is used by Windows Setup. Contents are
/// defined by setting name, component name, and the pass in which the
/// content is a applied.
/// </summary>
public partial class AdditionalUnattendContent
{
Expand All @@ -41,32 +41,32 @@ public AdditionalUnattendContent() { }
}

/// <summary>
/// Gets or sets the pass name. Currently, the only allowable value is
/// oobeSystem. Possible values include: 'oobeSystem'
/// the pass name. Currently, the only allowable value is oobeSystem.
/// Possible values include: 'oobeSystem'
/// </summary>
[JsonProperty(PropertyName = "passName")]
public PassNames? PassName { get; set; }

/// <summary>
/// Gets or sets the component name. Currently, the only allowable
/// value is Microsoft-Windows-Shell-Setup. Possible values include:
/// the component name. Currently, the only allowable value is
/// Microsoft-Windows-Shell-Setup. Possible values include:
/// 'Microsoft-Windows-Shell-Setup'
/// </summary>
[JsonProperty(PropertyName = "componentName")]
public ComponentNames? ComponentName { get; set; }

/// <summary>
/// Gets or sets setting name (e.g. FirstLogonCommands, AutoLogon ).
/// Possible values include: 'AutoLogon', 'FirstLogonCommands'
/// setting name (e.g. FirstLogonCommands, AutoLogon ). Possible
/// values include: 'AutoLogon', 'FirstLogonCommands'
/// </summary>
[JsonProperty(PropertyName = "settingName")]
public SettingNames? SettingName { get; set; }

/// <summary>
/// Gets or sets XML formatted content that is added to the
/// unattend.xml file in the specified pass and component.The XML
/// must be less than 4 KB and must include the root element for the
/// setting or feature that is being inserted.
/// XML formatted content that is added to the unattend.xml file in
/// the specified pass and component.The XML must be less than 4 KB
/// and must include the root element for the setting or feature that
/// is being inserted.
/// </summary>
[JsonProperty(PropertyName = "content")]
public string Content { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public ApiEntityReference() { }
}

/// <summary>
/// Gets or sets the ARM resource id in the form of
/// the ARM resource id in the form of
/// /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/...
/// </summary>
[JsonProperty(PropertyName = "id")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,31 +39,31 @@ public ApiError() { }
}

/// <summary>
/// Gets or sets the Api error details
/// the Api error details
/// </summary>
[JsonProperty(PropertyName = "details")]
public IList<ApiErrorBase> Details { get; set; }

/// <summary>
/// Gets or sets the Api inner error
/// the Api inner error
/// </summary>
[JsonProperty(PropertyName = "innererror")]
public InnerError Innererror { get; set; }

/// <summary>
/// Gets or sets the error code.
/// the error code.
/// </summary>
[JsonProperty(PropertyName = "code")]
public string Code { get; set; }

/// <summary>
/// Gets or sets the target of the particular error.
/// the target of the particular error.
/// </summary>
[JsonProperty(PropertyName = "target")]
public string Target { get; set; }

/// <summary>
/// Gets or sets the error message.
/// the error message.
/// </summary>
[JsonProperty(PropertyName = "message")]
public string Message { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@ public ApiErrorBase() { }
}

/// <summary>
/// Gets or sets the error code.
/// the error code.
/// </summary>
[JsonProperty(PropertyName = "code")]
public string Code { get; set; }

/// <summary>
/// Gets or sets the target of the particular error.
/// the target of the particular error.
/// </summary>
[JsonProperty(PropertyName = "target")]
public string Target { get; set; }

/// <summary>
/// Gets or sets the error message.
/// the error message.
/// </summary>
[JsonProperty(PropertyName = "message")]
public string Message { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,26 +40,26 @@ public AvailabilitySet() { }
}

/// <summary>
/// Gets or sets Update Domain count.
/// Update Domain count.
/// </summary>
[JsonProperty(PropertyName = "properties.platformUpdateDomainCount")]
public int? PlatformUpdateDomainCount { get; set; }

/// <summary>
/// Gets or sets Fault Domain count.
/// Fault Domain count.
/// </summary>
[JsonProperty(PropertyName = "properties.platformFaultDomainCount")]
public int? PlatformFaultDomainCount { get; set; }

/// <summary>
/// Gets or sets a list containing reference to all Virtual Machines
/// created under this Availability Set.
/// a list containing reference to all Virtual Machines created under
/// this Availability Set.
/// </summary>
[JsonProperty(PropertyName = "properties.virtualMachines")]
public IList<SubResource> VirtualMachines { get; set; }

/// <summary>
/// Gets or sets the resource status information.
/// the resource status information.
/// </summary>
[JsonProperty(PropertyName = "properties.statuses")]
public IList<InstanceViewStatus> Statuses { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,13 @@ public BootDiagnostics() { }
}

/// <summary>
/// Gets or sets whether boot diagnostics should be enabled on the
/// Virtual Machine.
/// whether boot diagnostics should be enabled on the Virtual Machine.
/// </summary>
[JsonProperty(PropertyName = "enabled")]
public bool? Enabled { get; set; }

/// <summary>
/// Gets or sets the boot diagnostics storage Uri. It should be a
/// valid Uri
/// the boot diagnostics storage Uri. It should be a valid Uri
/// </summary>
[JsonProperty(PropertyName = "storageUri")]
public string StorageUri { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ public BootDiagnosticsInstanceView() { }
}

/// <summary>
/// Gets or sets the console screenshot blob Uri.
/// the console screenshot blob Uri.
/// </summary>
[JsonProperty(PropertyName = "consoleScreenshotBlobUri")]
public string ConsoleScreenshotBlobUri { get; set; }

/// <summary>
/// Gets or sets the Linux serial console log blob Uri.
/// the Linux serial console log blob Uri.
/// </summary>
[JsonProperty(PropertyName = "serialConsoleLogBlobUri")]
public string SerialConsoleLogBlobUri { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public ContainerService() { }
}

/// <summary>
/// Gets the provisioning state, which only appears in the response.
/// the provisioning state, which only appears in the response.
/// </summary>
[JsonProperty(PropertyName = "properties.provisioningState")]
public string ProvisioningState { get; private set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public ContainerServiceSshConfiguration() { }
}

/// <summary>
/// Gets or sets the list of SSH public keys used to authenticate with
/// Linux based VMs
/// the list of SSH public keys used to authenticate with Linux based
/// VMs
/// </summary>
[JsonProperty(PropertyName = "publicKeys")]
public IList<ContainerServiceSshPublicKey> PublicKeys { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ public ContainerServiceSshPublicKey(string keyData)
}

/// <summary>
/// Gets or sets Certificate public key used to authenticate with VM
/// through SSH. The certificate must be in Pem format with or
/// without headers.
/// Certificate public key used to authenticate with VM through SSH.
/// The certificate must be in Pem format with or without headers.
/// </summary>
[JsonProperty(PropertyName = "keyData")]
public string KeyData { get; set; }
Expand Down
Loading

0 comments on commit 5893d4c

Please sign in to comment.