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.Compute] Update examples for Images in 2019-07-01 version according to the upd… #203

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
Expand Up @@ -261,7 +261,12 @@ public partial interface IVirtualMachinesOperations
/// <summary>
/// Sets the OS state of the virtual machine to generalized. It is
/// recommended to sysprep the virtual machine before performing this
/// operation
/// operation. &lt;br&gt;For Windows, please refer to [Create a managed
/// image of a generalized VM in
/// Azure](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource).&lt;br&gt;For
/// Linux, please refer to [How to create an image of a virtual machine
/// or
/// VHD](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/capture-image).
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ public CreationData()
/// <param name="createOption">This enumerates the possible sources of
/// a disk's creation. Possible values include: 'Empty', 'Attach',
/// 'FromImage', 'Import', 'Copy', 'Restore', 'Upload'</param>
/// <param name="storageAccountId">If createOption is Import, the Azure
/// Resource Manager identifier of the storage account containing the
/// blob to import as a disk. Required only if the blob is in a
/// different subscription</param>
/// <param name="storageAccountId">Required if createOption is Import.
/// The Azure Resource Manager identifier of the storage account
/// containing the blob to import as a disk.</param>
/// <param name="imageReference">Disk source information.</param>
/// <param name="sourceUri">If createOption is Import, this is the URI
/// of a blob to be imported into a managed disk.</param>
Expand Down Expand Up @@ -75,9 +74,9 @@ public CreationData()
public string CreateOption { get; set; }

/// <summary>
/// Gets or sets if createOption is Import, the Azure Resource Manager
/// identifier of the storage account containing the blob to import as
/// a disk. Required only if the blob is in a different subscription
/// Gets or sets required if createOption is Import. The Azure Resource
/// Manager identifier of the storage account containing the blob to
/// import as a disk.
/// </summary>
[JsonProperty(PropertyName = "storageAccountId")]
public string StorageAccountId { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@ namespace Microsoft.Azure.Management.Compute.Models
[JsonConverter(typeof(StringEnumConverter))]
public enum OperatingSystemStateTypes
{
/// <summary>
/// Generalized image. Needs to be provisioned during deployment time.
/// </summary>
[EnumMember(Value = "Generalized")]
Generalized,
/// <summary>
/// Specialized image. Contains already provisioned OS Disk.
/// </summary>
[EnumMember(Value = "Specialized")]
Specialized
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,5 @@ public static IEnumerable<Tuple<string, string, string>> ApiInfo_ComputeManageme
}.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/compute/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=C:\\GH\\azure-sdk-for-net\\sdk";
public static readonly String GithubForkName = "Azure";
public static readonly String GithubBranchName = "master";
public static readonly String GithubCommidId = "f57417493691c0d9a15440ffd7fdb4173bf7295c";
public static readonly String CodeGenerationErrors = "";
public static readonly String GithubRepoName = "azure-rest-api-specs";
// END: Code Generation Metadata Section
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,12 @@ internal VirtualMachinesOperations(ComputeManagementClient client)

/// <summary>
/// Sets the OS state of the virtual machine to generalized. It is recommended
/// to sysprep the virtual machine before performing this operation
/// to sysprep the virtual machine before performing this operation.
/// &lt;br&gt;For Windows, please refer to [Create a managed image of a
/// generalized VM in
/// Azure](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource).&lt;br&gt;For
/// Linux, please refer to [How to create an image of a virtual machine or
/// VHD](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/capture-image).
/// </summary>
/// <param name='resourceGroupName'>
/// The name of the resource group.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,12 @@ public static void Deallocate(this IVirtualMachinesOperations operations, string

/// <summary>
/// Sets the OS state of the virtual machine to generalized. It is recommended
/// to sysprep the virtual machine before performing this operation
/// to sysprep the virtual machine before performing this operation.
/// &lt;br&gt;For Windows, please refer to [Create a managed image of a
/// generalized VM in
/// Azure](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource).&lt;br&gt;For
/// Linux, please refer to [How to create an image of a virtual machine or
/// VHD](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/capture-image).
/// </summary>
/// <param name='operations'>
/// The operations group for this extension method.
Expand All @@ -424,7 +429,12 @@ public static void Generalize(this IVirtualMachinesOperations operations, string

/// <summary>
/// Sets the OS state of the virtual machine to generalized. It is recommended
/// to sysprep the virtual machine before performing this operation
/// to sysprep the virtual machine before performing this operation.
/// &lt;br&gt;For Windows, please refer to [Create a managed image of a
/// generalized VM in
/// Azure](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource).&lt;br&gt;For
/// Linux, please refer to [How to create an image of a virtual machine or
/// VHD](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/capture-image).
/// </summary>
/// <param name='operations'>
/// The operations group for this extension method.
Expand Down