diff --git a/sdk/appservice/arm-appservice/CHANGELOG.md b/sdk/appservice/arm-appservice/CHANGELOG.md index b7097539bbb7..a0a383f709ce 100644 --- a/sdk/appservice/arm-appservice/CHANGELOG.md +++ b/sdk/appservice/arm-appservice/CHANGELOG.md @@ -1,15 +1,164 @@ # Release History + +## 14.0.0 (2022-07-12) + +**Features** -## 13.0.1 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed + - Added Type Alias AddressResponse + - Added Type Alias AnalysisDefinition + - Added Type Alias ApiKVReference + - Added Type Alias ApplicationStackResource + - Added Type Alias AppServiceCertificateOrder + - Added Type Alias AppServiceCertificateOrderPatchResource + - Added Type Alias AppServiceCertificatePatchResource + - Added Type Alias AppServiceCertificateResource + - Added Type Alias AppServiceEnvironmentPatchResource + - Added Type Alias AppServiceEnvironmentResource + - Added Type Alias AppServicePlan + - Added Type Alias AppServicePlanPatchResource + - Added Type Alias AseV3NetworkingConfiguration + - Added Type Alias AzureResourceErrorInfo + - Added Type Alias AzureStoragePropertyDictionaryResource + - Added Type Alias BackupItem + - Added Type Alias BackupRequest + - Added Type Alias BillingMeter + - Added Type Alias Certificate + - Added Type Alias CertificatePatchResource + - Added Type Alias ConnectionStringDictionary + - Added Type Alias ContainerApp + - Added Type Alias ContinuousWebJob + - Added Type Alias CsmDeploymentStatus + - Added Type Alias CsmPublishingCredentialsPoliciesEntity + - Added Type Alias CustomDnsSuffixConfiguration + - Added Type Alias CustomHostnameAnalysisResult + - Added Type Alias CustomHostnameSites + - Added Type Alias DeletedAppRestoreRequest + - Added Type Alias DeletedSite + - Added Type Alias Deployment + - Added Type Alias DetectorDefinitionResource + - Added Type Alias DetectorResponse + - Added Type Alias DiagnosticAnalysis + - Added Type Alias DiagnosticCategory + - Added Type Alias DiagnosticDetectorResponse + - Added Type Alias Domain + - Added Type Alias DomainOwnershipIdentifier + - Added Type Alias DomainPatchResource + - Added Type Alias ExpressionRoot + - Added Type Alias FunctionAppStack + - Added Type Alias FunctionEnvelope + - Added Type Alias GeoRegion + - Added Type Alias HostNameBinding + - Added Type Alias HybridConnection + - Added Type Alias HybridConnectionKey + - Added Type Alias HybridConnectionLimits + - Added Type Alias Identifier + - Added Type Alias KubeEnvironment + - Added Type Alias KubeEnvironmentPatchResource + - Added Type Alias MigrateMySqlRequest + - Added Type Alias MigrateMySqlStatus + - Added Type Alias MSDeploy + - Added Type Alias MSDeployLog + - Added Type Alias MSDeployStatus + - Added Type Alias NetworkFeatures + - Added Type Alias OperationResult + - Added Type Alias PremierAddOn + - Added Type Alias PremierAddOnOffer + - Added Type Alias PremierAddOnPatchResource + - Added Type Alias PrivateAccess + - Added Type Alias PrivateLinkConnectionApprovalRequestResource + - Added Type Alias ProcessInfo + - Added Type Alias ProcessModuleInfo + - Added Type Alias ProcessThreadInfo + - Added Type Alias ProviderOsTypeSelected + - Added Type Alias ProviderStackOsType + - Added Type Alias PublicCertificate + - Added Type Alias PushSettings + - Added Type Alias Recommendation + - Added Type Alias RecommendationRule + - Added Type Alias ReissueCertificateOrderRequest + - Added Type Alias RelayServiceConnectionEntity + - Added Type Alias RemotePrivateEndpointConnection + - Added Type Alias RemotePrivateEndpointConnectionARMResource + - Added Type Alias RenewCertificateOrderRequest + - Added Type Alias RequestHistory + - Added Type Alias ResourceHealthMetadata + - Added Type Alias ResourceMetricDefinition + - Added Type Alias RestoreRequest + - Added Type Alias Revision + - Added Type Alias RunActionCorrelation + - Added Type Alias Site + - Added Type Alias SiteAuthSettings + - Added Type Alias SiteAuthSettingsV2 + - Added Type Alias SiteConfigResource + - Added Type Alias SiteConfigurationSnapshotInfo + - Added Type Alias SiteExtensionInfo + - Added Type Alias SiteLogsConfig + - Added Type Alias SitePatchResource + - Added Type Alias SitePhpErrorLogFlag + - Added Type Alias SiteSourceControl + - Added Type Alias SlotConfigNamesResource + - Added Type Alias SlotDifference + - Added Type Alias Snapshot + - Added Type Alias SnapshotRestoreRequest + - Added Type Alias SourceControl + - Added Type Alias StaticSiteARMResource + - Added Type Alias StaticSiteBuildARMResource + - Added Type Alias StaticSiteCustomDomainOverviewARMResource + - Added Type Alias StaticSiteCustomDomainRequestPropertiesARMResource + - Added Type Alias StaticSiteFunctionOverviewARMResource + - Added Type Alias StaticSiteLinkedBackendARMResource + - Added Type Alias StaticSitePatchResource + - Added Type Alias StaticSiteResetPropertiesARMResource + - Added Type Alias StaticSitesWorkflowPreview + - Added Type Alias StaticSitesWorkflowPreviewRequest + - Added Type Alias StaticSiteUserARMResource + - Added Type Alias StaticSiteUserInvitationRequestResource + - Added Type Alias StaticSiteUserInvitationResponseResource + - Added Type Alias StaticSiteUserProvidedFunctionApp + - Added Type Alias StaticSiteUserProvidedFunctionAppARMResource + - Added Type Alias StaticSiteZipDeploymentARMResource + - Added Type Alias StorageMigrationOptions + - Added Type Alias StorageMigrationResponse + - Added Type Alias StringDictionary + - Added Type Alias StringList + - Added Type Alias SwiftVirtualNetwork + - Added Type Alias TopLevelDomain + - Added Type Alias TriggeredJobHistory + - Added Type Alias TriggeredWebJob + - Added Type Alias Usage + - Added Type Alias User + - Added Type Alias VnetGateway + - Added Type Alias VnetInfoResource + - Added Type Alias VnetParameters + - Added Type Alias VnetRoute + - Added Type Alias VnetValidationFailureDetails + - Added Type Alias VnetValidationTestFailure + - Added Type Alias WebAppStack + - Added Type Alias WebJob + - Added Type Alias WebSiteInstanceStatus + - Added Type Alias WorkerPoolResource + - Added Type Alias Workflow + - Added Type Alias WorkflowOutputParameter + - Added Type Alias WorkflowRun + - Added Type Alias WorkflowRunAction + - Added Type Alias WorkflowRunActionRepetitionDefinition + - Added Type Alias WorkflowRunActionRepetitionProperties + - Added Type Alias WorkflowTrigger + - Added Type Alias WorkflowTriggerHistory + - Added Type Alias WorkflowVersion + - Added Enum KnownProviderOsTypeSelected + - Added Enum KnownProviderStackOsType -### Other Changes +**Breaking Changes** + - Removed Enum KnownEnum14 + - Removed Enum KnownEnum15 + - Removed Enum KnownEnum16 + - Removed Enum KnownEnum17 + - Removed Enum KnownEnum18 + - Removed Enum KnownEnum19 + + ## 13.0.0 (2022-07-06) **Features** diff --git a/sdk/appservice/arm-appservice/_meta.json b/sdk/appservice/arm-appservice/_meta.json index 6c14aa54ee2b..574ec2070953 100644 --- a/sdk/appservice/arm-appservice/_meta.json +++ b/sdk/appservice/arm-appservice/_meta.json @@ -1,8 +1,8 @@ { - "commit": "492f46331542f76339473ce20ec49ceffe794fff", + "commit": "88e27e68094e1a4d76f070e409f9cee0687b7cf2", "readme": "specification/web/resource-manager/readme.md", - "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\web\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.1 --generate-sample=true", + "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/web/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220425.1", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", "release_tool": "@azure-tools/js-sdk-release-tools@2.4.0", - "use": "@autorest/typescript@6.0.0-rc.1" + "use": "@autorest/typescript@6.0.0-alpha.19.20220425.1" } \ No newline at end of file diff --git a/sdk/appservice/arm-appservice/package.json b/sdk/appservice/arm-appservice/package.json index 74c7d3a65663..ffdfe5a83fd8 100644 --- a/sdk/appservice/arm-appservice/package.json +++ b/sdk/appservice/arm-appservice/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for WebSiteManagementClient.", - "version": "13.0.1", + "version": "14.0.0", "engines": { "node": ">=12.0.0" }, @@ -43,8 +43,6 @@ "@azure-tools/test-recorder": "^2.0.0", "@azure-tools/test-credential": "^1.0.0", "mocha": "^7.1.1", - "@types/chai": "^4.2.8", - "chai": "^4.2.0", "cross-env": "^7.0.2", "@azure/dev-tool": "^1.0.0" }, @@ -98,7 +96,8 @@ "unit-test:browser": "echo skipped", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'", - "integration-test:browser": "echo skipped" + "integration-test:browser": "echo skipped", + "docs": "echo skipped" }, "sideEffects": false, "//metadata": { @@ -109,13 +108,5 @@ } ] }, - "autoPublish": true, - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-appservice?view=azure-node-preview" - } -} + "autoPublish": true +} \ No newline at end of file diff --git a/sdk/appservice/arm-appservice/review/arm-appservice.api.md b/sdk/appservice/arm-appservice/review/arm-appservice.api.md index 8df805e6fe45..5d40c1aea28e 100644 --- a/sdk/appservice/arm-appservice/review/arm-appservice.api.md +++ b/sdk/appservice/arm-appservice/review/arm-appservice.api.md @@ -34,12 +34,12 @@ export interface Address { } // @public -export interface AddressResponse extends ProxyOnlyResource { +export type AddressResponse = ProxyOnlyResource & { + serviceIpAddress?: string; internalIpAddress?: string; outboundIpAddresses?: string[]; - serviceIpAddress?: string; vipMappings?: VirtualIPMapping[]; -} +}; // @public export interface AllowedAudiencesValidation { @@ -62,9 +62,9 @@ export interface AnalysisData { } // @public -export interface AnalysisDefinition extends ProxyOnlyResource { +export type AnalysisDefinition = ProxyOnlyResource & { readonly description?: string; -} +}; // @public export interface ApiDefinitionInfo { @@ -72,25 +72,17 @@ export interface ApiDefinitionInfo { } // @public -export interface ApiKVReference extends ProxyOnlyResource { - // (undocumented) - activeVersion?: string; - // (undocumented) - details?: string; - identityType?: ManagedServiceIdentity; - // (undocumented) +export type ApiKVReference = ProxyOnlyResource & { reference?: string; - // (undocumented) + status?: ResolveStatus; + vaultName?: string; secretName?: string; - // (undocumented) secretVersion?: string; - // (undocumented) + identityType?: ManagedServiceIdentity; + details?: string; source?: "KeyVault"; - // (undocumented) - status?: ResolveStatus; - // (undocumented) - vaultName?: string; -} + activeVersion?: string; +}; // @public (undocumented) export interface ApiKVReferenceCollection { @@ -146,14 +138,14 @@ export interface ApplicationStackCollection { } // @public -export interface ApplicationStackResource extends ProxyOnlyResource { - dependency?: string; +export type ApplicationStackResource = ProxyOnlyResource & { + namePropertiesName?: string; display?: string; + dependency?: string; + majorVersions?: StackMajorVersion[]; frameworks?: ApplicationStack[]; isDeprecated?: ApplicationStack[]; - majorVersions?: StackMajorVersion[]; - namePropertiesName?: string; -} +}; // @public (undocumented) export interface AppLogsConfiguration { @@ -183,30 +175,30 @@ export interface AppServiceCertificateCollection { } // @public -export interface AppServiceCertificateOrder extends Resource { - readonly appServiceCertificateNotRenewableReasons?: ResourceNotRenewableReason[]; - autoRenew?: boolean; +export type AppServiceCertificateOrder = Resource & { certificates?: { [propertyName: string]: AppServiceCertificate; }; - readonly contact?: CertificateOrderContact; - csr?: string; distinguishedName?: string; readonly domainVerificationToken?: string; - readonly expirationTime?: Date; - readonly intermediate?: CertificateDetails; - readonly isPrivateKeyExternal?: boolean; + validityInYears?: number; keySize?: number; - readonly lastCertificateIssuanceTime?: Date; - readonly nextAutoRenewalTimeStamp?: Date; productType?: CertificateProductType; + autoRenew?: boolean; readonly provisioningState?: ProvisioningState; + readonly status?: CertificateOrderStatus; + readonly signedCertificate?: CertificateDetails; + csr?: string; + readonly intermediate?: CertificateDetails; readonly root?: CertificateDetails; readonly serialNumber?: string; - readonly signedCertificate?: CertificateDetails; - readonly status?: CertificateOrderStatus; - validityInYears?: number; -} + readonly lastCertificateIssuanceTime?: Date; + readonly expirationTime?: Date; + readonly isPrivateKeyExternal?: boolean; + readonly appServiceCertificateNotRenewableReasons?: ResourceNotRenewableReason[]; + readonly nextAutoRenewalTimeStamp?: Date; + readonly contact?: CertificateOrderContact; +}; // @public export interface AppServiceCertificateOrderCollection { @@ -215,30 +207,30 @@ export interface AppServiceCertificateOrderCollection { } // @public -export interface AppServiceCertificateOrderPatchResource extends ProxyOnlyResource { - readonly appServiceCertificateNotRenewableReasons?: ResourceNotRenewableReason[]; - autoRenew?: boolean; +export type AppServiceCertificateOrderPatchResource = ProxyOnlyResource & { certificates?: { [propertyName: string]: AppServiceCertificate; }; - readonly contact?: CertificateOrderContact; - csr?: string; distinguishedName?: string; readonly domainVerificationToken?: string; - readonly expirationTime?: Date; - readonly intermediate?: CertificateDetails; - readonly isPrivateKeyExternal?: boolean; + validityInYears?: number; keySize?: number; - readonly lastCertificateIssuanceTime?: Date; - readonly nextAutoRenewalTimeStamp?: Date; productType?: CertificateProductType; + autoRenew?: boolean; readonly provisioningState?: ProvisioningState; + readonly status?: CertificateOrderStatus; + readonly signedCertificate?: CertificateDetails; + csr?: string; + readonly intermediate?: CertificateDetails; readonly root?: CertificateDetails; readonly serialNumber?: string; - readonly signedCertificate?: CertificateDetails; - readonly status?: CertificateOrderStatus; - validityInYears?: number; -} + readonly lastCertificateIssuanceTime?: Date; + readonly expirationTime?: Date; + readonly isPrivateKeyExternal?: boolean; + readonly appServiceCertificateNotRenewableReasons?: ResourceNotRenewableReason[]; + readonly nextAutoRenewalTimeStamp?: Date; + readonly contact?: CertificateOrderContact; +}; // @public export interface AppServiceCertificateOrders { @@ -408,18 +400,18 @@ export interface AppServiceCertificateOrdersVerifyDomainOwnershipOptionalParams } // @public -export interface AppServiceCertificatePatchResource extends ProxyOnlyResource { +export type AppServiceCertificatePatchResource = ProxyOnlyResource & { keyVaultId?: string; keyVaultSecretName?: string; readonly provisioningState?: KeyVaultSecretStatus; -} +}; // @public -export interface AppServiceCertificateResource extends Resource { +export type AppServiceCertificateResource = Resource & { keyVaultId?: string; keyVaultSecretName?: string; readonly provisioningState?: KeyVaultSecretStatus; -} +}; // @public export interface AppServiceEnvironment { @@ -452,52 +444,52 @@ export interface AppServiceEnvironmentCollection { } // @public -export interface AppServiceEnvironmentPatchResource extends ProxyOnlyResource { - clusterSettings?: NameValuePair[]; - customDnsSuffixConfiguration?: CustomDnsSuffixConfiguration; - dedicatedHostCount?: number; - dnsSuffix?: string; - frontEndScaleFactor?: number; - readonly hasLinuxWorkers?: boolean; +export type AppServiceEnvironmentPatchResource = ProxyOnlyResource & { + readonly provisioningState?: ProvisioningState; + readonly status?: HostingEnvironmentStatus; + virtualNetwork?: VirtualNetworkProfile; internalLoadBalancingMode?: LoadBalancingMode; + multiSize?: string; + readonly multiRoleCount?: number; ipsslAddressCount?: number; + dnsSuffix?: string; readonly maximumNumberOfMachines?: number; - readonly multiRoleCount?: number; - multiSize?: string; - networkingConfiguration?: AseV3NetworkingConfiguration; - readonly provisioningState?: ProvisioningState; - readonly status?: HostingEnvironmentStatus; + frontEndScaleFactor?: number; readonly suspended?: boolean; - readonly upgradeAvailability?: UpgradeAvailability; - upgradePreference?: UpgradePreference; + clusterSettings?: NameValuePair[]; userWhitelistedIpRanges?: string[]; - virtualNetwork?: VirtualNetworkProfile; + readonly hasLinuxWorkers?: boolean; + upgradePreference?: UpgradePreference; + dedicatedHostCount?: number; zoneRedundant?: boolean; -} + customDnsSuffixConfiguration?: CustomDnsSuffixConfiguration; + networkingConfiguration?: AseV3NetworkingConfiguration; + readonly upgradeAvailability?: UpgradeAvailability; +}; // @public -export interface AppServiceEnvironmentResource extends Resource { - clusterSettings?: NameValuePair[]; - customDnsSuffixConfiguration?: CustomDnsSuffixConfiguration; - dedicatedHostCount?: number; - dnsSuffix?: string; - frontEndScaleFactor?: number; - readonly hasLinuxWorkers?: boolean; +export type AppServiceEnvironmentResource = Resource & { + readonly provisioningState?: ProvisioningState; + readonly status?: HostingEnvironmentStatus; + virtualNetwork?: VirtualNetworkProfile; internalLoadBalancingMode?: LoadBalancingMode; + multiSize?: string; + readonly multiRoleCount?: number; ipsslAddressCount?: number; + dnsSuffix?: string; readonly maximumNumberOfMachines?: number; - readonly multiRoleCount?: number; - multiSize?: string; - networkingConfiguration?: AseV3NetworkingConfiguration; - readonly provisioningState?: ProvisioningState; - readonly status?: HostingEnvironmentStatus; + frontEndScaleFactor?: number; readonly suspended?: boolean; - readonly upgradeAvailability?: UpgradeAvailability; - upgradePreference?: UpgradePreference; + clusterSettings?: NameValuePair[]; userWhitelistedIpRanges?: string[]; - virtualNetwork?: VirtualNetworkProfile; + readonly hasLinuxWorkers?: boolean; + upgradePreference?: UpgradePreference; + dedicatedHostCount?: number; zoneRedundant?: boolean; -} + customDnsSuffixConfiguration?: CustomDnsSuffixConfiguration; + networkingConfiguration?: AseV3NetworkingConfiguration; + readonly upgradeAvailability?: UpgradeAvailability; +}; // @public export interface AppServiceEnvironments { @@ -1077,33 +1069,33 @@ export interface AppserviceGithubTokenRequest { } // @public -export interface AppServicePlan extends Resource { - elasticScaleEnabled?: boolean; +export type AppServicePlan = Resource & { + sku?: SkuDescription; extendedLocation?: ExtendedLocation; - freeOfferExpirationTime?: Date; - readonly geoRegion?: string; + workerTierName?: string; + readonly status?: StatusOptions; + readonly subscription?: string; hostingEnvironmentProfile?: HostingEnvironmentProfile; - hyperV?: boolean; - isSpot?: boolean; - isXenon?: boolean; - kubeEnvironmentProfile?: KubeEnvironmentProfile; - maximumElasticWorkerCount?: number; readonly maximumNumberOfWorkers?: number; - readonly numberOfSites?: number; readonly numberOfWorkers?: number; + readonly geoRegion?: string; perSiteScaling?: boolean; - readonly provisioningState?: ProvisioningState; - reserved?: boolean; - readonly resourceGroup?: string; - sku?: SkuDescription; + elasticScaleEnabled?: boolean; + maximumElasticWorkerCount?: number; + readonly numberOfSites?: number; + isSpot?: boolean; spotExpirationTime?: Date; - readonly status?: StatusOptions; - readonly subscription?: string; + freeOfferExpirationTime?: Date; + readonly resourceGroup?: string; + reserved?: boolean; + isXenon?: boolean; + hyperV?: boolean; targetWorkerCount?: number; targetWorkerSizeId?: number; - workerTierName?: string; + readonly provisioningState?: ProvisioningState; + kubeEnvironmentProfile?: KubeEnvironmentProfile; zoneRedundant?: boolean; -} +}; // @public export interface AppServicePlanCollection { @@ -1112,31 +1104,31 @@ export interface AppServicePlanCollection { } // @public -export interface AppServicePlanPatchResource extends ProxyOnlyResource { - elasticScaleEnabled?: boolean; - freeOfferExpirationTime?: Date; - readonly geoRegion?: string; +export type AppServicePlanPatchResource = ProxyOnlyResource & { + workerTierName?: string; + readonly status?: StatusOptions; + readonly subscription?: string; hostingEnvironmentProfile?: HostingEnvironmentProfile; - hyperV?: boolean; - isSpot?: boolean; - isXenon?: boolean; - kubeEnvironmentProfile?: KubeEnvironmentProfile; - maximumElasticWorkerCount?: number; readonly maximumNumberOfWorkers?: number; - readonly numberOfSites?: number; readonly numberOfWorkers?: number; + readonly geoRegion?: string; perSiteScaling?: boolean; - readonly provisioningState?: ProvisioningState; - reserved?: boolean; - readonly resourceGroup?: string; + elasticScaleEnabled?: boolean; + maximumElasticWorkerCount?: number; + readonly numberOfSites?: number; + isSpot?: boolean; spotExpirationTime?: Date; - readonly status?: StatusOptions; - readonly subscription?: string; + freeOfferExpirationTime?: Date; + readonly resourceGroup?: string; + reserved?: boolean; + isXenon?: boolean; + hyperV?: boolean; targetWorkerCount?: number; targetWorkerSizeId?: number; - workerTierName?: string; + readonly provisioningState?: ProvisioningState; + kubeEnvironmentProfile?: KubeEnvironmentProfile; zoneRedundant?: boolean; -} +}; // @public export type AppServicePlanRestrictions = "None" | "Free" | "Shared" | "Basic" | "Standard" | "Premium"; @@ -1435,16 +1427,16 @@ export interface ArmPlan { } // @public -export interface AseV3NetworkingConfiguration extends ProxyOnlyResource { - allowNewPrivateEndpointConnections?: boolean; +export type AseV3NetworkingConfiguration = ProxyOnlyResource & { + readonly windowsOutboundIpAddresses?: string[]; + readonly linuxOutboundIpAddresses?: string[]; readonly externalInboundIpAddresses?: string[]; - ftpEnabled?: boolean; - inboundIpAddressOverride?: string; readonly internalInboundIpAddresses?: string[]; - readonly linuxOutboundIpAddresses?: string[]; + allowNewPrivateEndpointConnections?: boolean; + ftpEnabled?: boolean; remoteDebugEnabled?: boolean; - readonly windowsOutboundIpAddresses?: string[]; -} + inboundIpAddressOverride?: string; +}; // @public export interface AuthPlatform { @@ -1532,10 +1524,10 @@ export interface AzureBlobStorageHttpLogsConfig { } // @public -export interface AzureResourceErrorInfo extends ErrorInfo { - details?: AzureResourceErrorInfo[]; +export type AzureResourceErrorInfo = ErrorInfo & { message: string; -} + details?: AzureResourceErrorInfo[]; +}; // @public export type AzureResourceType = "Website" | "TrafficManager"; @@ -1562,11 +1554,11 @@ export interface AzureStorageInfoValue { } // @public -export interface AzureStoragePropertyDictionaryResource extends ProxyOnlyResource { +export type AzureStoragePropertyDictionaryResource = ProxyOnlyResource & { properties?: { [propertyName: string]: AzureStorageInfoValue; }; -} +}; // @public export type AzureStorageState = "Ok" | "InvalidCredentials" | "InvalidShare" | "NotValidated"; @@ -1581,22 +1573,22 @@ export interface AzureTableStorageApplicationLogsConfig { } // @public -export interface BackupItem extends ProxyOnlyResource { +export type BackupItem = ProxyOnlyResource & { readonly backupId?: number; + readonly storageAccountUrl?: string; readonly blobName?: string; - readonly correlationId?: string; + readonly namePropertiesName?: string; + readonly status?: BackupItemStatus; + readonly sizeInBytes?: number; readonly created?: Date; - readonly databases?: DatabaseBackupSetting[]; - readonly finishedTimeStamp?: Date; - readonly lastRestoreTimeStamp?: Date; readonly log?: string; - readonly namePropertiesName?: string; + readonly databases?: DatabaseBackupSetting[]; readonly scheduled?: boolean; - readonly sizeInBytes?: number; - readonly status?: BackupItemStatus; - readonly storageAccountUrl?: string; + readonly lastRestoreTimeStamp?: Date; + readonly finishedTimeStamp?: Date; + readonly correlationId?: string; readonly websiteSizeInBytes?: number; -} +}; // @public export interface BackupItemCollection { @@ -1608,14 +1600,14 @@ export interface BackupItemCollection { export type BackupItemStatus = "InProgress" | "Failed" | "Succeeded" | "TimedOut" | "Created" | "Skipped" | "PartiallySucceeded" | "DeleteInProgress" | "DeleteFailed" | "Deleted"; // @public -export interface BackupRequest extends ProxyOnlyResource { +export type BackupRequest = ProxyOnlyResource & { backupName?: string; - backupSchedule?: BackupSchedule; - databases?: DatabaseBackupSetting[]; enabled?: boolean; storageAccountUrl?: string; -} - + backupSchedule?: BackupSchedule; + databases?: DatabaseBackupSetting[]; +}; + // @public export type BackupRestoreOperationType = "Default" | "Clone" | "Relocation" | "Snapshot" | "CloudFS"; @@ -1630,15 +1622,15 @@ export interface BackupSchedule { } // @public -export interface BillingMeter extends ProxyOnlyResource { +export type BillingMeter = ProxyOnlyResource & { + meterId?: string; billingLocation?: string; + shortName?: string; friendlyName?: string; - meterId?: string; - multiplier?: number; - osType?: string; resourceType?: string; - shortName?: string; -} + osType?: string; + multiplier?: number; +}; // @public export interface BillingMeterCollection { @@ -1665,29 +1657,29 @@ export interface Capability { } // @public -export interface Certificate extends Resource { - canonicalName?: string; - readonly cerBlob?: Uint8Array; - domainValidationMethod?: string; - readonly expirationDate?: Date; +export type Certificate = Resource & { + password?: string; readonly friendlyName?: string; - readonly hostingEnvironmentProfile?: HostingEnvironmentProfile; + readonly subjectName?: string; hostNames?: string[]; - readonly issueDate?: Date; + pfxBlob?: Uint8Array; + readonly siteName?: string; + readonly selfLink?: string; readonly issuer?: string; + readonly issueDate?: Date; + readonly expirationDate?: Date; + readonly thumbprint?: string; + readonly valid?: boolean; + readonly cerBlob?: Uint8Array; + readonly publicKeyHash?: string; + readonly hostingEnvironmentProfile?: HostingEnvironmentProfile; keyVaultId?: string; keyVaultSecretName?: string; readonly keyVaultSecretStatus?: KeyVaultSecretStatus; - password?: string; - pfxBlob?: Uint8Array; - readonly publicKeyHash?: string; - readonly selfLink?: string; serverFarmId?: string; - readonly siteName?: string; - readonly subjectName?: string; - readonly thumbprint?: string; - readonly valid?: boolean; -} + canonicalName?: string; + domainValidationMethod?: string; +}; // @public export interface CertificateCollection { @@ -1769,29 +1761,29 @@ export type CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorRe export type CertificateOrderStatus = "Pendingissuance" | "Issued" | "Revoked" | "Canceled" | "Denied" | "Pendingrevocation" | "PendingRekey" | "Unused" | "Expired" | "NotSubmitted"; // @public -export interface CertificatePatchResource extends ProxyOnlyResource { - canonicalName?: string; - readonly cerBlob?: Uint8Array; - domainValidationMethod?: string; - readonly expirationDate?: Date; +export type CertificatePatchResource = ProxyOnlyResource & { + password?: string; readonly friendlyName?: string; - readonly hostingEnvironmentProfile?: HostingEnvironmentProfile; + readonly subjectName?: string; hostNames?: string[]; - readonly issueDate?: Date; + pfxBlob?: Uint8Array; + readonly siteName?: string; + readonly selfLink?: string; readonly issuer?: string; + readonly issueDate?: Date; + readonly expirationDate?: Date; + readonly thumbprint?: string; + readonly valid?: boolean; + readonly cerBlob?: Uint8Array; + readonly publicKeyHash?: string; + readonly hostingEnvironmentProfile?: HostingEnvironmentProfile; keyVaultId?: string; keyVaultSecretName?: string; readonly keyVaultSecretStatus?: KeyVaultSecretStatus; - password?: string; - pfxBlob?: Uint8Array; - readonly publicKeyHash?: string; - readonly selfLink?: string; serverFarmId?: string; - readonly siteName?: string; - readonly subjectName?: string; - readonly thumbprint?: string; - readonly valid?: boolean; -} + canonicalName?: string; + domainValidationMethod?: string; +}; // @public export type CertificateProductType = "StandardDomainValidatedSsl" | "StandardDomainValidatedWildCardSsl"; @@ -1935,11 +1927,11 @@ export interface Configuration { } // @public -export interface ConnectionStringDictionary extends ProxyOnlyResource { +export type ConnectionStringDictionary = ProxyOnlyResource & { properties?: { [propertyName: string]: ConnStringValueTypePair; }; -} +}; // @public export type ConnectionStringType = "MySql" | "SQLServer" | "SQLAzure" | "Custom" | "NotificationHub" | "ServiceBus" | "EventHub" | "ApiHub" | "DocDb" | "RedisCache" | "PostgreSQL"; @@ -1981,14 +1973,14 @@ export interface Container { } // @public -export interface ContainerApp extends Resource { - configuration?: Configuration; +export type ContainerApp = Resource & { + readonly provisioningState?: ContainerAppProvisioningState; kubeEnvironmentId?: string; - readonly latestRevisionFqdn?: string; readonly latestRevisionName?: string; - readonly provisioningState?: ContainerAppProvisioningState; + readonly latestRevisionFqdn?: string; + configuration?: Configuration; template?: Template; -} +}; // @public export interface ContainerAppCollection { @@ -2232,20 +2224,20 @@ export interface ContentLink { } // @public -export interface ContinuousWebJob extends ProxyOnlyResource { +export type ContinuousWebJob = ProxyOnlyResource & { + status?: ContinuousWebJobStatus; detailedStatus?: string; - error?: string; - extraInfoUrl?: string; logUrl?: string; runCommand?: string; + url?: string; + extraInfoUrl?: string; + webJobType?: WebJobType; + error?: string; + usingSdk?: boolean; settings?: { [propertyName: string]: Record; }; - status?: ContinuousWebJobStatus; - url?: string; - usingSdk?: boolean; - webJobType?: WebJobType; -} +}; // @public export interface ContinuousWebJobCollection { @@ -2277,15 +2269,15 @@ export interface CorsSettings { } // @public -export interface CsmDeploymentStatus extends ProxyOnlyResource { +export type CsmDeploymentStatus = ProxyOnlyResource & { deploymentId?: string; - errors?: ErrorEntity[]; - failedInstancesLogs?: string[]; - numberOfInstancesFailed?: number; + status?: DeploymentBuildStatus; numberOfInstancesInProgress?: number; numberOfInstancesSuccessful?: number; - status?: DeploymentBuildStatus; -} + numberOfInstancesFailed?: number; + failedInstancesLogs?: string[]; + errors?: ErrorEntity[]; +}; // @public export interface CsmDeploymentStatusCollection { @@ -2337,9 +2329,9 @@ export interface CsmOperationDisplay { } // @public -export interface CsmPublishingCredentialsPoliciesEntity extends ProxyOnlyResource { +export type CsmPublishingCredentialsPoliciesEntity = ProxyOnlyResource & { allow?: boolean; -} +}; // @public export interface CsmPublishingProfileOptions { @@ -2369,13 +2361,13 @@ export interface CsmUsageQuotaCollection { } // @public -export interface CustomDnsSuffixConfiguration extends ProxyOnlyResource { - certificateUrl?: string; +export type CustomDnsSuffixConfiguration = ProxyOnlyResource & { + readonly provisioningState?: CustomDnsSuffixProvisioningState; + readonly provisioningDetails?: string; dnsSuffix?: string; + certificateUrl?: string; keyVaultReferenceIdentity?: string; - readonly provisioningDetails?: string; - readonly provisioningState?: CustomDnsSuffixProvisioningState; -} +}; // @public export type CustomDnsSuffixProvisioningState = "Succeeded" | "Failed" | "Degraded" | "InProgress"; @@ -2384,32 +2376,29 @@ export type CustomDnsSuffixProvisioningState = "Succeeded" | "Failed" | "Degrade export type CustomDomainStatus = string; // @public -export interface CustomHostnameAnalysisResult extends ProxyOnlyResource { - alternateCNameRecords?: string[]; - alternateTxtRecords?: string[]; - aRecords?: string[]; - cNameRecords?: string[]; - readonly conflictingAppResourceId?: string; - readonly customDomainVerificationFailureInfo?: ErrorEntity; +export type CustomHostnameAnalysisResult = ProxyOnlyResource & { + readonly isHostnameAlreadyVerified?: boolean; readonly customDomainVerificationTest?: DnsVerificationTestResult; - readonly hasConflictAcrossSubscription?: boolean; + readonly customDomainVerificationFailureInfo?: ErrorEntity; readonly hasConflictOnScaleUnit?: boolean; - readonly isHostnameAlreadyVerified?: boolean; + readonly hasConflictAcrossSubscription?: boolean; + readonly conflictingAppResourceId?: string; + cNameRecords?: string[]; txtRecords?: string[]; -} + aRecords?: string[]; + alternateCNameRecords?: string[]; + alternateTxtRecords?: string[]; +}; // @public export type CustomHostNameDnsRecordType = "CName" | "A"; // @public -export interface CustomHostnameSites extends ProxyOnlyResource { - // (undocumented) +export type CustomHostnameSites = ProxyOnlyResource & { customHostname?: string; - // (undocumented) region?: string; - // (undocumented) siteResourceIds?: Identifier[]; -} +}; // @public export interface CustomHostnameSitesCollection { @@ -2530,24 +2519,24 @@ export interface DefaultErrorResponseErrorDetailsItem { } // @public -export interface DeletedAppRestoreRequest extends ProxyOnlyResource { +export type DeletedAppRestoreRequest = ProxyOnlyResource & { deletedSiteId?: string; recoverConfiguration?: boolean; snapshotTime?: string; useDRSecondary?: boolean; -} +}; // @public -export interface DeletedSite extends ProxyOnlyResource { +export type DeletedSite = ProxyOnlyResource & { readonly deletedSiteId?: number; - readonly deletedSiteName?: string; readonly deletedTimestamp?: string; - readonly geoRegionName?: string; - readonly kindPropertiesKind?: string; + readonly subscription?: string; readonly resourceGroup?: string; + readonly deletedSiteName?: string; readonly slot?: string; - readonly subscription?: string; -} + readonly kindPropertiesKind?: string; + readonly geoRegionName?: string; +}; // @public export interface DeletedWebAppCollection { @@ -2598,17 +2587,17 @@ export interface DeletedWebAppsListOptionalParams extends coreClient.OperationOp export type DeletedWebAppsListResponse = DeletedWebAppCollection; // @public -export interface Deployment extends ProxyOnlyResource { - active?: boolean; +export type Deployment = ProxyOnlyResource & { + status?: number; + message?: string; author?: string; - authorEmail?: string; deployer?: string; - details?: string; - endTime?: Date; - message?: string; + authorEmail?: string; startTime?: Date; - status?: number; -} + endTime?: Date; + active?: boolean; + details?: string; +}; // @public export type DeploymentBuildStatus = string; @@ -2647,12 +2636,12 @@ export interface DetectorDefinition { } // @public -export interface DetectorDefinitionResource extends ProxyOnlyResource { - readonly description?: string; +export type DetectorDefinitionResource = ProxyOnlyResource & { readonly displayName?: string; - readonly isEnabled?: boolean; + readonly description?: string; readonly rank?: number; -} + readonly isEnabled?: boolean; +}; // @public export interface DetectorInfo { @@ -2668,13 +2657,13 @@ export interface DetectorInfo { } // @public -export interface DetectorResponse extends ProxyOnlyResource { - dataProvidersMetadata?: DataProviderMetadata[]; - dataset?: DiagnosticData[]; +export type DetectorResponse = ProxyOnlyResource & { metadata?: DetectorInfo; + dataset?: DiagnosticData[]; status?: Status; + dataProvidersMetadata?: DataProviderMetadata[]; suggestedUtterances?: QueryUtterancesResults; -} +}; // @public export interface DetectorResponseCollection { @@ -2686,13 +2675,13 @@ export interface DetectorResponseCollection { export type DetectorType = "Detector" | "Analysis" | "CategoryOverview"; // @public -export interface DiagnosticAnalysis extends ProxyOnlyResource { - abnormalTimePeriods?: AbnormalTimePeriod[]; +export type DiagnosticAnalysis = ProxyOnlyResource & { + startTime?: Date; endTime?: Date; - nonCorrelatedDetectors?: DetectorDefinition[]; + abnormalTimePeriods?: AbnormalTimePeriod[]; payload?: AnalysisData[]; - startTime?: Date; -} + nonCorrelatedDetectors?: DetectorDefinition[]; +}; // @public export interface DiagnosticAnalysisCollection { @@ -2701,9 +2690,9 @@ export interface DiagnosticAnalysisCollection { } // @public -export interface DiagnosticCategory extends ProxyOnlyResource { +export type DiagnosticCategory = ProxyOnlyResource & { readonly description?: string; -} +}; // @public export interface DiagnosticCategoryCollection { @@ -2724,16 +2713,16 @@ export interface DiagnosticDetectorCollection { } // @public -export interface DiagnosticDetectorResponse extends ProxyOnlyResource { - abnormalTimePeriods?: DetectorAbnormalTimePeriod[]; - data?: NameValuePair[][]; - detectorDefinition?: DetectorDefinition; +export type DiagnosticDetectorResponse = ProxyOnlyResource & { + startTime?: Date; endTime?: Date; issueDetected?: boolean; + detectorDefinition?: DetectorDefinition; metrics?: DiagnosticMetricSet[]; + abnormalTimePeriods?: DetectorAbnormalTimePeriod[]; + data?: NameValuePair[][]; responseMetaData?: ResponseMetaData; - startTime?: Date; -} +}; // @public export interface DiagnosticMetricSample { @@ -3038,29 +3027,28 @@ export type DnsType = "AzureDns" | "DefaultDomainRegistrarDns"; export type DnsVerificationTestResult = "Passed" | "Failed" | "Skipped"; // @public -export interface Domain extends Resource { - // (undocumented) - authCode?: string; - autoRenew?: boolean; - consent?: DomainPurchaseConsent; +export type Domain = Resource & { contactAdmin?: Contact; contactBilling?: Contact; contactRegistrant?: Contact; contactTech?: Contact; + readonly registrationStatus?: DomainStatus; + readonly provisioningState?: ProvisioningState; + readonly nameServers?: string[]; + privacy?: boolean; readonly createdTime?: Date; - dnsType?: DnsType; - dnsZoneId?: string; - readonly domainNotRenewableReasons?: ResourceNotRenewableReason[]; readonly expirationTime?: Date; readonly lastRenewedTime?: Date; - readonly managedHostNames?: HostName[]; - readonly nameServers?: string[]; - privacy?: boolean; - readonly provisioningState?: ProvisioningState; + autoRenew?: boolean; readonly readyForDnsRecordManagement?: boolean; - readonly registrationStatus?: DomainStatus; + readonly managedHostNames?: HostName[]; + consent?: DomainPurchaseConsent; + readonly domainNotRenewableReasons?: ResourceNotRenewableReason[]; + dnsType?: DnsType; + dnsZoneId?: string; targetDnsType?: DnsType; -} + authCode?: string; +}; // @public export interface DomainAvailabilityCheckResult { @@ -3083,9 +3071,9 @@ export interface DomainControlCenterSsoRequest { } // @public -export interface DomainOwnershipIdentifier extends ProxyOnlyResource { +export type DomainOwnershipIdentifier = ProxyOnlyResource & { ownershipId?: string; -} +}; // @public export interface DomainOwnershipIdentifierCollection { @@ -3094,29 +3082,28 @@ export interface DomainOwnershipIdentifierCollection { } // @public -export interface DomainPatchResource extends ProxyOnlyResource { - // (undocumented) - authCode?: string; - autoRenew?: boolean; - consent?: DomainPurchaseConsent; +export type DomainPatchResource = ProxyOnlyResource & { contactAdmin?: Contact; contactBilling?: Contact; contactRegistrant?: Contact; contactTech?: Contact; + readonly registrationStatus?: DomainStatus; + readonly provisioningState?: ProvisioningState; + readonly nameServers?: string[]; + privacy?: boolean; readonly createdTime?: Date; - dnsType?: DnsType; - dnsZoneId?: string; - readonly domainNotRenewableReasons?: ResourceNotRenewableReason[]; readonly expirationTime?: Date; readonly lastRenewedTime?: Date; - readonly managedHostNames?: HostName[]; - readonly nameServers?: string[]; - privacy?: boolean; - readonly provisioningState?: ProvisioningState; + autoRenew?: boolean; readonly readyForDnsRecordManagement?: boolean; - readonly registrationStatus?: DomainStatus; + readonly managedHostNames?: HostName[]; + consent?: DomainPurchaseConsent; + readonly domainNotRenewableReasons?: ResourceNotRenewableReason[]; + dnsType?: DnsType; + dnsZoneId?: string; targetDnsType?: DnsType; -} + authCode?: string; +}; // @public export interface DomainPurchaseConsent { @@ -3334,29 +3321,11 @@ export interface EndpointDetail { export type EnterpriseGradeCdnStatus = string; // @public -export type Enum14 = string; - -// @public -export type Enum15 = string; - -// @public -export type Enum16 = string; - -// @public -export type Enum17 = string; - -// @public -export type Enum18 = string; - -// @public -export type Enum19 = string; - -// @public -export interface EnvironmentVar { - name?: string; - secretRef?: string; - value?: string; -} +export interface EnvironmentVar { + name?: string; + secretRef?: string; + value?: string; +} // @public export interface ErrorEntity { @@ -3400,9 +3369,9 @@ export interface Expression { } // @public -export interface ExpressionRoot extends Expression { +export type ExpressionRoot = Expression & { path?: string; -} +}; // @public export interface ExpressionTraces { @@ -3535,13 +3504,13 @@ export interface FunctionAppRuntimeSettings { } // @public -export interface FunctionAppStack extends ProxyOnlyResource { - readonly displayText?: string; +export type FunctionAppStack = ProxyOnlyResource & { readonly location?: string; + readonly displayText?: string; + readonly value?: string; readonly majorVersions?: FunctionAppMajorVersion[]; readonly preferredOs?: StackPreferredOs; - readonly value?: string; -} +}; // @public export interface FunctionAppStackCollection { @@ -3550,23 +3519,23 @@ export interface FunctionAppStackCollection { } // @public -export interface FunctionEnvelope extends ProxyOnlyResource { - config?: Record; +export type FunctionEnvelope = ProxyOnlyResource & { + functionAppId?: string; + scriptRootPathHref?: string; + scriptHref?: string; configHref?: string; + testDataHref?: string; + secretsFileHref?: string; + href?: string; + config?: Record; files?: { [propertyName: string]: string; }; - functionAppId?: string; - href?: string; + testData?: string; invokeUrlTemplate?: string; - isDisabled?: boolean; language?: string; - scriptHref?: string; - scriptRootPathHref?: string; - secretsFileHref?: string; - testData?: string; - testDataHref?: string; -} + isDisabled?: boolean; +}; // @public export interface FunctionEnvelopeCollection { @@ -3581,11 +3550,11 @@ export interface FunctionSecrets { } // @public -export interface GeoRegion extends ProxyOnlyResource { +export type GeoRegion = ProxyOnlyResource & { readonly description?: string; readonly displayName?: string; readonly orgDomain?: string; -} +}; // @public export interface GeoRegionCollection { @@ -3753,17 +3722,17 @@ export interface HostName { } // @public -export interface HostNameBinding extends ProxyOnlyResource { +export type HostNameBinding = ProxyOnlyResource & { + siteName?: string; + domainId?: string; azureResourceName?: string; azureResourceType?: AzureResourceType; customHostNameDnsRecordType?: CustomHostNameDnsRecordType; - domainId?: string; hostNameType?: HostNameType; - siteName?: string; sslState?: SslState; thumbprint?: string; readonly virtualIP?: string; -} +}; // @public export interface HostNameBindingCollection { @@ -3814,16 +3783,16 @@ export interface HttpSettingsRoutes { } // @public -export interface HybridConnection extends ProxyOnlyResource { +export type HybridConnection = ProxyOnlyResource & { + serviceBusNamespace?: string; + relayName?: string; + relayArmUri?: string; hostname?: string; port?: number; - relayArmUri?: string; - relayName?: string; sendKeyName?: string; sendKeyValue?: string; - serviceBusNamespace?: string; serviceBusSuffix?: string; -} +}; // @public export interface HybridConnectionCollection { @@ -3832,21 +3801,21 @@ export interface HybridConnectionCollection { } // @public -export interface HybridConnectionKey extends ProxyOnlyResource { +export type HybridConnectionKey = ProxyOnlyResource & { readonly sendKeyName?: string; readonly sendKeyValue?: string; -} +}; // @public -export interface HybridConnectionLimits extends ProxyOnlyResource { +export type HybridConnectionLimits = ProxyOnlyResource & { readonly current?: number; readonly maximum?: number; -} +}; // @public -export interface Identifier extends ProxyOnlyResource { +export type Identifier = ProxyOnlyResource & { value?: string; -} +}; // @public export interface IdentifierCollection { @@ -3971,298 +3940,415 @@ export type Kind = string; // @public export enum KnownActiveRevisionsMode { + // (undocumented) Multiple = "multiple", + // (undocumented) Single = "single" } // @public export enum KnownBuildStatus { + // (undocumented) Deleting = "Deleting", + // (undocumented) Deploying = "Deploying", + // (undocumented) Detached = "Detached", + // (undocumented) Failed = "Failed", + // (undocumented) Ready = "Ready", + // (undocumented) Uploading = "Uploading", + // (undocumented) WaitingForDeployment = "WaitingForDeployment" } // @public export enum KnownCheckNameResourceTypes { + // (undocumented) HostingEnvironment = "HostingEnvironment", + // (undocumented) MicrosoftWebHostingEnvironments = "Microsoft.Web/hostingEnvironments", + // (undocumented) MicrosoftWebPublishingUsers = "Microsoft.Web/publishingUsers", + // (undocumented) MicrosoftWebSites = "Microsoft.Web/sites", + // (undocumented) MicrosoftWebSitesSlots = "Microsoft.Web/sites/slots", + // (undocumented) PublishingUser = "PublishingUser", + // (undocumented) Site = "Site", + // (undocumented) Slot = "Slot" } // @public export enum KnownContainerAppProvisioningState { + // (undocumented) Canceled = "Canceled", + // (undocumented) Failed = "Failed", + // (undocumented) InProgress = "InProgress", + // (undocumented) Succeeded = "Succeeded" } // @public export enum KnownCustomDomainStatus { + // (undocumented) Adding = "Adding", + // (undocumented) Deleting = "Deleting", + // (undocumented) Failed = "Failed", + // (undocumented) Ready = "Ready", + // (undocumented) RetrievingValidationToken = "RetrievingValidationToken", + // (undocumented) Unhealthy = "Unhealthy", + // (undocumented) Validating = "Validating" } // @public export enum KnownDatabaseType { + // (undocumented) LocalMySql = "LocalMySql", + // (undocumented) MySql = "MySql", + // (undocumented) PostgreSql = "PostgreSql", + // (undocumented) SqlAzure = "SqlAzure" } // @public export enum KnownDeploymentBuildStatus { + // (undocumented) BuildAborted = "BuildAborted", + // (undocumented) BuildFailed = "BuildFailed", + // (undocumented) BuildInProgress = "BuildInProgress", + // (undocumented) BuildPending = "BuildPending", + // (undocumented) BuildRequestReceived = "BuildRequestReceived", + // (undocumented) BuildSuccessful = "BuildSuccessful", + // (undocumented) PostBuildRestartRequired = "PostBuildRestartRequired", + // (undocumented) RuntimeFailed = "RuntimeFailed", + // (undocumented) RuntimeStarting = "RuntimeStarting", + // (undocumented) RuntimeSuccessful = "RuntimeSuccessful", + // (undocumented) StartPolling = "StartPolling", + // (undocumented) StartPollingWithRestart = "StartPollingWithRestart", + // (undocumented) TimedOut = "TimedOut" } // @public export enum KnownEnterpriseGradeCdnStatus { + // (undocumented) Disabled = "Disabled", + // (undocumented) Disabling = "Disabling", + // (undocumented) Enabled = "Enabled", + // (undocumented) Enabling = "Enabling" } -// @public -export enum KnownEnum14 { - All = "All", - Linux = "Linux", - LinuxFunctions = "LinuxFunctions", - Windows = "Windows", - WindowsFunctions = "WindowsFunctions" -} - -// @public -export enum KnownEnum15 { - All = "All", - Linux = "Linux", - Windows = "Windows" -} - -// @public -export enum KnownEnum16 { - All = "All", - Linux = "Linux", - Windows = "Windows" -} - -// @public -export enum KnownEnum17 { - All = "All", - Linux = "Linux", - Windows = "Windows" -} - -// @public -export enum KnownEnum18 { - All = "All", - Linux = "Linux", - Windows = "Windows" -} - -// @public -export enum KnownEnum19 { - All = "All", - Linux = "Linux", - LinuxFunctions = "LinuxFunctions", - Windows = "Windows", - WindowsFunctions = "WindowsFunctions" -} - // @public export enum KnownFtpsState { + // (undocumented) AllAllowed = "AllAllowed", + // (undocumented) Disabled = "Disabled", + // (undocumented) FtpsOnly = "FtpsOnly" } // @public export enum KnownInAvailabilityReasonType { + // (undocumented) AlreadyExists = "AlreadyExists", + // (undocumented) Invalid = "Invalid" } // @public export enum KnownIngressTransportMethod { + // (undocumented) Auto = "auto", + // (undocumented) Http = "http", + // (undocumented) Http2 = "http2" } // @public export enum KnownIpFilterTag { + // (undocumented) Default = "Default", + // (undocumented) ServiceTag = "ServiceTag", + // (undocumented) XffProxy = "XffProxy" } // @public export enum KnownKeyType { + // (undocumented) NotSpecified = "NotSpecified", + // (undocumented) Primary = "Primary", + // (undocumented) Secondary = "Secondary" } // @public export enum KnownKind { + // (undocumented) Stateful = "Stateful", + // (undocumented) Stateless = "Stateless" } // @public export enum KnownLoadBalancingMode { + // (undocumented) None = "None", + // (undocumented) Publishing = "Publishing", + // (undocumented) Web = "Web", + // (undocumented) WebPublishing = "Web, Publishing" } // @public export enum KnownOpenAuthenticationProviderType { + // (undocumented) AAD = "AAD" } // @public export enum KnownParameterType { + // (undocumented) Array = "Array", + // (undocumented) Bool = "Bool", + // (undocumented) Float = "Float", + // (undocumented) Int = "Int", + // (undocumented) NotSpecified = "NotSpecified", + // (undocumented) Object = "Object", + // (undocumented) SecureObject = "SecureObject", + // (undocumented) SecureString = "SecureString", + // (undocumented) String = "String" } +// @public +export enum KnownProviderOsTypeSelected { + // (undocumented) + All = "All", + // (undocumented) + Linux = "Linux", + // (undocumented) + LinuxFunctions = "LinuxFunctions", + // (undocumented) + Windows = "Windows", + // (undocumented) + WindowsFunctions = "WindowsFunctions" +} + +// @public +export enum KnownProviderStackOsType { + // (undocumented) + All = "All", + // (undocumented) + Linux = "Linux", + // (undocumented) + Windows = "Windows" +} + // @public export enum KnownPublishingProfileFormat { + // (undocumented) FileZilla3 = "FileZilla3", + // (undocumented) Ftp = "Ftp", + // (undocumented) WebDeploy = "WebDeploy" } // @public export enum KnownRecurrenceFrequency { + // (undocumented) Day = "Day", + // (undocumented) Hour = "Hour", + // (undocumented) Minute = "Minute", + // (undocumented) Month = "Month", + // (undocumented) NotSpecified = "NotSpecified", + // (undocumented) Second = "Second", + // (undocumented) Week = "Week", + // (undocumented) Year = "Year" } // @public export enum KnownResourceNotRenewableReason { + // (undocumented) ExpirationNotInRenewalTimeRange = "ExpirationNotInRenewalTimeRange", + // (undocumented) RegistrationStatusNotSupportedForRenewal = "RegistrationStatusNotSupportedForRenewal", + // (undocumented) SubscriptionNotActive = "SubscriptionNotActive" } // @public export enum KnownResourceScopeType { + // (undocumented) ServerFarm = "ServerFarm", + // (undocumented) Subscription = "Subscription", + // (undocumented) WebSite = "WebSite" } // @public export enum KnownRevisionHealthState { + // (undocumented) Healthy = "Healthy", + // (undocumented) None = "None", + // (undocumented) Unhealthy = "Unhealthy" } // @public export enum KnownRevisionProvisioningState { + // (undocumented) Deprovisioned = "Deprovisioned", + // (undocumented) Deprovisioning = "Deprovisioning", + // (undocumented) Failed = "Failed", + // (undocumented) Provisioned = "Provisioned", + // (undocumented) Provisioning = "Provisioning" } // @public export enum KnownRouteType { + // (undocumented) Default = "DEFAULT", + // (undocumented) Inherited = "INHERITED", + // (undocumented) Static = "STATIC" } // @public export enum KnownScmType { + // (undocumented) BitbucketGit = "BitbucketGit", + // (undocumented) BitbucketHg = "BitbucketHg", + // (undocumented) CodePlexGit = "CodePlexGit", + // (undocumented) CodePlexHg = "CodePlexHg", + // (undocumented) Dropbox = "Dropbox", + // (undocumented) ExternalGit = "ExternalGit", + // (undocumented) ExternalHg = "ExternalHg", + // (undocumented) GitHub = "GitHub", + // (undocumented) LocalGit = "LocalGit", + // (undocumented) None = "None", + // (undocumented) OneDrive = "OneDrive", + // (undocumented) Tfs = "Tfs", + // (undocumented) VSO = "VSO", + // (undocumented) Vstsrm = "VSTSRM" } // @public export enum KnownSkuName { + // (undocumented) Basic = "Basic", + // (undocumented) Dynamic = "Dynamic", + // (undocumented) ElasticIsolated = "ElasticIsolated", + // (undocumented) ElasticPremium = "ElasticPremium", + // (undocumented) Free = "Free", + // (undocumented) Isolated = "Isolated", + // (undocumented) IsolatedV2 = "IsolatedV2", + // (undocumented) Premium = "Premium", + // (undocumented) PremiumContainer = "PremiumContainer", + // (undocumented) PremiumV2 = "PremiumV2", + // (undocumented) PremiumV3 = "PremiumV3", + // (undocumented) Shared = "Shared", + // (undocumented) Standard = "Standard" } // @public export enum KnownSupportedTlsVersions { + // (undocumented) One0 = "1.0", + // (undocumented) One1 = "1.1", + // (undocumented) One2 = "1.2" } // @public export enum KnownTriggerTypes { + // (undocumented) HttpTrigger = "HttpTrigger", + // (undocumented) Unknown = "Unknown" } @@ -4282,111 +4368,178 @@ export enum KnownUpgradePreference { // @public export enum KnownValidateResourceTypes { + // (undocumented) MicrosoftWebHostingEnvironments = "Microsoft.Web/hostingEnvironments", + // (undocumented) ServerFarm = "ServerFarm", + // (undocumented) Site = "Site" } // @public export enum KnownWorkflowProvisioningState { + // (undocumented) Accepted = "Accepted", + // (undocumented) Canceled = "Canceled", + // (undocumented) Completed = "Completed", + // (undocumented) Created = "Created", + // (undocumented) Creating = "Creating", + // (undocumented) Deleted = "Deleted", + // (undocumented) Deleting = "Deleting", + // (undocumented) Failed = "Failed", + // (undocumented) InProgress = "InProgress", + // (undocumented) Moving = "Moving", + // (undocumented) NotSpecified = "NotSpecified", + // (undocumented) Pending = "Pending", + // (undocumented) Ready = "Ready", + // (undocumented) Registered = "Registered", + // (undocumented) Registering = "Registering", + // (undocumented) Renewing = "Renewing", + // (undocumented) Running = "Running", + // (undocumented) Succeeded = "Succeeded", + // (undocumented) Unregistered = "Unregistered", + // (undocumented) Unregistering = "Unregistering", + // (undocumented) Updating = "Updating", + // (undocumented) Waiting = "Waiting" } // @public export enum KnownWorkflowSkuName { + // (undocumented) Basic = "Basic", + // (undocumented) Free = "Free", + // (undocumented) NotSpecified = "NotSpecified", + // (undocumented) Premium = "Premium", + // (undocumented) Shared = "Shared", + // (undocumented) Standard = "Standard" } // @public export enum KnownWorkflowState { + // (undocumented) Completed = "Completed", + // (undocumented) Deleted = "Deleted", + // (undocumented) Disabled = "Disabled", + // (undocumented) Enabled = "Enabled", + // (undocumented) NotSpecified = "NotSpecified", + // (undocumented) Suspended = "Suspended" } // @public export enum KnownWorkflowStatus { + // (undocumented) Aborted = "Aborted", + // (undocumented) Cancelled = "Cancelled", + // (undocumented) Failed = "Failed", + // (undocumented) Faulted = "Faulted", + // (undocumented) Ignored = "Ignored", + // (undocumented) NotSpecified = "NotSpecified", + // (undocumented) Paused = "Paused", + // (undocumented) Running = "Running", + // (undocumented) Skipped = "Skipped", + // (undocumented) Succeeded = "Succeeded", + // (undocumented) Suspended = "Suspended", + // (undocumented) TimedOut = "TimedOut", + // (undocumented) Waiting = "Waiting" } // @public export enum KnownWorkflowTriggerProvisioningState { + // (undocumented) Accepted = "Accepted", + // (undocumented) Canceled = "Canceled", + // (undocumented) Completed = "Completed", + // (undocumented) Created = "Created", + // (undocumented) Creating = "Creating", + // (undocumented) Deleted = "Deleted", + // (undocumented) Deleting = "Deleting", + // (undocumented) Failed = "Failed", + // (undocumented) Moving = "Moving", + // (undocumented) NotSpecified = "NotSpecified", + // (undocumented) Ready = "Ready", + // (undocumented) Registered = "Registered", + // (undocumented) Registering = "Registering", + // (undocumented) Running = "Running", + // (undocumented) Succeeded = "Succeeded", + // (undocumented) Unregistered = "Unregistered", + // (undocumented) Unregistering = "Unregistering", + // (undocumented) Updating = "Updating" } // @public -export interface KubeEnvironment extends Resource { - // (undocumented) - aksResourceID?: string; - appLogsConfiguration?: AppLogsConfiguration; - arcConfiguration?: ArcConfiguration; - containerAppsConfiguration?: ContainerAppsConfiguration; - readonly defaultDomain?: string; - readonly deploymentErrors?: string; - environmentType?: string; +export type KubeEnvironment = Resource & { extendedLocation?: ExtendedLocation; - internalLoadBalancerEnabled?: boolean; readonly provisioningState?: KubeEnvironmentProvisioningState; + readonly deploymentErrors?: string; + internalLoadBalancerEnabled?: boolean; + readonly defaultDomain?: string; staticIp?: string; -} + environmentType?: string; + arcConfiguration?: ArcConfiguration; + appLogsConfiguration?: AppLogsConfiguration; + containerAppsConfiguration?: ContainerAppsConfiguration; + aksResourceID?: string; +}; // @public export interface KubeEnvironmentCollection { @@ -4395,18 +4548,17 @@ export interface KubeEnvironmentCollection { } // @public -export interface KubeEnvironmentPatchResource extends ProxyOnlyResource { - // (undocumented) - aksResourceID?: string; - appLogsConfiguration?: AppLogsConfiguration; - arcConfiguration?: ArcConfiguration; - containerAppsConfiguration?: ContainerAppsConfiguration; - readonly defaultDomain?: string; +export type KubeEnvironmentPatchResource = ProxyOnlyResource & { + readonly provisioningState?: KubeEnvironmentProvisioningState; readonly deploymentErrors?: string; internalLoadBalancerEnabled?: boolean; - readonly provisioningState?: KubeEnvironmentProvisioningState; + readonly defaultDomain?: string; staticIp?: string; -} + arcConfiguration?: ArcConfiguration; + appLogsConfiguration?: AppLogsConfiguration; + containerAppsConfiguration?: ContainerAppsConfiguration; + aksResourceID?: string; +}; // @public export interface KubeEnvironmentProfile { @@ -4727,39 +4879,39 @@ export interface MetricSpecification { } // @public -export interface MigrateMySqlRequest extends ProxyOnlyResource { +export type MigrateMySqlRequest = ProxyOnlyResource & { connectionString?: string; migrationType?: MySqlMigrationType; -} +}; // @public -export interface MigrateMySqlStatus extends ProxyOnlyResource { - readonly localMySqlEnabled?: boolean; +export type MigrateMySqlStatus = ProxyOnlyResource & { readonly migrationOperationStatus?: OperationStatus; readonly operationId?: string; -} + readonly localMySqlEnabled?: boolean; +}; // @public export interface MoveOptionalParams extends coreClient.OperationOptions { } // @public -export interface MSDeploy extends ProxyOnlyResource { - appOffline?: boolean; +export type MSDeploy = ProxyOnlyResource & { + packageUri?: string; connectionString?: string; dbType?: string; - packageUri?: string; + setParametersXmlFileUri?: string; setParameters?: { [propertyName: string]: string; }; - setParametersXmlFileUri?: string; skipAppData?: boolean; -} + appOffline?: boolean; +}; // @public -export interface MSDeployLog extends ProxyOnlyResource { +export type MSDeployLog = ProxyOnlyResource & { readonly entries?: MSDeployLogEntry[]; -} +}; // @public export interface MSDeployLogEntry { @@ -4775,13 +4927,13 @@ export type MSDeployLogEntryType = "Message" | "Warning" | "Error"; export type MSDeployProvisioningState = "accepted" | "running" | "succeeded" | "failed" | "canceled"; // @public -export interface MSDeployStatus extends ProxyOnlyResource { - readonly complete?: boolean; +export type MSDeployStatus = ProxyOnlyResource & { readonly deployer?: string; - readonly endTime?: Date; readonly provisioningState?: MSDeployProvisioningState; readonly startTime?: Date; -} + readonly endTime?: Date; + readonly complete?: boolean; +}; // @public export type MySqlMigrationType = "LocalToRemote" | "RemoteToLocal"; @@ -4804,12 +4956,12 @@ export interface NameValuePair { } // @public -export interface NetworkFeatures extends ProxyOnlyResource { +export type NetworkFeatures = ProxyOnlyResource & { + readonly virtualNetworkName?: string; + readonly virtualNetworkConnection?: VnetInfo; readonly hybridConnections?: RelayServiceConnectionEntity[]; readonly hybridConnectionsV2?: HybridConnection[]; - readonly virtualNetworkConnection?: VnetInfo; - readonly virtualNetworkName?: string; -} +}; // @public export interface NetworkTrace { @@ -4890,17 +5042,16 @@ export interface Operation { } // @public -export interface OperationResult extends OperationResultProperties { +export type OperationResult = OperationResultProperties & { + readonly trackingId?: string; readonly inputs?: Record; readonly inputsLink?: ContentLink; - // (undocumented) - iterationCount?: number; readonly outputs?: Record; readonly outputsLink?: ContentLink; - retryHistory?: RetryHistory[]; readonly trackedProperties?: Record; - readonly trackingId?: string; -} + retryHistory?: RetryHistory[]; + iterationCount?: number; +}; // @public export interface OperationResultProperties { @@ -4960,27 +5111,27 @@ export interface PerfMonSet { } // @public -export interface PremierAddOn extends Resource { - marketplaceOffer?: string; - marketplacePublisher?: string; - product?: string; +export type PremierAddOn = Resource & { sku?: string; + product?: string; vendor?: string; -} + marketplacePublisher?: string; + marketplaceOffer?: string; +}; // @public -export interface PremierAddOnOffer extends ProxyOnlyResource { - legalTermsUrl?: string; - marketplaceOffer?: string; - marketplacePublisher?: string; - privacyPolicyUrl?: string; +export type PremierAddOnOffer = ProxyOnlyResource & { + sku?: string; product?: string; + vendor?: string; promoCodeRequired?: boolean; quota?: number; - sku?: string; - vendor?: string; webHostingPlanRestrictions?: AppServicePlanRestrictions; -} + privacyPolicyUrl?: string; + legalTermsUrl?: string; + marketplacePublisher?: string; + marketplaceOffer?: string; +}; // @public export interface PremierAddOnOfferCollection { @@ -4989,19 +5140,19 @@ export interface PremierAddOnOfferCollection { } // @public -export interface PremierAddOnPatchResource extends ProxyOnlyResource { - marketplaceOffer?: string; - marketplacePublisher?: string; - product?: string; +export type PremierAddOnPatchResource = ProxyOnlyResource & { sku?: string; + product?: string; vendor?: string; -} + marketplacePublisher?: string; + marketplaceOffer?: string; +}; // @public -export interface PrivateAccess extends ProxyOnlyResource { +export type PrivateAccess = ProxyOnlyResource & { enabled?: boolean; virtualNetworks?: PrivateAccessVirtualNetwork[]; -} +}; // @public export interface PrivateAccessSubnet { @@ -5024,9 +5175,9 @@ export interface PrivateEndpointConnectionCollection { } // @public -export interface PrivateLinkConnectionApprovalRequestResource extends ProxyOnlyResource { +export type PrivateLinkConnectionApprovalRequestResource = ProxyOnlyResource & { privateLinkServiceConnectionState?: PrivateLinkConnectionState; -} +}; // @public export interface PrivateLinkConnectionState { @@ -5059,46 +5210,46 @@ export interface PrivateLinkResourcesWrapper { } // @public -export interface ProcessInfo extends ProxyOnlyResource { - children?: string[]; - commandLine?: string; +export type ProcessInfo = ProxyOnlyResource & { + readonly identifier?: number; deploymentName?: string; - description?: string; - environmentVariables?: { - [propertyName: string]: string; - }; - fileName?: string; - handleCount?: number; href?: string; - readonly identifier?: number; - iisProfileTimeoutInSeconds?: number; - isIisProfileRunning?: boolean; - isProfileRunning?: boolean; - isScmSite?: boolean; - isWebjob?: boolean; minidump?: string; - moduleCount?: number; - modules?: ProcessModuleInfo[]; - nonPagedSystemMemory?: number; - openFileHandles?: string[]; - pagedMemory?: number; - pagedSystemMemory?: number; + isProfileRunning?: boolean; + isIisProfileRunning?: boolean; + iisProfileTimeoutInSeconds?: number; parent?: string; - peakPagedMemory?: number; - peakVirtualMemory?: number; - peakWorkingSet?: number; - privateMemory?: number; - privilegedCpuTime?: string; - startTime?: Date; - threadCount?: number; + children?: string[]; threads?: ProcessThreadInfo[]; - timeStamp?: Date; + openFileHandles?: string[]; + modules?: ProcessModuleInfo[]; + fileName?: string; + commandLine?: string; + userName?: string; + handleCount?: number; + moduleCount?: number; + threadCount?: number; + startTime?: Date; totalCpuTime?: string; userCpuTime?: string; - userName?: string; - virtualMemory?: number; + privilegedCpuTime?: string; workingSet?: number; -} + peakWorkingSet?: number; + privateMemory?: number; + virtualMemory?: number; + peakVirtualMemory?: number; + pagedSystemMemory?: number; + nonPagedSystemMemory?: number; + pagedMemory?: number; + peakPagedMemory?: number; + timeStamp?: Date; + environmentVariables?: { + [propertyName: string]: string; + }; + isScmSite?: boolean; + isWebjob?: boolean; + description?: string; +}; // @public export interface ProcessInfoCollection { @@ -5107,19 +5258,19 @@ export interface ProcessInfoCollection { } // @public -export interface ProcessModuleInfo extends ProxyOnlyResource { +export type ProcessModuleInfo = ProxyOnlyResource & { baseAddress?: string; - fileDescription?: string; fileName?: string; - filePath?: string; - fileVersion?: string; href?: string; - isDebug?: boolean; - language?: string; + filePath?: string; moduleMemorySize?: number; + fileVersion?: string; + fileDescription?: string; product?: string; productVersion?: string; -} + isDebug?: boolean; + language?: string; +}; // @public export interface ProcessModuleInfoCollection { @@ -5128,20 +5279,20 @@ export interface ProcessModuleInfoCollection { } // @public -export interface ProcessThreadInfo extends ProxyOnlyResource { - basePriority?: number; - currentPriority?: number; - href?: string; +export type ProcessThreadInfo = ProxyOnlyResource & { readonly identifier?: number; - priorityLevel?: string; + href?: string; process?: string; startAddress?: string; + currentPriority?: number; + priorityLevel?: string; + basePriority?: number; startTime?: Date; - state?: string; totalProcessorTime?: string; userProcessorTime?: string; + state?: string; waitReason?: string; -} +}; // @public export interface ProcessThreadInfoCollection { @@ -5163,7 +5314,7 @@ export interface Provider { // @public export interface ProviderGetAvailableStacksNextOptionalParams extends coreClient.OperationOptions { // (undocumented) - osTypeSelected?: Enum14; + osTypeSelected?: ProviderOsTypeSelected; } // @public @@ -5172,7 +5323,7 @@ export type ProviderGetAvailableStacksNextResponse = ApplicationStackCollection; // @public export interface ProviderGetAvailableStacksOnPremNextOptionalParams extends coreClient.OperationOptions { // (undocumented) - osTypeSelected?: Enum19; + osTypeSelected?: ProviderOsTypeSelected; } // @public @@ -5181,7 +5332,7 @@ export type ProviderGetAvailableStacksOnPremNextResponse = ApplicationStackColle // @public export interface ProviderGetAvailableStacksOnPremOptionalParams extends coreClient.OperationOptions { // (undocumented) - osTypeSelected?: Enum19; + osTypeSelected?: ProviderOsTypeSelected; } // @public @@ -5190,7 +5341,7 @@ export type ProviderGetAvailableStacksOnPremResponse = ApplicationStackCollectio // @public export interface ProviderGetAvailableStacksOptionalParams extends coreClient.OperationOptions { // (undocumented) - osTypeSelected?: Enum14; + osTypeSelected?: ProviderOsTypeSelected; } // @public @@ -5198,7 +5349,7 @@ export type ProviderGetAvailableStacksResponse = ApplicationStackCollection; // @public export interface ProviderGetFunctionAppStacksForLocationNextOptionalParams extends coreClient.OperationOptions { - stackOsType?: Enum16; + stackOsType?: ProviderStackOsType; } // @public @@ -5206,7 +5357,7 @@ export type ProviderGetFunctionAppStacksForLocationNextResponse = FunctionAppSta // @public export interface ProviderGetFunctionAppStacksForLocationOptionalParams extends coreClient.OperationOptions { - stackOsType?: Enum16; + stackOsType?: ProviderStackOsType; } // @public @@ -5214,7 +5365,7 @@ export type ProviderGetFunctionAppStacksForLocationResponse = FunctionAppStackCo // @public export interface ProviderGetFunctionAppStacksNextOptionalParams extends coreClient.OperationOptions { - stackOsType?: Enum15; + stackOsType?: ProviderStackOsType; } // @public @@ -5222,7 +5373,7 @@ export type ProviderGetFunctionAppStacksNextResponse = FunctionAppStackCollectio // @public export interface ProviderGetFunctionAppStacksOptionalParams extends coreClient.OperationOptions { - stackOsType?: Enum15; + stackOsType?: ProviderStackOsType; } // @public @@ -5230,7 +5381,7 @@ export type ProviderGetFunctionAppStacksResponse = FunctionAppStackCollection; // @public export interface ProviderGetWebAppStacksForLocationNextOptionalParams extends coreClient.OperationOptions { - stackOsType?: Enum17; + stackOsType?: ProviderStackOsType; } // @public @@ -5238,7 +5389,7 @@ export type ProviderGetWebAppStacksForLocationNextResponse = WebAppStackCollecti // @public export interface ProviderGetWebAppStacksForLocationOptionalParams extends coreClient.OperationOptions { - stackOsType?: Enum17; + stackOsType?: ProviderStackOsType; } // @public @@ -5246,7 +5397,7 @@ export type ProviderGetWebAppStacksForLocationResponse = WebAppStackCollection; // @public export interface ProviderGetWebAppStacksNextOptionalParams extends coreClient.OperationOptions { - stackOsType?: Enum18; + stackOsType?: ProviderStackOsType; } // @public @@ -5254,7 +5405,7 @@ export type ProviderGetWebAppStacksNextResponse = WebAppStackCollection; // @public export interface ProviderGetWebAppStacksOptionalParams extends coreClient.OperationOptions { - stackOsType?: Enum18; + stackOsType?: ProviderStackOsType; } // @public @@ -5274,6 +5425,12 @@ export interface ProviderListOperationsOptionalParams extends coreClient.Operati // @public export type ProviderListOperationsResponse = CsmOperationCollection; +// @public +export type ProviderOsTypeSelected = string; + +// @public +export type ProviderStackOsType = string; + // @public export type ProvisioningState = "Succeeded" | "Failed" | "Canceled" | "InProgress" | "Deleting"; @@ -5286,11 +5443,11 @@ export interface ProxyOnlyResource { } // @public -export interface PublicCertificate extends ProxyOnlyResource { +export type PublicCertificate = ProxyOnlyResource & { blob?: Uint8Array; publicCertificateLocation?: PublicCertificateLocation; readonly thumbprint?: string; -} +}; // @public export interface PublicCertificateCollection { @@ -5311,12 +5468,12 @@ export interface PublishingCredentialsPoliciesCollection { export type PublishingProfileFormat = string; // @public -export interface PushSettings extends ProxyOnlyResource { - dynamicTagsJson?: string; +export type PushSettings = ProxyOnlyResource & { isPushEnabled?: boolean; - tagsRequiringAuth?: string; tagWhitelistJson?: string; -} + tagsRequiringAuth?: string; + dynamicTagsJson?: string; +}; // @public export interface QueryUtterancesResult { @@ -5350,31 +5507,31 @@ export interface RampUpRule { } // @public -export interface Recommendation extends ProxyOnlyResource { - actionName?: string; - bladeName?: string; - readonly categoryTags?: string[]; - channels?: Channels; +export type Recommendation = ProxyOnlyResource & { creationTime?: Date; + recommendationId?: string; + resourceId?: string; + resourceScope?: ResourceScopeType; + ruleName?: string; displayName?: string; + message?: string; + level?: NotificationLevel; + channels?: Channels; + readonly categoryTags?: string[]; + actionName?: string; enabled?: number; + states?: string[]; + startTime?: Date; endTime?: Date; - extensionName?: string; - forwardLink?: string; - isDynamic?: boolean; - level?: NotificationLevel; - message?: string; nextNotificationTime?: Date; notificationExpirationTime?: Date; notifiedTime?: Date; - recommendationId?: string; - resourceId?: string; - resourceScope?: ResourceScopeType; - ruleName?: string; score?: number; - startTime?: Date; - states?: string[]; -} + isDynamic?: boolean; + extensionName?: string; + bladeName?: string; + forwardLink?: string; +}; // @public export interface RecommendationCollection { @@ -5383,21 +5540,21 @@ export interface RecommendationCollection { } // @public -export interface RecommendationRule extends ProxyOnlyResource { +export type RecommendationRule = ProxyOnlyResource & { + recommendationName?: string; + displayName?: string; + message?: string; + recommendationId?: string; + description?: string; actionName?: string; - bladeName?: string; - readonly categoryTags?: string[]; + level?: NotificationLevel; channels?: Channels; - description?: string; - displayName?: string; + readonly categoryTags?: string[]; + isDynamic?: boolean; extensionName?: string; + bladeName?: string; forwardLink?: string; - isDynamic?: boolean; - level?: NotificationLevel; - message?: string; - recommendationId?: string; - recommendationName?: string; -} +}; // @public export interface Recommendations { @@ -5592,46 +5749,39 @@ export interface RegistryCredentials { } // @public -export interface ReissueCertificateOrderRequest extends ProxyOnlyResource { - csr?: string; +export type ReissueCertificateOrderRequest = ProxyOnlyResource & { + keySize?: number; delayExistingRevokeInHours?: number; + csr?: string; isPrivateKeyExternal?: boolean; - keySize?: number; -} +}; // @public -export interface RelayServiceConnectionEntity extends ProxyOnlyResource { - // (undocumented) - biztalkUri?: string; - // (undocumented) - entityConnectionString?: string; - // (undocumented) +export type RelayServiceConnectionEntity = ProxyOnlyResource & { entityName?: string; - // (undocumented) + entityConnectionString?: string; + resourceType?: string; + resourceConnectionString?: string; hostname?: string; - // (undocumented) port?: number; - // (undocumented) - resourceConnectionString?: string; - // (undocumented) - resourceType?: string; -} + biztalkUri?: string; +}; // @public -export interface RemotePrivateEndpointConnection extends ProxyOnlyResource { - ipAddresses?: string[]; +export type RemotePrivateEndpointConnection = ProxyOnlyResource & { + readonly provisioningState?: string; privateEndpoint?: ArmIdWrapper; privateLinkServiceConnectionState?: PrivateLinkConnectionState; - readonly provisioningState?: string; -} + ipAddresses?: string[]; +}; // @public -export interface RemotePrivateEndpointConnectionARMResource extends ProxyOnlyResource { - ipAddresses?: string[]; +export type RemotePrivateEndpointConnectionARMResource = ProxyOnlyResource & { + readonly provisioningState?: string; privateEndpoint?: ArmIdWrapper; privateLinkServiceConnectionState?: PrivateLinkConnectionState; - readonly provisioningState?: string; -} + ipAddresses?: string[]; +}; // @public export interface Rendering { @@ -5644,11 +5794,11 @@ export interface Rendering { export type RenderingType = "NoGraph" | "Table" | "TimeSeries" | "TimeSeriesPerInstance" | "PieChart" | "DataSummary" | "Email" | "Insights" | "DynamicInsight" | "Markdown" | "Detector" | "DropDown" | "Card" | "Solution" | "Guage" | "Form" | "ChangeSets" | "ChangeAnalysisOnboarding" | "ChangesView" | "AppInsight" | "DependencyGraph" | "DownTime" | "SummaryCard" | "SearchComponent" | "AppInsightEnablement"; // @public -export interface RenewCertificateOrderRequest extends ProxyOnlyResource { +export type RenewCertificateOrderRequest = ProxyOnlyResource & { + keySize?: number; csr?: string; isPrivateKeyExternal?: boolean; - keySize?: number; -} +}; // @public export interface RepetitionIndex { @@ -5665,9 +5815,9 @@ interface Request_2 { export { Request_2 as Request } // @public -export interface RequestHistory extends WorkflowResource { +export type RequestHistory = WorkflowResource & { properties?: RequestHistoryProperties; -} +}; // @public export interface RequestHistoryListResult { @@ -5711,10 +5861,10 @@ export interface ResourceCollection { } // @public -export interface ResourceHealthMetadata extends ProxyOnlyResource { +export type ResourceHealthMetadata = ProxyOnlyResource & { category?: string; signalAvailability?: boolean; -} +}; // @public export interface ResourceHealthMetadataCollection { @@ -5809,15 +5959,15 @@ export interface ResourceMetricAvailability { } // @public -export interface ResourceMetricDefinition extends ProxyOnlyResource { - readonly metricAvailabilities?: ResourceMetricAvailability[]; +export type ResourceMetricDefinition = ProxyOnlyResource & { + readonly unit?: string; readonly primaryAggregationType?: string; + readonly metricAvailabilities?: ResourceMetricAvailability[]; + readonly resourceUri?: string; readonly properties?: { [propertyName: string]: string; }; - readonly resourceUri?: string; - readonly unit?: string; -} +}; // @public export interface ResourceMetricDefinitionCollection { @@ -5884,19 +6034,19 @@ export interface ResponseMetaData { } // @public -export interface RestoreRequest extends ProxyOnlyResource { - adjustConnectionStrings?: boolean; - appServicePlan?: string; +export type RestoreRequest = ProxyOnlyResource & { + storageAccountUrl?: string; blobName?: string; + overwrite?: boolean; + siteName?: string; databases?: DatabaseBackupSetting[]; - hostingEnvironment?: string; ignoreConflictingHostNames?: boolean; ignoreDatabases?: boolean; + appServicePlan?: string; operationType?: BackupRestoreOperationType; - overwrite?: boolean; - siteName?: string; - storageAccountUrl?: string; -} + adjustConnectionStrings?: boolean; + hostingEnvironment?: string; +}; // @public export interface RetryHistory { @@ -5909,17 +6059,17 @@ export interface RetryHistory { } // @public -export interface Revision extends Resource { - readonly active?: boolean; +export type Revision = Resource & { readonly createdTime?: Date; readonly fqdn?: string; - readonly healthState?: RevisionHealthState; - readonly provisioningError?: string; - readonly provisioningState?: RevisionProvisioningState; - readonly replicas?: number; readonly template?: Template; + readonly active?: boolean; + readonly replicas?: number; readonly trafficWeight?: number; -} + readonly provisioningError?: string; + readonly healthState?: RevisionHealthState; + readonly provisioningState?: RevisionProvisioningState; +}; // @public export interface RevisionCollection { @@ -5937,9 +6087,9 @@ export type RevisionProvisioningState = string; export type RouteType = string; // @public -export interface RunActionCorrelation extends RunCorrelation { +export type RunActionCorrelation = RunCorrelation & { actionTrackingId?: string; -} +}; // @public export interface RunCorrelation { @@ -5998,70 +6148,78 @@ export interface ServiceSpecification { } // @public -export interface Site extends Resource { +export type Site = Resource & { + identity?: ManagedServiceIdentity; + extendedLocation?: ExtendedLocation; + readonly state?: string; + readonly hostNames?: string[]; + readonly repositorySiteName?: string; + readonly usageState?: UsageState; + enabled?: boolean; + readonly enabledHostNames?: string[]; readonly availabilityState?: SiteAvailabilityState; + hostNameSslStates?: HostNameSslState[]; + serverFarmId?: string; + reserved?: boolean; + isXenon?: boolean; + hyperV?: boolean; + readonly lastModifiedTimeUtc?: Date; + vnetRouteAllEnabled?: boolean; + vnetImagePullEnabled?: boolean; + vnetContentShareEnabled?: boolean; + siteConfig?: SiteConfig; + readonly trafficManagerHostNames?: string[]; + scmSiteAlsoStopped?: boolean; + readonly targetSwapSlot?: string; + hostingEnvironmentProfile?: HostingEnvironmentProfile; clientAffinityEnabled?: boolean; clientCertEnabled?: boolean; - clientCertExclusionPaths?: string; clientCertMode?: ClientCertMode; - cloningInfo?: CloningInfo; - containerSize?: number; + clientCertExclusionPaths?: string; + hostNamesDisabled?: boolean; customDomainVerificationId?: string; + readonly outboundIpAddresses?: string; + readonly possibleOutboundIpAddresses?: string; + containerSize?: number; dailyMemoryTimeQuota?: number; + readonly suspendedTill?: Date; + readonly maxNumberOfWorkers?: number; + cloningInfo?: CloningInfo; + readonly resourceGroup?: string; + readonly isDefaultContainer?: boolean; readonly defaultHostName?: string; - enabled?: boolean; - readonly enabledHostNames?: string[]; - extendedLocation?: ExtendedLocation; - hostingEnvironmentProfile?: HostingEnvironmentProfile; - readonly hostNames?: string[]; - hostNamesDisabled?: boolean; - hostNameSslStates?: HostNameSslState[]; + readonly slotSwapStatus?: SlotSwapStatus; httpsOnly?: boolean; - hyperV?: boolean; - identity?: ManagedServiceIdentity; + redundancyMode?: RedundancyMode; readonly inProgressOperationId?: string; - readonly isDefaultContainer?: boolean; - isXenon?: boolean; - keyVaultReferenceIdentity?: string; - readonly lastModifiedTimeUtc?: Date; - readonly maxNumberOfWorkers?: number; - readonly outboundIpAddresses?: string; - readonly possibleOutboundIpAddresses?: string; publicNetworkAccess?: string; - redundancyMode?: RedundancyMode; - readonly repositorySiteName?: string; - reserved?: boolean; - readonly resourceGroup?: string; - scmSiteAlsoStopped?: boolean; - serverFarmId?: string; - siteConfig?: SiteConfig; - readonly slotSwapStatus?: SlotSwapStatus; - readonly state?: string; storageAccountRequired?: boolean; - readonly suspendedTill?: Date; - readonly targetSwapSlot?: string; - readonly trafficManagerHostNames?: string[]; - readonly usageState?: UsageState; + keyVaultReferenceIdentity?: string; virtualNetworkSubnetId?: string; - vnetContentShareEnabled?: boolean; - vnetImagePullEnabled?: boolean; - vnetRouteAllEnabled?: boolean; -} +}; // @public -export interface SiteAuthSettings extends ProxyOnlyResource { - aadClaimsAuthorization?: string; - additionalLoginParams?: string[]; - allowedAudiences?: string[]; +export type SiteAuthSettings = ProxyOnlyResource & { + enabled?: boolean; + runtimeVersion?: string; + unauthenticatedClientAction?: UnauthenticatedClientAction; + tokenStoreEnabled?: boolean; allowedExternalRedirectUrls?: string[]; - authFilePath?: string; + defaultProvider?: BuiltInAuthenticationProvider; + tokenRefreshExtensionHours?: number; clientId?: string; clientSecret?: string; - clientSecretCertificateThumbprint?: string; clientSecretSettingName?: string; - configVersion?: string; - defaultProvider?: BuiltInAuthenticationProvider; - enabled?: boolean; + clientSecretCertificateThumbprint?: string; + issuer?: string; + validateIssuer?: boolean; + allowedAudiences?: string[]; + additionalLoginParams?: string[]; + aadClaimsAuthorization?: string; + googleClientId?: string; + googleClientSecret?: string; + googleClientSecretSettingName?: string; + googleOAuthScopes?: string[]; facebookAppId?: string; facebookAppSecret?: string; facebookAppSecretSettingName?: string; @@ -6070,34 +6228,26 @@ export interface SiteAuthSettings extends ProxyOnlyResource { gitHubClientSecret?: string; gitHubClientSecretSettingName?: string; gitHubOAuthScopes?: string[]; - googleClientId?: string; - googleClientSecret?: string; - googleClientSecretSettingName?: string; - googleOAuthScopes?: string[]; - isAuthFromFile?: string; - issuer?: string; + twitterConsumerKey?: string; + twitterConsumerSecret?: string; + twitterConsumerSecretSettingName?: string; microsoftAccountClientId?: string; microsoftAccountClientSecret?: string; microsoftAccountClientSecretSettingName?: string; microsoftAccountOAuthScopes?: string[]; - runtimeVersion?: string; - tokenRefreshExtensionHours?: number; - tokenStoreEnabled?: boolean; - twitterConsumerKey?: string; - twitterConsumerSecret?: string; - twitterConsumerSecretSettingName?: string; - unauthenticatedClientAction?: UnauthenticatedClientAction; - validateIssuer?: boolean; -} + isAuthFromFile?: string; + authFilePath?: string; + configVersion?: string; +}; // @public -export interface SiteAuthSettingsV2 extends ProxyOnlyResource { +export type SiteAuthSettingsV2 = ProxyOnlyResource & { + platform?: AuthPlatform; globalValidation?: GlobalValidation; - httpSettings?: HttpSettings; identityProviders?: IdentityProviders; login?: Login; - platform?: AuthPlatform; -} + httpSettings?: HttpSettings; +}; // @public export type SiteAvailabilityState = "Normal" | "Limited" | "DisasterRecoveryMode"; @@ -6198,77 +6348,77 @@ export interface SiteConfigPropertiesDictionary { } // @public -export interface SiteConfigResource extends ProxyOnlyResource { +export type SiteConfigResource = ProxyOnlyResource & { + numberOfWorkers?: number; + defaultDocuments?: string[]; + netFrameworkVersion?: string; + phpVersion?: string; + pythonVersion?: string; + nodeVersion?: string; + powerShellVersion?: string; + linuxFxVersion?: string; + windowsFxVersion?: string; + requestTracingEnabled?: boolean; + requestTracingExpirationTime?: Date; + remoteDebuggingEnabled?: boolean; + remoteDebuggingVersion?: string; + httpLoggingEnabled?: boolean; acrUseManagedIdentityCreds?: boolean; acrUserManagedIdentityID?: string; - alwaysOn?: boolean; - apiDefinition?: ApiDefinitionInfo; - apiManagementConfig?: ApiManagementConfig; - appCommandLine?: string; + logsDirectorySizeLimit?: number; + detailedErrorLoggingEnabled?: boolean; + publishingUsername?: string; appSettings?: NameValuePair[]; - autoHealEnabled?: boolean; - autoHealRules?: AutoHealRules; - autoSwapSlotName?: string; - azureStorageAccounts?: { - [propertyName: string]: AzureStorageInfoValue; - }; connectionStrings?: ConnStringInfo[]; - cors?: CorsSettings; - defaultDocuments?: string[]; - detailedErrorLoggingEnabled?: boolean; - documentRoot?: string; - experiments?: Experiments; - ftpsState?: FtpsState; - functionAppScaleLimit?: number; - functionsRuntimeScaleMonitoringEnabled?: boolean; + readonly machineKey?: SiteMachineKey; handlerMappings?: HandlerMapping[]; - healthCheckPath?: string; - http20Enabled?: boolean; - httpLoggingEnabled?: boolean; - ipSecurityRestrictions?: IpSecurityRestriction[]; + documentRoot?: string; + scmType?: ScmType; + use32BitWorkerProcess?: boolean; + webSocketsEnabled?: boolean; + alwaysOn?: boolean; + javaVersion?: string; javaContainer?: string; javaContainerVersion?: string; - javaVersion?: string; - keyVaultReferenceIdentity?: string; - limits?: SiteLimits; - linuxFxVersion?: string; + appCommandLine?: string; + managedPipelineMode?: ManagedPipelineMode; + virtualApplications?: VirtualApplication[]; loadBalancing?: SiteLoadBalancing; + experiments?: Experiments; + limits?: SiteLimits; + autoHealEnabled?: boolean; + autoHealRules?: AutoHealRules; + tracingOptions?: string; + vnetName?: string; + vnetRouteAllEnabled?: boolean; + vnetPrivatePortsCount?: number; + cors?: CorsSettings; + push?: PushSettings; + apiDefinition?: ApiDefinitionInfo; + apiManagementConfig?: ApiManagementConfig; + autoSwapSlotName?: string; localMySqlEnabled?: boolean; - logsDirectorySizeLimit?: number; - readonly machineKey?: SiteMachineKey; - managedPipelineMode?: ManagedPipelineMode; managedServiceIdentityId?: number; - minimumElasticInstanceCount?: number; - minTlsVersion?: SupportedTlsVersions; - netFrameworkVersion?: string; - nodeVersion?: string; - numberOfWorkers?: number; - phpVersion?: string; - powerShellVersion?: string; - preWarmedInstanceCount?: number; - publicNetworkAccess?: string; - publishingUsername?: string; - push?: PushSettings; - pythonVersion?: string; - remoteDebuggingEnabled?: boolean; - remoteDebuggingVersion?: string; - requestTracingEnabled?: boolean; - requestTracingExpirationTime?: Date; + xManagedServiceIdentityId?: number; + keyVaultReferenceIdentity?: string; + ipSecurityRestrictions?: IpSecurityRestriction[]; scmIpSecurityRestrictions?: IpSecurityRestriction[]; scmIpSecurityRestrictionsUseMain?: boolean; + http20Enabled?: boolean; + minTlsVersion?: SupportedTlsVersions; scmMinTlsVersion?: SupportedTlsVersions; - scmType?: ScmType; - tracingOptions?: string; - use32BitWorkerProcess?: boolean; - virtualApplications?: VirtualApplication[]; - vnetName?: string; - vnetPrivatePortsCount?: number; - vnetRouteAllEnabled?: boolean; + ftpsState?: FtpsState; + preWarmedInstanceCount?: number; + functionAppScaleLimit?: number; + healthCheckPath?: string; + functionsRuntimeScaleMonitoringEnabled?: boolean; websiteTimeZone?: string; - webSocketsEnabled?: boolean; - windowsFxVersion?: string; - xManagedServiceIdentityId?: number; -} + minimumElasticInstanceCount?: number; + azureStorageAccounts?: { + [propertyName: string]: AzureStorageInfoValue; + }; + publicNetworkAccess?: string; +}; // @public export interface SiteConfigResourceCollection { @@ -6277,10 +6427,10 @@ export interface SiteConfigResourceCollection { } // @public -export interface SiteConfigurationSnapshotInfo extends ProxyOnlyResource { - readonly snapshotId?: number; +export type SiteConfigurationSnapshotInfo = ProxyOnlyResource & { readonly time?: Date; -} + readonly snapshotId?: number; +}; // @public export interface SiteConfigurationSnapshotInfoCollection { @@ -6289,29 +6439,28 @@ export interface SiteConfigurationSnapshotInfoCollection { } // @public -export interface SiteExtensionInfo extends ProxyOnlyResource { - authors?: string[]; - comment?: string; - description?: string; - downloadCount?: number; +export type SiteExtensionInfo = ProxyOnlyResource & { extensionId?: string; + title?: string; extensionType?: SiteExtensionType; + summary?: string; + description?: string; + version?: string; extensionUrl?: string; - feedUrl?: string; + projectUrl?: string; iconUrl?: string; - installedDateTime?: Date; - installerCommandLineParams?: string; licenseUrl?: string; + feedUrl?: string; + authors?: string[]; + installerCommandLineParams?: string; + publishedDateTime?: Date; + downloadCount?: number; localIsLatestVersion?: boolean; localPath?: string; - projectUrl?: string; + installedDateTime?: Date; provisioningState?: string; - publishedDateTime?: Date; - summary?: string; - // (undocumented) - title?: string; - version?: string; -} + comment?: string; +}; // @public export interface SiteExtensionInfoCollection { @@ -6333,12 +6482,12 @@ export interface SiteLimits { export type SiteLoadBalancing = "WeightedRoundRobin" | "LeastRequests" | "LeastResponseTime" | "WeightedTotalTraffic" | "RequestHash" | "PerSiteRoundRobin"; // @public -export interface SiteLogsConfig extends ProxyOnlyResource { +export type SiteLogsConfig = ProxyOnlyResource & { applicationLogs?: ApplicationLogsConfig; - detailedErrorMessages?: EnabledConfig; - failedRequestsTracing?: EnabledConfig; httpLogs?: HttpLogsConfig; -} + failedRequestsTracing?: EnabledConfig; + detailedErrorMessages?: EnabledConfig; +}; // @public export interface SiteMachineKey { @@ -6349,58 +6498,58 @@ export interface SiteMachineKey { } // @public -export interface SitePatchResource extends ProxyOnlyResource { - readonly availabilityState?: SiteAvailabilityState; - clientAffinityEnabled?: boolean; - clientCertEnabled?: boolean; - clientCertExclusionPaths?: string; - clientCertMode?: ClientCertMode; - cloningInfo?: CloningInfo; - containerSize?: number; - customDomainVerificationId?: string; - dailyMemoryTimeQuota?: number; - readonly defaultHostName?: string; +export type SitePatchResource = ProxyOnlyResource & { + identity?: ManagedServiceIdentity; + readonly state?: string; + readonly hostNames?: string[]; + readonly repositorySiteName?: string; + readonly usageState?: UsageState; enabled?: boolean; readonly enabledHostNames?: string[]; - hostingEnvironmentProfile?: HostingEnvironmentProfile; - readonly hostNames?: string[]; - hostNamesDisabled?: boolean; + readonly availabilityState?: SiteAvailabilityState; hostNameSslStates?: HostNameSslState[]; - httpsOnly?: boolean; - hyperV?: boolean; - identity?: ManagedServiceIdentity; - readonly inProgressOperationId?: string; - readonly isDefaultContainer?: boolean; + serverFarmId?: string; + reserved?: boolean; isXenon?: boolean; - keyVaultReferenceIdentity?: string; + hyperV?: boolean; readonly lastModifiedTimeUtc?: Date; - readonly maxNumberOfWorkers?: number; + siteConfig?: SiteConfig; + readonly trafficManagerHostNames?: string[]; + scmSiteAlsoStopped?: boolean; + readonly targetSwapSlot?: string; + hostingEnvironmentProfile?: HostingEnvironmentProfile; + clientAffinityEnabled?: boolean; + clientCertEnabled?: boolean; + clientCertMode?: ClientCertMode; + clientCertExclusionPaths?: string; + hostNamesDisabled?: boolean; + customDomainVerificationId?: string; readonly outboundIpAddresses?: string; readonly possibleOutboundIpAddresses?: string; - redundancyMode?: RedundancyMode; - readonly repositorySiteName?: string; - reserved?: boolean; + containerSize?: number; + dailyMemoryTimeQuota?: number; + readonly suspendedTill?: Date; + readonly maxNumberOfWorkers?: number; + cloningInfo?: CloningInfo; readonly resourceGroup?: string; - scmSiteAlsoStopped?: boolean; - serverFarmId?: string; - siteConfig?: SiteConfig; + readonly isDefaultContainer?: boolean; + readonly defaultHostName?: string; readonly slotSwapStatus?: SlotSwapStatus; - readonly state?: string; + httpsOnly?: boolean; + redundancyMode?: RedundancyMode; + readonly inProgressOperationId?: string; storageAccountRequired?: boolean; - readonly suspendedTill?: Date; - readonly targetSwapSlot?: string; - readonly trafficManagerHostNames?: string[]; - readonly usageState?: UsageState; + keyVaultReferenceIdentity?: string; virtualNetworkSubnetId?: string; -} +}; // @public -export interface SitePhpErrorLogFlag extends ProxyOnlyResource { +export type SitePhpErrorLogFlag = ProxyOnlyResource & { localLogErrors?: string; - localLogErrorsMaxLength?: string; masterLogErrors?: string; + localLogErrorsMaxLength?: string; masterLogErrorsMaxLength?: string; -} +}; // @public export type SiteRuntimeState = "READY" | "STOPPED" | "UNKNOWN"; @@ -6417,15 +6566,15 @@ export interface SiteSealRequest { } // @public -export interface SiteSourceControl extends ProxyOnlyResource { +export type SiteSourceControl = ProxyOnlyResource & { + repoUrl?: string; branch?: string; - deploymentRollbackEnabled?: boolean; - gitHubActionConfiguration?: GitHubActionConfiguration; - isGitHubAction?: boolean; isManualIntegration?: boolean; + isGitHubAction?: boolean; + deploymentRollbackEnabled?: boolean; isMercurial?: boolean; - repoUrl?: string; -} + gitHubActionConfiguration?: GitHubActionConfiguration; +}; // @public export interface SkuCapacity { @@ -6471,22 +6620,22 @@ export interface SkuInfos { export type SkuName = string; // @public -export interface SlotConfigNamesResource extends ProxyOnlyResource { +export type SlotConfigNamesResource = ProxyOnlyResource & { + connectionStringNames?: string[]; appSettingNames?: string[]; azureStorageConfigNames?: string[]; - connectionStringNames?: string[]; -} +}; // @public -export interface SlotDifference extends ProxyOnlyResource { - readonly description?: string; - readonly diffRule?: string; +export type SlotDifference = ProxyOnlyResource & { readonly level?: string; - readonly settingName?: string; readonly settingType?: string; + readonly diffRule?: string; + readonly settingName?: string; readonly valueInCurrentSlot?: string; readonly valueInTargetSlot?: string; -} + readonly description?: string; +}; // @public export interface SlotDifferenceCollection { @@ -6510,9 +6659,9 @@ export interface SlowRequestsBasedTrigger { } // @public -export interface Snapshot extends ProxyOnlyResource { +export type Snapshot = ProxyOnlyResource & { readonly time?: string; -} +}; // @public export interface SnapshotCollection { @@ -6527,14 +6676,14 @@ export interface SnapshotRecoverySource { } // @public -export interface SnapshotRestoreRequest extends ProxyOnlyResource { - ignoreConflictingHostNames?: boolean; +export type SnapshotRestoreRequest = ProxyOnlyResource & { + snapshotTime?: string; + recoverySource?: SnapshotRecoverySource; overwrite?: boolean; recoverConfiguration?: boolean; - recoverySource?: SnapshotRecoverySource; - snapshotTime?: string; + ignoreConflictingHostNames?: boolean; useDRSecondary?: boolean; -} +}; // @public export interface Solution { @@ -6551,12 +6700,12 @@ export interface Solution { export type SolutionType = "QuickSolution" | "DeepInvestigation" | "BestPractices"; // @public -export interface SourceControl extends ProxyOnlyResource { - expirationTime?: Date; - refreshToken?: string; +export type SourceControl = ProxyOnlyResource & { token?: string; tokenSecret?: string; -} + refreshToken?: string; + expirationTime?: Date; +}; // @public export interface SourceControlCollection { @@ -6621,40 +6770,40 @@ export interface StampCapacityCollection { } // @public -export interface StaticSiteARMResource extends Resource { - allowConfigFileUpdates?: boolean; +export type StaticSiteARMResource = Resource & { + sku?: SkuDescription; + identity?: ManagedServiceIdentity; + readonly defaultHostname?: string; + repositoryUrl?: string; branch?: string; + readonly customDomains?: string[]; + repositoryToken?: string; buildProperties?: StaticSiteBuildProperties; + readonly privateEndpointConnections?: ResponseMessageEnvelopeRemotePrivateEndpointConnection[]; + stagingEnvironmentPolicy?: StagingEnvironmentPolicy; + allowConfigFileUpdates?: boolean; + templateProperties?: StaticSiteTemplateOptions; readonly contentDistributionEndpoint?: string; - readonly customDomains?: string[]; - readonly defaultHostname?: string; - enterpriseGradeCdnStatus?: EnterpriseGradeCdnStatus; - identity?: ManagedServiceIdentity; readonly keyVaultReferenceIdentity?: string; + readonly userProvidedFunctionApps?: StaticSiteUserProvidedFunctionApp[]; readonly linkedBackends?: StaticSiteLinkedBackend[]; - readonly privateEndpointConnections?: ResponseMessageEnvelopeRemotePrivateEndpointConnection[]; provider?: string; + enterpriseGradeCdnStatus?: EnterpriseGradeCdnStatus; publicNetworkAccess?: string; - repositoryToken?: string; - repositoryUrl?: string; - sku?: SkuDescription; - stagingEnvironmentPolicy?: StagingEnvironmentPolicy; - templateProperties?: StaticSiteTemplateOptions; - readonly userProvidedFunctionApps?: StaticSiteUserProvidedFunctionApp[]; -} +}; // @public -export interface StaticSiteBuildARMResource extends ProxyOnlyResource { +export type StaticSiteBuildARMResource = ProxyOnlyResource & { readonly buildId?: string; - readonly createdTimeUtc?: Date; + readonly sourceBranch?: string; + readonly pullRequestTitle?: string; readonly hostname?: string; + readonly createdTimeUtc?: Date; readonly lastUpdatedOn?: Date; - readonly linkedBackends?: StaticSiteLinkedBackend[]; - readonly pullRequestTitle?: string; - readonly sourceBranch?: string; readonly status?: BuildStatus; readonly userProvidedFunctionApps?: StaticSiteUserProvidedFunctionApp[]; -} + readonly linkedBackends?: StaticSiteLinkedBackend[]; +}; // @public export interface StaticSiteBuildCollection { @@ -6681,13 +6830,13 @@ export interface StaticSiteCollection { } // @public -export interface StaticSiteCustomDomainOverviewARMResource extends ProxyOnlyResource { - readonly createdOn?: Date; +export type StaticSiteCustomDomainOverviewARMResource = ProxyOnlyResource & { readonly domainName?: string; - readonly errorMessage?: string; + readonly createdOn?: Date; readonly status?: CustomDomainStatus; readonly validationToken?: string; -} + readonly errorMessage?: string; +}; // @public export interface StaticSiteCustomDomainOverviewCollection { @@ -6696,15 +6845,15 @@ export interface StaticSiteCustomDomainOverviewCollection { } // @public -export interface StaticSiteCustomDomainRequestPropertiesARMResource extends ProxyOnlyResource { +export type StaticSiteCustomDomainRequestPropertiesARMResource = ProxyOnlyResource & { validationMethod?: string; -} +}; // @public -export interface StaticSiteFunctionOverviewARMResource extends ProxyOnlyResource { +export type StaticSiteFunctionOverviewARMResource = ProxyOnlyResource & { readonly functionName?: string; readonly triggerType?: TriggerTypes; -} +}; // @public export interface StaticSiteFunctionOverviewCollection { @@ -6721,12 +6870,12 @@ export interface StaticSiteLinkedBackend { } // @public -export interface StaticSiteLinkedBackendARMResource extends ProxyOnlyResource { +export type StaticSiteLinkedBackendARMResource = ProxyOnlyResource & { backendResourceId?: string; + region?: string; readonly createdOn?: Date; readonly provisioningState?: string; - region?: string; -} +}; // @public export interface StaticSiteLinkedBackendsCollection { @@ -6735,31 +6884,31 @@ export interface StaticSiteLinkedBackendsCollection { } // @public -export interface StaticSitePatchResource extends ProxyOnlyResource { - allowConfigFileUpdates?: boolean; +export type StaticSitePatchResource = ProxyOnlyResource & { + readonly defaultHostname?: string; + repositoryUrl?: string; branch?: string; + readonly customDomains?: string[]; + repositoryToken?: string; buildProperties?: StaticSiteBuildProperties; + readonly privateEndpointConnections?: ResponseMessageEnvelopeRemotePrivateEndpointConnection[]; + stagingEnvironmentPolicy?: StagingEnvironmentPolicy; + allowConfigFileUpdates?: boolean; + templateProperties?: StaticSiteTemplateOptions; readonly contentDistributionEndpoint?: string; - readonly customDomains?: string[]; - readonly defaultHostname?: string; - enterpriseGradeCdnStatus?: EnterpriseGradeCdnStatus; readonly keyVaultReferenceIdentity?: string; + readonly userProvidedFunctionApps?: StaticSiteUserProvidedFunctionApp[]; readonly linkedBackends?: StaticSiteLinkedBackend[]; - readonly privateEndpointConnections?: ResponseMessageEnvelopeRemotePrivateEndpointConnection[]; provider?: string; + enterpriseGradeCdnStatus?: EnterpriseGradeCdnStatus; publicNetworkAccess?: string; - repositoryToken?: string; - repositoryUrl?: string; - stagingEnvironmentPolicy?: StagingEnvironmentPolicy; - templateProperties?: StaticSiteTemplateOptions; - readonly userProvidedFunctionApps?: StaticSiteUserProvidedFunctionApp[]; -} +}; // @public -export interface StaticSiteResetPropertiesARMResource extends ProxyOnlyResource { +export type StaticSiteResetPropertiesARMResource = ProxyOnlyResource & { repositoryToken?: string; shouldUpdateRepository?: boolean; -} +}; // @public export interface StaticSites { @@ -7324,17 +7473,17 @@ export interface StaticSitesValidateCustomDomainCanBeAddedToStaticSiteOptionalPa } // @public -export interface StaticSitesWorkflowPreview extends ProxyOnlyResource { - readonly contents?: string; +export type StaticSitesWorkflowPreview = ProxyOnlyResource & { readonly path?: string; -} + readonly contents?: string; +}; // @public -export interface StaticSitesWorkflowPreviewRequest extends ProxyOnlyResource { +export type StaticSitesWorkflowPreviewRequest = ProxyOnlyResource & { + repositoryUrl?: string; branch?: string; buildProperties?: StaticSiteBuildProperties; - repositoryUrl?: string; -} +}; // @public export interface StaticSiteTemplateOptions { @@ -7346,12 +7495,12 @@ export interface StaticSiteTemplateOptions { } // @public -export interface StaticSiteUserARMResource extends ProxyOnlyResource { - readonly displayName?: string; +export type StaticSiteUserARMResource = ProxyOnlyResource & { readonly provider?: string; - roles?: string; readonly userId?: string; -} + readonly displayName?: string; + roles?: string; +}; // @public export interface StaticSiteUserCollection { @@ -7360,33 +7509,33 @@ export interface StaticSiteUserCollection { } // @public -export interface StaticSiteUserInvitationRequestResource extends ProxyOnlyResource { +export type StaticSiteUserInvitationRequestResource = ProxyOnlyResource & { domain?: string; - numHoursToExpiration?: number; provider?: string; - roles?: string; userDetails?: string; -} + roles?: string; + numHoursToExpiration?: number; +}; // @public -export interface StaticSiteUserInvitationResponseResource extends ProxyOnlyResource { +export type StaticSiteUserInvitationResponseResource = ProxyOnlyResource & { readonly expiresOn?: Date; readonly invitationUrl?: string; -} +}; // @public -export interface StaticSiteUserProvidedFunctionApp extends ProxyOnlyResource { - readonly createdOn?: Date; - functionAppRegion?: string; +export type StaticSiteUserProvidedFunctionApp = ProxyOnlyResource & { functionAppResourceId?: string; -} + functionAppRegion?: string; + readonly createdOn?: Date; +}; // @public -export interface StaticSiteUserProvidedFunctionAppARMResource extends ProxyOnlyResource { - readonly createdOn?: Date; - functionAppRegion?: string; +export type StaticSiteUserProvidedFunctionAppARMResource = ProxyOnlyResource & { functionAppResourceId?: string; -} + functionAppRegion?: string; + readonly createdOn?: Date; +}; // @public export interface StaticSiteUserProvidedFunctionAppsCollection { @@ -7395,13 +7544,13 @@ export interface StaticSiteUserProvidedFunctionAppsCollection { } // @public -export interface StaticSiteZipDeploymentARMResource extends ProxyOnlyResource { - apiZipUrl?: string; +export type StaticSiteZipDeploymentARMResource = ProxyOnlyResource & { appZipUrl?: string; + apiZipUrl?: string; deploymentTitle?: string; - functionLanguage?: string; provider?: string; -} + functionLanguage?: string; +}; // @public export interface Status { @@ -7432,32 +7581,32 @@ export interface StatusCodesRangeBasedTrigger { export type StatusOptions = "Ready" | "Pending" | "Creating"; // @public -export interface StorageMigrationOptions extends ProxyOnlyResource { +export type StorageMigrationOptions = ProxyOnlyResource & { azurefilesConnectionString?: string; azurefilesShare?: string; - blockWriteAccessToSite?: boolean; switchSiteAfterMigration?: boolean; -} + blockWriteAccessToSite?: boolean; +}; // @public -export interface StorageMigrationResponse extends ProxyOnlyResource { +export type StorageMigrationResponse = ProxyOnlyResource & { readonly operationId?: string; -} +}; // @public export type StorageType = "LocalNode" | "NetworkFileSystem"; // @public -export interface StringDictionary extends ProxyOnlyResource { +export type StringDictionary = ProxyOnlyResource & { properties?: { [propertyName: string]: string; }; -} +}; // @public -export interface StringList extends ProxyOnlyResource { +export type StringList = ProxyOnlyResource & { properties?: string[]; -} +}; // @public export interface SubResource { @@ -7474,10 +7623,10 @@ export interface SupportTopic { } // @public -export interface SwiftVirtualNetwork extends ProxyOnlyResource { +export type SwiftVirtualNetwork = ProxyOnlyResource & { subnetResourceId?: string; swiftSupported?: boolean; -} +}; // @public export interface Template { @@ -7510,9 +7659,9 @@ export interface TokenStore { } // @public -export interface TopLevelDomain extends ProxyOnlyResource { +export type TopLevelDomain = ProxyOnlyResource & { privacy?: boolean; -} +}; // @public export interface TopLevelDomainAgreementOption { @@ -7576,9 +7725,9 @@ export interface TrafficWeight { } // @public -export interface TriggeredJobHistory extends ProxyOnlyResource { +export type TriggeredJobHistory = ProxyOnlyResource & { runs?: TriggeredJobRun[]; -} +}; // @public export interface TriggeredJobHistoryCollection { @@ -7602,22 +7751,22 @@ export interface TriggeredJobRun { } // @public -export interface TriggeredWebJob extends ProxyOnlyResource { - error?: string; - extraInfoUrl?: string; - historyUrl?: string; +export type TriggeredWebJob = ProxyOnlyResource & { latestRun?: TriggeredJobRun; - publicNetworkAccess?: string; - runCommand?: string; + historyUrl?: string; schedulerLogsUrl?: string; + runCommand?: string; + url?: string; + extraInfoUrl?: string; + webJobType?: WebJobType; + error?: string; + usingSdk?: boolean; + publicNetworkAccess?: string; + storageAccountRequired?: boolean; settings?: { [propertyName: string]: Record; }; - storageAccountRequired?: boolean; - url?: string; - usingSdk?: boolean; - webJobType?: WebJobType; -} +}; // @public export interface TriggeredWebJobCollection { @@ -7670,16 +7819,16 @@ export type UpgradeAvailability = string; export type UpgradePreference = string; // @public -export interface Usage extends ProxyOnlyResource { - readonly computeMode?: ComputeModeOptions; - readonly currentValue?: number; +export type Usage = ProxyOnlyResource & { readonly displayName?: string; + readonly resourceName?: string; + readonly unit?: string; + readonly currentValue?: number; readonly limit?: number; readonly nextResetTime?: Date; - readonly resourceName?: string; + readonly computeMode?: ComputeModeOptions; readonly siteMode?: string; - readonly unit?: string; -} +}; // @public export interface UsageCollection { @@ -7691,13 +7840,13 @@ export interface UsageCollection { export type UsageState = "Normal" | "Exceeded"; // @public -export interface User extends ProxyOnlyResource { +export type User = ProxyOnlyResource & { + publishingUserName?: string; publishingPassword?: string; publishingPasswordHash?: string; publishingPasswordHashSalt?: string; - publishingUserName?: string; scmUri?: string; -} +}; // @public export interface UserAssignedIdentity { @@ -7791,10 +7940,10 @@ export interface VirtualNetworkProfile { } // @public -export interface VnetGateway extends ProxyOnlyResource { +export type VnetGateway = ProxyOnlyResource & { vnetName?: string; vpnPackageUri?: string; -} +}; // @public export interface VnetInfo { @@ -7808,44 +7957,44 @@ export interface VnetInfo { } // @public -export interface VnetInfoResource extends ProxyOnlyResource { - certBlob?: string; +export type VnetInfoResource = ProxyOnlyResource & { + vnetResourceId?: string; readonly certThumbprint?: string; + certBlob?: string; + readonly routes?: VnetRoute[]; + readonly resyncRequired?: boolean; dnsServers?: string; isSwift?: boolean; - readonly resyncRequired?: boolean; - readonly routes?: VnetRoute[]; - vnetResourceId?: string; -} +}; // @public -export interface VnetParameters extends ProxyOnlyResource { - subnetResourceId?: string; - vnetName?: string; +export type VnetParameters = ProxyOnlyResource & { vnetResourceGroup?: string; + vnetName?: string; vnetSubnetName?: string; -} + subnetResourceId?: string; +}; // @public -export interface VnetRoute extends ProxyOnlyResource { +export type VnetRoute = ProxyOnlyResource & { + startAddress?: string; endAddress?: string; routeType?: RouteType; - startAddress?: string; -} +}; // @public -export interface VnetValidationFailureDetails extends ProxyOnlyResource { +export type VnetValidationFailureDetails = ProxyOnlyResource & { + message?: string; failed?: boolean; failedTests?: VnetValidationTestFailure[]; - message?: string; warnings?: VnetValidationTestFailure[]; -} +}; // @public -export interface VnetValidationTestFailure extends ProxyOnlyResource { - details?: string; +export type VnetValidationTestFailure = ProxyOnlyResource & { testName?: string; -} + details?: string; +}; // @public export interface WebAppCollection { @@ -11182,13 +11331,13 @@ export interface WebAppsSyncRepositorySlotOptionalParams extends coreClient.Oper } // @public -export interface WebAppStack extends ProxyOnlyResource { - readonly displayText?: string; +export type WebAppStack = ProxyOnlyResource & { readonly location?: string; + readonly displayText?: string; + readonly value?: string; readonly majorVersions?: WebAppMajorVersion[]; readonly preferredOs?: StackPreferredOs; - readonly value?: string; -} +}; // @public export interface WebAppStackCollection { @@ -11498,17 +11647,17 @@ export interface WebAppsUpdateVnetConnectionSlotOptionalParams extends coreClien export type WebAppsUpdateVnetConnectionSlotResponse = VnetInfoResource; // @public -export interface WebJob extends ProxyOnlyResource { - error?: string; - extraInfoUrl?: string; +export type WebJob = ProxyOnlyResource & { runCommand?: string; + url?: string; + extraInfoUrl?: string; + webJobType?: WebJobType; + error?: string; + usingSdk?: boolean; settings?: { [propertyName: string]: Record; }; - url?: string; - usingSdk?: boolean; - webJobType?: WebJobType; -} +}; // @public export interface WebJobCollection { @@ -11520,17 +11669,16 @@ export interface WebJobCollection { export type WebJobType = "Continuous" | "Triggered"; // @public (undocumented) -export interface WebSiteInstanceStatus extends ProxyOnlyResource { +export type WebSiteInstanceStatus = ProxyOnlyResource & { + state?: SiteRuntimeState; + statusUrl?: string; + detectorUrl?: string; consoleUrl?: string; + healthCheckUrl?: string; containers?: { [propertyName: string]: ContainerInfo; }; - detectorUrl?: string; - healthCheckUrl?: string; - // (undocumented) - state?: SiteRuntimeState; - statusUrl?: string; -} +}; // @public (undocumented) export class WebSiteManagementClient extends coreClient.ServiceClient { @@ -11644,38 +11792,38 @@ export interface WorkerPoolCollection { } // @public -export interface WorkerPoolResource extends ProxyOnlyResource { - computeMode?: ComputeModeOptions; - readonly instanceNames?: string[]; +export type WorkerPoolResource = ProxyOnlyResource & { sku?: SkuDescription; - workerCount?: number; - workerSize?: string; workerSizeId?: number; -} + computeMode?: ComputeModeOptions; + workerSize?: string; + workerCount?: number; + readonly instanceNames?: string[]; +}; // @public export type WorkerSizeOptions = "Small" | "Medium" | "Large" | "D1" | "D2" | "D3" | "SmallV3" | "MediumV3" | "LargeV3" | "NestedSmall" | "NestedSmallLinux" | "Default"; // @public -export interface Workflow extends WorkflowResource { - accessControl?: FlowAccessControlConfiguration; - readonly accessEndpoint?: string; - readonly changedTime?: Date; +export type Workflow = WorkflowResource & { + identity?: ManagedServiceIdentity; + readonly provisioningState?: WorkflowProvisioningState; readonly createdTime?: Date; - definition?: Record; + readonly changedTime?: Date; + state?: WorkflowState; + readonly version?: string; + readonly accessEndpoint?: string; endpointsConfiguration?: FlowEndpointsConfiguration; - identity?: ManagedServiceIdentity; + accessControl?: FlowAccessControlConfiguration; + readonly sku?: WorkflowSku; integrationAccount?: ResourceReference; integrationServiceEnvironment?: ResourceReference; - kind?: Kind; + definition?: Record; parameters?: { [propertyName: string]: WorkflowParameter; }; - readonly provisioningState?: WorkflowProvisioningState; - readonly sku?: WorkflowSku; - state?: WorkflowState; - readonly version?: string; -} + kind?: Kind; +}; // @public export interface WorkflowFilter { @@ -11689,9 +11837,9 @@ export interface WorkflowListResult { } // @public -export interface WorkflowOutputParameter extends WorkflowParameter { +export type WorkflowOutputParameter = WorkflowParameter & { readonly error?: Record; -} +}; // @public export interface WorkflowParameter { @@ -11716,41 +11864,41 @@ export interface WorkflowResource { } // @public -export interface WorkflowRun extends SubResource { - readonly code?: string; - correlation?: Correlation; - readonly correlationId?: string; +export type WorkflowRun = SubResource & { + readonly name?: string; + readonly type?: string; + readonly waitEndTime?: Date; + readonly startTime?: Date; readonly endTime?: Date; + readonly status?: WorkflowStatus; + readonly code?: string; readonly error?: Record; - readonly name?: string; + readonly correlationId?: string; + correlation?: Correlation; + readonly workflow?: ResourceReference; + readonly trigger?: WorkflowRunTrigger; readonly outputs?: { [propertyName: string]: WorkflowOutputParameter; }; readonly response?: WorkflowRunTrigger; - readonly startTime?: Date; - readonly status?: WorkflowStatus; - readonly trigger?: WorkflowRunTrigger; - readonly type?: string; - readonly waitEndTime?: Date; - readonly workflow?: ResourceReference; -} +}; // @public -export interface WorkflowRunAction extends SubResource { - readonly code?: string; - correlation?: RunActionCorrelation; +export type WorkflowRunAction = SubResource & { + readonly name?: string; + readonly type?: string; + readonly startTime?: Date; readonly endTime?: Date; + readonly status?: WorkflowStatus; + readonly code?: string; readonly error?: Record; + readonly trackingId?: string; + correlation?: RunActionCorrelation; readonly inputsLink?: ContentLink; - readonly name?: string; readonly outputsLink?: ContentLink; - retryHistory?: RetryHistory[]; - readonly startTime?: Date; - readonly status?: WorkflowStatus; readonly trackedProperties?: Record; - readonly trackingId?: string; - readonly type?: string; -} + retryHistory?: RetryHistory[]; +}; // @public export interface WorkflowRunActionFilter { @@ -11764,24 +11912,23 @@ export interface WorkflowRunActionListResult { } // @public -export interface WorkflowRunActionRepetitionDefinition extends WorkflowResource { - code?: string; - correlation?: RunActionCorrelation; +export type WorkflowRunActionRepetitionDefinition = WorkflowResource & { + startTime?: Date; endTime?: Date; + correlation?: RunActionCorrelation; + status?: WorkflowStatus; + code?: string; error?: any; + readonly trackingId?: string; readonly inputs?: Record; readonly inputsLink?: ContentLink; - // (undocumented) - iterationCount?: number; readonly outputs?: Record; readonly outputsLink?: ContentLink; - repetitionIndexes?: RepetitionIndex[]; - retryHistory?: RetryHistory[]; - startTime?: Date; - status?: WorkflowStatus; readonly trackedProperties?: Record; - readonly trackingId?: string; -} + retryHistory?: RetryHistory[]; + iterationCount?: number; + repetitionIndexes?: RepetitionIndex[]; +}; // @public export interface WorkflowRunActionRepetitionDefinitionCollection { @@ -11791,9 +11938,9 @@ export interface WorkflowRunActionRepetitionDefinitionCollection { } // @public -export interface WorkflowRunActionRepetitionProperties extends OperationResult { +export type WorkflowRunActionRepetitionProperties = OperationResult & { repetitionIndexes?: RepetitionIndex[]; -} +}; // @public export interface WorkflowRunActionRepetitions { @@ -12032,19 +12179,19 @@ export interface WorkflowsValidateOptionalParams extends coreClient.OperationOpt } // @public -export interface WorkflowTrigger extends SubResource { - readonly changedTime?: Date; - readonly createdTime?: Date; - readonly lastExecutionTime?: Date; +export type WorkflowTrigger = SubResource & { readonly name?: string; - readonly nextExecutionTime?: Date; + readonly type?: string; readonly provisioningState?: WorkflowTriggerProvisioningState; - readonly recurrence?: WorkflowTriggerRecurrence; + readonly createdTime?: Date; + readonly changedTime?: Date; readonly state?: WorkflowState; readonly status?: WorkflowStatus; - readonly type?: string; + readonly lastExecutionTime?: Date; + readonly nextExecutionTime?: Date; + readonly recurrence?: WorkflowTriggerRecurrence; readonly workflow?: ResourceReference; -} +}; // @public export interface WorkflowTriggerCallbackUrl { @@ -12101,22 +12248,22 @@ export interface WorkflowTriggerHistoriesResubmitOptionalParams extends coreClie } // @public -export interface WorkflowTriggerHistory extends SubResource { - readonly code?: string; - correlation?: Correlation; +export type WorkflowTriggerHistory = SubResource & { + readonly name?: string; + readonly type?: string; + readonly startTime?: Date; readonly endTime?: Date; + readonly scheduledTime?: Date; + readonly status?: WorkflowStatus; + readonly code?: string; readonly error?: Record; - readonly fired?: boolean; + readonly trackingId?: string; + correlation?: Correlation; readonly inputsLink?: ContentLink; - readonly name?: string; readonly outputsLink?: ContentLink; + readonly fired?: boolean; readonly run?: ResourceReference; - readonly scheduledTime?: Date; - readonly startTime?: Date; - readonly status?: WorkflowStatus; - readonly trackingId?: string; - readonly type?: string; -} +}; // @public export interface WorkflowTriggerHistoryFilter { @@ -12213,22 +12360,22 @@ export interface WorkflowTriggersRunOptionalParams extends coreClient.OperationO } // @public -export interface WorkflowVersion extends WorkflowResource { - accessControl?: FlowAccessControlConfiguration; - readonly accessEndpoint?: string; - readonly changedTime?: Date; +export type WorkflowVersion = WorkflowResource & { + readonly provisioningState?: WorkflowProvisioningState; readonly createdTime?: Date; - definition?: Record; + readonly changedTime?: Date; + state?: WorkflowState; + readonly version?: string; + readonly accessEndpoint?: string; endpointsConfiguration?: FlowEndpointsConfiguration; + accessControl?: FlowAccessControlConfiguration; + readonly sku?: WorkflowSku; integrationAccount?: ResourceReference; + definition?: Record; parameters?: { [propertyName: string]: WorkflowParameter; }; - readonly provisioningState?: WorkflowProvisioningState; - readonly sku?: WorkflowSku; - state?: WorkflowState; - readonly version?: string; -} +}; // @public export interface WorkflowVersionListResult { diff --git a/sdk/appservice/arm-appservice/src/models/index.ts b/sdk/appservice/arm-appservice/src/models/index.ts index a12800647ffd..f56790d4110a 100644 --- a/sdk/appservice/arm-appservice/src/models/index.ts +++ b/sdk/appservice/arm-appservice/src/models/index.ts @@ -4823,7 +4823,7 @@ export interface WorkflowTriggerHistoryFilter { } /** SSL certificate purchase order. */ -export interface AppServiceCertificateOrder extends Resource { +export type AppServiceCertificateOrder = Resource & { /** State of the Key Vault secret. */ certificates?: { [propertyName: string]: AppServiceCertificate }; /** Certificate distinguished name. */ @@ -4903,10 +4903,10 @@ export interface AppServiceCertificateOrder extends Resource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly contact?: CertificateOrderContact; -} +}; /** Key Vault container ARM resource for a certificate that is purchased through Azure. */ -export interface AppServiceCertificateResource extends Resource { +export type AppServiceCertificateResource = Resource & { /** Key Vault resource Id. */ keyVaultId?: string; /** Key Vault secret name. */ @@ -4916,10 +4916,10 @@ export interface AppServiceCertificateResource extends Resource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: KeyVaultSecretStatus; -} +}; /** Information about a domain. */ -export interface Domain extends Resource { +export type Domain = Resource & { /** Administrative contact. */ contactAdmin?: Contact; /** Billing contact. */ @@ -4987,10 +4987,10 @@ export interface Domain extends Resource { /** Target DNS type (would be used for migration) */ targetDnsType?: DnsType; authCode?: string; -} +}; /** App Service Environment ARM resource. */ -export interface AppServiceEnvironmentResource extends Resource { +export type AppServiceEnvironmentResource = Resource & { /** * Provisioning state of the App Service Environment. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5053,10 +5053,10 @@ export interface AppServiceEnvironmentResource extends Resource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly upgradeAvailability?: UpgradeAvailability; -} +}; /** A web app, a mobile app backend, or an API app. */ -export interface Site extends Resource { +export type Site = Resource & { /** Managed service identity. */ identity?: ManagedServiceIdentity; /** Extended Location. */ @@ -5221,10 +5221,10 @@ export interface Site extends Resource { * This must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName} */ virtualNetworkSubnetId?: string; -} +}; /** App Service plan. */ -export interface AppServicePlan extends Resource { +export type AppServicePlan = Resource & { /** Description of a SKU for a scalable resource. */ sku?: SkuDescription; /** Extended Location. */ @@ -5305,10 +5305,10 @@ export interface AppServicePlan extends Resource { * If false, this App Service Plan will not perform availability zone balancing. */ zoneRedundant?: boolean; -} +}; /** SSL certificate for an app. */ -export interface Certificate extends Resource { +export type Certificate = Resource & { /** Certificate password. */ password?: string; /** @@ -5390,10 +5390,10 @@ export interface Certificate extends Resource { canonicalName?: string; /** Method of domain validation for free cert */ domainValidationMethod?: string; -} +}; /** Container App. */ -export interface ContainerApp extends Resource { +export type ContainerApp = Resource & { /** * Provisioning state of the Container App. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5415,10 +5415,10 @@ export interface ContainerApp extends Resource { configuration?: Configuration; /** Container App versioned application definition. */ template?: Template; -} +}; /** Container App Revision. */ -export interface Revision extends Resource { +export type Revision = Resource & { /** * Timestamp describing when the revision was created * by controller @@ -5467,10 +5467,10 @@ export interface Revision extends Resource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: RevisionProvisioningState; -} +}; /** A Kubernetes cluster specialized for web workloads by Azure App Service */ -export interface KubeEnvironment extends Resource { +export type KubeEnvironment = Resource & { /** Extended Location. */ extendedLocation?: ExtendedLocation; /** @@ -5509,10 +5509,10 @@ export interface KubeEnvironment extends Resource { /** Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration */ containerAppsConfiguration?: ContainerAppsConfiguration; aksResourceID?: string; -} +}; /** Static Site ARM resource. */ -export interface StaticSiteARMResource extends Resource { +export type StaticSiteARMResource = Resource & { /** Description of a SKU for a scalable resource. */ sku?: SkuDescription; /** Managed service identity. */ @@ -5572,10 +5572,10 @@ export interface StaticSiteARMResource extends Resource { enterpriseGradeCdnStatus?: EnterpriseGradeCdnStatus; /** State indicating whether public traffic are allowed or not for a static web app. Allowed Values: 'Enabled', 'Disabled' or an empty string. */ publicNetworkAccess?: string; -} +}; /** Premier add-on. */ -export interface PremierAddOn extends Resource { +export type PremierAddOn = Resource & { /** Premier add on SKU. */ sku?: string; /** Premier add on Product. */ @@ -5586,11 +5586,10 @@ export interface PremierAddOn extends Resource { marketplacePublisher?: string; /** Premier add on Marketplace offer. */ marketplaceOffer?: string; -} +}; /** ARM resource for a certificate order that is purchased through Azure. */ -export interface AppServiceCertificateOrderPatchResource - extends ProxyOnlyResource { +export type AppServiceCertificateOrderPatchResource = ProxyOnlyResource & { /** State of the Key Vault secret. */ certificates?: { [propertyName: string]: AppServiceCertificate }; /** Certificate distinguished name. */ @@ -5670,10 +5669,10 @@ export interface AppServiceCertificateOrderPatchResource * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly contact?: CertificateOrderContact; -} +}; /** Key Vault container ARM resource for a certificate that is purchased through Azure. */ -export interface AppServiceCertificatePatchResource extends ProxyOnlyResource { +export type AppServiceCertificatePatchResource = ProxyOnlyResource & { /** Key Vault resource Id. */ keyVaultId?: string; /** Key Vault secret name. */ @@ -5683,10 +5682,10 @@ export interface AppServiceCertificatePatchResource extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: KeyVaultSecretStatus; -} +}; /** Class representing certificate reissue request. */ -export interface ReissueCertificateOrderRequest extends ProxyOnlyResource { +export type ReissueCertificateOrderRequest = ProxyOnlyResource & { /** Certificate Key Size. */ keySize?: number; /** Delay in hours to revoke existing certificate after the new certificate is issued. */ @@ -5695,20 +5694,20 @@ export interface ReissueCertificateOrderRequest extends ProxyOnlyResource { csr?: string; /** Should we change the ASC type (from managed private key to external private key and vice versa). */ isPrivateKeyExternal?: boolean; -} +}; /** Class representing certificate renew request. */ -export interface RenewCertificateOrderRequest extends ProxyOnlyResource { +export type RenewCertificateOrderRequest = ProxyOnlyResource & { /** Certificate Key Size. */ keySize?: number; /** Csr to be used for re-key operation. */ csr?: string; /** Should we change the ASC type (from managed private key to external private key and vice versa). */ isPrivateKeyExternal?: boolean; -} +}; /** Class representing Response from Detector */ -export interface DetectorResponse extends ProxyOnlyResource { +export type DetectorResponse = ProxyOnlyResource & { /** metadata for the detector */ metadata?: DetectorInfo; /** Data Set */ @@ -5719,10 +5718,10 @@ export interface DetectorResponse extends ProxyOnlyResource { dataProvidersMetadata?: DataProviderMetadata[]; /** Suggested utterances where the detector can be applicable. */ suggestedUtterances?: QueryUtterancesResults; -} +}; /** ARM resource for a domain. */ -export interface DomainPatchResource extends ProxyOnlyResource { +export type DomainPatchResource = ProxyOnlyResource & { /** Administrative contact. */ contactAdmin?: Contact; /** Billing contact. */ @@ -5790,22 +5789,22 @@ export interface DomainPatchResource extends ProxyOnlyResource { /** Target DNS type (would be used for migration) */ targetDnsType?: DnsType; authCode?: string; -} +}; /** Domain ownership Identifier. */ -export interface DomainOwnershipIdentifier extends ProxyOnlyResource { +export type DomainOwnershipIdentifier = ProxyOnlyResource & { /** Ownership Id. */ ownershipId?: string; -} +}; /** A top level domain object. */ -export interface TopLevelDomain extends ProxyOnlyResource { +export type TopLevelDomain = ProxyOnlyResource & { /** If true, then the top level domain supports domain privacy; otherwise, false. */ privacy?: boolean; -} +}; /** Full view of the custom domain suffix configuration for ASEv3. */ -export interface CustomDnsSuffixConfiguration extends ProxyOnlyResource { +export type CustomDnsSuffixConfiguration = ProxyOnlyResource & { /** NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: CustomDnsSuffixProvisioningState; /** NOTE: This property will not be serialized. It can only be populated by the server. */ @@ -5816,10 +5815,10 @@ export interface CustomDnsSuffixConfiguration extends ProxyOnlyResource { certificateUrl?: string; /** The user-assigned identity to use for resolving the key vault certificate reference. If not specified, the system-assigned ASE identity will be used if available. */ keyVaultReferenceIdentity?: string; -} +}; /** Full view of networking configuration for an ASE. */ -export interface AseV3NetworkingConfiguration extends ProxyOnlyResource { +export type AseV3NetworkingConfiguration = ProxyOnlyResource & { /** NOTE: This property will not be serialized. It can only be populated by the server. */ readonly windowsOutboundIpAddresses?: string[]; /** NOTE: This property will not be serialized. It can only be populated by the server. */ @@ -5836,10 +5835,10 @@ export interface AseV3NetworkingConfiguration extends ProxyOnlyResource { remoteDebugEnabled?: boolean; /** Customer provided Inbound IP Address. Only able to be set on Ase create. */ inboundIpAddressOverride?: string; -} +}; /** ARM resource for a app service environment. */ -export interface AppServiceEnvironmentPatchResource extends ProxyOnlyResource { +export type AppServiceEnvironmentPatchResource = ProxyOnlyResource & { /** * Provisioning state of the App Service Environment. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5902,10 +5901,10 @@ export interface AppServiceEnvironmentPatchResource extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly upgradeAvailability?: UpgradeAvailability; -} +}; /** Describes main public IP address and any extra virtual IPs. */ -export interface AddressResponse extends ProxyOnlyResource { +export type AddressResponse = ProxyOnlyResource & { /** Main public virtual IP. */ serviceIpAddress?: string; /** Virtual Network internal IP address of the App Service Environment if it is in internal load-balancing mode. */ @@ -5914,10 +5913,10 @@ export interface AddressResponse extends ProxyOnlyResource { outboundIpAddresses?: string[]; /** Additional virtual IPs. */ vipMappings?: VirtualIPMapping[]; -} +}; /** Push settings for the App. */ -export interface PushSettings extends ProxyOnlyResource { +export type PushSettings = ProxyOnlyResource & { /** Gets or sets a flag indicating whether the Push endpoint is enabled. */ isPushEnabled?: boolean; /** Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. */ @@ -5931,10 +5930,10 @@ export interface PushSettings extends ProxyOnlyResource { tagsRequiringAuth?: string; /** Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. */ dynamicTagsJson?: string; -} +}; /** Worker pool of an App Service Environment ARM resource. */ -export interface WorkerPoolResource extends ProxyOnlyResource { +export type WorkerPoolResource = ProxyOnlyResource & { /** Description of a SKU for a scalable resource. */ sku?: SkuDescription; /** Worker size ID for referencing this worker pool. */ @@ -5950,10 +5949,10 @@ export interface WorkerPoolResource extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly instanceNames?: string[]; -} +}; /** Metadata for the metrics. */ -export interface ResourceMetricDefinition extends ProxyOnlyResource { +export type ResourceMetricDefinition = ProxyOnlyResource & { /** * Unit of the metric. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -5979,10 +5978,10 @@ export interface ResourceMetricDefinition extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly properties?: { [propertyName: string]: string }; -} +}; /** Usage of the quota resource. */ -export interface Usage extends ProxyOnlyResource { +export type Usage = ProxyOnlyResource & { /** * Friendly name shown in the UI. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -6023,11 +6022,10 @@ export interface Usage extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly siteMode?: string; -} +}; /** Remote Private Endpoint Connection ARM resource. */ -export interface RemotePrivateEndpointConnectionARMResource - extends ProxyOnlyResource { +export type RemotePrivateEndpointConnectionARMResource = ProxyOnlyResource & { /** NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: string; /** PrivateEndpoint of a remote private endpoint connection */ @@ -6036,17 +6034,16 @@ export interface RemotePrivateEndpointConnectionARMResource privateLinkServiceConnectionState?: PrivateLinkConnectionState; /** Private IPAddresses mapped to the remote private endpoint */ ipAddresses?: string[]; -} +}; /** Private Endpoint Connection Approval ARM resource. */ -export interface PrivateLinkConnectionApprovalRequestResource - extends ProxyOnlyResource { +export type PrivateLinkConnectionApprovalRequestResource = ProxyOnlyResource & { /** The state of a private link connection */ privateLinkServiceConnectionState?: PrivateLinkConnectionState; -} +}; /** ARM resource for a app service plan. */ -export interface AppServicePlanPatchResource extends ProxyOnlyResource { +export type AppServicePlanPatchResource = ProxyOnlyResource & { /** Target worker tier assigned to the App Service plan. */ workerTierName?: string; /** @@ -6123,10 +6120,10 @@ export interface AppServicePlanPatchResource extends ProxyOnlyResource { * If false, this App Service Plan will not perform availability zone balancing. */ zoneRedundant?: boolean; -} +}; /** Hybrid Connection contract. This is used to configure a Hybrid Connection. */ -export interface HybridConnection extends ProxyOnlyResource { +export type HybridConnection = ProxyOnlyResource & { /** The name of the Service Bus namespace. */ serviceBusNamespace?: string; /** The name of the Service Bus relay. */ @@ -6146,10 +6143,10 @@ export interface HybridConnection extends ProxyOnlyResource { sendKeyValue?: string; /** The suffix for the service bus endpoint. By default this is .servicebus.windows.net */ serviceBusSuffix?: string; -} +}; /** Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection. */ -export interface HybridConnectionKey extends ProxyOnlyResource { +export type HybridConnectionKey = ProxyOnlyResource & { /** * The name of the send key. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -6160,10 +6157,10 @@ export interface HybridConnectionKey extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly sendKeyValue?: string; -} +}; /** Hybrid Connection limits contract. This is used to return the plan limits of Hybrid Connections. */ -export interface HybridConnectionLimits extends ProxyOnlyResource { +export type HybridConnectionLimits = ProxyOnlyResource & { /** * The current number of Hybrid Connections. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -6174,10 +6171,10 @@ export interface HybridConnectionLimits extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly maximum?: number; -} +}; /** Virtual Network route contract used to pass routing information for a Virtual Network. */ -export interface VnetRoute extends ProxyOnlyResource { +export type VnetRoute = ProxyOnlyResource & { /** The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified. */ startAddress?: string; /** The ending address for this route. If the start address is specified in CIDR notation, this must be omitted. */ @@ -6191,10 +6188,10 @@ export interface VnetRoute extends ProxyOnlyResource { * These values will be used for syncing an app's routes with those from a Virtual Network. */ routeType?: RouteType; -} +}; /** Virtual Network information ARM resource. */ -export interface VnetInfoResource extends ProxyOnlyResource { +export type VnetInfoResource = ProxyOnlyResource & { /** The Virtual Network's resource ID. */ vnetResourceId?: string; /** @@ -6221,18 +6218,18 @@ export interface VnetInfoResource extends ProxyOnlyResource { dnsServers?: string; /** Flag that is used to denote if this is VNET injection */ isSwift?: boolean; -} +}; /** The Virtual Network gateway contract. This is used to give the Virtual Network gateway access to the VPN package. */ -export interface VnetGateway extends ProxyOnlyResource { +export type VnetGateway = ProxyOnlyResource & { /** The Virtual Network name. */ vnetName?: string; /** The URI where the VPN package can be downloaded. */ vpnPackageUri?: string; -} +}; /** ARM resource for a certificate. */ -export interface CertificatePatchResource extends ProxyOnlyResource { +export type CertificatePatchResource = ProxyOnlyResource & { /** Certificate password. */ password?: string; /** @@ -6314,10 +6311,10 @@ export interface CertificatePatchResource extends ProxyOnlyResource { canonicalName?: string; /** Method of domain validation for free cert */ domainValidationMethod?: string; -} +}; /** A deleted app. */ -export interface DeletedSite extends ProxyOnlyResource { +export type DeletedSite = ProxyOnlyResource & { /** * Numeric id for the deleted site * NOTE: This property will not be serialized. It can only be populated by the server. @@ -6358,28 +6355,28 @@ export interface DeletedSite extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly geoRegionName?: string; -} +}; /** Class representing detector definition */ -export interface DiagnosticCategory extends ProxyOnlyResource { +export type DiagnosticCategory = ProxyOnlyResource & { /** * Description of the diagnostic category * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly description?: string; -} +}; /** Definition of Analysis */ -export interface AnalysisDefinition extends ProxyOnlyResource { +export type AnalysisDefinition = ProxyOnlyResource & { /** * Description of the Analysis * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly description?: string; -} +}; /** Class representing a diagnostic analysis done on an application */ -export interface DiagnosticAnalysis extends ProxyOnlyResource { +export type DiagnosticAnalysis = ProxyOnlyResource & { /** Start time of the period */ startTime?: Date; /** End time of the period */ @@ -6390,10 +6387,10 @@ export interface DiagnosticAnalysis extends ProxyOnlyResource { payload?: AnalysisData[]; /** Data by each detector for detectors that did not corelate */ nonCorrelatedDetectors?: DetectorDefinition[]; -} +}; /** ARM resource for a detector definition */ -export interface DetectorDefinitionResource extends ProxyOnlyResource { +export type DetectorDefinitionResource = ProxyOnlyResource & { /** * Display name of the detector * NOTE: This property will not be serialized. It can only be populated by the server. @@ -6414,10 +6411,10 @@ export interface DetectorDefinitionResource extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly isEnabled?: boolean; -} +}; /** Class representing Response from Diagnostic Detectors */ -export interface DiagnosticDetectorResponse extends ProxyOnlyResource { +export type DiagnosticDetectorResponse = ProxyOnlyResource & { /** Start time of the period */ startTime?: Date; /** End time of the period */ @@ -6434,19 +6431,19 @@ export interface DiagnosticDetectorResponse extends ProxyOnlyResource { data?: NameValuePair[][]; /** Meta Data */ responseMetaData?: ResponseMetaData; -} +}; /** A snapshot of an app. */ -export interface Snapshot extends ProxyOnlyResource { +export type Snapshot = ProxyOnlyResource & { /** * The time the snapshot was taken. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly time?: string; -} +}; /** ARM resource for a KubeEnvironment when patching */ -export interface KubeEnvironmentPatchResource extends ProxyOnlyResource { +export type KubeEnvironmentPatchResource = ProxyOnlyResource & { /** * Provisioning state of the Kubernetes Environment. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -6481,10 +6478,10 @@ export interface KubeEnvironmentPatchResource extends ProxyOnlyResource { /** Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration */ containerAppsConfiguration?: ContainerAppsConfiguration; aksResourceID?: string; -} +}; /** ARM resource for a ApplicationStack. */ -export interface ApplicationStackResource extends ProxyOnlyResource { +export type ApplicationStackResource = ProxyOnlyResource & { /** Application stack name. */ namePropertiesName?: string; /** Application stack display name. */ @@ -6497,10 +6494,10 @@ export interface ApplicationStackResource extends ProxyOnlyResource { frameworks?: ApplicationStack[]; /** true if this is the stack is deprecated; otherwise, false. */ isDeprecated?: ApplicationStack[]; -} +}; /** Function App Stack. */ -export interface FunctionAppStack extends ProxyOnlyResource { +export type FunctionAppStack = ProxyOnlyResource & { /** * Function App stack location. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -6526,10 +6523,10 @@ export interface FunctionAppStack extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly preferredOs?: StackPreferredOs; -} +}; /** Web App stack. */ -export interface WebAppStack extends ProxyOnlyResource { +export type WebAppStack = ProxyOnlyResource & { /** * Web App stack location. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -6555,10 +6552,10 @@ export interface WebAppStack extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly preferredOs?: StackPreferredOs; -} +}; /** Represents a recommendation result generated by the recommendation engine. */ -export interface Recommendation extends ProxyOnlyResource { +export type Recommendation = ProxyOnlyResource & { /** Timestamp when this instance was created. */ creationTime?: Date; /** A GUID value that each recommendation object is associated with. */ @@ -6608,10 +6605,10 @@ export interface Recommendation extends ProxyOnlyResource { bladeName?: string; /** Forward link to an external document associated with the rule. */ forwardLink?: string; -} +}; /** Represents a recommendation rule that the recommendation engine can perform. */ -export interface RecommendationRule extends ProxyOnlyResource { +export type RecommendationRule = ProxyOnlyResource & { /** Unique name of the rule. */ recommendationName?: string; /** UI friendly name of the rule. */ @@ -6644,18 +6641,18 @@ export interface RecommendationRule extends ProxyOnlyResource { bladeName?: string; /** Forward link to an external document associated with the rule. Applicable to dynamic rule only. */ forwardLink?: string; -} +}; /** Used for getting ResourceHealthCheck settings. */ -export interface ResourceHealthMetadata extends ProxyOnlyResource { +export type ResourceHealthMetadata = ProxyOnlyResource & { /** The category that the resource matches in the RHC Policy File */ category?: string; /** Is there a health signal for the resource */ signalAvailability?: boolean; -} +}; /** User credentials used for publishing activity. */ -export interface User extends ProxyOnlyResource { +export type User = ProxyOnlyResource & { /** Username used for publishing. */ publishingUserName?: string; /** @@ -6675,10 +6672,10 @@ export interface User extends ProxyOnlyResource { publishingPasswordHashSalt?: string; /** Url of SCM site. */ scmUri?: string; -} +}; /** The source control OAuth token. */ -export interface SourceControl extends ProxyOnlyResource { +export type SourceControl = ProxyOnlyResource & { /** OAuth access token. */ token?: string; /** OAuth access token secret. */ @@ -6687,10 +6684,10 @@ export interface SourceControl extends ProxyOnlyResource { refreshToken?: string; /** OAuth token expiration. */ expirationTime?: Date; -} +}; /** App Service billing entity that contains information about meter which the Azure billing system utilizes to charge users for services. */ -export interface BillingMeter extends ProxyOnlyResource { +export type BillingMeter = ProxyOnlyResource & { /** Meter GUID onboarded in Commerce */ meterId?: string; /** Azure Location of billable resource */ @@ -6705,23 +6702,23 @@ export interface BillingMeter extends ProxyOnlyResource { osType?: string; /** Meter Multiplier */ multiplier?: number; -} +}; /** A domain specific resource identifier. */ -export interface Identifier extends ProxyOnlyResource { +export type Identifier = ProxyOnlyResource & { /** String representation of the identity. */ value?: string; -} +}; /** A hostname and its assigned sites */ -export interface CustomHostnameSites extends ProxyOnlyResource { +export type CustomHostnameSites = ProxyOnlyResource & { customHostname?: string; region?: string; siteResourceIds?: Identifier[]; -} +}; /** Geographical region. */ -export interface GeoRegion extends ProxyOnlyResource { +export type GeoRegion = ProxyOnlyResource & { /** * Region description. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -6737,10 +6734,10 @@ export interface GeoRegion extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly orgDomain?: string; -} +}; /** Premier add-on offer. */ -export interface PremierAddOnOffer extends ProxyOnlyResource { +export type PremierAddOnOffer = ProxyOnlyResource & { /** Premier add on SKU. */ sku?: string; /** Premier add on offer Product. */ @@ -6761,10 +6758,10 @@ export interface PremierAddOnOffer extends ProxyOnlyResource { marketplacePublisher?: string; /** Marketplace offer. */ marketplaceOffer?: string; -} +}; /** The required set of inputs to validate a VNET */ -export interface VnetParameters extends ProxyOnlyResource { +export type VnetParameters = ProxyOnlyResource & { /** The Resource Group of the VNET to be validated */ vnetResourceGroup?: string; /** The name of the VNET to be validated */ @@ -6773,18 +6770,18 @@ export interface VnetParameters extends ProxyOnlyResource { vnetSubnetName?: string; /** The ARM Resource ID of the subnet to validate */ subnetResourceId?: string; -} +}; /** A class that describes a test that failed during NSG and UDR validation. */ -export interface VnetValidationTestFailure extends ProxyOnlyResource { +export type VnetValidationTestFailure = ProxyOnlyResource & { /** The name of the test that failed. */ testName?: string; /** The details of what caused the failure, e.g. the blocking rule name, etc. */ details?: string; -} +}; /** A class that describes the reason for a validation failure. */ -export interface VnetValidationFailureDetails extends ProxyOnlyResource { +export type VnetValidationFailureDetails = ProxyOnlyResource & { /** Text describing the validation outcome. */ message?: string; /** A flag describing whether or not validation failed. */ @@ -6793,20 +6790,20 @@ export interface VnetValidationFailureDetails extends ProxyOnlyResource { failedTests?: VnetValidationTestFailure[]; /** A list of warnings generated during validation. */ warnings?: VnetValidationTestFailure[]; -} +}; /** Request entity for previewing the Static Site workflow */ -export interface StaticSitesWorkflowPreviewRequest extends ProxyOnlyResource { +export type StaticSitesWorkflowPreviewRequest = ProxyOnlyResource & { /** URL for the repository of the static site. */ repositoryUrl?: string; /** The target branch in the repository. */ branch?: string; /** Build properties to configure on the repository. */ buildProperties?: StaticSiteBuildProperties; -} +}; /** Preview for the Static Site Workflow to be generated */ -export interface StaticSitesWorkflowPreview extends ProxyOnlyResource { +export type StaticSitesWorkflowPreview = ProxyOnlyResource & { /** * The path for the workflow file to be generated * NOTE: This property will not be serialized. It can only be populated by the server. @@ -6817,10 +6814,10 @@ export interface StaticSitesWorkflowPreview extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly contents?: string; -} +}; /** A remote private endpoint connection */ -export interface RemotePrivateEndpointConnection extends ProxyOnlyResource { +export type RemotePrivateEndpointConnection = ProxyOnlyResource & { /** NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: string; /** PrivateEndpoint of a remote private endpoint connection */ @@ -6829,10 +6826,10 @@ export interface RemotePrivateEndpointConnection extends ProxyOnlyResource { privateLinkServiceConnectionState?: PrivateLinkConnectionState; /** Private IPAddresses mapped to the remote private endpoint */ ipAddresses?: string[]; -} +}; /** A static site user provided function. */ -export interface StaticSiteUserProvidedFunctionApp extends ProxyOnlyResource { +export type StaticSiteUserProvidedFunctionApp = ProxyOnlyResource & { /** The resource id of the function app registered with the static site */ functionAppResourceId?: string; /** The region of the function app registered with the static site */ @@ -6842,10 +6839,10 @@ export interface StaticSiteUserProvidedFunctionApp extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly createdOn?: Date; -} +}; /** ARM resource for a static site when patching */ -export interface StaticSitePatchResource extends ProxyOnlyResource { +export type StaticSitePatchResource = ProxyOnlyResource & { /** * The default autogenerated hostname for the static site. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -6901,10 +6898,10 @@ export interface StaticSitePatchResource extends ProxyOnlyResource { enterpriseGradeCdnStatus?: EnterpriseGradeCdnStatus; /** State indicating whether public traffic are allowed or not for a static web app. Allowed Values: 'Enabled', 'Disabled' or an empty string. */ publicNetworkAccess?: string; -} +}; /** Static Site User ARM resource. */ -export interface StaticSiteUserARMResource extends ProxyOnlyResource { +export type StaticSiteUserARMResource = ProxyOnlyResource & { /** * The identity provider for the static site user. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -6922,10 +6919,10 @@ export interface StaticSiteUserARMResource extends ProxyOnlyResource { readonly displayName?: string; /** The roles for the static site user, in free-form string format */ roles?: string; -} +}; /** Static Site Build ARM resource. */ -export interface StaticSiteBuildARMResource extends ProxyOnlyResource { +export type StaticSiteBuildARMResource = ProxyOnlyResource & { /** * An identifier for the static site build. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -6971,17 +6968,16 @@ export interface StaticSiteBuildARMResource extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly linkedBackends?: StaticSiteLinkedBackend[]; -} +}; /** String dictionary resource. */ -export interface StringDictionary extends ProxyOnlyResource { +export type StringDictionary = ProxyOnlyResource & { /** Settings. */ properties?: { [propertyName: string]: string }; -} +}; /** Static Site Function Overview ARM resource. */ -export interface StaticSiteFunctionOverviewARMResource - extends ProxyOnlyResource { +export type StaticSiteFunctionOverviewARMResource = ProxyOnlyResource & { /** * The name for the function * NOTE: This property will not be serialized. It can only be populated by the server. @@ -6992,11 +6988,10 @@ export interface StaticSiteFunctionOverviewARMResource * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly triggerType?: TriggerTypes; -} +}; /** Static Site User Provided Function App ARM resource. */ -export interface StaticSiteUserProvidedFunctionAppARMResource - extends ProxyOnlyResource { +export type StaticSiteUserProvidedFunctionAppARMResource = ProxyOnlyResource & { /** The resource id of the function app registered with the static site */ functionAppResourceId?: string; /** The region of the function app registered with the static site */ @@ -7006,10 +7001,10 @@ export interface StaticSiteUserProvidedFunctionAppARMResource * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly createdOn?: Date; -} +}; /** Static site zip deployment ARM resource. */ -export interface StaticSiteZipDeploymentARMResource extends ProxyOnlyResource { +export type StaticSiteZipDeploymentARMResource = ProxyOnlyResource & { /** URL for the zipped app content */ appZipUrl?: string; /** URL for the zipped api content */ @@ -7020,11 +7015,10 @@ export interface StaticSiteZipDeploymentARMResource extends ProxyOnlyResource { provider?: string; /** The language of the api content, if it exists */ functionLanguage?: string; -} +}; /** Static sites user roles invitation resource. */ -export interface StaticSiteUserInvitationRequestResource - extends ProxyOnlyResource { +export type StaticSiteUserInvitationRequestResource = ProxyOnlyResource & { /** The domain name for the static site custom domain. */ domain?: string; /** The identity provider for the static site user. */ @@ -7035,11 +7029,10 @@ export interface StaticSiteUserInvitationRequestResource roles?: string; /** The number of hours the sas token stays valid */ numHoursToExpiration?: number; -} +}; /** Static sites user roles invitation link resource. */ -export interface StaticSiteUserInvitationResponseResource - extends ProxyOnlyResource { +export type StaticSiteUserInvitationResponseResource = ProxyOnlyResource & { /** * The expiration time of the invitation * NOTE: This property will not be serialized. It can only be populated by the server. @@ -7050,11 +7043,10 @@ export interface StaticSiteUserInvitationResponseResource * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly invitationUrl?: string; -} +}; /** Static Site Custom Domain Overview ARM resource. */ -export interface StaticSiteCustomDomainOverviewARMResource - extends ProxyOnlyResource { +export type StaticSiteCustomDomainOverviewARMResource = ProxyOnlyResource & { /** * The domain name for the static site custom domain. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -7077,32 +7069,30 @@ export interface StaticSiteCustomDomainOverviewARMResource readonly validationToken?: string; /** NOTE: This property will not be serialized. It can only be populated by the server. */ readonly errorMessage?: string; -} +}; /** Static Site Custom Domain Request Properties ARM resource. */ -export interface StaticSiteCustomDomainRequestPropertiesARMResource - extends ProxyOnlyResource { +export type StaticSiteCustomDomainRequestPropertiesARMResource = ProxyOnlyResource & { /** Validation method for adding a custom domain */ validationMethod?: string; -} +}; /** String list resource. */ -export interface StringList extends ProxyOnlyResource { +export type StringList = ProxyOnlyResource & { /** List of string resources. */ properties?: string[]; -} +}; /** Static Site Reset Properties ARM resource. */ -export interface StaticSiteResetPropertiesARMResource - extends ProxyOnlyResource { +export type StaticSiteResetPropertiesARMResource = ProxyOnlyResource & { /** The token which proves admin privileges to the repository. */ repositoryToken?: string; /** Determines whether the repository should be updated with the new properties. */ shouldUpdateRepository?: boolean; -} +}; /** Static Site Linked Backend ARM resource. */ -export interface StaticSiteLinkedBackendARMResource extends ProxyOnlyResource { +export type StaticSiteLinkedBackendARMResource = ProxyOnlyResource & { /** The resource id of the backend linked to the static site */ backendResourceId?: string; /** The region of the backend linked to the static site */ @@ -7117,10 +7107,10 @@ export interface StaticSiteLinkedBackendARMResource extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: string; -} +}; /** ARM resource for a site. */ -export interface SitePatchResource extends ProxyOnlyResource { +export type SitePatchResource = ProxyOnlyResource & { /** Managed service identity. */ identity?: ManagedServiceIdentity; /** @@ -7275,10 +7265,10 @@ export interface SitePatchResource extends ProxyOnlyResource { * This must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName} */ virtualNetworkSubnetId?: string; -} +}; /** Custom domain analysis. */ -export interface CustomHostnameAnalysisResult extends ProxyOnlyResource { +export type CustomHostnameAnalysisResult = ProxyOnlyResource & { /** * true if hostname is already verified; otherwise, false. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -7319,10 +7309,10 @@ export interface CustomHostnameAnalysisResult extends ProxyOnlyResource { alternateCNameRecords?: string[]; /** Alternate TXT records controller can see for this hostname. */ alternateTxtRecords?: string[]; -} +}; /** Description of a backup which will be performed. */ -export interface BackupRequest extends ProxyOnlyResource { +export type BackupRequest = ProxyOnlyResource & { /** Name of the backup. */ backupName?: string; /** True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled. */ @@ -7333,10 +7323,10 @@ export interface BackupRequest extends ProxyOnlyResource { backupSchedule?: BackupSchedule; /** Databases included in the backup. */ databases?: DatabaseBackupSetting[]; -} +}; /** Backup description. */ -export interface BackupItem extends ProxyOnlyResource { +export type BackupItem = ProxyOnlyResource & { /** * Id of the backup. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -7407,10 +7397,10 @@ export interface BackupItem extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly websiteSizeInBytes?: number; -} +}; /** Description of a restore request. */ -export interface RestoreRequest extends ProxyOnlyResource { +export type RestoreRequest = ProxyOnlyResource & { /** SAS URL to the container. */ storageAccountUrl?: string; /** Name of a blob which contains the backup. */ @@ -7436,17 +7426,16 @@ export interface RestoreRequest extends ProxyOnlyResource { adjustConnectionStrings?: boolean; /** App Service Environment name, if needed (only when restoring an app to an App Service Environment). */ hostingEnvironment?: string; -} +}; /** Publishing Credentials Policies parameters. */ -export interface CsmPublishingCredentialsPoliciesEntity - extends ProxyOnlyResource { +export type CsmPublishingCredentialsPoliciesEntity = ProxyOnlyResource & { /** true to allow access to a publishing method; otherwise, false. */ allow?: boolean; -} +}; /** Web app configuration ARM resource. */ -export interface SiteConfigResource extends ProxyOnlyResource { +export type SiteConfigResource = ProxyOnlyResource & { /** Number of workers. */ numberOfWorkers?: number; /** Default documents. */ @@ -7597,10 +7586,10 @@ export interface SiteConfigResource extends ProxyOnlyResource { azureStorageAccounts?: { [propertyName: string]: AzureStorageInfoValue }; /** Property to allow or block all public traffic. */ publicNetworkAccess?: string; -} +}; /** Configuration settings for the Azure App Service Authentication / Authorization feature. */ -export interface SiteAuthSettings extends ProxyOnlyResource { +export type SiteAuthSettings = ProxyOnlyResource & { /** true if the Authentication / Authorization feature is enabled for the current app; otherwise, false. */ enabled?: boolean; /** @@ -7793,10 +7782,10 @@ export interface SiteAuthSettings extends ProxyOnlyResource { * The setting in this value can control the behavior of the control plane for Authentication / Authorization. */ configVersion?: string; -} +}; /** Configuration settings for the Azure App Service Authentication / Authorization V2 feature. */ -export interface SiteAuthSettingsV2 extends ProxyOnlyResource { +export type SiteAuthSettingsV2 = ProxyOnlyResource & { /** The configuration settings of the platform of App Service Authentication/Authorization. */ platform?: AuthPlatform; /** The configuration settings that determines the validation flow of users using App Service Authentication/Authorization. */ @@ -7807,17 +7796,16 @@ export interface SiteAuthSettingsV2 extends ProxyOnlyResource { login?: Login; /** The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization. */ httpSettings?: HttpSettings; -} +}; /** AzureStorageInfo dictionary resource. */ -export interface AzureStoragePropertyDictionaryResource - extends ProxyOnlyResource { +export type AzureStoragePropertyDictionaryResource = ProxyOnlyResource & { /** Azure storage accounts. */ properties?: { [propertyName: string]: AzureStorageInfoValue }; -} +}; /** Description of site key vault references. */ -export interface ApiKVReference extends ProxyOnlyResource { +export type ApiKVReference = ProxyOnlyResource & { reference?: string; status?: ResolveStatus; vaultName?: string; @@ -7828,16 +7816,16 @@ export interface ApiKVReference extends ProxyOnlyResource { details?: string; source?: "KeyVault"; activeVersion?: string; -} +}; /** String dictionary resource. */ -export interface ConnectionStringDictionary extends ProxyOnlyResource { +export type ConnectionStringDictionary = ProxyOnlyResource & { /** Connection strings. */ properties?: { [propertyName: string]: ConnStringValueTypePair }; -} +}; /** Configuration of App Service site logs. */ -export interface SiteLogsConfig extends ProxyOnlyResource { +export type SiteLogsConfig = ProxyOnlyResource & { /** Application logs configuration. */ applicationLogs?: ApplicationLogsConfig; /** HTTP logs configuration. */ @@ -7846,20 +7834,20 @@ export interface SiteLogsConfig extends ProxyOnlyResource { failedRequestsTracing?: EnabledConfig; /** Detailed error messages configuration. */ detailedErrorMessages?: EnabledConfig; -} +}; /** Slot Config names azure resource. */ -export interface SlotConfigNamesResource extends ProxyOnlyResource { +export type SlotConfigNamesResource = ProxyOnlyResource & { /** List of connection string names. */ connectionStringNames?: string[]; /** List of application settings names. */ appSettingNames?: string[]; /** List of external Azure storage account identifiers. */ azureStorageConfigNames?: string[]; -} +}; /** A snapshot of a web app configuration. */ -export interface SiteConfigurationSnapshotInfo extends ProxyOnlyResource { +export type SiteConfigurationSnapshotInfo = ProxyOnlyResource & { /** * The time the snapshot was taken. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -7870,10 +7858,10 @@ export interface SiteConfigurationSnapshotInfo extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly snapshotId?: number; -} +}; /** Continuous Web Job Information. */ -export interface ContinuousWebJob extends ProxyOnlyResource { +export type ContinuousWebJob = ProxyOnlyResource & { /** Job status. */ status?: ContinuousWebJobStatus; /** Detailed status. */ @@ -7894,10 +7882,10 @@ export interface ContinuousWebJob extends ProxyOnlyResource { usingSdk?: boolean; /** Job settings. */ settings?: { [propertyName: string]: Record }; -} +}; /** Deployment status response payload. */ -export interface CsmDeploymentStatus extends ProxyOnlyResource { +export type CsmDeploymentStatus = ProxyOnlyResource & { /** Deployment operation id. */ deploymentId?: string; /** Deployment build status. */ @@ -7912,10 +7900,10 @@ export interface CsmDeploymentStatus extends ProxyOnlyResource { failedInstancesLogs?: string[]; /** List of errors. */ errors?: ErrorEntity[]; -} +}; /** User credentials used for publishing activity. */ -export interface Deployment extends ProxyOnlyResource { +export type Deployment = ProxyOnlyResource & { /** Deployment status. */ status?: number; /** Details about deployment status. */ @@ -7934,10 +7922,10 @@ export interface Deployment extends ProxyOnlyResource { active?: boolean; /** Details on deployment. */ details?: string; -} +}; /** MSDeploy ARM response */ -export interface MSDeployStatus extends ProxyOnlyResource { +export type MSDeployStatus = ProxyOnlyResource & { /** * Username of deployer * NOTE: This property will not be serialized. It can only be populated by the server. @@ -7963,10 +7951,10 @@ export interface MSDeployStatus extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly complete?: boolean; -} +}; /** MSDeploy ARM PUT information */ -export interface MSDeploy extends ProxyOnlyResource { +export type MSDeploy = ProxyOnlyResource & { /** Package URI */ packageUri?: string; /** SQL Connection String */ @@ -7989,19 +7977,19 @@ export interface MSDeploy extends ProxyOnlyResource { * Setting is false by default. */ appOffline?: boolean; -} +}; /** MSDeploy log */ -export interface MSDeployLog extends ProxyOnlyResource { +export type MSDeployLog = ProxyOnlyResource & { /** * List of log entry messages * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly entries?: MSDeployLogEntry[]; -} +}; /** Function information. */ -export interface FunctionEnvelope extends ProxyOnlyResource { +export type FunctionEnvelope = ProxyOnlyResource & { /** Function App ID. */ functionAppId?: string; /** Script root path URI. */ @@ -8028,10 +8016,10 @@ export interface FunctionEnvelope extends ProxyOnlyResource { language?: string; /** Gets or sets a value indicating whether the function is disabled */ isDisabled?: boolean; -} +}; /** A hostname binding object. */ -export interface HostNameBinding extends ProxyOnlyResource { +export type HostNameBinding = ProxyOnlyResource & { /** App Service app name. */ siteName?: string; /** Fully qualified ARM domain resource URI. */ @@ -8053,10 +8041,10 @@ export interface HostNameBinding extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly virtualIP?: string; -} +}; /** Hybrid Connection for an App Service app. */ -export interface RelayServiceConnectionEntity extends ProxyOnlyResource { +export type RelayServiceConnectionEntity = ProxyOnlyResource & { entityName?: string; entityConnectionString?: string; resourceType?: string; @@ -8064,9 +8052,9 @@ export interface RelayServiceConnectionEntity extends ProxyOnlyResource { hostname?: string; port?: number; biztalkUri?: string; -} +}; -export interface WebSiteInstanceStatus extends ProxyOnlyResource { +export type WebSiteInstanceStatus = ProxyOnlyResource & { state?: SiteRuntimeState; /** Link to the GetStatusApi in Kudu */ statusUrl?: string; @@ -8078,10 +8066,10 @@ export interface WebSiteInstanceStatus extends ProxyOnlyResource { healthCheckUrl?: string; /** Dictionary of */ containers?: { [propertyName: string]: ContainerInfo }; -} +}; /** Process Thread Information. */ -export interface ProcessThreadInfo extends ProxyOnlyResource { +export type ProcessThreadInfo = ProxyOnlyResource & { /** * Site extension ID. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -8109,10 +8097,10 @@ export interface ProcessThreadInfo extends ProxyOnlyResource { state?: string; /** Wait reason. */ waitReason?: string; -} +}; /** Process Module Information. */ -export interface ProcessModuleInfo extends ProxyOnlyResource { +export type ProcessModuleInfo = ProxyOnlyResource & { /** Base address. Used as module identifier in ARM resource URI. */ baseAddress?: string; /** File name. */ @@ -8135,10 +8123,10 @@ export interface ProcessModuleInfo extends ProxyOnlyResource { isDebug?: boolean; /** Module language (locale). */ language?: string; -} +}; /** Process Information. */ -export interface ProcessInfo extends ProxyOnlyResource { +export type ProcessInfo = ProxyOnlyResource & { /** * ARM Identifier for deployment. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -8214,10 +8202,10 @@ export interface ProcessInfo extends ProxyOnlyResource { isWebjob?: boolean; /** Description of process. */ description?: string; -} +}; /** Options for app content migration. */ -export interface StorageMigrationOptions extends ProxyOnlyResource { +export type StorageMigrationOptions = ProxyOnlyResource & { /** AzureFiles connection string. */ azurefilesConnectionString?: string; /** AzureFiles share. */ @@ -8226,27 +8214,27 @@ export interface StorageMigrationOptions extends ProxyOnlyResource { switchSiteAfterMigration?: boolean; /** true if the app should be read only during copy operation; otherwise, false. */ blockWriteAccessToSite?: boolean; -} +}; /** Response for a migration of app content request. */ -export interface StorageMigrationResponse extends ProxyOnlyResource { +export type StorageMigrationResponse = ProxyOnlyResource & { /** * When server starts the migration process, it will return an operation ID identifying that particular migration operation. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationId?: string; -} +}; /** MySQL migration request. */ -export interface MigrateMySqlRequest extends ProxyOnlyResource { +export type MigrateMySqlRequest = ProxyOnlyResource & { /** Connection string to the remote MySQL database. */ connectionString?: string; /** The type of migration operation to be done */ migrationType?: MySqlMigrationType; -} +}; /** MySQL migration status. */ -export interface MigrateMySqlStatus extends ProxyOnlyResource { +export type MigrateMySqlStatus = ProxyOnlyResource & { /** * Status of the migration task. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -8262,18 +8250,18 @@ export interface MigrateMySqlStatus extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly localMySqlEnabled?: boolean; -} +}; /** Swift Virtual Network Contract. This is used to enable the new Swift way of doing virtual network integration. */ -export interface SwiftVirtualNetwork extends ProxyOnlyResource { +export type SwiftVirtualNetwork = ProxyOnlyResource & { /** The Virtual Network subnet's resource ID. This is the subnet that this Web App will join. This subnet must have a delegation to Microsoft.Web/serverFarms defined first. */ subnetResourceId?: string; /** A flag that specifies if the scale unit this Web App is on supports Swift integration. */ swiftSupported?: boolean; -} +}; /** Full view of network features for an app (presently VNET integration and Hybrid Connections). */ -export interface NetworkFeatures extends ProxyOnlyResource { +export type NetworkFeatures = ProxyOnlyResource & { /** * The Virtual Network name. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -8294,10 +8282,10 @@ export interface NetworkFeatures extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly hybridConnectionsV2?: HybridConnection[]; -} +}; /** Used for getting PHP error logging flag. */ -export interface SitePhpErrorLogFlag extends ProxyOnlyResource { +export type SitePhpErrorLogFlag = ProxyOnlyResource & { /** Local log_errors setting. */ localLogErrors?: string; /** Master log_errors setting. */ @@ -8306,10 +8294,10 @@ export interface SitePhpErrorLogFlag extends ProxyOnlyResource { localLogErrorsMaxLength?: string; /** Master log_errors_max_len setting. */ masterLogErrorsMaxLength?: string; -} +}; /** ARM resource for a PremierAddOn. */ -export interface PremierAddOnPatchResource extends ProxyOnlyResource { +export type PremierAddOnPatchResource = ProxyOnlyResource & { /** Premier add on SKU. */ sku?: string; /** Premier add on Product. */ @@ -8320,18 +8308,18 @@ export interface PremierAddOnPatchResource extends ProxyOnlyResource { marketplacePublisher?: string; /** Premier add on Marketplace offer. */ marketplaceOffer?: string; -} +}; /** Description of the parameters of Private Access for a Web Site. */ -export interface PrivateAccess extends ProxyOnlyResource { +export type PrivateAccess = ProxyOnlyResource & { /** Whether private access is enabled or not. */ enabled?: boolean; /** The Virtual Networks (and subnets) allowed to access the site privately. */ virtualNetworks?: PrivateAccessVirtualNetwork[]; -} +}; /** Public certificate object */ -export interface PublicCertificate extends ProxyOnlyResource { +export type PublicCertificate = ProxyOnlyResource & { /** Public Certificate byte array */ blob?: Uint8Array; /** Public Certificate Location */ @@ -8341,10 +8329,10 @@ export interface PublicCertificate extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly thumbprint?: string; -} +}; /** Details about restoring a deleted app. */ -export interface DeletedAppRestoreRequest extends ProxyOnlyResource { +export type DeletedAppRestoreRequest = ProxyOnlyResource & { /** * ARM resource ID of the deleted app. Example: * /subscriptions/{subId}/providers/Microsoft.Web/deletedSites/{deletedSiteId} @@ -8359,10 +8347,10 @@ export interface DeletedAppRestoreRequest extends ProxyOnlyResource { snapshotTime?: string; /** If true, the snapshot is retrieved from DRSecondary endpoint. */ useDRSecondary?: boolean; -} +}; /** Details about app recovery operation. */ -export interface SnapshotRestoreRequest extends ProxyOnlyResource { +export type SnapshotRestoreRequest = ProxyOnlyResource & { /** Point in time in which the app restore should be done, formatted as a DateTime string. */ snapshotTime?: string; /** @@ -8381,10 +8369,10 @@ export interface SnapshotRestoreRequest extends ProxyOnlyResource { ignoreConflictingHostNames?: boolean; /** If true, the snapshot is retrieved from DRSecondary endpoint. */ useDRSecondary?: boolean; -} +}; /** Site Extension Information. */ -export interface SiteExtensionInfo extends ProxyOnlyResource { +export type SiteExtensionInfo = ProxyOnlyResource & { /** Site extension ID. */ extensionId?: string; title?: string; @@ -8424,10 +8412,10 @@ export interface SiteExtensionInfo extends ProxyOnlyResource { provisioningState?: string; /** Site Extension comment. */ comment?: string; -} +}; /** A setting difference between two deployment slots of an app. */ -export interface SlotDifference extends ProxyOnlyResource { +export type SlotDifference = ProxyOnlyResource & { /** * Level of the difference: Information, Warning or Error. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -8463,10 +8451,10 @@ export interface SlotDifference extends ProxyOnlyResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly description?: string; -} +}; /** Source control configuration for an app. */ -export interface SiteSourceControl extends ProxyOnlyResource { +export type SiteSourceControl = ProxyOnlyResource & { /** Repository or source control URL. */ repoUrl?: string; /** Name of branch to use for deployment. */ @@ -8481,10 +8469,10 @@ export interface SiteSourceControl extends ProxyOnlyResource { isMercurial?: boolean; /** If GitHub Action is selected, than the associated configuration. */ gitHubActionConfiguration?: GitHubActionConfiguration; -} +}; /** Triggered Web Job Information. */ -export interface TriggeredWebJob extends ProxyOnlyResource { +export type TriggeredWebJob = ProxyOnlyResource & { /** Latest job run information. */ latestRun?: TriggeredJobRun; /** History URL. */ @@ -8509,16 +8497,16 @@ export interface TriggeredWebJob extends ProxyOnlyResource { storageAccountRequired?: boolean; /** Job settings. */ settings?: { [propertyName: string]: Record }; -} +}; /** Triggered Web Job History. List of Triggered Web Job Run Information elements. */ -export interface TriggeredJobHistory extends ProxyOnlyResource { +export type TriggeredJobHistory = ProxyOnlyResource & { /** List of triggered web job runs. */ runs?: TriggeredJobRun[]; -} +}; /** Web Job Information. */ -export interface WebJob extends ProxyOnlyResource { +export type WebJob = ProxyOnlyResource & { /** Run command. */ runCommand?: string; /** Job URL. */ @@ -8533,19 +8521,19 @@ export interface WebJob extends ProxyOnlyResource { usingSdk?: boolean; /** Job settings. */ settings?: { [propertyName: string]: Record }; -} +}; /** The workflow output parameter. */ -export interface WorkflowOutputParameter extends WorkflowParameter { +export type WorkflowOutputParameter = WorkflowParameter & { /** * Gets the error. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly error?: Record; -} +}; /** The workflow run. */ -export interface WorkflowRun extends SubResource { +export type WorkflowRun = SubResource & { /** * Gets the workflow run name. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -8613,10 +8601,10 @@ export interface WorkflowRun extends SubResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly response?: WorkflowRunTrigger; -} +}; /** The workflow run action. */ -export interface WorkflowRunAction extends SubResource { +export type WorkflowRunAction = SubResource & { /** * Gets the workflow run action name. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -8676,10 +8664,10 @@ export interface WorkflowRunAction extends SubResource { readonly trackedProperties?: Record; /** Gets the retry histories. */ retryHistory?: RetryHistory[]; -} +}; /** The workflow trigger. */ -export interface WorkflowTrigger extends SubResource { +export type WorkflowTrigger = SubResource & { /** * Gets the workflow trigger name. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -8735,10 +8723,10 @@ export interface WorkflowTrigger extends SubResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly workflow?: ResourceReference; -} +}; /** The workflow trigger history. */ -export interface WorkflowTriggerHistory extends SubResource { +export type WorkflowTriggerHistory = SubResource & { /** * Gets the workflow trigger history name. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -8806,30 +8794,30 @@ export interface WorkflowTriggerHistory extends SubResource { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly run?: ResourceReference; -} +}; /** The workflow run action correlation properties. */ -export interface RunActionCorrelation extends RunCorrelation { +export type RunActionCorrelation = RunCorrelation & { /** The action tracking identifier. */ actionTrackingId?: string; -} +}; /** The expression root. */ -export interface ExpressionRoot extends Expression { +export type ExpressionRoot = Expression & { /** The path. */ path?: string; -} +}; /** The azure resource error info. */ -export interface AzureResourceErrorInfo extends ErrorInfo { +export type AzureResourceErrorInfo = ErrorInfo & { /** The error message. */ message: string; /** The error details. */ details?: AzureResourceErrorInfo[]; -} +}; /** The operation result definition. */ -export interface OperationResult extends OperationResultProperties { +export type OperationResult = OperationResultProperties & { /** * Gets the tracking id. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -8863,11 +8851,10 @@ export interface OperationResult extends OperationResultProperties { /** Gets the retry histories. */ retryHistory?: RetryHistory[]; iterationCount?: number; -} +}; /** The workflow run action repetition definition. */ -export interface WorkflowRunActionRepetitionDefinition - extends WorkflowResource { +export type WorkflowRunActionRepetitionDefinition = WorkflowResource & { /** The start time of the workflow scope repetition. */ startTime?: Date; /** The end time of the workflow scope repetition. */ @@ -8915,16 +8902,16 @@ export interface WorkflowRunActionRepetitionDefinition iterationCount?: number; /** The repetition indexes. */ repetitionIndexes?: RepetitionIndex[]; -} +}; /** The request history. */ -export interface RequestHistory extends WorkflowResource { +export type RequestHistory = WorkflowResource & { /** The request history properties. */ properties?: RequestHistoryProperties; -} +}; /** The workflow type. */ -export interface Workflow extends WorkflowResource { +export type Workflow = WorkflowResource & { /** Managed service identity. */ identity?: ManagedServiceIdentity; /** @@ -8973,10 +8960,10 @@ export interface Workflow extends WorkflowResource { parameters?: { [propertyName: string]: WorkflowParameter }; /** The workflow kind. */ kind?: Kind; -} +}; /** The workflow version. */ -export interface WorkflowVersion extends WorkflowResource { +export type WorkflowVersion = WorkflowResource & { /** * The provisioning state. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -9019,21 +9006,18 @@ export interface WorkflowVersion extends WorkflowResource { definition?: Record; /** The parameters. */ parameters?: { [propertyName: string]: WorkflowParameter }; -} +}; /** The workflow run action repetition properties definition. */ -export interface WorkflowRunActionRepetitionProperties extends OperationResult { +export type WorkflowRunActionRepetitionProperties = OperationResult & { /** The repetition indexes. */ repetitionIndexes?: RepetitionIndex[]; -} +}; /** Known values of {@link ResourceNotRenewableReason} that the service accepts. */ export enum KnownResourceNotRenewableReason { - /** RegistrationStatusNotSupportedForRenewal */ RegistrationStatusNotSupportedForRenewal = "RegistrationStatusNotSupportedForRenewal", - /** ExpirationNotInRenewalTimeRange */ ExpirationNotInRenewalTimeRange = "ExpirationNotInRenewalTimeRange", - /** SubscriptionNotActive */ SubscriptionNotActive = "SubscriptionNotActive" } @@ -9050,13 +9034,9 @@ export type ResourceNotRenewableReason = string; /** Known values of {@link LoadBalancingMode} that the service accepts. */ export enum KnownLoadBalancingMode { - /** None */ None = "None", - /** Web */ Web = "Web", - /** Publishing */ Publishing = "Publishing", - /** WebPublishing */ WebPublishing = "Web, Publishing" } @@ -9116,33 +9096,19 @@ export type UpgradeAvailability = string; /** Known values of {@link ScmType} that the service accepts. */ export enum KnownScmType { - /** None */ None = "None", - /** Dropbox */ Dropbox = "Dropbox", - /** Tfs */ Tfs = "Tfs", - /** LocalGit */ LocalGit = "LocalGit", - /** GitHub */ GitHub = "GitHub", - /** CodePlexGit */ CodePlexGit = "CodePlexGit", - /** CodePlexHg */ CodePlexHg = "CodePlexHg", - /** BitbucketGit */ BitbucketGit = "BitbucketGit", - /** BitbucketHg */ BitbucketHg = "BitbucketHg", - /** ExternalGit */ ExternalGit = "ExternalGit", - /** ExternalHg */ ExternalHg = "ExternalHg", - /** OneDrive */ OneDrive = "OneDrive", - /** VSO */ VSO = "VSO", - /** Vstsrm */ Vstsrm = "VSTSRM" } @@ -9170,11 +9136,8 @@ export type ScmType = string; /** Known values of {@link IpFilterTag} that the service accepts. */ export enum KnownIpFilterTag { - /** Default */ Default = "Default", - /** XffProxy */ XffProxy = "XffProxy", - /** ServiceTag */ ServiceTag = "ServiceTag" } @@ -9191,11 +9154,8 @@ export type IpFilterTag = string; /** Known values of {@link SupportedTlsVersions} that the service accepts. */ export enum KnownSupportedTlsVersions { - /** One0 */ One0 = "1.0", - /** One1 */ One1 = "1.1", - /** One2 */ One2 = "1.2" } @@ -9212,11 +9172,8 @@ export type SupportedTlsVersions = string; /** Known values of {@link FtpsState} that the service accepts. */ export enum KnownFtpsState { - /** AllAllowed */ AllAllowed = "AllAllowed", - /** FtpsOnly */ FtpsOnly = "FtpsOnly", - /** Disabled */ Disabled = "Disabled" } @@ -9233,11 +9190,8 @@ export type FtpsState = string; /** Known values of {@link RouteType} that the service accepts. */ export enum KnownRouteType { - /** Default */ Default = "DEFAULT", - /** Inherited */ Inherited = "INHERITED", - /** Static */ Static = "STATIC" } @@ -9254,13 +9208,9 @@ export type RouteType = string; /** Known values of {@link ContainerAppProvisioningState} that the service accepts. */ export enum KnownContainerAppProvisioningState { - /** InProgress */ InProgress = "InProgress", - /** Succeeded */ Succeeded = "Succeeded", - /** Failed */ Failed = "Failed", - /** Canceled */ Canceled = "Canceled" } @@ -9278,9 +9228,7 @@ export type ContainerAppProvisioningState = string; /** Known values of {@link ActiveRevisionsMode} that the service accepts. */ export enum KnownActiveRevisionsMode { - /** Multiple */ Multiple = "multiple", - /** Single */ Single = "single" } @@ -9296,11 +9244,8 @@ export type ActiveRevisionsMode = string; /** Known values of {@link IngressTransportMethod} that the service accepts. */ export enum KnownIngressTransportMethod { - /** Auto */ Auto = "auto", - /** Http */ Http = "http", - /** Http2 */ Http2 = "http2" } @@ -9317,11 +9262,8 @@ export type IngressTransportMethod = string; /** Known values of {@link RevisionHealthState} that the service accepts. */ export enum KnownRevisionHealthState { - /** Healthy */ Healthy = "Healthy", - /** Unhealthy */ Unhealthy = "Unhealthy", - /** None */ None = "None" } @@ -9338,15 +9280,10 @@ export type RevisionHealthState = string; /** Known values of {@link RevisionProvisioningState} that the service accepts. */ export enum KnownRevisionProvisioningState { - /** Provisioning */ Provisioning = "Provisioning", - /** Provisioned */ Provisioned = "Provisioned", - /** Failed */ Failed = "Failed", - /** Deprovisioning */ Deprovisioning = "Deprovisioning", - /** Deprovisioned */ Deprovisioned = "Deprovisioned" } @@ -9363,23 +9300,18 @@ export enum KnownRevisionProvisioningState { */ export type RevisionProvisioningState = string; -/** Known values of {@link Enum14} that the service accepts. */ -export enum KnownEnum14 { - /** Windows */ +/** Known values of {@link ProviderOsTypeSelected} that the service accepts. */ +export enum KnownProviderOsTypeSelected { Windows = "Windows", - /** Linux */ Linux = "Linux", - /** WindowsFunctions */ WindowsFunctions = "WindowsFunctions", - /** LinuxFunctions */ LinuxFunctions = "LinuxFunctions", - /** All */ All = "All" } /** - * Defines values for Enum14. \ - * {@link KnownEnum14} can be used interchangeably with Enum14, + * Defines values for ProviderOsTypeSelected. \ + * {@link KnownProviderOsTypeSelected} can be used interchangeably with ProviderOsTypeSelected, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Windows** \ @@ -9388,126 +9320,30 @@ export enum KnownEnum14 { * **LinuxFunctions** \ * **All** */ -export type Enum14 = string; - -/** Known values of {@link Enum15} that the service accepts. */ -export enum KnownEnum15 { - /** Windows */ - Windows = "Windows", - /** Linux */ - Linux = "Linux", - /** All */ - All = "All" -} - -/** - * Defines values for Enum15. \ - * {@link KnownEnum15} can be used interchangeably with Enum15, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Windows** \ - * **Linux** \ - * **All** - */ -export type Enum15 = string; - -/** Known values of {@link Enum16} that the service accepts. */ -export enum KnownEnum16 { - /** Windows */ - Windows = "Windows", - /** Linux */ - Linux = "Linux", - /** All */ - All = "All" -} - -/** - * Defines values for Enum16. \ - * {@link KnownEnum16} can be used interchangeably with Enum16, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Windows** \ - * **Linux** \ - * **All** - */ -export type Enum16 = string; - -/** Known values of {@link Enum17} that the service accepts. */ -export enum KnownEnum17 { - /** Windows */ - Windows = "Windows", - /** Linux */ - Linux = "Linux", - /** All */ - All = "All" -} - -/** - * Defines values for Enum17. \ - * {@link KnownEnum17} can be used interchangeably with Enum17, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Windows** \ - * **Linux** \ - * **All** - */ -export type Enum17 = string; +export type ProviderOsTypeSelected = string; -/** Known values of {@link Enum18} that the service accepts. */ -export enum KnownEnum18 { - /** Windows */ +/** Known values of {@link ProviderStackOsType} that the service accepts. */ +export enum KnownProviderStackOsType { Windows = "Windows", - /** Linux */ Linux = "Linux", - /** All */ All = "All" } /** - * Defines values for Enum18. \ - * {@link KnownEnum18} can be used interchangeably with Enum18, + * Defines values for ProviderStackOsType. \ + * {@link KnownProviderStackOsType} can be used interchangeably with ProviderStackOsType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Windows** \ * **Linux** \ * **All** */ -export type Enum18 = string; - -/** Known values of {@link Enum19} that the service accepts. */ -export enum KnownEnum19 { - /** Windows */ - Windows = "Windows", - /** Linux */ - Linux = "Linux", - /** WindowsFunctions */ - WindowsFunctions = "WindowsFunctions", - /** LinuxFunctions */ - LinuxFunctions = "LinuxFunctions", - /** All */ - All = "All" -} - -/** - * Defines values for Enum19. \ - * {@link KnownEnum19} can be used interchangeably with Enum19, - * this enum contains the known values that the service supports. - * ### Known values supported by the service - * **Windows** \ - * **Linux** \ - * **WindowsFunctions** \ - * **LinuxFunctions** \ - * **All** - */ -export type Enum19 = string; +export type ProviderStackOsType = string; /** Known values of {@link ResourceScopeType} that the service accepts. */ export enum KnownResourceScopeType { - /** ServerFarm */ ServerFarm = "ServerFarm", - /** Subscription */ Subscription = "Subscription", - /** WebSite */ WebSite = "WebSite" } @@ -9524,21 +9360,13 @@ export type ResourceScopeType = string; /** Known values of {@link CheckNameResourceTypes} that the service accepts. */ export enum KnownCheckNameResourceTypes { - /** Site */ Site = "Site", - /** Slot */ Slot = "Slot", - /** HostingEnvironment */ HostingEnvironment = "HostingEnvironment", - /** PublishingUser */ PublishingUser = "PublishingUser", - /** MicrosoftWebSites */ MicrosoftWebSites = "Microsoft.Web/sites", - /** MicrosoftWebSitesSlots */ MicrosoftWebSitesSlots = "Microsoft.Web/sites/slots", - /** MicrosoftWebHostingEnvironments */ MicrosoftWebHostingEnvironments = "Microsoft.Web/hostingEnvironments", - /** MicrosoftWebPublishingUsers */ MicrosoftWebPublishingUsers = "Microsoft.Web/publishingUsers" } @@ -9560,9 +9388,7 @@ export type CheckNameResourceTypes = string; /** Known values of {@link InAvailabilityReasonType} that the service accepts. */ export enum KnownInAvailabilityReasonType { - /** Invalid */ Invalid = "Invalid", - /** AlreadyExists */ AlreadyExists = "AlreadyExists" } @@ -9578,31 +9404,18 @@ export type InAvailabilityReasonType = string; /** Known values of {@link SkuName} that the service accepts. */ export enum KnownSkuName { - /** Free */ Free = "Free", - /** Shared */ Shared = "Shared", - /** Basic */ Basic = "Basic", - /** Standard */ Standard = "Standard", - /** Premium */ Premium = "Premium", - /** Dynamic */ Dynamic = "Dynamic", - /** Isolated */ Isolated = "Isolated", - /** IsolatedV2 */ IsolatedV2 = "IsolatedV2", - /** PremiumV2 */ PremiumV2 = "PremiumV2", - /** PremiumV3 */ PremiumV3 = "PremiumV3", - /** PremiumContainer */ PremiumContainer = "PremiumContainer", - /** ElasticPremium */ ElasticPremium = "ElasticPremium", - /** ElasticIsolated */ ElasticIsolated = "ElasticIsolated" } @@ -9629,11 +9442,8 @@ export type SkuName = string; /** Known values of {@link ValidateResourceTypes} that the service accepts. */ export enum KnownValidateResourceTypes { - /** ServerFarm */ ServerFarm = "ServerFarm", - /** Site */ Site = "Site", - /** MicrosoftWebHostingEnvironments */ MicrosoftWebHostingEnvironments = "Microsoft.Web/hostingEnvironments" } @@ -9650,13 +9460,9 @@ export type ValidateResourceTypes = string; /** Known values of {@link EnterpriseGradeCdnStatus} that the service accepts. */ export enum KnownEnterpriseGradeCdnStatus { - /** Enabled */ Enabled = "Enabled", - /** Enabling */ Enabling = "Enabling", - /** Disabled */ Disabled = "Disabled", - /** Disabling */ Disabling = "Disabling" } @@ -9674,19 +9480,12 @@ export type EnterpriseGradeCdnStatus = string; /** Known values of {@link BuildStatus} that the service accepts. */ export enum KnownBuildStatus { - /** WaitingForDeployment */ WaitingForDeployment = "WaitingForDeployment", - /** Uploading */ Uploading = "Uploading", - /** Deploying */ Deploying = "Deploying", - /** Ready */ Ready = "Ready", - /** Failed */ Failed = "Failed", - /** Deleting */ Deleting = "Deleting", - /** Detached */ Detached = "Detached" } @@ -9707,9 +9506,7 @@ export type BuildStatus = string; /** Known values of {@link TriggerTypes} that the service accepts. */ export enum KnownTriggerTypes { - /** HttpTrigger */ HttpTrigger = "HttpTrigger", - /** Unknown */ Unknown = "Unknown" } @@ -9725,19 +9522,12 @@ export type TriggerTypes = string; /** Known values of {@link CustomDomainStatus} that the service accepts. */ export enum KnownCustomDomainStatus { - /** RetrievingValidationToken */ RetrievingValidationToken = "RetrievingValidationToken", - /** Validating */ Validating = "Validating", - /** Adding */ Adding = "Adding", - /** Ready */ Ready = "Ready", - /** Failed */ Failed = "Failed", - /** Deleting */ Deleting = "Deleting", - /** Unhealthy */ Unhealthy = "Unhealthy" } @@ -9758,13 +9548,9 @@ export type CustomDomainStatus = string; /** Known values of {@link DatabaseType} that the service accepts. */ export enum KnownDatabaseType { - /** SqlAzure */ SqlAzure = "SqlAzure", - /** MySql */ MySql = "MySql", - /** LocalMySql */ LocalMySql = "LocalMySql", - /** PostgreSql */ PostgreSql = "PostgreSql" } @@ -9782,31 +9568,18 @@ export type DatabaseType = string; /** Known values of {@link DeploymentBuildStatus} that the service accepts. */ export enum KnownDeploymentBuildStatus { - /** TimedOut */ TimedOut = "TimedOut", - /** RuntimeFailed */ RuntimeFailed = "RuntimeFailed", - /** BuildAborted */ BuildAborted = "BuildAborted", - /** BuildFailed */ BuildFailed = "BuildFailed", - /** BuildRequestReceived */ BuildRequestReceived = "BuildRequestReceived", - /** BuildPending */ BuildPending = "BuildPending", - /** BuildInProgress */ BuildInProgress = "BuildInProgress", - /** BuildSuccessful */ BuildSuccessful = "BuildSuccessful", - /** PostBuildRestartRequired */ PostBuildRestartRequired = "PostBuildRestartRequired", - /** StartPolling */ StartPolling = "StartPolling", - /** StartPollingWithRestart */ StartPollingWithRestart = "StartPollingWithRestart", - /** RuntimeStarting */ RuntimeStarting = "RuntimeStarting", - /** RuntimeSuccessful */ RuntimeSuccessful = "RuntimeSuccessful" } @@ -9833,11 +9606,8 @@ export type DeploymentBuildStatus = string; /** Known values of {@link PublishingProfileFormat} that the service accepts. */ export enum KnownPublishingProfileFormat { - /** FileZilla3 */ FileZilla3 = "FileZilla3", - /** WebDeploy */ WebDeploy = "WebDeploy", - /** Ftp */ Ftp = "Ftp" } @@ -9854,11 +9624,8 @@ export type PublishingProfileFormat = string; /** Known values of {@link KeyType} that the service accepts. */ export enum KnownKeyType { - /** NotSpecified */ NotSpecified = "NotSpecified", - /** Primary */ Primary = "Primary", - /** Secondary */ Secondary = "Secondary" } @@ -9875,31 +9642,18 @@ export type KeyType = string; /** Known values of {@link WorkflowStatus} that the service accepts. */ export enum KnownWorkflowStatus { - /** NotSpecified */ NotSpecified = "NotSpecified", - /** Paused */ Paused = "Paused", - /** Running */ Running = "Running", - /** Waiting */ Waiting = "Waiting", - /** Succeeded */ Succeeded = "Succeeded", - /** Skipped */ Skipped = "Skipped", - /** Suspended */ Suspended = "Suspended", - /** Cancelled */ Cancelled = "Cancelled", - /** Failed */ Failed = "Failed", - /** Faulted */ Faulted = "Faulted", - /** TimedOut */ TimedOut = "TimedOut", - /** Aborted */ Aborted = "Aborted", - /** Ignored */ Ignored = "Ignored" } @@ -9926,23 +9680,14 @@ export type WorkflowStatus = string; /** Known values of {@link ParameterType} that the service accepts. */ export enum KnownParameterType { - /** NotSpecified */ NotSpecified = "NotSpecified", - /** String */ String = "String", - /** SecureString */ SecureString = "SecureString", - /** Int */ Int = "Int", - /** Float */ Float = "Float", - /** Bool */ Bool = "Bool", - /** Array */ Array = "Array", - /** Object */ Object = "Object", - /** SecureObject */ SecureObject = "SecureObject" } @@ -9965,41 +9710,23 @@ export type ParameterType = string; /** Known values of {@link WorkflowTriggerProvisioningState} that the service accepts. */ export enum KnownWorkflowTriggerProvisioningState { - /** NotSpecified */ NotSpecified = "NotSpecified", - /** Accepted */ Accepted = "Accepted", - /** Running */ Running = "Running", - /** Ready */ Ready = "Ready", - /** Creating */ Creating = "Creating", - /** Created */ Created = "Created", - /** Deleting */ Deleting = "Deleting", - /** Deleted */ Deleted = "Deleted", - /** Canceled */ Canceled = "Canceled", - /** Failed */ Failed = "Failed", - /** Succeeded */ Succeeded = "Succeeded", - /** Moving */ Moving = "Moving", - /** Updating */ Updating = "Updating", - /** Registering */ Registering = "Registering", - /** Registered */ Registered = "Registered", - /** Unregistering */ Unregistering = "Unregistering", - /** Unregistered */ Unregistered = "Unregistered", - /** Completed */ Completed = "Completed" } @@ -10031,17 +9758,11 @@ export type WorkflowTriggerProvisioningState = string; /** Known values of {@link WorkflowState} that the service accepts. */ export enum KnownWorkflowState { - /** NotSpecified */ NotSpecified = "NotSpecified", - /** Completed */ Completed = "Completed", - /** Enabled */ Enabled = "Enabled", - /** Disabled */ Disabled = "Disabled", - /** Deleted */ Deleted = "Deleted", - /** Suspended */ Suspended = "Suspended" } @@ -10061,21 +9782,13 @@ export type WorkflowState = string; /** Known values of {@link RecurrenceFrequency} that the service accepts. */ export enum KnownRecurrenceFrequency { - /** NotSpecified */ NotSpecified = "NotSpecified", - /** Second */ Second = "Second", - /** Minute */ Minute = "Minute", - /** Hour */ Hour = "Hour", - /** Day */ Day = "Day", - /** Week */ Week = "Week", - /** Month */ Month = "Month", - /** Year */ Year = "Year" } @@ -10097,49 +9810,27 @@ export type RecurrenceFrequency = string; /** Known values of {@link WorkflowProvisioningState} that the service accepts. */ export enum KnownWorkflowProvisioningState { - /** NotSpecified */ NotSpecified = "NotSpecified", - /** Accepted */ Accepted = "Accepted", - /** Running */ Running = "Running", - /** Ready */ Ready = "Ready", - /** Creating */ Creating = "Creating", - /** Created */ Created = "Created", - /** Deleting */ Deleting = "Deleting", - /** Deleted */ Deleted = "Deleted", - /** Canceled */ Canceled = "Canceled", - /** Failed */ Failed = "Failed", - /** Succeeded */ Succeeded = "Succeeded", - /** Moving */ Moving = "Moving", - /** Updating */ Updating = "Updating", - /** Registering */ Registering = "Registering", - /** Registered */ Registered = "Registered", - /** Unregistering */ Unregistering = "Unregistering", - /** Unregistered */ Unregistered = "Unregistered", - /** Completed */ Completed = "Completed", - /** Renewing */ Renewing = "Renewing", - /** Pending */ Pending = "Pending", - /** Waiting */ Waiting = "Waiting", - /** InProgress */ InProgress = "InProgress" } @@ -10175,7 +9866,6 @@ export type WorkflowProvisioningState = string; /** Known values of {@link OpenAuthenticationProviderType} that the service accepts. */ export enum KnownOpenAuthenticationProviderType { - /** AAD */ AAD = "AAD" } @@ -10190,17 +9880,11 @@ export type OpenAuthenticationProviderType = string; /** Known values of {@link WorkflowSkuName} that the service accepts. */ export enum KnownWorkflowSkuName { - /** NotSpecified */ NotSpecified = "NotSpecified", - /** Free */ Free = "Free", - /** Shared */ Shared = "Shared", - /** Basic */ Basic = "Basic", - /** Standard */ Standard = "Standard", - /** Premium */ Premium = "Premium" } @@ -10220,9 +9904,7 @@ export type WorkflowSkuName = string; /** Known values of {@link Kind} that the service accepts. */ export enum KnownKind { - /** Stateful */ Stateful = "Stateful", - /** Stateless */ Stateless = "Stateless" } @@ -12343,7 +12025,7 @@ export type KubeEnvironmentsListByResourceGroupNextResponse = KubeEnvironmentCol /** Optional parameters. */ export interface ProviderGetAvailableStacksOptionalParams extends coreClient.OperationOptions { - osTypeSelected?: Enum14; + osTypeSelected?: ProviderOsTypeSelected; } /** Contains response data for the getAvailableStacks operation. */ @@ -12353,7 +12035,7 @@ export type ProviderGetAvailableStacksResponse = ApplicationStackCollection; export interface ProviderGetFunctionAppStacksOptionalParams extends coreClient.OperationOptions { /** Stack OS Type */ - stackOsType?: Enum15; + stackOsType?: ProviderStackOsType; } /** Contains response data for the getFunctionAppStacks operation. */ @@ -12363,7 +12045,7 @@ export type ProviderGetFunctionAppStacksResponse = FunctionAppStackCollection; export interface ProviderGetFunctionAppStacksForLocationOptionalParams extends coreClient.OperationOptions { /** Stack OS Type */ - stackOsType?: Enum16; + stackOsType?: ProviderStackOsType; } /** Contains response data for the getFunctionAppStacksForLocation operation. */ @@ -12373,7 +12055,7 @@ export type ProviderGetFunctionAppStacksForLocationResponse = FunctionAppStackCo export interface ProviderGetWebAppStacksForLocationOptionalParams extends coreClient.OperationOptions { /** Stack OS Type */ - stackOsType?: Enum17; + stackOsType?: ProviderStackOsType; } /** Contains response data for the getWebAppStacksForLocation operation. */ @@ -12390,7 +12072,7 @@ export type ProviderListOperationsResponse = CsmOperationCollection; export interface ProviderGetWebAppStacksOptionalParams extends coreClient.OperationOptions { /** Stack OS Type */ - stackOsType?: Enum18; + stackOsType?: ProviderStackOsType; } /** Contains response data for the getWebAppStacks operation. */ @@ -12399,7 +12081,7 @@ export type ProviderGetWebAppStacksResponse = WebAppStackCollection; /** Optional parameters. */ export interface ProviderGetAvailableStacksOnPremOptionalParams extends coreClient.OperationOptions { - osTypeSelected?: Enum19; + osTypeSelected?: ProviderOsTypeSelected; } /** Contains response data for the getAvailableStacksOnPrem operation. */ @@ -12408,7 +12090,7 @@ export type ProviderGetAvailableStacksOnPremResponse = ApplicationStackCollectio /** Optional parameters. */ export interface ProviderGetAvailableStacksNextOptionalParams extends coreClient.OperationOptions { - osTypeSelected?: Enum14; + osTypeSelected?: ProviderOsTypeSelected; } /** Contains response data for the getAvailableStacksNext operation. */ @@ -12418,7 +12100,7 @@ export type ProviderGetAvailableStacksNextResponse = ApplicationStackCollection; export interface ProviderGetFunctionAppStacksNextOptionalParams extends coreClient.OperationOptions { /** Stack OS Type */ - stackOsType?: Enum15; + stackOsType?: ProviderStackOsType; } /** Contains response data for the getFunctionAppStacksNext operation. */ @@ -12428,7 +12110,7 @@ export type ProviderGetFunctionAppStacksNextResponse = FunctionAppStackCollectio export interface ProviderGetFunctionAppStacksForLocationNextOptionalParams extends coreClient.OperationOptions { /** Stack OS Type */ - stackOsType?: Enum16; + stackOsType?: ProviderStackOsType; } /** Contains response data for the getFunctionAppStacksForLocationNext operation. */ @@ -12438,7 +12120,7 @@ export type ProviderGetFunctionAppStacksForLocationNextResponse = FunctionAppSta export interface ProviderGetWebAppStacksForLocationNextOptionalParams extends coreClient.OperationOptions { /** Stack OS Type */ - stackOsType?: Enum17; + stackOsType?: ProviderStackOsType; } /** Contains response data for the getWebAppStacksForLocationNext operation. */ @@ -12455,7 +12137,7 @@ export type ProviderListOperationsNextResponse = CsmOperationCollection; export interface ProviderGetWebAppStacksNextOptionalParams extends coreClient.OperationOptions { /** Stack OS Type */ - stackOsType?: Enum18; + stackOsType?: ProviderStackOsType; } /** Contains response data for the getWebAppStacksNext operation. */ @@ -12464,7 +12146,7 @@ export type ProviderGetWebAppStacksNextResponse = WebAppStackCollection; /** Optional parameters. */ export interface ProviderGetAvailableStacksOnPremNextOptionalParams extends coreClient.OperationOptions { - osTypeSelected?: Enum19; + osTypeSelected?: ProviderOsTypeSelected; } /** Contains response data for the getAvailableStacksOnPremNext operation. */ diff --git a/sdk/appservice/arm-appservice/src/models/parameters.ts b/sdk/appservice/arm-appservice/src/models/parameters.ts index d9eee2d29ba8..79d1b2824e56 100644 --- a/sdk/appservice/arm-appservice/src/models/parameters.ts +++ b/sdk/appservice/arm-appservice/src/models/parameters.ts @@ -773,50 +773,6 @@ export const stackOsType: OperationQueryParameter = { } }; -export const stackOsType1: OperationQueryParameter = { - parameterPath: ["options", "stackOsType"], - mapper: { - serializedName: "stackOsType", - xmlName: "stackOsType", - type: { - name: "String" - } - } -}; - -export const stackOsType2: OperationQueryParameter = { - parameterPath: ["options", "stackOsType"], - mapper: { - serializedName: "stackOsType", - xmlName: "stackOsType", - type: { - name: "String" - } - } -}; - -export const stackOsType3: OperationQueryParameter = { - parameterPath: ["options", "stackOsType"], - mapper: { - serializedName: "stackOsType", - xmlName: "stackOsType", - type: { - name: "String" - } - } -}; - -export const osTypeSelected1: OperationQueryParameter = { - parameterPath: ["options", "osTypeSelected"], - mapper: { - serializedName: "osTypeSelected", - xmlName: "osTypeSelected", - type: { - name: "String" - } - } -}; - export const featured: OperationQueryParameter = { parameterPath: ["options", "featured"], mapper: { diff --git a/sdk/appservice/arm-appservice/src/operations/provider.ts b/sdk/appservice/arm-appservice/src/operations/provider.ts index c4be40b013df..4e442c38794e 100644 --- a/sdk/appservice/arm-appservice/src/operations/provider.ts +++ b/sdk/appservice/arm-appservice/src/operations/provider.ts @@ -640,7 +640,7 @@ const getFunctionAppStacksForLocationOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.stackOsType1], + queryParameters: [Parameters.apiVersion, Parameters.stackOsType], urlParameters: [Parameters.$host, Parameters.location], headerParameters: [Parameters.accept], serializer @@ -656,7 +656,7 @@ const getWebAppStacksForLocationOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.stackOsType2], + queryParameters: [Parameters.apiVersion, Parameters.stackOsType], urlParameters: [Parameters.$host, Parameters.location], headerParameters: [Parameters.accept], serializer @@ -688,7 +688,7 @@ const getWebAppStacksOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.stackOsType3], + queryParameters: [Parameters.apiVersion, Parameters.stackOsType], urlParameters: [Parameters.$host], headerParameters: [Parameters.accept], serializer @@ -705,7 +705,7 @@ const getAvailableStacksOnPremOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.osTypeSelected1], + queryParameters: [Parameters.apiVersion, Parameters.osTypeSelected], urlParameters: [Parameters.$host, Parameters.subscriptionId], headerParameters: [Parameters.accept], serializer @@ -753,7 +753,7 @@ const getFunctionAppStacksForLocationNextOperationSpec: coreClient.OperationSpec bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.stackOsType1], + queryParameters: [Parameters.apiVersion, Parameters.stackOsType], urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.location], headerParameters: [Parameters.accept], serializer @@ -769,7 +769,7 @@ const getWebAppStacksForLocationNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.stackOsType2], + queryParameters: [Parameters.apiVersion, Parameters.stackOsType], urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.location], headerParameters: [Parameters.accept], serializer @@ -801,7 +801,7 @@ const getWebAppStacksNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.stackOsType3], + queryParameters: [Parameters.apiVersion, Parameters.stackOsType], urlParameters: [Parameters.$host, Parameters.nextLink], headerParameters: [Parameters.accept], serializer @@ -817,7 +817,7 @@ const getAvailableStacksOnPremNextOperationSpec: coreClient.OperationSpec = { bodyMapper: Mappers.DefaultErrorResponse } }, - queryParameters: [Parameters.apiVersion, Parameters.osTypeSelected1], + queryParameters: [Parameters.apiVersion, Parameters.osTypeSelected], urlParameters: [ Parameters.$host, Parameters.subscriptionId, diff --git a/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts b/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts index ec8ff71c06f8..93fc88e7d78f 100644 --- a/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts +++ b/sdk/appservice/arm-appservice/src/webSiteManagementClient.ts @@ -173,7 +173,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-appservice/13.0.1`; + const packageDetails = `azsdk-js-arm-appservice/14.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -282,7 +282,7 @@ export class WebSiteManagementClient extends coreClient.ServiceClient { if (param.length > 1) { const newParams = param[1].split("&").map((item) => { if (item.indexOf("api-version") > -1) { - return "api-version=" + apiVersion; + return item.replace(/(?<==).*$/, apiVersion); } else { return item; } diff --git a/sdk/appservice/arm-appservice/test/sampleTest.ts b/sdk/appservice/arm-appservice/test/sampleTest.ts new file mode 100644 index 000000000000..25aeb3ebcc36 --- /dev/null +++ b/sdk/appservice/arm-appservice/test/sampleTest.ts @@ -0,0 +1,43 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +import { + Recorder, + RecorderStartOptions, + env +} from "@azure-tools/test-recorder"; +import { assert } from "chai"; +import { Context } from "mocha"; + +const replaceableVariables: Record = { + AZURE_CLIENT_ID: "azure_client_id", + AZURE_CLIENT_SECRET: "azure_client_secret", + AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888", + SUBSCRIPTION_ID: "azure_subscription_id" +}; + +const recorderOptions: RecorderStartOptions = { + envSetupForPlayback: replaceableVariables +}; + +describe("My test", () => { + let recorder: Recorder; + + beforeEach(async function(this: Context) { + recorder = new Recorder(this.currentTest); + await recorder.start(recorderOptions); + }); + + afterEach(async function() { + await recorder.stop(); + }); + + it("sample test", async function() { + console.log("Hi, I'm a test!"); + }); +}); diff --git a/sdk/appservice/arm-appservice/tsconfig.json b/sdk/appservice/arm-appservice/tsconfig.json index c0481691633c..3e6ae96443f3 100644 --- a/sdk/appservice/arm-appservice/tsconfig.json +++ b/sdk/appservice/arm-appservice/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-appservice": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules"