Skip to content

Commit

Permalink
Address Compute apiview comments (#29732)
Browse files Browse the repository at this point in the history
* Address Compute apiview comments

* update...

* update

* Update
  • Loading branch information
ArthurMa1978 authored Jul 8, 2022
1 parent 4c34a08 commit ff7f2b9
Show file tree
Hide file tree
Showing 34 changed files with 187 additions and 184 deletions.

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.

10 changes: 5 additions & 5 deletions sdk/cdn/Azure.ResourceManager.Cdn/src/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ rename-rules:
CPUs: Cpus
Os: OS
Ip: IP
Ips: IPs
Ips: IPs|ips
ID: Id
IDs: Ids
VM: Vm
Expand All @@ -47,9 +47,9 @@ rename-rules:
VPN: Vpn
NAT: Nat
WAN: Wan
Ipv4: IPv4
Ipv6: IPv6
Ipsec: IPsec
Ipv4: IPv4|ipv4
Ipv6: IPv6|ipv6
Ipsec: IPsec|ipsec
SSO: Sso
URI: Uri
Url: Uri
Expand All @@ -61,7 +61,7 @@ rename-rules:
PUT: Put
SHA256: Sha256
EndpointPropertiesUpdateParametersDeliveryPolicy: EndpointDeliveryPolicy
Etag: ETag
Etag: ETag|etag

no-property-type-replacement:
- ContinentsResponseContinentsItem
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2746,7 +2746,7 @@ public partial class ComputeResourceSku
{
internal ComputeResourceSku() { }
public System.Collections.Generic.IReadOnlyList<string> ApiVersions { get { throw null; } }
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.Compute.Models.ResourceSkuCapabilities> Capabilities { get { throw null; } }
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.Compute.Models.ComputeResourceSkuCapabilities> Capabilities { get { throw null; } }
public Azure.ResourceManager.Compute.Models.ComputeResourceSkuCapacity Capacity { get { throw null; } }
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.Compute.Models.ResourceSkuCosts> Costs { get { throw null; } }
public string Family { get { throw null; } }
Expand All @@ -2759,6 +2759,12 @@ internal ComputeResourceSku() { }
public string Size { get { throw null; } }
public string Tier { get { throw null; } }
}
public partial class ComputeResourceSkuCapabilities
{
internal ComputeResourceSkuCapabilities() { }
public string Name { get { throw null; } }
public string Value { get { throw null; } }
}
public partial class ComputeResourceSkuCapacity
{
internal ComputeResourceSkuCapacity() { }
Expand Down Expand Up @@ -2809,7 +2815,7 @@ public enum ComputeResourceSkuRestrictionsType
public partial class ComputeResourceSkuZoneDetails
{
internal ComputeResourceSkuZoneDetails() { }
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.Compute.Models.ResourceSkuCapabilities> Capabilities { get { throw null; } }
public System.Collections.Generic.IReadOnlyList<Azure.ResourceManager.Compute.Models.ComputeResourceSkuCapabilities> Capabilities { get { throw null; } }
public System.Collections.Generic.IReadOnlyList<string> Name { get { throw null; } }
}
public partial class ComputeSku
Expand Down Expand Up @@ -3304,13 +3310,13 @@ public DiskSku() { }
private readonly object _dummy;
private readonly int _dummyPrimitive;
public DiskStorageAccountType(string value) { throw null; }
public static Azure.ResourceManager.Compute.Models.DiskStorageAccountType PremiumLRS { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.DiskStorageAccountType PremiumV2LRS { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.DiskStorageAccountType PremiumZRS { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.DiskStorageAccountType StandardLRS { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.DiskStorageAccountType StandardSsdLRS { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.DiskStorageAccountType StandardSsdZRS { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.DiskStorageAccountType UltraSsdLRS { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.DiskStorageAccountType PremiumLrs { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.DiskStorageAccountType PremiumV2Lrs { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.DiskStorageAccountType PremiumZrs { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.DiskStorageAccountType StandardLrs { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.DiskStorageAccountType StandardSsdLrs { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.DiskStorageAccountType StandardSsdZrs { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.DiskStorageAccountType UltraSsdLrs { get { throw null; } }
public bool Equals(Azure.ResourceManager.Compute.Models.DiskStorageAccountType other) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public override bool Equals(object obj) { throw null; }
Expand Down Expand Up @@ -3700,9 +3706,9 @@ public ImageReference() { }
private readonly object _dummy;
private readonly int _dummyPrimitive;
public ImageStorageAccountType(string value) { throw null; }
public static Azure.ResourceManager.Compute.Models.ImageStorageAccountType PremiumLRS { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.ImageStorageAccountType StandardLRS { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.ImageStorageAccountType StandardZRS { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.ImageStorageAccountType PremiumLrs { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.ImageStorageAccountType StandardLrs { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.ImageStorageAccountType StandardZrs { get { throw null; } }
public bool Equals(Azure.ResourceManager.Compute.Models.ImageStorageAccountType other) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public override bool Equals(object obj) { throw null; }
Expand Down Expand Up @@ -4240,11 +4246,6 @@ public partial class PirSharedGalleryResourceData : Azure.ResourceManager.Comput
internal PirSharedGalleryResourceData() { }
public string UniqueId { get { throw null; } }
}
public enum ProtocolType
{
Http = 0,
Https = 1,
}
public partial class ProximityPlacementGroupPatch : Azure.ResourceManager.Compute.Models.ComputeResourcePatch
{
public ProximityPlacementGroupPatch() { }
Expand Down Expand Up @@ -4401,12 +4402,6 @@ public ResourceRange() { }
public int? Max { get { throw null; } set { } }
public int? Min { get { throw null; } set { } }
}
public partial class ResourceSkuCapabilities
{
internal ResourceSkuCapabilities() { }
public string Name { get { throw null; } }
public string Value { get { throw null; } }
}
public partial class ResourceSkuCosts
{
internal ResourceSkuCosts() { }
Expand Down Expand Up @@ -4851,9 +4846,9 @@ public SnapshotSku() { }
private readonly object _dummy;
private readonly int _dummyPrimitive;
public SnapshotStorageAccountType(string value) { throw null; }
public static Azure.ResourceManager.Compute.Models.SnapshotStorageAccountType PremiumLRS { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.SnapshotStorageAccountType StandardLRS { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.SnapshotStorageAccountType StandardZRS { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.SnapshotStorageAccountType PremiumLrs { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.SnapshotStorageAccountType StandardLrs { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.SnapshotStorageAccountType StandardZrs { get { throw null; } }
public bool Equals(Azure.ResourceManager.Compute.Models.SnapshotStorageAccountType other) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public override bool Equals(object obj) { throw null; }
Expand Down Expand Up @@ -4900,13 +4895,13 @@ internal StatusCodeCount() { }
private readonly object _dummy;
private readonly int _dummyPrimitive;
public StorageAccountType(string value) { throw null; }
public static Azure.ResourceManager.Compute.Models.StorageAccountType PremiumLRS { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.StorageAccountType PremiumV2LRS { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.StorageAccountType PremiumZRS { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.StorageAccountType StandardLRS { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.StorageAccountType StandardSsdLRS { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.StorageAccountType StandardSsdZRS { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.StorageAccountType UltraSsdLRS { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.StorageAccountType PremiumLrs { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.StorageAccountType PremiumV2Lrs { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.StorageAccountType PremiumZrs { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.StorageAccountType StandardLrs { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.StorageAccountType StandardSsdLrs { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.StorageAccountType StandardSsdZrs { get { throw null; } }
public static Azure.ResourceManager.Compute.Models.StorageAccountType UltraSsdLrs { get { throw null; } }
public bool Equals(Azure.ResourceManager.Compute.Models.StorageAccountType other) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public override bool Equals(object obj) { throw null; }
Expand Down Expand Up @@ -6230,6 +6225,11 @@ public partial class WinRMListener
{
public WinRMListener() { }
public System.Uri CertificateUri { get { throw null; } set { } }
public Azure.ResourceManager.Compute.Models.ProtocolType? Protocol { get { throw null; } set { } }
public Azure.ResourceManager.Compute.Models.WinRMListenerProtocolType? Protocol { get { throw null; } set { } }
}
public enum WinRMListenerProtocolType
{
Http = 0,
Https = 1,
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ ManagedDiskData input = new ManagedDiskData(resourceGroup.Data.Location)
{
Sku = new DiskSku()
{
Name = DiskStorageAccountType.StandardLRS
Name = DiskStorageAccountType.StandardLrs
},
CreationData = new DiskCreationData(DiskCreateOption.Empty),
DiskSizeGB = 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ VirtualMachineData input = new VirtualMachineData(resourceGroup.Data.Location)
Caching = CachingType.ReadWrite,
ManagedDisk = new VirtualMachineManagedDisk()
{
StorageAccountType = StorageAccountType.StandardLRS
StorageAccountType = StorageAccountType.StandardLrs
}
},
ImageReference = new ImageReference()
Expand Down

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

Loading

0 comments on commit ff7f2b9

Please sign in to comment.