diff --git a/data/Pandora.Definitions.ResourceManager/Web/v2022_09_01/WebApps/Definition.cs b/data/Pandora.Definitions.ResourceManager/Web/v2022_09_01/WebApps/Definition.cs index 511dd2fbb86..05864e96988 100644 --- a/data/Pandora.Definitions.ResourceManager/Web/v2022_09_01/WebApps/Definition.cs +++ b/data/Pandora.Definitions.ResourceManager/Web/v2022_09_01/WebApps/Definition.cs @@ -187,7 +187,6 @@ internal class Definition : ResourceDefinition new GetProcessModuleOperation(), new GetProcessModuleSlotOperation(), new GetProcessSlotOperation(), - new GetProductionSiteDeploymentStatusOperation(), new GetPublicCertificateOperation(), new GetPublicCertificateSlotOperation(), new GetRelayServiceConnectionOperation(), @@ -203,7 +202,6 @@ internal class Definition : ResourceDefinition new GetSitePhpErrorLogFlagOperation(), new GetSitePhpErrorLogFlagSlotOperation(), new GetSlotOperation(), - new GetSlotSiteDeploymentStatusSlotOperation(), new GetSourceControlOperation(), new GetSourceControlSlotOperation(), new GetSwiftVirtualNetworkConnectionOperation(), diff --git a/data/Pandora.Definitions.ResourceManager/Web/v2022_09_01/WebApps/Operation-GetProductionSiteDeploymentStatus.cs b/data/Pandora.Definitions.ResourceManager/Web/v2022_09_01/WebApps/Operation-GetProductionSiteDeploymentStatus.cs deleted file mode 100644 index 80e5097897d..00000000000 --- a/data/Pandora.Definitions.ResourceManager/Web/v2022_09_01/WebApps/Operation-GetProductionSiteDeploymentStatus.cs +++ /dev/null @@ -1,30 +0,0 @@ -using Pandora.Definitions.Attributes; -using Pandora.Definitions.CustomTypes; -using Pandora.Definitions.Interfaces; -using System; -using System.Collections.Generic; -using System.Net; - - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - - -namespace Pandora.Definitions.ResourceManager.Web.v2022_09_01.WebApps; - -internal class GetProductionSiteDeploymentStatusOperation : Pandora.Definitions.Operations.GetOperation -{ - public override IEnumerable ExpectedStatusCodes() => new List - { - HttpStatusCode.Accepted, - HttpStatusCode.OK, - }; - - public override bool LongRunning() => true; - - public override ResourceID? ResourceId() => new DeploymentStatusId(); - - public override Type? ResponseObject() => typeof(CsmDeploymentStatusModel); - - -} diff --git a/data/Pandora.Definitions.ResourceManager/Web/v2022_09_01/WebApps/Operation-GetSlotSiteDeploymentStatusSlot.cs b/data/Pandora.Definitions.ResourceManager/Web/v2022_09_01/WebApps/Operation-GetSlotSiteDeploymentStatusSlot.cs deleted file mode 100644 index 7aaf10ec21f..00000000000 --- a/data/Pandora.Definitions.ResourceManager/Web/v2022_09_01/WebApps/Operation-GetSlotSiteDeploymentStatusSlot.cs +++ /dev/null @@ -1,30 +0,0 @@ -using Pandora.Definitions.Attributes; -using Pandora.Definitions.CustomTypes; -using Pandora.Definitions.Interfaces; -using System; -using System.Collections.Generic; -using System.Net; - - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - - -namespace Pandora.Definitions.ResourceManager.Web.v2022_09_01.WebApps; - -internal class GetSlotSiteDeploymentStatusSlotOperation : Pandora.Definitions.Operations.GetOperation -{ - public override IEnumerable ExpectedStatusCodes() => new List - { - HttpStatusCode.Accepted, - HttpStatusCode.OK, - }; - - public override bool LongRunning() => true; - - public override ResourceID? ResourceId() => new SlotDeploymentStatusId(); - - public override Type? ResponseObject() => typeof(CsmDeploymentStatusModel); - - -} diff --git a/data/Pandora.Definitions.ResourceManager/Web/v2022_09_01/WebApps/ResourceId-DeploymentStatusId.cs b/data/Pandora.Definitions.ResourceManager/Web/v2022_09_01/WebApps/ResourceId-DeploymentStatusId.cs deleted file mode 100644 index 840ae715151..00000000000 --- a/data/Pandora.Definitions.ResourceManager/Web/v2022_09_01/WebApps/ResourceId-DeploymentStatusId.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System.Collections.Generic; -using Pandora.Definitions.Interfaces; - - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - - -namespace Pandora.Definitions.ResourceManager.Web.v2022_09_01.WebApps; - -internal class DeploymentStatusId : ResourceID -{ - public string? CommonAlias => null; - - public string ID => "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/deploymentStatus/{deploymentStatusId}"; - - public List Segments => new List - { - ResourceIDSegment.Static("staticSubscriptions", "subscriptions"), - ResourceIDSegment.SubscriptionId("subscriptionId"), - ResourceIDSegment.Static("staticResourceGroups", "resourceGroups"), - ResourceIDSegment.ResourceGroup("resourceGroupName"), - ResourceIDSegment.Static("staticProviders", "providers"), - ResourceIDSegment.ResourceProvider("staticMicrosoftWeb", "Microsoft.Web"), - ResourceIDSegment.Static("staticSites", "sites"), - ResourceIDSegment.UserSpecified("siteName"), - ResourceIDSegment.Static("staticDeploymentStatus", "deploymentStatus"), - ResourceIDSegment.UserSpecified("deploymentStatusId"), - }; -} diff --git a/data/Pandora.Definitions.ResourceManager/Web/v2022_09_01/WebApps/ResourceId-SlotDeploymentStatusId.cs b/data/Pandora.Definitions.ResourceManager/Web/v2022_09_01/WebApps/ResourceId-SlotDeploymentStatusId.cs deleted file mode 100644 index 79fa6d3a334..00000000000 --- a/data/Pandora.Definitions.ResourceManager/Web/v2022_09_01/WebApps/ResourceId-SlotDeploymentStatusId.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System.Collections.Generic; -using Pandora.Definitions.Interfaces; - - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - - -namespace Pandora.Definitions.ResourceManager.Web.v2022_09_01.WebApps; - -internal class SlotDeploymentStatusId : ResourceID -{ - public string? CommonAlias => null; - - public string ID => "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName}/deploymentStatus/{deploymentStatusId}"; - - public List Segments => new List - { - ResourceIDSegment.Static("staticSubscriptions", "subscriptions"), - ResourceIDSegment.SubscriptionId("subscriptionId"), - ResourceIDSegment.Static("staticResourceGroups", "resourceGroups"), - ResourceIDSegment.ResourceGroup("resourceGroupName"), - ResourceIDSegment.Static("staticProviders", "providers"), - ResourceIDSegment.ResourceProvider("staticMicrosoftWeb", "Microsoft.Web"), - ResourceIDSegment.Static("staticSites", "sites"), - ResourceIDSegment.UserSpecified("siteName"), - ResourceIDSegment.Static("staticSlots", "slots"), - ResourceIDSegment.UserSpecified("slotName"), - ResourceIDSegment.Static("staticDeploymentStatus", "deploymentStatus"), - ResourceIDSegment.UserSpecified("deploymentStatusId"), - }; -}