Skip to content

Commit

Permalink
Generated from 82901e8ee20a5ffb06f59bb2d4b7218bca738f3e
Browse files Browse the repository at this point in the history
Update examples for Images in 2019-07-01 version according to the update of 2019-03-01 version examples.
  • Loading branch information
SDK Automation committed Dec 7, 2019
1 parent f08bb6d commit 9f1eb26
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 15 deletions.
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 @@ -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

0 comments on commit 9f1eb26

Please sign in to comment.