Skip to content
Merged
Show file tree
Hide file tree
Changes from 11 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
6 changes: 3 additions & 3 deletions eng/mgmt/mgmtmetadata/compute_resource-manager.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ AutoRest installed successfully.
Commencing code generation
Generating CSharp code
Executing AutoRest command
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/main/specification/compute/resource-manager/readme.md --tag=package-2021-06-01-preview --csharp --version=2.0.4421 --reflect-api-versions --csharp-sdks-folder=C:\work\azure-sdk-for-net\sdk
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/main/specification/compute/resource-manager/readme.md --tag=package-2022-07-02-preview --csharp --version=2.0.4421 --reflect-api-versions --csharp-sdks-folder=C:\work\azure-sdk-for-net\sdk
Autorest CSharp Version: 2.3.82
2021-10-20 19:24:00 UTC
2022-09-13 19:24:00 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: main
Commit: 8ff7d5ef46f43875262110a4b2df7357bdf4369c
Commit: 967fe62dd0051ef9fd0af3fdba52fbcabd33c46c
AutoRest information
Requested version: v2
Bootstrapper version: [email protected]
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--This file and it's contents are updated at build time moving or editing might result in build failure. Take due deligence while editing this file-->
<PropertyGroup>
<AzureApiTag>Compute_2022-04-04;Compute_2022-03-02;Compute_2022-03-01;Compute_2021-11-01;Compute_2021-03-01;Compute_2021-07-01;Compute_2021-12-01;Compute_2022-01-03;Compute_2021-06-01-preview</AzureApiTag>
<AzureApiTag>Compute-2022-08-01;Compute_2022-07-02;Compute_2022-04-04;Compute_2022-03-02;Compute_2022-03-01;Compute_2021-11-01;Compute_2021-03-01;Compute_2021-07-01;Compute_2021-12-01;Compute_2022-01-03;Compute_2021-06-01-preview</AzureApiTag>
<PackageTags>$(PackageTags);$(CommonTags);$(AzureApiTag);</PackageTags>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,31 @@ public DiskUpdate(OperatingSystemTypes? osType, int? diskSizeGB, EncryptionSetti
Sku = sku;
CustomInit();
}

public DiskUpdate(OperatingSystemTypes? osType , int? diskSizeGB , EncryptionSettingsCollection encryptionSettingsCollection , long? diskIOPSReadWrite , long? diskMBpsReadWrite , long? diskIOPSReadOnly , long? diskMBpsReadOnly , int? maxShares , Encryption encryption , string networkAccessPolicy , string diskAccessId , string tier , bool? burstingEnabled , PurchasePlan purchasePlan , SupportedCapabilities supportedCapabilities , PropertyUpdatesInProgress propertyUpdatesInProgress , bool? supportsHibernation , string publicNetworkAccess , string dataAccessAuthMode , IDictionary<string, string> tags , DiskSku sku = default(DiskSku))
{
OsType = osType;
DiskSizeGB = diskSizeGB;
EncryptionSettingsCollection = encryptionSettingsCollection;
DiskIOPSReadWrite = diskIOPSReadWrite;
DiskMBpsReadWrite = diskMBpsReadWrite;
DiskIOPSReadOnly = diskIOPSReadOnly;
DiskMBpsReadOnly = diskMBpsReadOnly;
MaxShares = maxShares;
Encryption = encryption;
NetworkAccessPolicy = networkAccessPolicy;
DiskAccessId = diskAccessId;
Tier = tier;
BurstingEnabled = burstingEnabled;
PurchasePlan = purchasePlan;
SupportedCapabilities = supportedCapabilities;
PropertyUpdatesInProgress = propertyUpdatesInProgress;
SupportsHibernation = supportsHibernation;
PublicNetworkAccess = publicNetworkAccess;
DataAccessAuthMode = dataAccessAuthMode;
Tags = tags;
Sku = sku;
CustomInit();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,36 @@ public partial class Snapshot : Resource
DataAccessAuthMode = dataAccessAuthMode;
CustomInit();
}

public Snapshot(string location, CreationData creationData, string id , string name , string type , IDictionary<string, string> tags , string managedBy , SnapshotSku sku , ExtendedLocation extendedLocation , System.DateTime? timeCreated , OperatingSystemTypes? osType , string hyperVGeneration , PurchasePlan purchasePlan , SupportedCapabilities supportedCapabilities , int? diskSizeGB , long? diskSizeBytes , string diskState , string uniqueId , EncryptionSettingsCollection encryptionSettingsCollection , string provisioningState , bool? incremental , Encryption encryption , string networkAccessPolicy = default(string), string diskAccessId = default(string), DiskSecurityProfile securityProfile = default(DiskSecurityProfile), bool? supportsHibernation = default(bool?), string publicNetworkAccess = default(string), double? completionPercent = default(double?), CopyCompletionError copyCompletionError = default(CopyCompletionError), string dataAccessAuthMode = default(string))
: base(location, id, name, type, tags)
{
ManagedBy = managedBy;
Sku = sku;
ExtendedLocation = extendedLocation;
TimeCreated = timeCreated;
OsType = osType;
HyperVGeneration = hyperVGeneration;
PurchasePlan = purchasePlan;
SupportedCapabilities = supportedCapabilities;
CreationData = creationData;
DiskSizeGB = diskSizeGB;
DiskSizeBytes = diskSizeBytes;
DiskState = diskState;
UniqueId = uniqueId;
EncryptionSettingsCollection = encryptionSettingsCollection;
ProvisioningState = provisioningState;
Incremental = incremental;
Encryption = encryption;
NetworkAccessPolicy = networkAccessPolicy;
DiskAccessId = diskAccessId;
SecurityProfile = securityProfile;
SupportsHibernation = supportsHibernation;
PublicNetworkAccess = publicNetworkAccess;
CompletionPercent = completionPercent;
CopyCompletionError = copyCompletionError;
DataAccessAuthMode = dataAccessAuthMode;
CustomInit();
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@


namespace Microsoft.Azure.Management.Compute.Models
{
using System.Collections.Generic;

/// <summary>
/// Disk update resource.
/// </summary>
public partial class SupportedCapabilities
{

public SupportedCapabilities(bool? acceleratedNetwork , string architecture = default(string))
{
AcceleratedNetwork = acceleratedNetwork;
Architecture = architecture;
CustomInit();
}

}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading