Skip to content

Commit 35c54ad

Browse files
authored
[Cdn] Address follow up review comments (Azure#28798)
* update swagger link * update api
1 parent 98c329a commit 35c54ad

32 files changed

+499
-80
lines changed

sdk/cdn/Azure.ResourceManager.Cdn/api/Azure.ResourceManager.Cdn.netstandard2.0.cs

Lines changed: 107 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ public CdnCustomDomainData() { }
413413
public Azure.ResourceManager.Cdn.Models.CustomHttpsAvailabilityState? CustomHttpsAvailabilityState { get { throw null; } }
414414
public Azure.ResourceManager.Cdn.Models.CustomHttpsProvisioningState? CustomHttpsProvisioningState { get { throw null; } }
415415
public string HostName { get { throw null; } set { } }
416-
public string ProvisioningState { get { throw null; } }
416+
public Azure.ResourceManager.Cdn.Models.CustomHttpsProvisioningState? ProvisioningState { get { throw null; } }
417417
public Azure.ResourceManager.Cdn.Models.CustomDomainResourceState? ResourceState { get { throw null; } }
418418
public string ValidationData { get { throw null; } set { } }
419419
}
@@ -468,7 +468,7 @@ public CdnEndpointData(Azure.Core.AzureLocation location) : base (default(Azure.
468468
public string OriginPath { get { throw null; } set { } }
469469
public System.Collections.Generic.IList<Azure.ResourceManager.Cdn.Models.DeepCreatedOrigin> Origins { get { throw null; } }
470470
public string ProbePath { get { throw null; } set { } }
471-
public string ProvisioningState { get { throw null; } }
471+
public Azure.ResourceManager.Cdn.Models.EndpointProvisioningState? ProvisioningState { get { throw null; } }
472472
public Azure.ResourceManager.Cdn.Models.QueryStringCachingBehavior? QueryStringCachingBehavior { get { throw null; } set { } }
473473
public Azure.ResourceManager.Cdn.Models.EndpointResourceState? ResourceState { get { throw null; } }
474474
public System.Collections.Generic.IList<Azure.ResourceManager.Cdn.Models.UriSigningKey> UriSigningKeys { get { throw null; } set { } }
@@ -584,7 +584,7 @@ public CdnOriginData() { }
584584
public string PrivateLinkApprovalMessage { get { throw null; } set { } }
585585
public string PrivateLinkLocation { get { throw null; } set { } }
586586
public Azure.Core.ResourceIdentifier PrivateLinkResourceId { get { throw null; } set { } }
587-
public string ProvisioningState { get { throw null; } }
587+
public Azure.ResourceManager.Cdn.Models.OriginProvisioningState? ProvisioningState { get { throw null; } }
588588
public Azure.ResourceManager.Cdn.Models.OriginResourceState? ResourceState { get { throw null; } }
589589
public int? Weight { get { throw null; } set { } }
590590
}
@@ -608,7 +608,7 @@ public partial class CdnOriginGroupData : Azure.ResourceManager.Models.ResourceD
608608
public CdnOriginGroupData() { }
609609
public Azure.ResourceManager.Cdn.Models.HealthProbeSettings HealthProbeSettings { get { throw null; } set { } }
610610
public System.Collections.Generic.IList<Azure.ResourceManager.Resources.Models.WritableSubResource> Origins { get { throw null; } }
611-
public string ProvisioningState { get { throw null; } }
611+
public Azure.ResourceManager.Cdn.Models.OriginGroupProvisioningState? ProvisioningState { get { throw null; } }
612612
public Azure.ResourceManager.Cdn.Models.OriginGroupResourceState? ResourceState { get { throw null; } }
613613
public Azure.ResourceManager.Cdn.Models.ResponseBasedOriginErrorDetectionSettings ResponseBasedOriginErrorDetectionSettings { get { throw null; } set { } }
614614
public int? TrafficRestorationTimeToHealedOrNewEndpointsInMinutes { get { throw null; } set { } }
@@ -710,7 +710,7 @@ public ProfileData(Azure.Core.AzureLocation location, Azure.ResourceManager.Cdn.
710710
public System.Guid? FrontDoorId { get { throw null; } }
711711
public string Kind { get { throw null; } }
712712
public int? OriginResponseTimeoutSeconds { get { throw null; } set { } }
713-
public string ProvisioningState { get { throw null; } }
713+
public Azure.ResourceManager.Cdn.Models.ProfileProvisioningState? ProvisioningState { get { throw null; } }
714714
public Azure.ResourceManager.Cdn.Models.ProfileResourceState? ResourceState { get { throw null; } }
715715
public Azure.ResourceManager.Cdn.Models.CdnSkuName? SkuName { get { throw null; } set { } }
716716
}
@@ -1843,6 +1843,27 @@ internal EndpointNameAvailabilityResult() { }
18431843
public string Reason { get { throw null; } }
18441844
}
18451845
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
1846+
public readonly partial struct EndpointProvisioningState : System.IEquatable<Azure.ResourceManager.Cdn.Models.EndpointProvisioningState>
1847+
{
1848+
private readonly object _dummy;
1849+
private readonly int _dummyPrimitive;
1850+
public EndpointProvisioningState(string value) { throw null; }
1851+
public static Azure.ResourceManager.Cdn.Models.EndpointProvisioningState Creating { get { throw null; } }
1852+
public static Azure.ResourceManager.Cdn.Models.EndpointProvisioningState Deleting { get { throw null; } }
1853+
public static Azure.ResourceManager.Cdn.Models.EndpointProvisioningState Failed { get { throw null; } }
1854+
public static Azure.ResourceManager.Cdn.Models.EndpointProvisioningState Succeeded { get { throw null; } }
1855+
public static Azure.ResourceManager.Cdn.Models.EndpointProvisioningState Updating { get { throw null; } }
1856+
public bool Equals(Azure.ResourceManager.Cdn.Models.EndpointProvisioningState other) { throw null; }
1857+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1858+
public override bool Equals(object obj) { throw null; }
1859+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1860+
public override int GetHashCode() { throw null; }
1861+
public static bool operator ==(Azure.ResourceManager.Cdn.Models.EndpointProvisioningState left, Azure.ResourceManager.Cdn.Models.EndpointProvisioningState right) { throw null; }
1862+
public static implicit operator Azure.ResourceManager.Cdn.Models.EndpointProvisioningState (string value) { throw null; }
1863+
public static bool operator !=(Azure.ResourceManager.Cdn.Models.EndpointProvisioningState left, Azure.ResourceManager.Cdn.Models.EndpointProvisioningState right) { throw null; }
1864+
public override string ToString() { throw null; }
1865+
}
1866+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
18461867
public readonly partial struct EndpointResourceState : System.IEquatable<Azure.ResourceManager.Cdn.Models.EndpointResourceState>
18471868
{
18481869
private readonly object _dummy;
@@ -2582,6 +2603,27 @@ public OriginGroupOverrideActionDefinition(Azure.ResourceManager.Cdn.Models.Orig
25822603
public override string ToString() { throw null; }
25832604
}
25842605
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
2606+
public readonly partial struct OriginGroupProvisioningState : System.IEquatable<Azure.ResourceManager.Cdn.Models.OriginGroupProvisioningState>
2607+
{
2608+
private readonly object _dummy;
2609+
private readonly int _dummyPrimitive;
2610+
public OriginGroupProvisioningState(string value) { throw null; }
2611+
public static Azure.ResourceManager.Cdn.Models.OriginGroupProvisioningState Creating { get { throw null; } }
2612+
public static Azure.ResourceManager.Cdn.Models.OriginGroupProvisioningState Deleting { get { throw null; } }
2613+
public static Azure.ResourceManager.Cdn.Models.OriginGroupProvisioningState Failed { get { throw null; } }
2614+
public static Azure.ResourceManager.Cdn.Models.OriginGroupProvisioningState Succeeded { get { throw null; } }
2615+
public static Azure.ResourceManager.Cdn.Models.OriginGroupProvisioningState Updating { get { throw null; } }
2616+
public bool Equals(Azure.ResourceManager.Cdn.Models.OriginGroupProvisioningState other) { throw null; }
2617+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
2618+
public override bool Equals(object obj) { throw null; }
2619+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
2620+
public override int GetHashCode() { throw null; }
2621+
public static bool operator ==(Azure.ResourceManager.Cdn.Models.OriginGroupProvisioningState left, Azure.ResourceManager.Cdn.Models.OriginGroupProvisioningState right) { throw null; }
2622+
public static implicit operator Azure.ResourceManager.Cdn.Models.OriginGroupProvisioningState (string value) { throw null; }
2623+
public static bool operator !=(Azure.ResourceManager.Cdn.Models.OriginGroupProvisioningState left, Azure.ResourceManager.Cdn.Models.OriginGroupProvisioningState right) { throw null; }
2624+
public override string ToString() { throw null; }
2625+
}
2626+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
25852627
public readonly partial struct OriginGroupResourceState : System.IEquatable<Azure.ResourceManager.Cdn.Models.OriginGroupResourceState>
25862628
{
25872629
private readonly object _dummy;
@@ -2601,6 +2643,27 @@ public OriginGroupOverrideActionDefinition(Azure.ResourceManager.Cdn.Models.Orig
26012643
public override string ToString() { throw null; }
26022644
}
26032645
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
2646+
public readonly partial struct OriginProvisioningState : System.IEquatable<Azure.ResourceManager.Cdn.Models.OriginProvisioningState>
2647+
{
2648+
private readonly object _dummy;
2649+
private readonly int _dummyPrimitive;
2650+
public OriginProvisioningState(string value) { throw null; }
2651+
public static Azure.ResourceManager.Cdn.Models.OriginProvisioningState Creating { get { throw null; } }
2652+
public static Azure.ResourceManager.Cdn.Models.OriginProvisioningState Deleting { get { throw null; } }
2653+
public static Azure.ResourceManager.Cdn.Models.OriginProvisioningState Failed { get { throw null; } }
2654+
public static Azure.ResourceManager.Cdn.Models.OriginProvisioningState Succeeded { get { throw null; } }
2655+
public static Azure.ResourceManager.Cdn.Models.OriginProvisioningState Updating { get { throw null; } }
2656+
public bool Equals(Azure.ResourceManager.Cdn.Models.OriginProvisioningState other) { throw null; }
2657+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
2658+
public override bool Equals(object obj) { throw null; }
2659+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
2660+
public override int GetHashCode() { throw null; }
2661+
public static bool operator ==(Azure.ResourceManager.Cdn.Models.OriginProvisioningState left, Azure.ResourceManager.Cdn.Models.OriginProvisioningState right) { throw null; }
2662+
public static implicit operator Azure.ResourceManager.Cdn.Models.OriginProvisioningState (string value) { throw null; }
2663+
public static bool operator !=(Azure.ResourceManager.Cdn.Models.OriginProvisioningState left, Azure.ResourceManager.Cdn.Models.OriginProvisioningState right) { throw null; }
2664+
public override string ToString() { throw null; }
2665+
}
2666+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
26042667
public readonly partial struct OriginResourceState : System.IEquatable<Azure.ResourceManager.Cdn.Models.OriginResourceState>
26052668
{
26062669
private readonly object _dummy;
@@ -2834,6 +2897,27 @@ public ProfilePatch() { }
28342897
public System.Collections.Generic.IDictionary<string, string> Tags { get { throw null; } }
28352898
}
28362899
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
2900+
public readonly partial struct ProfileProvisioningState : System.IEquatable<Azure.ResourceManager.Cdn.Models.ProfileProvisioningState>
2901+
{
2902+
private readonly object _dummy;
2903+
private readonly int _dummyPrimitive;
2904+
public ProfileProvisioningState(string value) { throw null; }
2905+
public static Azure.ResourceManager.Cdn.Models.ProfileProvisioningState Creating { get { throw null; } }
2906+
public static Azure.ResourceManager.Cdn.Models.ProfileProvisioningState Deleting { get { throw null; } }
2907+
public static Azure.ResourceManager.Cdn.Models.ProfileProvisioningState Failed { get { throw null; } }
2908+
public static Azure.ResourceManager.Cdn.Models.ProfileProvisioningState Succeeded { get { throw null; } }
2909+
public static Azure.ResourceManager.Cdn.Models.ProfileProvisioningState Updating { get { throw null; } }
2910+
public bool Equals(Azure.ResourceManager.Cdn.Models.ProfileProvisioningState other) { throw null; }
2911+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
2912+
public override bool Equals(object obj) { throw null; }
2913+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
2914+
public override int GetHashCode() { throw null; }
2915+
public static bool operator ==(Azure.ResourceManager.Cdn.Models.ProfileProvisioningState left, Azure.ResourceManager.Cdn.Models.ProfileProvisioningState right) { throw null; }
2916+
public static implicit operator Azure.ResourceManager.Cdn.Models.ProfileProvisioningState (string value) { throw null; }
2917+
public static bool operator !=(Azure.ResourceManager.Cdn.Models.ProfileProvisioningState left, Azure.ResourceManager.Cdn.Models.ProfileProvisioningState right) { throw null; }
2918+
public override string ToString() { throw null; }
2919+
}
2920+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
28372921
public readonly partial struct ProfileResourceState : System.IEquatable<Azure.ResourceManager.Cdn.Models.ProfileResourceState>
28382922
{
28392923
private readonly object _dummy;
@@ -3391,7 +3475,24 @@ internal ResourceUsage() { }
33913475
public int? CurrentValue { get { throw null; } }
33923476
public int? Limit { get { throw null; } }
33933477
public string ResourceType { get { throw null; } }
3394-
public string Unit { get { throw null; } }
3478+
public Azure.ResourceManager.Cdn.Models.ResourceUsageUnit? Unit { get { throw null; } }
3479+
}
3480+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
3481+
public readonly partial struct ResourceUsageUnit : System.IEquatable<Azure.ResourceManager.Cdn.Models.ResourceUsageUnit>
3482+
{
3483+
private readonly object _dummy;
3484+
private readonly int _dummyPrimitive;
3485+
public ResourceUsageUnit(string value) { throw null; }
3486+
public static Azure.ResourceManager.Cdn.Models.ResourceUsageUnit Count { get { throw null; } }
3487+
public bool Equals(Azure.ResourceManager.Cdn.Models.ResourceUsageUnit other) { throw null; }
3488+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
3489+
public override bool Equals(object obj) { throw null; }
3490+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
3491+
public override int GetHashCode() { throw null; }
3492+
public static bool operator ==(Azure.ResourceManager.Cdn.Models.ResourceUsageUnit left, Azure.ResourceManager.Cdn.Models.ResourceUsageUnit right) { throw null; }
3493+
public static implicit operator Azure.ResourceManager.Cdn.Models.ResourceUsageUnit (string value) { throw null; }
3494+
public static bool operator !=(Azure.ResourceManager.Cdn.Models.ResourceUsageUnit left, Azure.ResourceManager.Cdn.Models.ResourceUsageUnit right) { throw null; }
3495+
public override string ToString() { throw null; }
33953496
}
33963497
public enum ResponseBasedDetectedErrorTypes
33973498
{

sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdEndpointResource.cs

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdOriginGroupResource.cs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)