Skip to content
Merged
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 = default(OperatingSystemTypes?), int? diskSizeGB = default(int?), EncryptionSettingsCollection encryptionSettingsCollection = default(EncryptionSettingsCollection), long? diskIOPSReadWrite = default(long?), long? diskMBpsReadWrite = default(long?), long? diskIOPSReadOnly = default(long?), long? diskMBpsReadOnly = default(long?), int? maxShares = default(int?), Encryption encryption = default(Encryption), string networkAccessPolicy = default(string), string diskAccessId = default(string), string tier = default(string), bool? burstingEnabled = default(bool?), PurchasePlan purchasePlan = default(PurchasePlan), SupportedCapabilities supportedCapabilities = default(SupportedCapabilities), PropertyUpdatesInProgress propertyUpdatesInProgress = default(PropertyUpdatesInProgress), bool? supportsHibernation = default(bool?), string publicNetworkAccess = default(string), string dataAccessAuthMode = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), 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 = default(string), string name = default(string), string type = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), string managedBy = default(string), SnapshotSku sku = default(SnapshotSku), ExtendedLocation extendedLocation = default(ExtendedLocation), System.DateTime? timeCreated = default(System.DateTime?), OperatingSystemTypes? osType = default(OperatingSystemTypes?), string hyperVGeneration = default(string), PurchasePlan purchasePlan = default(PurchasePlan), SupportedCapabilities supportedCapabilities = default(SupportedCapabilities), int? diskSizeGB = default(int?), long? diskSizeBytes = default(long?), string diskState = default(string), string uniqueId = default(string), EncryptionSettingsCollection encryptionSettingsCollection = default(EncryptionSettingsCollection), string provisioningState = default(string), bool? incremental = default(bool?), Encryption encryption = default(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 = default(bool?), 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